Skip to content

Commit

Permalink
feat: update Jest to version 27
Browse files Browse the repository at this point in the history
...and widen peer-dependency ranges where necessary.

closes #1832 #1831 #1760
  • Loading branch information
Emanuel Kluge committed Jun 7, 2021
1 parent 9aa3aa2 commit 451ce93
Show file tree
Hide file tree
Showing 7 changed files with 660 additions and 574 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.23.2",
"husky": "^4.3.8",
"jest": "^26.0.0",
"jest": "^27.0.0",
"jest-runner-eslint": "0.10.0",
"jest-runner-prettier": "0.3.6",
"jest-watch-select-projects": "2.0.0",
"jest-watch-typeahead": "0.6.2",
"jest-watch-typeahead": "0.6.4",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"url-join": "^4.0.1"
},
"peerDependencies": {
"jest": "^26.0.0"
"jest": "^26.0.0 || ^27.0.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/jest-environment#readme"
}
12 changes: 6 additions & 6 deletions packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,22 @@
"regenerator-runtime": "^0.13.3"
},
"peerDependencies": {
"babel-jest": "^26.0.0",
"jest": "^26.0.0",
"babel-jest": "^26.0.0 || ^27.0.0",
"jest": "^26.0.0 || ^27.0.0",
"react": "^16.8.0 || ^17.0.0",
"react-dom": "^16.8.0 || ^17.0.0",
"react-helmet-async": "^1.0.4",
"react-router-dom": "^5.1.0",
"ts-jest": "^26.0.0"
"ts-jest": "^26.0.0 || ^27.0.0"
},
"devDependencies": {
"babel-jest": "^26.0.0",
"jest": "^26.0.0",
"babel-jest": "^27.0.0",
"jest": "^27.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-helmet-async": "^1.0.9",
"react-router-dom": "^5.2.0",
"ts-jest": "^26.0.0"
"ts-jest": "^27.0.0"
},
"homepage": "https://github.com/xing/hops/tree/master/packages/jest-preset#readme"
}
2 changes: 1 addition & 1 deletion packages/template-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"jest": "^26.0.0",
"jest": "^27.0.0",
"jest-preset-hops": "15.0.0-nightly.1",
"react-test-renderer": "^17.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/template-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"react-router-dom": "^5.1.2"
},
"devDependencies": {
"jest": "^26.0.0",
"jest": "^27.0.0",
"jest-preset-hops": "15.0.0-nightly.1",
"react-test-renderer": "^17.0.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/template-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"redux-thunk": "^2.3.0"
},
"devDependencies": {
"jest": "^26.0.0",
"jest": "^27.0.0",
"jest-preset-hops": "15.0.0-nightly.1",
"react-test-renderer": "^17.0.2"
},
Expand Down

0 comments on commit 451ce93

Please sign in to comment.