Skip to content

Commit 9d750ec

Browse files
committed
Fix scripts take 2
1 parent 2e90664 commit 9d750ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
"testRegex": "/scripts/jest/dont-run-jest-directly\\.js$"
117117
},
118118
"scripts": {
119-
"prebuild": "./scripts/react-compiler/link-compiler.sh && cd compiler && yarn install --frozen-lockfile",
119+
"prebuild": "./scripts/react-compiler/link-compiler.sh && ./scripts/react-compiler/build-compiler.sh",
120120
"build": "node ./scripts/rollup/build-all-release-channels.js",
121121
"build-for-devtools": "cross-env RELEASE_CHANNEL=experimental yarn build react/index,react/jsx,react/compiler-runtime,react-dom/index,react-dom/client,react-dom/unstable_testing,react-dom/test-utils,react-is,react-debug-tools,scheduler,react-test-renderer,react-refresh,react-art --type=NODE",
122122
"build-for-devtools-dev": "yarn build-for-devtools --type=NODE_DEV",
@@ -128,7 +128,7 @@
128128
"lint-build": "node ./scripts/rollup/validate/index.js",
129129
"extract-errors": "node scripts/error-codes/extract-errors.js",
130130
"postinstall": "node ./scripts/flow/createFlowConfigs.js",
131-
"pretest": "./scripts/react-compiler/link-compiler.sh && cd compiler && yarn install --frozen-lockfile",
131+
"pretest": "./scripts/react-compiler/link-compiler.sh && ./scripts/react-compiler/build-compiler.sh",
132132
"test": "node ./scripts/jest/jest-cli.js",
133133
"test-stable": "node ./scripts/jest/jest-cli.js --release-channel=stable",
134134
"test-www": "node ./scripts/jest/jest-cli.js --release-channel=www-modern",

0 commit comments

Comments
 (0)