]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
chore: add a dedupe step in postversion script
authorHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 28 Jul 2025 15:37:48 +0000 (23:37 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Mon, 28 Jul 2025 15:37:48 +0000 (23:37 +0800)
scripts/postversion.mjs

index 4d569fb0100c2decc33a3c0e5d5dfa4f3c166042..3e09967969945cc1a45c247e31af27f42574657f 100644 (file)
@@ -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"`