From 86aabe39dc97456f551ac0e7bb27ed7ac6dfbf85 Mon Sep 17 00:00:00 2001 From: David Festal Date: Fri, 8 Dec 2023 00:24:19 +0100 Subject: [PATCH] fix(ci): remove scripts before `npm publish` in `dist-dynamic` (#1011) Signed-off-by: David Festal --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 30167d41ee..0174e19094 100644 --- a/package.json +++ b/package.json @@ -156,7 +156,7 @@ [ "@semantic-release/exec", { - "successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm publish --registry https://registry.npmjs.org/ --ignore-scripts --access public ; fi" + "successCmd": "if [ -d 'dist-dynamic' ]; then echo 'publishing backend derived package ...' && cd dist-dynamic && npm pkg delete scripts && npm publish --registry https://registry.npmjs.org/ --access public ; fi" } ] ]