Skip to content

Commit dd98d2a

Browse files
authored
fix: fix jscodeshift peer dependency error (#5614)
Fixes #5612 TODO: @babel/preset-env can be removed when we switch over from jscodeshift to vue-codemod
1 parent 2ed3975 commit dd98d2a

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

packages/@vue/cli/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"access": "public"
2525
},
2626
"dependencies": {
27+
"@babel/preset-env": "^7.9.6",
2728
"@vue/cli-shared-utils": "^4.4.5",
2829
"@vue/cli-ui": "^4.4.5",
2930
"@vue/cli-ui-addon-webpack": "^4.4.5",
@@ -44,7 +45,7 @@
4445
"isbinaryfile": "^4.0.6",
4546
"javascript-stringify": "^1.6.0",
4647
"js-yaml": "^3.13.1",
47-
"jscodeshift": "^0.9.0",
48+
"jscodeshift": "^0.10.0",
4849
"leven": "^3.1.0",
4950
"lodash.clonedeep": "^4.5.0",
5051
"lru-cache": "^5.1.1",

yarn.lock

+25
Original file line numberDiff line numberDiff line change
@@ -11640,6 +11640,31 @@ jsbn@~0.1.0:
1164011640
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
1164111641
integrity sha1-peZUwuWi3rXyAdls77yoDA7y9RM=
1164211642

11643+
jscodeshift@^0.10.0:
11644+
version "0.10.0"
11645+
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.10.0.tgz#d77cc57dd9a4d24ebcf569468fb04ee36d4632ec"
11646+
integrity sha512-xpH2FVSEepXoNr6+cPlPHzPzBY1W9bPulufhCHOShzk8+CTCzAOQKytuOXT0b/9PvmO4biRi0g/ZIylVew815w==
11647+
dependencies:
11648+
"@babel/core" "^7.1.6"
11649+
"@babel/parser" "^7.1.6"
11650+
"@babel/plugin-proposal-class-properties" "^7.1.0"
11651+
"@babel/plugin-proposal-nullish-coalescing-operator" "^7.1.0"
11652+
"@babel/plugin-proposal-optional-chaining" "^7.1.0"
11653+
"@babel/plugin-transform-modules-commonjs" "^7.1.0"
11654+
"@babel/preset-flow" "^7.0.0"
11655+
"@babel/preset-typescript" "^7.1.0"
11656+
"@babel/register" "^7.0.0"
11657+
babel-core "^7.0.0-bridge.0"
11658+
colors "^1.1.2"
11659+
flow-parser "0.*"
11660+
graceful-fs "^4.1.11"
11661+
micromatch "^3.1.10"
11662+
neo-async "^2.5.0"
11663+
node-dir "^0.1.17"
11664+
recast "^0.18.1"
11665+
temp "^0.8.1"
11666+
write-file-atomic "^2.3.0"
11667+
1164311668
jscodeshift@^0.9.0:
1164411669
version "0.9.0"
1164511670
resolved "https://registry.yarnpkg.com/jscodeshift/-/jscodeshift-0.9.0.tgz#672025658e868a63e24d6a6f4c44af9edb6e55f3"

0 commit comments

Comments
 (0)