From 3f8990898309c61c817fbf663f5221d9a00d0eaa Mon Sep 17 00:00:00 2001 From: Sebastian Silbermann Date: Wed, 23 Mar 2022 14:51:59 +0100 Subject: [PATCH] Fix test-build-devtools if build was generated by build-for-devtools (#24088) Co-authored-by: Brian Vaughn --- package.json | 2 +- packages/shared/ReactVersion.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ec226416e2117..80a697031d51e 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "test-prod-build": "yarn test --deprecated 'yarn test --prod --build'", "test-build": "yarn test --deprecated 'yarn test --build'", "test-build-prod": "yarn test --deprecated 'yarn test --build --prod'", - "test-build-devtools": "yarn test --build --project devtools", + "test-build-devtools": "node ./scripts/jest/jest-cli.js --build --project devtools --release-channel=experimental", "debug-test-build-devtools": "yarn test --deprecated 'yarn test-build-devtools --debug'", "test-dom-fixture": "cd fixtures/dom && yarn && yarn prestart && yarn test", "flow": "node ./scripts/tasks/flow.js", diff --git a/packages/shared/ReactVersion.js b/packages/shared/ReactVersion.js index 8d357322ca3ac..51aebd51ee57d 100644 --- a/packages/shared/ReactVersion.js +++ b/packages/shared/ReactVersion.js @@ -7,10 +7,10 @@ // TODO: this is special because it gets imported during build. // -// TODO: 17.0.3 has not been released to NPM; +// TODO: 18.0.0 has not been released to NPM; // It exists as a placeholder so that DevTools can support work tag changes between releases. -// When we next publish a release (either 17.0.3 or 17.1.0), update the matching TODO in backend/renderer.js +// When we next publish a release, update the matching TODO in backend/renderer.js // TODO: This module is used both by the release scripts and to expose a version // at runtime. We should instead inject the version number as part of the build // process, and use the ReactVersions.js module as the single source of truth. -export default '17.0.3'; +export default '18.0.0';