update publishing process
This commit is contained in:
parent
bb36beb682
commit
734a21c925
@ -69,9 +69,12 @@ let publish = async () => {
|
|||||||
// -> build it
|
// -> build it
|
||||||
await bash(`yarn install`);
|
await bash(`yarn install`);
|
||||||
await bash(`yarn run build`);
|
await bash(`yarn run build`);
|
||||||
|
await bash (`rm -r node_modules`)
|
||||||
|
|
||||||
// -> publish it
|
// -> publish it
|
||||||
|
plugins.beautylog.log(`now invking npm to publish the package!`)
|
||||||
await bash(`npm publish ${npmAccessCliString}`);
|
await bash(`npm publish ${npmAccessCliString}`);
|
||||||
|
plugins.beautylog.success(`Package was successfully published!`)
|
||||||
};
|
};
|
||||||
|
|
||||||
let install = async (): Promise<void> => {
|
let install = async (): Promise<void> => {
|
||||||
|
Loading…
Reference in New Issue
Block a user