From 200ba0ca075b91a223664386b64e13d78a7921cd Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sun, 12 Nov 2023 16:39:21 +0800 Subject: [PATCH] Update --- extra/update-version.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/extra/update-version.ts b/extra/update-version.ts index e62139b..c3812c7 100644 --- a/extra/update-version.ts +++ b/extra/update-version.ts @@ -17,14 +17,8 @@ if (! exists) { // Process package.json pkg.version = newVersion; fs.writeFileSync("package.json", JSON.stringify(pkg, null, 4) + "\n"); - - // Also update pnpm-lock.yaml - const npm = /^win/.test(process.platform) ? "pnpm.cmd" : "pnpm"; - childProcess.spawnSync(npm, [ "install" ]); - commit(newVersion); tag(newVersion); - } else { console.log("version exists"); }