From cb2430f7b2e360d4392680d9d91d0dba35e96abe Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sun, 27 May 2018 15:41:58 +0200 Subject: [PATCH] fix(build): improved asset handling --- package.json | 2 +- ts/mod_npm/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index d8e89b4..74fe2de 100644 --- a/package.json +++ b/package.json @@ -50,5 +50,5 @@ "smartsystem": "^2.0.2", "through2": "^2.0.3" }, - "private": true + "private": false } diff --git a/ts/mod_npm/index.ts b/ts/mod_npm/index.ts index 1b27cc5..b352d88 100644 --- a/ts/mod_npm/index.ts +++ b/ts/mod_npm/index.ts @@ -78,8 +78,8 @@ let publish = async () => { plugins.beautylog.success(`Nice!!! The build for the publication was successfull!`); plugins.beautylog.log(`Lets clean up so we don't publish any packages that don't belong to us:`); // -> clean up before we publish stuff - await bashNoError(`rm -r .npmci_cache`); - await bash(`rm -r node_modules`); + await bashNoError(`rm -r ./.npmci_cache`); + await bash(`rm -r ./node_modules`); plugins.beautylog.success(`Cleaned up!:`);