Skip to content

Commit

Permalink
Fix missing @bable/core
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-malko committed Oct 23, 2018
1 parent eb6a6ce commit 95d615f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/command-actions/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function mainInit(answers) {
const tarsConfig = require(`${cwd}/tars-config.js`);

if ((answers && answers.useBabel) || tarsConfig.useBabel) {
commandToExec += ' && npm i @babel/preset-env --save';
commandToExec += ' && npm i --save @babel/preset-env@"<8.0.0" @babel/core@"<8.0.0"';
}

exec(commandToExec, (error, stdout, stderr) => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tars-cli",
"version": "1.10.0",
"version": "1.10.1",
"engines": {
"node": "^6.x.x"
},
Expand Down

0 comments on commit 95d615f

Please sign in to comment.