From 0c995adc099d13dd059d2704d56b4fa53ae1f316 Mon Sep 17 00:00:00 2001 From: tilacog Date: Tue, 18 Apr 2023 17:15:04 -0300 Subject: [PATCH] *: update release.sh to use the clean script defined in package.json The clean command will also remove other directories as well. --- scripts/release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index fca688cea..2401774c6 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -23,7 +23,7 @@ done # Publish to NPM # export NODE_ENV=production -rm -rf node_modules packages/*/node_modules +yarn clean # clean all packages before releasing yarn --registry https://registry.npmjs.org/ yarn config set registry https://registry.npmjs.org/ lerna publish "$VERSION"