Skip to content

Commit

Permalink
remove update during build
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-malko committed Nov 12, 2018
1 parent d8edce4 commit 35e5c92
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 48 deletions.
2 changes: 0 additions & 2 deletions lib/command-actions/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const generalOptionsProcessing = require('./utils/general-options-processing');
const buildPromt = require('../promt/build-promt');
const tarsUtils = require('../utils');
const buildPromtOptions = require('../constants').BUILD;
const updatesDuringBuildProcess = require('./utils/updates-during-build-process');

function extractBuildOptionsFromPromt(answers) {
let buildOptions = [];
Expand Down Expand Up @@ -80,7 +79,6 @@ function buildInit(answers, commandOptions) {
tarsUtils.tarsSay('You can use interactive mode via starting tars without any flags.');
}

updatesDuringBuildProcess();
tarsUtils.tarsSay('Please wait for a moment, while I\'m preparing builder for working...\n');
runCommand('gulp', buildOptions);
}
Expand Down
2 changes: 0 additions & 2 deletions lib/command-actions/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const generalOptionsProcessing = require('./utils/general-options-processing');
const devPromt = require('../promt/dev-promt');
const tarsUtils = require('../utils');
const devPromtOptions = require('../constants').DEV;
const updatesDuringBuildProcess = require('./utils/updates-during-build-process');

function extractBuildOptionsFromPromt(answers) {
let buildOptions = [];
Expand Down Expand Up @@ -82,7 +81,6 @@ function devInit(answers, commandOptions) {
tarsUtils.tarsSay('You can use interactive mode via starting tars without any flags.');
}

updatesDuringBuildProcess();
tarsUtils.tarsSay('Please wait for a moment, while I\'m preparing builder for working...\n');
runCommand('gulp', buildOptions);
}
Expand Down
37 changes: 0 additions & 37 deletions lib/command-actions/utils/updates-during-build-process.js

This file was deleted.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tars-cli",
"version": "1.10.3",
"version": "1.10.4",
"engines": {
"node": "^6.x.x"
},
Expand Down Expand Up @@ -33,13 +33,13 @@
},
"license": "MIT",
"dependencies": {
"@babel/core": "^7.1.2",
"@babel/core": "^7.1.5",
"autoprefixer": "^8.2.0",
"babel-loader": "^8.0.4",
"browser-sync": "^2.23.6",
"browser-sync": "^2.26.3",
"chalk": "^1.1.3",
"chokidar": "^2.0.3",
"cli-spinner": "^0.2.5",
"cli-spinner": "^0.2.8",
"commander": "^2.15.1",
"comment-json": "^1.1.3",
"del": "2.2.2",
Expand Down Expand Up @@ -93,16 +93,16 @@
"stream-combiner": "0.2.2",
"stream-combiner2": "^1.1.1",
"through2": "^2.0.3",
"webpack": "^4.21.0",
"webpack": "^4.25.1",
"webpack-dev-middleware": "^3.4.0",
"webpack-hot-middleware": "^2.24.3",
"win-spawn": "^2.0.0"
},
"devDependencies": {
"eslint": "^5.7.0"
"eslint": "^5.9.0"
},
"optionalDependencies": {
"posix": "^4.1.1",
"posix": "^4.1.2",
"fsevents": "^1.1.3"
},
"bin": {
Expand Down

0 comments on commit 35e5c92

Please sign in to comment.