Skip to content

Commit 3dda785

Browse files
authored
Test against most recent React 17 version (#1354)
1 parent 0edaccb commit 3dda785

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
@@ -17,15 +17,15 @@
1717
"check-types": "tsc",
1818
"start": "cross-env NODE_ENV=storybook start-storybook -p 9003 --ci -c '.storybook'",
1919
"build:storybook": "build-storybook -c .storybook -o dist/$(git rev-parse HEAD)/storybook",
20-
"build:storybook-17": "yarn add -W react@17.0.0-rc.1 react-dom@17.0.0-rc.1 && NODE_ENV=production build-storybook -c .storybook -o dist/$(git rev-parse HEAD)/storybook-17",
20+
"build:storybook-17": "yarn add -W react@^17.0.1 react-dom@^17.0.1 && NODE_ENV=production build-storybook -c .storybook -o dist/$(git rev-parse HEAD)/storybook-17",
2121
"start:chromatic": "NODE_ENV=storybook start-storybook -p 9004 --ci -c '.chromatic'",
2222
"build:chromatic": "build-storybook -c .chromatic -o dist/$(git rev-parse HEAD)/chromatic",
2323
"start:docs": "PARCEL_WORKER_BACKEND=process DOCS_ENV=dev parcel 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx'",
2424
"build:docs": "PARCEL_WORKER_BACKEND=process DOCS_ENV=staging parcel build 'packages/@react-{spectrum,aria,stately}/*/docs/*.mdx' 'packages/dev/docs/pages/**/*.mdx' --no-scope-hoist",
2525
"test": "yarn jest",
2626
"test:ssr": "yarn jest --config jest.ssr.config.js",
2727
"ci-test": "yarn jest --maxWorkers=2 && yarn test:ssr --runInBand",
28-
"ci-test-17": "yarn add -W react@17.0.0-rc.1 react-dom@17.0.0-rc.1 && yarn jest --maxWorkers=2 && yarn test:ssr --runInBand",
28+
"ci-test-17": "yarn add -W react@^17.0.1 react-dom@^17.0.1 && yarn jest --maxWorkers=2 && yarn test:ssr --runInBand",
2929
"lint": "yarn check-types && eslint packages --ext .js,.ts,.tsx && node scripts/lint-packages.js",
3030
"jest": "node scripts/jest.js",
3131
"copyrights": "babel-node --presets @babel/env ./scripts/addHeaders.js",

0 commit comments

Comments
 (0)