rsnext/scripts
Shu Ding 89b4605f1a
Vendor react@experimental under an experimentalReact flag (#47759)
Next.js includes various feature sets that depend on specific release
channels of React. However, our current setup only includes the `next`
channel of React, which restricts our ability to integrate with features
available on the `experimental` channel.

To address this limitation, this pull request introduces the following
changes:
- Vendors the `react@experimental` version, along with the corresponding
`react-dom` and `scheduler` packages.
- Modifies the `sync-react` script to also update the `experimental`
channel and removes `--version` as they're always synced to the latest
now.
- Retains the default behavior of using the `next` channel in the
`appDir` directory.
- Adds an option to switch to the `experimental` channel by setting
`experimental.experimentalReact: true` in the configuration.

fix NEXT-926 ([link](https://linear.app/vercel/issue/NEXT-926))
2023-04-05 14:05:47 +00:00
..
send-trace-to-jaeger Simplify trace span id generation (#32946) 2022-01-02 21:22:01 +00:00
check-examples.sh Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
check-is-release.js Apply publish step optimizations (#43620) 2022-12-01 21:48:51 -08:00
check-manifests.js Changed data fetching file name to overview to fix meta data title (#33232) 2022-01-27 09:14:14 -06:00
check-pre-compiled.bat fixes to allow lazy compilation for import() (#32441) 2021-12-14 11:33:04 +01:00
check-pre-compiled.sh Make shebangs portable used in the repo portable (#46028) 2023-02-17 09:45:42 +00:00
deploy-examples.sh Remove incorrect entries for pnpm debug log (#47241) 2023-03-26 22:26:05 -07:00
install-native.mjs Skip extra swc builds (#47378) 2023-03-21 16:09:52 -07:00
next-with-deps.sh Make shebangs portable used in the repo portable (#46028) 2023-02-17 09:45:42 +00:00
normalize-version-bump.js Avoid turbo cache miss on root package change (#43309) 2022-11-23 15:32:35 -08:00
publish-native.js fix typo in comment and unused variable remove (#45307) 2023-02-02 14:55:23 -08:00
publish-release.js Apply publish step optimizations (#43620) 2022-12-01 21:48:51 -08:00
release-stats.sh Make shebangs portable used in the repo portable (#46028) 2023-02-17 09:45:42 +00:00
reset-vercel-project.mjs Enable E2E deploy tests on publish (#37019) 2022-05-21 04:46:16 -05:00
run-for-change.js Fix deploy example (#47228) 2023-03-16 20:02:28 -07:00
setup-node.sh Update flakey tests and add Node.js setup retrying (#47871) 2023-04-03 13:37:14 -07:00
setup-wasm.mjs Make setup-wasm script work for local dev (#36355) 2022-04-21 15:41:48 -05:00
start-release.js Update to retry undrafting canary (#47826) 2023-04-02 11:37:08 -07:00
sync-react.js Vendor react@experimental under an experimentalReact flag (#47759) 2023-04-05 14:05:47 +00:00
test-pack-package.mts Run dev tests against default CNA templates (#45211) 2023-01-24 11:01:03 -08:00
trace-dd.mjs fix: scripts comment typos (#40207) 2022-09-05 02:26:54 +00:00
trace-next-server.js Fix turbo usage in tests (#44715) 2023-01-18 20:35:28 +01:00
trace-to-event-format.mjs fix: scripts comment typos (#40207) 2022-09-05 02:26:54 +00:00
trace-to-tree.mjs Add path to export-page (#39893) 2022-08-24 10:29:47 +00:00
update-google-fonts.js Update subset validation in @next/font/google and fix CJK bug (#44594) 2023-01-05 15:51:38 -08:00