Skip to content

Commit

Permalink
chore: use Jest version from align-deps (#2459)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored Jun 13, 2023
1 parent cb1712e commit 616a959
Show file tree
Hide file tree
Showing 35 changed files with 100 additions and 102 deletions.
2 changes: 2 additions & 0 deletions .changeset/ninety-flowers-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
2 changes: 1 addition & 1 deletion incubator/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"@rnx-kit/scripts": "*",
"@types/qrcode": "^1.4.2",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion incubator/commitlint-lite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"devDependencies": {
"@rnx-kit/scripts": "*",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion incubator/patcher-rnmacos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/istextorbinary": "^2.3.0",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion incubator/react-native-error-trace-decorator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@rnx-kit/scripts": "*",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion incubator/rn-changelog-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"deepmerge": "^4.2.2",
"eslint": "^8.0.0",
"fast-levenshtein": "^3.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"p-limit": "^3.1.0",
"prettier": "^2.8.0",
"typescript": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/align-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
"@rnx-kit/tools-language": "*",
"@rnx-kit/tools-node": "*",
"@rnx-kit/tools-workspaces": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/lodash": "^4.14.172",
"@types/prompts": "^2.0.0",
"@types/semver": "^7.0.0",
"@types/yargs": "^16.0.0",
"chalk": "^4.1.0",
"detect-indent": "^6.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"lodash": "^4.17.21",
"markdown-table": "^3.0.0",
"package-json": "^8.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
"@rnx-kit/scripts": "*",
"@types/babel__core": "^7.0.0",
"@types/babel__helper-plugin-utils": "^7.0.0",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-preset-metro-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@
"@rnx-kit/babel-plugin-import-path-remapper": "*",
"@rnx-kit/scripts": "*",
"@types/babel__core": "^7.0.0",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/bundle-diff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
},
"devDependencies": {
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@types/metro-config": "^0.76.0",
"@types/qrcode": "^1.4.2",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"memfs": "^3.4.1",
"metro-config": "^0.73.7",
"prettier": "^2.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@types/node": "^18.0.0",
"@types/semver": "^7.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
},
"devDependencies": {
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/esbuild-plugin-import-path-remapper/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@rnx-kit/scripts": "*",
"esbuild": "^0.17.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"devDependencies": {
"@rnx-kit/scripts": "*",
"@types/eslint": "^8.0.0",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/jest-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
}
},
"devDependencies": {
"@jest/types": "^29.0.0",
"@jest/types": "^29.2.1",
"@rnx-kit/eslint-config": "*",
"@rnx-kit/scripts": "*",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"react": "18.2.0",
"react-native": "^0.71.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/metro-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
"@babel/preset-env": "^7.1.6",
"@rnx-kit/scripts": "*",
"@types/babel__core": "^7.0.0",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/metro": "^0.76.0",
"@types/metro-config": "^0.76.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"metro-config": "^0.73.7",
"metro-react-native-babel-preset": "^0.73.7",
"prettier": "^2.8.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
"devDependencies": {
"@rnx-kit/metro-serializer": "*",
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/metro": "^0.76.0",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/metro-plugin-duplicates-checker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"devDependencies": {
"@rnx-kit/metro-serializer": "*",
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/metro": "^0.76.0",
"@types/metro-source-map": "^0.76.0",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-plugin-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@rnx-kit/scripts": "*",
"@types/metro": "^0.76.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0"
},
"depcheck": {
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-resolver-symlinks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@types/metro-resolver": "^0.76.0",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"metro-resolver": "^0.73.7",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-serializer-esbuild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@types/metro-transform-worker": "^0.76.0",
"@types/semver": "^7.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"lodash-es": "^4.17.21",
"metro": "^0.73.7",
"metro-react-native-babel-preset": "^0.73.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@types/metro": "^0.76.0",
"@types/semver": "^7.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"metro": "^0.73.7",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/metro-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@types/metro-resolver": "^0.76.0",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"metro": "^0.73.7",
"metro-config": "^0.73.7",
"metro-core": "^0.73.7",
Expand Down
4 changes: 2 additions & 2 deletions packages/react-native-lazy-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
},
"devDependencies": {
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"devDependencies": {
"@rnx-kit/scripts": "*",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/third-party-notices/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@
"@rnx-kit/eslint-config": "*",
"@rnx-kit/metro-serializer": "*",
"@rnx-kit/scripts": "*",
"@types/jest": "^29.0.0",
"@types/jest": "^29.2.1",
"@types/metro-source-map": "^0.76.0",
"@types/yargs": "^16.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-language/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@rnx-kit/scripts": "*",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@rnx-kit/scripts": "*",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"temp-dir": "^2.0.0",
"typescript": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@rnx-kit/scripts": "*",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/tools-workspaces/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"devDependencies": {
"@rnx-kit/scripts": "*",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"typescript": "^5.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@rnx-kit/scripts": "*",
"@types/node": "^18.0.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"prettier": "^2.8.0",
"temp-dir": "^2.0.0",
"typescript": "^5.0.0"
Expand Down
8 changes: 2 additions & 6 deletions scripts/align-deps-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
const metroTypesVersion = "^0.76.0";

const dependencies = {
jest: "^29.0.0",
jest: "^29.2.1",
metro: metroTypesVersion,
"metro-babel-transformer": metroTypesVersion,
"metro-config": metroTypesVersion,
Expand Down Expand Up @@ -41,13 +41,9 @@ const profile = {
name: "find-up",
version: "^5.0.0",
},
jest: {
name: "jest",
version: dependencies.jest,
},
"jest-cli": {
name: "jest-cli",
version: "^29.2.1",
version: dependencies.jest,
},
"pkg-dir": {
name: "pkg-dir",
Expand Down
4 changes: 2 additions & 2 deletions scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@
"depcheck": "^1.0.0",
"esbuild": "^0.17.0",
"eslint": "^8.0.0",
"jest": "^29.0.0",
"jest": "^29.2.1",
"markdown-table": "^3.0.0",
"prettier": "^2.8.0",
"typedoc": "^0.24.0",
"typescript": "^5.0.0",
"yargs": "^16.0.0"
},
"devDependencies": {
"@types/jest": "^29.0.0"
"@types/jest": "^29.2.1"
},
"depcheck": {
"ignoreMatches": [
Expand Down
Loading

0 comments on commit 616a959

Please sign in to comment.