Skip to content

Commit

Permalink
fix(babel): move Babel dependencies to (optional) peerDependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal authored and Hugo Alliaume committed Aug 31, 2022
1 parent 417981c commit 27ec15a
Show file tree
Hide file tree
Showing 10 changed files with 7,474 additions and 770 deletions.
18 changes: 15 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@
},
"homepage": "https://github.com/symfony/webpack-encore",
"dependencies": {
"@babel/core": "^7.17.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/preset-env": "^7.16.0",
"@nuxt/friendly-errors-webpack-plugin": "^2.5.1",
"assets-webpack-plugin": "7.0.*",
"babel-loader": "^8.2.5",
Expand All @@ -52,9 +49,12 @@
"yargs-parser": "^21.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.0",
"@babel/eslint-parser": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/plugin-transform-react-jsx": "^7.12.11",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@hotwired/stimulus": "^3.0.0",
Expand Down Expand Up @@ -103,8 +103,11 @@
"zombie": "^6.1.4"
},
"peerDependencies": {
"@babel/core": "^7.17.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.0",
"@babel/plugin-transform-react-jsx": "^7.12.11",
"@babel/preset-env": "^7.16.0",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.0.0",
"@symfony/stimulus-bridge": "^3.0.0",
Expand Down Expand Up @@ -135,12 +138,21 @@
"webpack-notifier": "^1.15.0"
},
"peerDependenciesMeta": {
"@babel/core": {
"optional": true
},
"@babel/plugin-proposal-class-properties": {
"optional": true
},
"@babel/plugin-syntax-dynamic-import": {
"optional": true
},
"@babel/plugin-transform-react-jsx": {
"optional": true
},
"@babel/preset-env": {
"optional": true
},
"@babel/preset-react": {
"optional": true
},
Expand Down
Loading

0 comments on commit 27ec15a

Please sign in to comment.