Skip to content

Commit 3f89908

Browse files
eps1lonbvaughn
andauthored
Fix test-build-devtools if build was generated by build-for-devtools (#24088)
Co-authored-by: Brian Vaughn <[email protected]>
1 parent de516ca commit 3f89908

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"test-prod-build": "yarn test --deprecated 'yarn test --prod --build'",
132132
"test-build": "yarn test --deprecated 'yarn test --build'",
133133
"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",
135135
"debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'",
136136
"test-dom-fixture": "cd fixtures/dom && yarn && yarn prestart && yarn test",
137137
"flow": "node ./scripts/tasks/flow.js",

packages/shared/ReactVersion.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
// TODO: this is special because it gets imported during build.
99
//
10-
// TODO: 17.0.3 has not been released to NPM;
10+
// TODO: 18.0.0 has not been released to NPM;
1111
// 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
1313
// TODO: This module is used both by the release scripts and to expose a version
1414
// at runtime. We should instead inject the version number as part of the build
1515
// 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';

0 commit comments

Comments
 (0)