@samitouri / QOS-React-2 / commits / ddb1ab1e97

Rename react-dom/testing to react-dom/unstable_testing in yarn build-for-devtools (#24364)

The shell package wasn't compiling because yarn build-for-devtools was incorrect. The react-dom/test package was renamed to react-dom/unstable_testing. This PR fixes this in the package.json. Note: Adding packages to the yarn build-for-devtools command isn't great in the long run. Eventually we should make devtools have its own build script.

Luna Ruan committed Apr 13, 2022 at 13:07 UTC ddb1ab1e97588136a3db736696bbc3c8cf9f0210
1 file changed +1 -1
package.json
+1 -1
@@ -108,7 +108,7 @@
108 "scripts": {
109 "build": "node ./scripts/rollup/build.js",
110 "build-combined": "node ./scripts/rollup/build-all-release-channels.js",
111 - "build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom/index,react-dom/test,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE && cp -r ./build/node_modules build/oss-experimental/",
111 + "build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react-dom/index,react-dom/unstable_testing,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE && cp -r ./build/node_modules build/oss-experimental/",
112 "build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV",
113 "build-for-devtools-prod": "yarn build-for-devtools --type=NODE_PROD",
114 "linc": "node ./scripts/tasks/linc.js",