add option for npm access level

This commit is contained in:
2018-04-04 22:25:13 +02:00
parent c8c17e6cba
commit 0ab1e1ab7c
70 changed files with 1977 additions and 1846 deletions

View File

@ -1,13 +1,15 @@
import * as plugins from './mod.plugins'
import { bash } from '../npmci.bash'
import * as plugins from './mod.plugins';
import { bash } from '../npmci.bash';
export let command = async () => {
let wrappedCommand: string = ''
let argvArray = process.argv
let wrappedCommand: string = '';
let argvArray = process.argv;
for (let i = 3; i < argvArray.length; i++) {
wrappedCommand = wrappedCommand + argvArray[i]
if (i + 1 !== argvArray.length) { wrappedCommand = wrappedCommand + ' ' }
wrappedCommand = wrappedCommand + argvArray[i];
if (i + 1 !== argvArray.length) {
wrappedCommand = wrappedCommand + ' ';
}
}
await bash(wrappedCommand)
return
}
await bash(wrappedCommand);
return;
};

View File

@ -1 +1 @@
export * from '../npmci.plugins'
export * from '../npmci.plugins';