Skip to content

Commit

Permalink
chore: upgrade @babel packages and prettier to improve typescript…
Browse files Browse the repository at this point in the history
… 4.9 support (#1135)

* chore: upgrade all official @babel dependencies - Also upgrade `prettier`
  • Loading branch information
kohlmannj-nyt authored May 16, 2023
1 parent 124bcd3 commit bf076be
Show file tree
Hide file tree
Showing 11 changed files with 1,048 additions and 689 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"prepare": "husky install"
},
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/core": "7.15.5",
"@babel/eslint-parser": "7.15.7",
"@babel/eslint-plugin": "7.14.5",
"@babel/runtime": "7.15.4",
"@babel/cli": "7.21.0",
"@babel/core": "7.21.4",
"@babel/eslint-parser": "7.21.3",
"@babel/eslint-plugin": "7.19.1",
"@babel/runtime": "7.21.0",
"@commitlint/cli": "13.1.0",
"@commitlint/config-conventional": "13.1.0",
"@testing-library/react": "12.1.0",
Expand All @@ -62,7 +62,7 @@
"jest-runner-eslint": "0.10.1",
"jest-silent-reporter": "0.5.0",
"lerna": "4.0.0",
"prettier": "2.4.1",
"prettier": "2.8.8",
"react": "17.0.2",
"react-dom": "17.0.2",
"regenerator-runtime": "0.13.9",
Expand Down
10 changes: 5 additions & 5 deletions packages/babel-preset-kyt-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"bugs": "https://github.com/nytimes/kyt/issues",
"homepage": "https://github.com/nytimes/kyt#readme",
"dependencies": {
"@babel/plugin-proposal-class-properties": "7.14.5",
"@babel/plugin-proposal-decorators": "7.15.4",
"@babel/plugin-proposal-optional-chaining": "7.14.5",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-decorators": "7.21.0",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-syntax-dynamic-import": "7.8.3",
"@babel/plugin-transform-runtime": "7.15.0",
"@babel/preset-env": "7.15.6",
"@babel/plugin-transform-runtime": "7.21.4",
"@babel/preset-env": "7.21.4",
"babel-plugin-dynamic-import-node": "2.3.3",
"core-js": "3.18.0",
"lodash.merge": "4.6.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-preset-kyt-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"bugs": "https://github.com/nytimes/kyt/issues",
"homepage": "https://github.com/nytimes/kyt#readme",
"dependencies": {
"@babel/plugin-transform-react-constant-elements": "7.14.5",
"@babel/plugin-transform-react-inline-elements": "7.16.7",
"@babel/preset-react": "7.14.5",
"@babel/plugin-transform-react-constant-elements": "7.21.3",
"@babel/plugin-transform-react-inline-elements": "7.21.0",
"@babel/preset-react": "7.18.6",
"babel-plugin-add-react-displayname": "0.0.5",
"babel-plugin-transform-react-remove-prop-types": "0.4.24",
"babel-preset-kyt-core": "2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-preset-kyt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"bugs": "https://github.com/nytimes/kyt/issues",
"homepage": "https://github.com/nytimes/kyt#readme",
"dependencies": {
"@babel/preset-typescript": "7.15.0",
"@babel/preset-typescript": "7.21.4",
"babel-plugin-replace-ts-export-assignment": "0.0.2",
"babel-preset-kyt-react": "1.3.19"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config-kyt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"bugs": "https://github.com/nytimes/kyt/issues",
"homepage": "https://github.com/nytimes/kyt#readme",
"peerDependencies": {
"@babel/core": "^7.14.8",
"@babel/eslint-parser": "^7.14.9",
"@babel/eslint-plugin": "^7.14.5",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/eslint-plugin": "^7.19.1",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -23,7 +23,7 @@
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"prettier": "^2.3.2"
"prettier": "^2.8.8"
},
"keywords": [
"kyt",
Expand Down
4 changes: 2 additions & 2 deletions packages/kyt-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"node": ">=10"
},
"dependencies": {
"@babel/code-frame": "7.14.5",
"@babel/runtime": "7.15.4",
"@babel/code-frame": "7.21.4",
"@babel/runtime": "7.21.0",
"babel-loader": "8.2.2",
"babel-preset-kyt-core": "2.0.0",
"commander": "8.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kyt-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"webpack-assets-manifest": "4.0.6"
},
"peerDependencies": {
"@babel/runtime": "^7.14.8",
"@babel/runtime": "^7.21.0",
"core-js": "^3.16.0",
"regenerator-runtime": "^0.13.9",
"source-map-support": "^0.5.19"
Expand Down
10 changes: 5 additions & 5 deletions packages/kyt-starter-server/starter-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test-coverage": "jest --coverage"
},
"dependencies": {
"@babel/runtime": "7.15.4",
"@babel/runtime": "7.21.0",
"compression": "1.7.4",
"core-js": "3.18.0",
"express": "4.17.1",
Expand All @@ -39,9 +39,9 @@
"source-map-support": "0.5.20"
},
"devDependencies": {
"@babel/core": "7.15.5",
"@babel/eslint-parser": "7.15.7",
"@babel/eslint-plugin": "7.14.5",
"@babel/core": "7.21.4",
"@babel/eslint-parser": "7.21.3",
"@babel/eslint-plugin": "7.19.1",
"@testing-library/react": "12.1.0",
"babel-preset-kyt-react": "1.3.19",
"eslint": "7.32.0",
Expand All @@ -60,7 +60,7 @@
"jest-preset-kyt-rtl": "1.1.2",
"jest-preset-kyt-styled": "1.4.12",
"kyt": "1.2.5",
"prettier": "2.4.1"
"prettier": "2.8.8"
},
"version": "1.2.6",
"kyt": {
Expand Down
10 changes: 5 additions & 5 deletions packages/kyt-starter-static/starter-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test-coverage": "jest --coverage"
},
"dependencies": {
"@babel/runtime": "7.15.4",
"@babel/runtime": "7.21.0",
"core-js": "3.18.0",
"kyt-runtime": "1.2.47",
"pretty-lights": "0.0.20",
Expand All @@ -35,9 +35,9 @@
"regenerator-runtime": "0.13.9"
},
"devDependencies": {
"@babel/core": "7.15.5",
"@babel/eslint-parser": "7.15.7",
"@babel/eslint-plugin": "7.14.5",
"@babel/core": "7.21.4",
"@babel/eslint-parser": "7.21.3",
"@babel/eslint-plugin": "7.19.1",
"@testing-library/react": "12.1.0",
"babel-preset-kyt-react": "1.3.19",
"eslint": "7.32.0",
Expand All @@ -57,7 +57,7 @@
"jest-preset-kyt-rtl": "1.1.2",
"jest-preset-kyt-styled": "1.4.12",
"kyt": "1.2.5",
"prettier": "2.4.1"
"prettier": "2.8.8"
},
"version": "2.0.2",
"kyt": {
Expand Down
10 changes: 5 additions & 5 deletions packages/kyt-starter-universal/starter-src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"test-coverage": "jest --coverage"
},
"dependencies": {
"@babel/runtime": "7.15.4",
"@babel/runtime": "7.21.0",
"compression": "1.7.4",
"core-js": "3.18.0",
"express": "4.17.1",
Expand All @@ -39,9 +39,9 @@
"source-map-support": "0.5.20"
},
"devDependencies": {
"@babel/core": "7.15.5",
"@babel/eslint-parser": "7.15.7",
"@babel/eslint-plugin": "7.14.5",
"@babel/core": "7.21.4",
"@babel/eslint-parser": "7.21.3",
"@babel/eslint-plugin": "7.19.1",
"@testing-library/react": "12.1.0",
"babel-preset-kyt-react": "1.3.19",
"eslint": "7.32.0",
Expand All @@ -60,7 +60,7 @@
"jest-preset-kyt-rtl": "1.1.2",
"jest-preset-kyt-styled": "1.4.12",
"kyt": "1.2.5",
"prettier": "2.4.1"
"prettier": "2.8.8"
},
"version": "2.0.2",
"kyt": {
Expand Down
Loading

0 comments on commit bf076be

Please sign in to comment.