@samitouri / QOS-React / commits / 3f89908983

Fix test-build-devtools if build was generated by build-for-devtools (#24088)

Co-authored-by: Brian Vaughn <brian.david.vaughn@gmail.com>

Sebastian Silbermann committed Mar 23, 2022 at 14:51 UTC 3f8990898309c61c817fbf663f5221d9a00d0eaa
2 files changed +4 -4
package.json
+1 -1
@@ -131,7 +131,7 @@
131 "test-prod-build": "yarn test --deprecated 'yarn test --prod --build'",
132 "test-build": "yarn test --deprecated 'yarn test --build'",
133 "test-build-prod": "yarn test --deprecated 'yarn test --build --prod'",
134 - "test-build-devtools": "yarn test --build --project devtools",
134 + "test-build-devtools": "node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental",
135 "debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'",
136 "test-dom-fixture": "cd fixtures/dom && yarn && yarn prestart && yarn test",
137 "flow": "node ./scripts/tasks/flow.js",
packages/shared/ReactVersion.js
+3 -3
@@ -7,10 +7,10 @@
7
8 // TODO: this is special because it gets imported during build.
9 //
10 -// TODO: 17.0.3 has not been released to NPM;
10 +// TODO: 18.0.0 has not been released to NPM;
11 // It exists as a placeholder so that DevTools can support work tag changes between releases.
12 -// When we next publish a release (either 17.0.3 or 17.1.0), update the matching TODO in backend/renderer.js
12 +// When we next publish a release, update the matching TODO in backend/renderer.js
13 // TODO: This module is used both by the release scripts and to expose a version
14 // at runtime. We should instead inject the version number as part of the build
15 // process, and use the ReactVersions.js module as the single source of truth.
16 -export default '17.0.3';
16 +export default '18.0.0';