From 9e9df3c6ff3b47566178d220832f252bb2174de2 Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Fri, 19 Jun 2020 11:12:41 -0700 Subject: [PATCH] build: clean package-lock.json before release (#621) --- .../temporary_superset_ui/superset-ui/package.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/package.json b/superset-frontend/temporary_superset_ui/superset-ui/package.json index 9ae637db8cf3c..5c1673844c626 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/package.json +++ b/superset-frontend/temporary_superset_ui/superset-ui/package.json @@ -31,11 +31,12 @@ "postrelease": "lerna run deploy-demo", "list-changed-packages": "lerna changed", "manual-release": "lerna publish --force-publish && yarn postrelease", - "ci:create-patch-version": "lerna version patch --yes", - "ci:create-minor-version": "lerna version minor --yes", - "ci:create-conventional-version": "lerna version --conventional-commits --create-release github --yes", - "ci:release-from-tag": "lerna publish from-package --yes", - "ci:release-conventional": "lerna publish --conventional-commits --create-release github --yes" + "clean-npm-lock": "rm -rf package-lock.json ./{packages,plugins}/*/package-lock.json", + "ci:create-patch-version": "yarn clean-npm-lock && lerna version patch --yes", + "ci:create-minor-version": "yarn clean-npm-lock && lerna version minor --yes", + "ci:create-conventional-version": "yarn clean-npm-lock && lerna version --conventional-commits --create-release github --yes", + "ci:release-from-tag": "yarn clean-npm-lock && lerna publish from-package --yes", + "ci:release-conventional": "yarn clean-npm-lock && lerna publish --conventional-commits --create-release github --yes" }, "repository": "https://github.com/apache-superset/superset-ui.git", "keywords": [