From d569d6ee0ad801ecd798dede8bfa936760916943 Mon Sep 17 00:00:00 2001 From: andyjy Date: Thu, 28 Oct 2021 10:54:04 +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 8be0df2..9e97a13 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,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": "file:packages/_monorepo-utils",