Skip to content

Commit ddb1ab1

Browse files
authored
Rename react-dom/testing to react-dom/unstable_testing in yarn build-for-devtools (facebook#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.
1 parent 168da8d commit ddb1ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"scripts": {
109109
"build": "node ./scripts/rollup/build.js",
110110
"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/",
112112
"build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV",
113113
"build-for-devtools-prod": "yarn build-for-devtools --type=NODE_PROD",
114114
"linc": "node ./scripts/tasks/linc.js",

0 commit comments

Comments
 (0)