|
20 | 20 | "test:watch": "yarn test -- --watch",
|
21 | 21 | "test:devtools": "jest react-async-devtools/src",
|
22 | 22 | "test:components": "jest src/Async.spec.js --collectCoverageFrom=src/Async.js",
|
23 |
| - "test:backwards": "yarn add -D -W [email protected] [email protected] && yarn test:components", |
24 |
| - "test:forwards": "yarn add -D -W react@next react-dom@next && yarn test", |
25 |
| - "test:latest": "yarn add -D -W react@latest react-dom@latest && yarn test", |
| 23 | + "test:backwards": "yarn add -D -W [email protected] [email protected] && yarn resolutions:fix-react && yarn test:components", |
| 24 | + "test:forwards": "yarn add -D -W react@next react-dom@next && yarn resolutions:fix-react && yarn test", |
| 25 | + "test:latest": "yarn add -D -W react@latest react-dom@latest && yarn resolutions:fix-react && yarn test", |
26 | 26 | "test:compat": "yarn test:backwards && yarn test:forwards && yarn test:latest",
|
27 | 27 | "test:examples": "CI=1 lerna run --scope '*-example' test -- --passWithNoTests --watchAll=false",
|
28 | 28 | "test:chromatic": "chromatic --app-code iiua39bmt0j --build-script-name build:storybook",
|
| 29 | + "resolutions:fix-react": "jq '.resolutions.react = .devDependencies.react|.resolutions.\"react-dom\"=.devDependencies.react' package.json > package.json.new; mv package.json.new package.json; yarn install", |
29 | 30 | "ci": "yarn lint && yarn test:compat && yarn test:examples",
|
30 | 31 | "build:packages": "lerna run --scope 'react-async*' build",
|
31 | 32 | "build:examples": "lerna run --scope '*-example' build",
|
|
67 | 68 | "eslint-plugin-react-hooks": "2.1.2",
|
68 | 69 | "jest": "24.9.0",
|
69 | 70 | "lerna": "3.18.1",
|
| 71 | + "node-jq": "1.10.3", |
70 | 72 | "now": "16.3.1",
|
71 | 73 | "npm-run-all": "4.1.5",
|
72 | 74 | "prettier": "1.18.2",
|
|
0 commit comments