-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Relay Support in Rust Compiler #33240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 30 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
2aaa426
Add support for relay compiler imports
tbezman f794fcf
Add relay deps for integration tests
tbezman 6c966d2
Add integration test for Relay SWC Compiler
tbezman 8ee3e6c
More exhaustive tests
tbezman 46e2534
Remove dead code
tbezman 66e6859
Pass through relay config from next config
tbezman eb88c71
Run relay compiler when running integration test
tbezman 4ef5e23
Remove more dead code
tbezman 90d3bce
Merge branch 'canary' into relay-plugin
tbezman 718929c
Remove useless to_string and String::from
tbezman 6d03ee9
Remove clone in favor of borrowing
tbezman 523bc25
Use borrow instead of &*
tbezman 61826a4
Removed more clones
tbezman 3fe7119
Merge branch 'relay-plugin' of github.com:tbezman/next.js into relay-…
tbezman eb7daa1
Add relay and remove parking lot core since it doesn't seem like it's…
tbezman 4f75ae5
Switch to relay.config.js
tbezman 46f46f2
Add relay packages so we can resolve the artifact using their code
tbezman 400def3
Use relay to determine artifact directory
tbezman b6d924f
Remove artifact dir test since that's handled by the relay packages
tbezman d419ba0
Update tests to use right cwd
tbezman 3830a8d
Add support for fragments
tbezman 5fa72cf
Merge remote-tracking branch 'upstream/canary' into relay-plugin
tbezman cd6ed9c
Added the copy trait
tbezman f7cfd1c
Address latest kdy1 feedback
tbezman fee2e11
Remove some unused imports
tbezman 2b53fa1
Create new integration test for multi project configs
tbezman 5612526
Add support for multi project configs and error handling
tbezman 244a4da
Update fixture to support new API
tbezman ba4e846
Merge remote-tracking branch 'upstream/canary' into relay-plugin
tbezman 8ba0998
Remove describe.only
tbezman 8782671
Bring back parking lot and bump version to avoid conflicts
tbezman 8343e17
Address latest kdy1 feedback
tbezman 686ff01
Add note about Relay to the docs
timneutkens 27057e5
Fix unit tests
tbezman acea05f
Switch to use a regex :)
tbezman 85ac72c
Add support for subscription in regex
tbezman 7d35873
Address kdy1 feedback
tbezman d24ae71
Don't include Relay when targeting wasm
tbezman 5f3f298
Merge branch 'canary' of https://github.com/vercel/next.js into relay…
tbezman aa0f676
Update packages/next-swc/crates/core/src/relay.rs
tbezman 4a4a5b6
Update packages/next-swc/crates/core/src/relay.rs
tbezman f6cc9d7
Update packages/next-swc/crates/core/src/relay.rs
tbezman fffa3e1
Merge remote-tracking branch 'upstream/canary' into relay-plugin
tbezman b5f89bc
Add better docs for CouldNotCategorize error
tbezman 1682ac3
Add relay: false to full test suite
tbezman 464dd97
Prettier fix
tbezman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,7 @@ | |
"@types/http-proxy": "1.17.3", | ||
"@types/jest": "24.0.13", | ||
"@types/node": "13.11.0", | ||
"@types/relay-runtime": "13.0.0", | ||
"@types/selenium-webdriver": "4.0.15", | ||
"@types/sharp": "0.29.3", | ||
"@types/string-hash": "1.1.1", | ||
|
@@ -145,6 +146,8 @@ | |
"react-dom": "17.0.2", | ||
"react-dom-18": "npm:[email protected]", | ||
"react-ssr-prepass": "1.0.8", | ||
"relay-compiler": "13.0.1", | ||
"relay-runtime": "13.0.1", | ||
"release": "6.3.0", | ||
"request-promise-core": "1.1.2", | ||
"resolve-from": "5.0.0", | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.