add npmci npm publish
This commit is contained in:
@ -24,6 +24,9 @@ export let handleCli = async (argvArg) => {
|
||||
case 'test':
|
||||
await test()
|
||||
break
|
||||
case 'publish':
|
||||
await publish()
|
||||
break
|
||||
default:
|
||||
plugins.beautylog.error(`>>npmci npm ...<< action >>${action}<< not supported`)
|
||||
}
|
||||
@ -49,6 +52,10 @@ let prepare = async () => {
|
||||
return
|
||||
}
|
||||
|
||||
let publish = async () => {
|
||||
await bash('npm publish')
|
||||
}
|
||||
|
||||
let install = async (): Promise<void> => {
|
||||
plugins.beautylog.info('now installing dependencies:')
|
||||
if (await yarnAvailable.promise) {
|
||||
|
Reference in New Issue
Block a user