Skip to content

Commit 369efba

Browse files
committed
resetup script upgrade
1 parent 043f3ee commit 369efba

File tree

1 file changed

+29
-3
lines changed

1 file changed

+29
-3
lines changed

resetup.ps1

Lines changed: 29 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
1-
ncu -u --dep 'prod,dev' --concurrency 16 -x 'vue,vue-composable,@vue/compiler-sfc,shadow-flux'
2-
ncu -u --dep 'prod,dev' --concurrency 16 --target newest -f '@pathscale/vue3-ui,@pathscale/bulma-css-var-only,@pathscale/bulma-pull-2981-css-var-only,vue-router,vuex,rollup-plugin-vue,vue-composable'
1+
$manager = "pnpm"
2+
3+
$disabledList = @(
4+
'vue-composable'
5+
6+
'shadow-flux'
7+
)
8+
9+
$nextList = @(
10+
'vue-composable'
11+
12+
'vue'
13+
'vuex'
14+
'vue-router'
15+
'rollup-plugin-vue'
16+
'@vue/compiler-sfc'
17+
18+
'@pathscale/vue3-ui'
19+
'@pathscale/bulma-css-var-only'
20+
'@pathscale/bulma-extensions-css-var'
21+
'@pathscale/bulma-pull-2981-css-var-only'
22+
)
23+
24+
$disabled = $disabledList -join ","
25+
$next = $nextList -join ","
26+
27+
ncu -u --dep 'prod,dev' --concurrency 16 -x $disabled
28+
ncu -u --dep 'prod,dev' --concurrency 16 --target newest -f $next
329
sort-package-json
430
wsl rm -rf node_modules package-lock.json yarn.lock pnpm-lock.yaml
5-
pnpm i
31+
Invoke-Expression $manager i

0 commit comments

Comments
 (0)