update dependencies and add yarn

This commit is contained in:
Philipp Kunz 2017-02-19 14:46:05 +01:00
parent 97d2a8d1b7
commit b86b090c07
9 changed files with 2898 additions and 180 deletions

42
dist/index.js vendored
View File

@ -21,59 +21,51 @@ exports.publish = npmci_publish_2.publish;
let smartcli = new plugins.smartcli.Smartcli(); let smartcli = new plugins.smartcli.Smartcli();
smartcli.addVersion(npmciInfo.version); smartcli.addVersion(npmciInfo.version);
// build // build
smartcli.addCommand({ smartcli.addCommand('build')
commandName: 'build' .then((argv) => {
}).then((argv) => {
npmci_build_1.build(argv._[1]) npmci_build_1.build(argv._[1])
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// clean // clean
smartcli.addCommand({ smartcli.addCommand('clean')
commandName: 'clean' .then((argv) => {
}).then((argv) => {
npmci_clean_1.clean() npmci_clean_1.clean()
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// command // command
smartcli.addCommand({ smartcli.addCommand('command')
commandName: 'command' .then((argv) => {
}).then((argv) => {
npmci_command_1.command() npmci_command_1.command()
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// install // install
smartcli.addCommand({ smartcli.addCommand('install')
commandName: 'install' .then((argv) => {
}).then((argv) => {
npmci_install_1.install(argv._[1]) npmci_install_1.install(argv._[1])
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// prepare // prepare
smartcli.addCommand({ smartcli.addCommand('prepare')
commandName: 'prepare' .then((argv) => {
}).then((argv) => {
npmci_prepare_1.prepare(argv._[1]) npmci_prepare_1.prepare(argv._[1])
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// publish // publish
smartcli.addCommand({ smartcli.addCommand('publish')
commandName: 'publish' .then((argv) => {
}).then((argv) => {
npmci_publish_1.publish(argv._[1]) npmci_publish_1.publish(argv._[1])
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// test // test
smartcli.addCommand({ smartcli.addCommand('test')
commandName: 'test' .then((argv) => {
}).then((argv) => {
npmci_test_1.test(argv._[1]) npmci_test_1.test(argv._[1])
.then(NpmciEnv.configStore); .then(NpmciEnv.configStore);
}); });
// trigger // trigger
smartcli.addCommand({ smartcli.addCommand('trigger')
commandName: 'trigger' .then((argv) => {
}).then((argv) => {
npmci_trigger_1.trigger(); npmci_trigger_1.trigger();
}); });
smartcli.startParse(); smartcli.startParse();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi90cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsMkNBQTBDO0FBQzFDLHVDQUFzQztBQUN0QyxJQUFJLFNBQVMsR0FBRyxJQUFJLE9BQU8sQ0FBQyxXQUFXLENBQUMsY0FBYyxDQUFDLEtBQUssQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFBO0FBQzlFLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLGlCQUFpQixHQUFHLFNBQVMsQ0FBQyxPQUFPLENBQUMsQ0FBQTtBQUU1RCwrQ0FBbUM7QUFDbkMsK0NBQW1DO0FBQ25DLG1EQUF1QztBQUN2QyxtREFBdUM7QUFDdkMsbURBQXVDO0FBQ3ZDLG1EQUF1QztBQUN2Qyw2Q0FBaUM7QUFDakMsbURBQXVDO0FBQ3ZDLHdDQUF1QztBQUV2Qyw2Q0FBbUM7QUFBM0IsOEJBQUEsS0FBSyxDQUFBO0FBQ2IsaURBQXdDO0FBQWhDLGtDQUFBLE9BQU8sQ0FBQTtBQUNmLGlEQUF3QztBQUFoQyxrQ0FBQSxPQUFPLENBQUE7QUFFZixJQUFJLFFBQVEsR0FBRyxJQUFJLE9BQU8sQ0FBQyxRQUFRLENBQUMsUUFBUSxFQUFFLENBQUE7QUFDOUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxTQUFTLENBQUMsT0FBTyxDQUFDLENBQUE7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VEsQ0FBQyxXQUFXLENBQUMsQ0FBQTtBQUMvQixDQUFDLENBQUMsQ0FBQTtBQUVKLE9BQU87QUFDUCxRQUFRLENBQUMsVUFBVSxDQUFDLE1BQU0sQ0FBQztLQUN4QixJQUFJLENBQUMsQ0FBQyxJQUFJO0lBQ1QsaUJBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFFLENBQUMsQ0FBRSxDQUFDO1NBQ2QsSUFBSSxDQUFDLFFBQVEsQ0FBQyxXQUFXLENBQUMsQ0FBQTtBQUMvQixDQUFDLENBQUMsQ0FBQTtBQUVKLFVBQVU7QUFDVixRQUFRLENBQUMsVUFBVSxDQUFDLFNBQVMsQ0FBQztLQUMzQixJQUFJLENBQUMsQ0FBQyxJQUFJO0lBQ1QsdUJBQU8sRUFBRSxDQUFBO0FBQ1gsQ0FBQyxDQUFDLENBQUE7QUFFSixRQUFRLENBQUMsVUFBVSxFQUFFLENBQUEifQ==

7
dist/npmci.bash.js vendored
View File

@ -3,11 +3,12 @@ const plugins = require("./npmci.plugins");
let nvmSourceString = ''; let nvmSourceString = '';
exports.nvmAvailable = false; exports.nvmAvailable = false;
let checkNvm = () => { let checkNvm = () => {
if (plugins.shelljs.exec(`bash -c "source /usr/local/nvm/nvm.sh"`, { silent: true }).code === 0) { let localExec = plugins.shelljs.exec;
if (localExec(`bash -c "source /usr/local/nvm/nvm.sh"`, { silent: true }).code === 0) {
nvmSourceString = `source /usr/local/nvm/nvm.sh && `; nvmSourceString = `source /usr/local/nvm/nvm.sh && `;
exports.nvmAvailable = true; exports.nvmAvailable = true;
} }
else if (plugins.shelljs.exec(`bash -c "source ~/.nvm/nvm.sh"`, { silent: true }).code === 0) { else if (localExec(`bash -c "source ~/.nvm/nvm.sh"`, { silent: true }).code === 0) {
nvmSourceString = `source ~/.nvm/nvm.sh && `; nvmSourceString = `source ~/.nvm/nvm.sh && `;
exports.nvmAvailable = true; exports.nvmAvailable = true;
} }
@ -70,4 +71,4 @@ exports.bashBare = (commandArg, retryArg = 2) => {
exports.bashNoError = (commandArg) => { exports.bashNoError = (commandArg) => {
return exports.bash(commandArg, -1); return exports.bash(commandArg, -1);
}; };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuYmFzaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3RzL25wbWNpLmJhc2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDJDQUEwQztBQUUxQyxJQUFJLGVBQWUsR0FBVyxFQUFFLENBQUE7QUFDckIsUUFBQSxZQUFZLEdBQVksS0FBSyxDQUFBO0FBQ3hDLElBQUksUUFBUSxHQUFHO0lBQ1gsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsd0NBQXdDLEVBQUMsRUFBQyxNQUFNLEVBQUUsSUFBSSxFQUFDLENBQUMsQ0FBQyxJQUFJLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUMzRixlQUFlLEdBQUcsa0NBQWtDLENBQUE7UUFDcEQsb0JBQVksR0FBRyxJQUFJLENBQUE7SUFDdkIsQ0FBQztJQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxnQ0FBZ0MsRUFBQyxFQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUMsQ0FBQyxDQUFDLElBQUksS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzFGLGVBQWUsR0FBRywwQkFBMEIsQ0FBQTtRQUM1QyxvQkFBWSxHQUFHLElBQUksQ0FBQTtJQUN2QixDQUFDO0lBQUEsQ0FBQztBQUNOLENBQUMsQ0FBQTtBQUNELFFBQVEsRUFBRSxDQUFBO0FBRVY7Ozs7R0FJRztBQUNRLFFBQUEsSUFBSSxHQUFHLENBQUMsVUFBa0IsRUFBRSxXQUFtQixDQU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BQUVEOztHQUVHO0FBQ1EsUUFBQSxXQUFXLEdBQUcsQ0FBQyxVQUFrQjtJQUMxQyxNQUFNLENBQUMsWUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFBO0FBQzdCLENBQUMsQ0FBQSJ9

2
dist/npmci.env.js vendored
View File

@ -45,4 +45,4 @@ let configLoad = () => {
exports.config.dockerFilesBuilt ? exports.dockerFilesBuilt = exports.config.dockerFilesBuilt : void (0); exports.config.dockerFilesBuilt ? exports.dockerFilesBuilt = exports.config.dockerFilesBuilt : void (0);
}; };
configLoad(); configLoad();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnBtY2kuZW52LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvbnBtY2kuZW52LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSwyQ0FBMEM7QUFDMUMsdUNBQXNDO0FBQ3RDLDZDQUFtQztBQUluQyxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLGFBQWEsQ0FBQztJQUFDLFlBQUksR0FBRyxJQUFJLHFCQUFPLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxhQUFhLENBQUMsQ0FBQTtBQUVqRSxRQUFBLFVBQVUsR0FBVyxPQUFPLENBQUMsR0FBRyxDQUFDLGNBQWMsQ0FBQTtBQUkvQyxRQUFBLGlCQUFpQixHQUFHLENBQUMsaUJBQXlCO0lBQ3JELHNCQUFjLEdBQUcsaUJBQWlCLENBQUE7QUFDdEMsQ0FBQyxDQUFBO0FBQ1UsUUFBQSxnQkFBZ0IsR0FBaUIsRUFBRSxDQUFBO0FBQ25DLFFBQUEsV0FBVyxHQUFpQixFQUFFLENBQUE7QUFDOUIsUUFBQSxNQUFNLEdBQUc7SUFDaEIsY0FBYyxFQUFFLFNBQVM7SUFDekIsZ0JBQWdCLEVBQUUsd0JBQ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M7Z0JBQ2xCLE9BQU8sQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUFDLFFBQVEsT0FBTyxlQUFlLENBQUMsQ0FBQTtZQUN2RCxDQUFDO1lBQUMsSUFBSSxDQUFDLENBQUM7Z0JBQ04sT0FBTyxDQUFDLFNBQVMsQ0FBQyxJQUFJLENBQUMsdUJBQXVCLE9BQU8sV0FBVyxDQUFDLENBQUE7Z0JBQ2pFLGlCQUFJLENBQUMsZUFBZSxPQUFPLFFBQVEsQ0FBQyxDQUFBO1lBQ3RDLENBQUM7UUFDSCxDQUFDO1FBQ0QsT0FBTyxDQUFDLFNBQVMsQ0FBQyxPQUFPLENBQUMsb0VBQW9FLENBQUMsQ0FBQTtRQUMvRixJQUFJLENBQUMsT0FBTyxFQUFFLENBQUE7SUFDaEIsQ0FBQyxDQUFDLENBQUE7SUFDSixNQUFNLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQTtBQUNyQixDQUFDLENBQUEifQ==

View File

@ -23,33 +23,33 @@
"homepage": "https://gitlab.com/gitzone/npmci#README", "homepage": "https://gitlab.com/gitzone/npmci#README",
"devDependencies": { "devDependencies": {
"@types/should": "^8.1.30", "@types/should": "^8.1.30",
"npmts-g": "^5.2.8", "npmts-g": "^6.0.0",
"should": "^11.1.1", "should": "^11.2.0",
"typings-test": "^1.0.3" "typings-test": "^1.0.3"
}, },
"dependencies": { "dependencies": {
"@types/lodash": "^4.14.40", "@types/lodash": "^4.14.52",
"@types/node": "^6.0.51", "@types/node": "^7.0.5",
"@types/q": "0.x.x", "@types/q": "0.x.x",
"@types/request": "0.x.x", "@types/request": "0.x.x",
"@types/shelljs": "^0.3.33", "@types/shelljs": "^0.7.0",
"@types/through2": "^2.0.32", "@types/through2": "^2.0.32",
"beautylog": "^6.0.0", "beautylog": "^6.1.1",
"gulp": "^3.9.1", "gulp": "^3.9.1",
"gulp-function": "^2.2.0", "gulp-function": "^2.2.3",
"lodash": "^4.17.2", "lodash": "^4.17.4",
"npmextra": "^2.0.3", "npmextra": "^2.0.3",
"projectinfo": "^1.0.4", "projectinfo": "^3.0.1",
"q": "^1.4.1", "q": "^1.4.1",
"request": "^2.79.0", "request": "^2.79.0",
"shelljs": "^0.7.5", "shelljs": "^0.7.6",
"smartcli": "^1.0.15", "smartcli": "^2.0.1",
"smartfile": "^4.1.0", "smartfile": "^4.1.6",
"smartparam": "^0.1.1", "smartparam": "^0.1.1",
"smartsocket": "^1.1.7", "smartsocket": "^1.1.7",
"smartssh": "^1.2.1", "smartssh": "^1.2.1",
"smartstring": "^2.0.22", "smartstring": "^2.0.24",
"through2": "^2.0.1", "through2": "^2.0.3",
"typings-global": "^1.0.14" "typings-global": "^1.0.14"
} }
} }

View File

@ -3,84 +3,76 @@ import * as paths from './npmci.paths'
let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot) let npmciInfo = new plugins.projectinfo.ProjectinfoNpm(paths.NpmciPackageRoot)
plugins.beautylog.log('npmci version: ' + npmciInfo.version) plugins.beautylog.log('npmci version: ' + npmciInfo.version)
import {build} from './npmci.build' import { build } from './npmci.build'
import {clean} from './npmci.clean' import { clean } from './npmci.clean'
import {command} from './npmci.command' import { command } from './npmci.command'
import {install} from './npmci.install' import { install } from './npmci.install'
import {publish} from './npmci.publish' import { publish } from './npmci.publish'
import {prepare} from './npmci.prepare' import { prepare } from './npmci.prepare'
import {test} from './npmci.test' import { test } from './npmci.test'
import {trigger} from './npmci.trigger' import { trigger } from './npmci.trigger'
import * as NpmciEnv from './npmci.env' import * as NpmciEnv from './npmci.env'
export {build} from './npmci.build' export { build } from './npmci.build'
export {install} from './npmci.install'; export { install } from './npmci.install';
export {publish} from './npmci.publish'; export { publish } from './npmci.publish';
let smartcli = new plugins.smartcli.Smartcli() let smartcli = new plugins.smartcli.Smartcli()
smartcli.addVersion(npmciInfo.version) smartcli.addVersion(npmciInfo.version)
// build // build
smartcli.addCommand({ smartcli.addCommand('build')
commandName: 'build' .then((argv) => {
}).then((argv) => { build(argv._[ 1 ])
build(argv._[1]) .then(NpmciEnv.configStore)
.then(NpmciEnv.configStore) })
})
// clean // clean
smartcli.addCommand({ smartcli.addCommand('clean')
commandName: 'clean' .then((argv) => {
}).then((argv) => {
clean() clean()
.then(NpmciEnv.configStore) .then(NpmciEnv.configStore)
}) })
// command // command
smartcli.addCommand({ smartcli.addCommand('command')
commandName: 'command' .then((argv) => {
}).then((argv) => {
command() command()
.then(NpmciEnv.configStore) .then(NpmciEnv.configStore)
}) })
// install // install
smartcli.addCommand({ smartcli.addCommand('install')
commandName: 'install' .then((argv) => {
}).then((argv) => { install(argv._[ 1 ])
install(argv._[1]) .then(NpmciEnv.configStore)
.then(NpmciEnv.configStore) })
})
// prepare // prepare
smartcli.addCommand({ smartcli.addCommand('prepare')
commandName: 'prepare' .then((argv) => {
}).then((argv) => { prepare(argv._[ 1 ])
prepare(argv._[1]) .then(NpmciEnv.configStore)
.then(NpmciEnv.configStore) })
})
// publish // publish
smartcli.addCommand({ smartcli.addCommand('publish')
commandName: 'publish' .then((argv) => {
}).then((argv) => { publish(argv._[ 1 ])
publish(argv._[1]) .then(NpmciEnv.configStore)
.then(NpmciEnv.configStore) })
})
// test // test
smartcli.addCommand({ smartcli.addCommand('test')
commandName: 'test' .then((argv) => {
}).then((argv) => { test(argv._[ 1 ])
test(argv._[1]) .then(NpmciEnv.configStore)
.then(NpmciEnv.configStore) })
})
// trigger // trigger
smartcli.addCommand({ smartcli.addCommand('trigger')
commandName: 'trigger' .then((argv) => {
}).then((argv) => {
trigger() trigger()
}) })
smartcli.startParse() smartcli.startParse()

View File

@ -3,13 +3,14 @@ import * as plugins from './npmci.plugins'
let nvmSourceString: string = '' let nvmSourceString: string = ''
export let nvmAvailable: boolean = false export let nvmAvailable: boolean = false
let checkNvm = () => { let checkNvm = () => {
if (plugins.shelljs.exec(`bash -c "source /usr/local/nvm/nvm.sh"`,{silent: true}).code === 0) { let localExec: any = plugins.shelljs.exec
nvmSourceString = `source /usr/local/nvm/nvm.sh && ` if (localExec(`bash -c "source /usr/local/nvm/nvm.sh"`, { silent: true }).code === 0) {
nvmAvailable = true nvmSourceString = `source /usr/local/nvm/nvm.sh && `
} else if (plugins.shelljs.exec(`bash -c "source ~/.nvm/nvm.sh"`,{silent: true}).code === 0) { nvmAvailable = true
nvmSourceString = `source ~/.nvm/nvm.sh && ` } else if (localExec(`bash -c "source ~/.nvm/nvm.sh"`, { silent: true }).code === 0) {
nvmAvailable = true nvmSourceString = `source ~/.nvm/nvm.sh && `
}; nvmAvailable = true
};
} }
checkNvm() checkNvm()
@ -19,54 +20,54 @@ checkNvm()
* @param retryArg - The retryArg: 0 to any positive number will retry, -1 will always succeed, -2 will return undefined * @param retryArg - The retryArg: 0 to any positive number will retry, -1 will always succeed, -2 will return undefined
*/ */
export let bash = (commandArg: string, retryArg: number = 2, bareArg: boolean = false): string => { export let bash = (commandArg: string, retryArg: number = 2, bareArg: boolean = false): string => {
let exitCode: number let exitCode: number
let stdOut: string let stdOut: string
let execResult let execResult
let failOnError: boolean = true let failOnError: boolean = true
if (retryArg === -1) { if (retryArg === -1) {
failOnError = false failOnError = false
retryArg = 0 retryArg = 0
} }
if (!process.env.NPMTS_TEST) { // NPMTS_TEST is used during testing if (!process.env.NPMTS_TEST) { // NPMTS_TEST is used during testing
for (let i = 0; i <= retryArg; i++) { for (let i = 0; i <= retryArg; i++) {
if (!bareArg) { if (!bareArg) {
execResult = plugins.shelljs.exec( execResult = plugins.shelljs.exec(
`bash -c "${nvmSourceString} ${commandArg}"` `bash -c "${nvmSourceString} ${commandArg}"`
) )
} else { } else {
execResult = plugins.shelljs.exec(commandArg) execResult = plugins.shelljs.exec(commandArg)
} }
exitCode = execResult.code exitCode = execResult.code
stdOut = execResult.stdout stdOut = execResult.stdout
// determine how bash reacts to error and success // determine how bash reacts to error and success
if (exitCode !== 0 && i === retryArg) { // something went wrong and retries are exhausted if (exitCode !== 0 && i === retryArg) { // something went wrong and retries are exhausted
if (failOnError) { if (failOnError) {
process.exit(1) process.exit(1)
}
} else if (exitCode === 0) { // everything went fine, or no error wanted
i = retryArg + 1 // retry +1 breaks for loop, if everything works out ok retrials are not wanted
} else {
plugins.beautylog.warn('Something went wrong! Exit Code: ' + exitCode.toString())
plugins.beautylog.info('Retry ' + (i + 1).toString() + ' of ' + retryArg.toString())
}
} }
} else { } else if (exitCode === 0) { // everything went fine, or no error wanted
plugins.beautylog.log('ShellExec would be: ' + commandArg) i = retryArg + 1 // retry +1 breaks for loop, if everything works out ok retrials are not wanted
} else {
plugins.beautylog.warn('Something went wrong! Exit Code: ' + exitCode.toString())
plugins.beautylog.info('Retry ' + (i + 1).toString() + ' of ' + retryArg.toString())
}
} }
return stdOut } else {
plugins.beautylog.log('ShellExec would be: ' + commandArg)
}
return stdOut
} }
/** /**
* bashBare allows usage of bash without sourcing any files like nvm * bashBare allows usage of bash without sourcing any files like nvm
*/ */
export let bashBare = (commandArg: string, retryArg: number = 2) => { export let bashBare = (commandArg: string, retryArg: number = 2) => {
return bash(commandArg, retryArg, true) return bash(commandArg, retryArg, true)
} }
/** /**
* bashNoError allows executing stuff without throwing an error * bashNoError allows executing stuff without throwing an error
*/ */
export let bashNoError = (commandArg: string): string => { export let bashNoError = (commandArg: string): string => {
return bash(commandArg, -1) return bash(commandArg, -1)
} }

View File

@ -3,43 +3,43 @@ import * as configModule from './npmci.config'
import { bash, bashNoError } from './npmci.bash' import { bash, bashNoError } from './npmci.bash'
import { nvmAvailable } from './npmci.bash' import { nvmAvailable } from './npmci.bash'
export let install = (versionArg) => { export let install = (versionArg) => {
let done = plugins.q.defer() let done = plugins.q.defer()
plugins.beautylog.log(`now installing node version ${versionArg}`) plugins.beautylog.log(`now installing node version ${versionArg}`)
let version: string let version: string
if (versionArg === 'stable') { if (versionArg === 'stable') {
version = 'stable' version = 'stable'
} else if (versionArg === 'lts') { } else if (versionArg === 'lts') {
version = '6' version = '6'
} else if (versionArg === 'legacy') { } else if (versionArg === 'legacy') {
version = '6' version = '6'
} else { } else {
version = versionArg version = versionArg
}; };
if (nvmAvailable) { if (nvmAvailable) {
bash(`nvm install ${version} && nvm alias default ${version}`) bash(`nvm install ${version} && nvm alias default ${version}`)
plugins.beautylog.success(`Node version ${version} successfully installed!`) plugins.beautylog.success(`Node version ${version} successfully installed!`)
} else { } else {
plugins.beautylog.warn('Nvm not in path so staying at installed node version!') plugins.beautylog.warn('Nvm not in path so staying at installed node version!')
}; };
bash('node -v') bash('node -v')
bash('npm -v') bash('npm -v')
// lets look for further config // lets look for further config
configModule.getConfig() configModule.getConfig()
.then(configArg => { .then(configArg => {
plugins.beautylog.log('Now checking for needed global npm tools...') plugins.beautylog.log('Now checking for needed global npm tools...')
for (let npmTool of configArg.globalNpmTools) { for (let npmTool of configArg.globalNpmTools) {
plugins.beautylog.info(`Checking for global "${npmTool}"`) plugins.beautylog.info(`Checking for global "${npmTool}"`)
let whichOutput = bashNoError(`which ${npmTool}`) let whichOutput = bashNoError(`which ${npmTool}`)
let toolAvailable: boolean = !((/not\sfound/.test(whichOutput)) || whichOutput === '') let toolAvailable: boolean = !((/not\sfound/.test(whichOutput)) || whichOutput === '')
if (toolAvailable) { if (toolAvailable) {
plugins.beautylog.log(`Tool ${npmTool} is available`) plugins.beautylog.log(`Tool ${npmTool} is available`)
} else { } else {
plugins.beautylog.info(`globally installing ${npmTool} from npm`) plugins.beautylog.info(`globally installing ${npmTool} from npm`)
bash(`npm install ${npmTool} -q -g`) bash(`npm install ${npmTool} -q -g`)
} }
} }
plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!') plugins.beautylog.success('all global npm tools specified in npmextra.json are now available!')
done.resolve() done.resolve()
}) })
return done.promise return done.promise
} }

2732
yarn.lock Normal file

File diff suppressed because it is too large Load Diff