Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Babel packages #2287

Merged
merged 9 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
},
"devDependencies": {
"@actions/core": "^1.10.1",
"@babel/core": "7.23.2",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/core": "7.24.3",
"@changesets/cli": "^2.26.0",
"@lg-tools/cli": "^0.5.6",
"@lg-tools/storybook-addon": "*",
Expand All @@ -53,7 +52,8 @@
"typescript": "~4.9.0"
},
"resolutions": {
"caniuse-lite": "^1.0.30001585"
"caniuse-lite": "^1.0.30001585",
"jackspeak": "2.1.1"
},
"workspaces": [
"chat/*",
Expand Down
7 changes: 0 additions & 7 deletions tools/build/config/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@ module.exports = function (api) {
// For an explanation of `{loose: true}` see:
// https://github.com/babel/babel/issues/11622#issuecomment-644141879
const plugins = [
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-export-default-from',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
'@babel/plugin-proposal-logical-assignment-operators',
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
'@emotion/babel-plugin',
];

Expand Down
30 changes: 11 additions & 19 deletions tools/build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,35 +16,27 @@
"tsc": "tsc --build tsconfig.json"
},
"dependencies": {
"@babel/core": "7.23.2",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-proposal-export-default-from": "7.22.17",
"@babel/plugin-proposal-logical-assignment-operators": "^7.20.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "7.18.6",
"@babel/plugin-proposal-object-rest-spread": "7.20.7",
"@babel/plugin-proposal-optional-chaining": "7.21.0",
"@babel/plugin-proposal-private-methods": "7.18.6",
"@babel/plugin-proposal-private-property-in-object": "7.21.11",
"@babel/plugin-transform-react-jsx": "7.22.15",
"@babel/preset-env": "7.23.2",
"@babel/preset-react": "7.22.15",
"@babel/preset-typescript": "7.23.2",
"@babel/register": "7.22.15",
"@babel/runtime": "7.23.2",
"@babel/core": "7.24.3",
"@babel/plugin-proposal-export-default-from": "7.24.1",
"@babel/preset-env": "7.24.3",
"@babel/preset-react": "7.24.1",
"@babel/preset-typescript": "7.24.1",
"@babel/register": "^7.23.7",
"@babel/runtime": "7.24.1",
"@emotion/babel-plugin": "11.11.0",
"@rollup/plugin-babel": "6.0.3",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-node-resolve": "15.1.0",
"@rollup/plugin-terser": "0.4.3",
"@rollup/plugin-url": "8.0.1",
"@svgr/babel-plugin-replace-jsx-attribute-value": "8.0.0",
"@svgr/cli": "8.0.1",
"@svgr/rollup": "8.0.1",
"@svgr/rollup": "^8.1.0",
"@types/cross-spawn": "6.0.2",
"@types/fs-extra": "11.0.1",
"chalk": "4.1.2",
"cross-spawn": "7.0.3",
"fs-extra": "11.1.1",
"glob": "10.3.3",
"glob": "10.3.12",
"lodash": "4.17.21",
"react-docgen-typescript": "2.2.2",
"rollup": "3.25.3",
Expand All @@ -53,7 +45,7 @@
"rollup-plugin-sizes": "1.0.6"
},
"peerDependencies": {
"@babel/core": "7.23.2",
"@babel/core": "7.24.0",
"turbo": "^1.10.7",
"typescript": "~4.9.0"
}
Expand Down
2 changes: 1 addition & 1 deletion tools/storybook-addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"@svgr/webpack": "8.0.1",
"buffer": "6.0.3",
"file-loader": "6.2.0",
"glob": "10.3.3",
"glob": "10.3.12",
"lodash": "4.17.21",
"path-browserify": "1.0.1",
"react-docgen-typescript": "2.2.2",
Expand Down
5 changes: 4 additions & 1 deletion tools/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@types/fs-extra": "11.0.1",
"@types/jest": "29.5.3",
"@types/jest-axe": "3.5.5",
"babel-jest": "29.6.2",
"babel-jest": "29.7.0",
"chalk": "4.1.2",
"cross-spawn": "7.0.3",
"fs-extra": "11.1.1",
Expand All @@ -40,5 +40,8 @@
"jest-junit": "16.0.0",
"react-test-renderer": "18.2.0",
"regenerator-runtime": "0.14.0"
},
"peerDependencies": {
"@babel/core": "^7.23.2"
}
}
Loading
Loading