Skip to content
This repository has been archived by the owner on Apr 21, 2024. It is now read-only.

Commit

Permalink
fix(core): use resolutions to fix babel-plugin-add-module-exports error
Browse files Browse the repository at this point in the history
  • Loading branch information
HsuTing committed Apr 7, 2019
1 parent 5e4aaa8 commit d1ab209
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,8 @@
"post-merge": "make babel-all",
"post-checkout": "make babel-changed BRANCH=master"
}
},
"resolutions": {
"@babel/preset-env": "7.4.2"
}
}
17 changes: 12 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,13 @@
dependencies:
regexp-tree "^0.1.0"

"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2":
version "7.4.2"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz#800391136d6cbcc80728dbdba3c1c6e46f86c12e"
integrity sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ==
dependencies:
regexp-tree "^0.1.0"

"@babel/plugin-transform-new-target@^7.4.0":
version "7.4.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.0.tgz#67658a1d944edb53c8d4fa3004473a0dd7838150"
Expand Down Expand Up @@ -719,10 +726,10 @@
core-js "^2.6.5"
regenerator-runtime "^0.13.2"

"@babel/preset-env@^7.4.1":
version "7.4.1"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.1.tgz#80e19ad76f62fb136d57ee4b963db3e8a6840bad"
integrity sha512-uC2DeVb6ljdjBGhJCyHxNZfSJEVgPdUm2R5cX85GCl1Qreo5sMM5g85ntqtzRF7XRYGgnRmV5we9cdlvo1wJvg==
"@babel/preset-env@7.4.2", "@babel/preset-env@^7.4.1":
version "7.4.2"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.2.tgz#2f5ba1de2daefa9dcca653848f96c7ce2e406676"
integrity sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
"@babel/helper-plugin-utils" "^7.0.0"
Expand Down Expand Up @@ -752,7 +759,7 @@
"@babel/plugin-transform-modules-commonjs" "^7.4.0"
"@babel/plugin-transform-modules-systemjs" "^7.4.0"
"@babel/plugin-transform-modules-umd" "^7.2.0"
"@babel/plugin-transform-named-capturing-groups-regex" "^7.3.0"
"@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2"
"@babel/plugin-transform-new-target" "^7.4.0"
"@babel/plugin-transform-object-super" "^7.2.0"
"@babel/plugin-transform-parameters" "^7.4.0"
Expand Down

0 comments on commit d1ab209

Please sign in to comment.