From fd8335b5e9e965a922c7422f46ae7c73a4af2f75 Mon Sep 17 00:00:00 2001 From: andyjy Date: Thu, 28 Oct 2021 13:46:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9B=A0=EF=B8=8F=E2=80=82=E2=80=82fix=20le?= =?UTF-8?q?rna=20`version`/`publish`=20not=20updating=20root=20package-loc?= =?UTF-8?q?k=20versions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/lerna/lerna/issues/2879 https://github.com/lerna/lerna/issues/2891 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3e7ac7a..a1b5b08 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "prerelease-canary": "npm run clean && npm run build", "release-canary": "lerna publish --conventional-prerelease --preid canary --allow-branch canary --dist-tag canary --create-release github", "release": "lerna publish --conventional-graduate --create-release github && npx merge-main-to-canary", - "publish-releases": "lerna publish from-package" + "publish-releases": "lerna publish from-package", + "version": "npm install --package-lock-only && git add package-lock.json" }, "devDependencies": { "@andyjy/monorepo-utils": "0.1.1",