diff --git a/ts/mod_npm/index.ts b/ts/mod_npm/index.ts index 4ae49f6..b26e995 100644 --- a/ts/mod_npm/index.ts +++ b/ts/mod_npm/index.ts @@ -69,9 +69,12 @@ let publish = async () => { // -> build it await bash(`yarn install`); await bash(`yarn run build`); + await bash (`rm -r node_modules`) // -> publish it + plugins.beautylog.log(`now invking npm to publish the package!`) await bash(`npm publish ${npmAccessCliString}`); + plugins.beautylog.success(`Package was successfully published!`) }; let install = async (): Promise => {