From: Haoqun Jiang Date: Mon, 28 Jul 2025 15:37:48 +0000 (+0800) Subject: chore: add a dedupe step in postversion script X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff40dcdafe49ed49104722e5dfd5f8b37b1d1029;p=thirdparty%2Fvuejs%2Fcreate-vue.git chore: add a dedupe step in postversion script --- diff --git a/scripts/postversion.mjs b/scripts/postversion.mjs index 4d569fb0..3e099679 100644 --- a/scripts/postversion.mjs +++ b/scripts/postversion.mjs @@ -12,6 +12,7 @@ const playgroundDir = path.resolve(__dirname, '../playground/') cd(playgroundDir) await $`pnpm install` +await $`pnpm dedupe` await $`git add -A .` try { await $`git commit -m "version ${version} snapshot"`