Skip to content

Commit e9dc559

Browse files
bteaautofix-ci[bot]kermanx
authored
chore: use pnpm catalog (#1820)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: _Kerman <[email protected]>
1 parent ec67cd1 commit e9dc559

File tree

12 files changed

+271
-347
lines changed

12 files changed

+271
-347
lines changed

demo/starter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"@slidev/theme-default": "^0.25.0",
1313
"@slidev/theme-seriph": "^0.25.0",
1414
"nodemon": "^3.1.4",
15-
"vue": "^3.4.38"
15+
"vue": "catalog:"
1616
}
1717
}

demo/vue-runner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"@slidev/theme-seriph": "^0.25.0",
1313
"@vue/compiler-sfc": "^3.4.38",
1414
"nodemon": "^3.1.4",
15-
"vue": "^3.4.38"
15+
"vue": "catalog:"
1616
}
1717
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"devDependencies": {
3030
"@antfu/eslint-config": "^2.25.2",
3131
"@antfu/ni": "^0.22.4",
32-
"@antfu/utils": "^0.7.10",
32+
"@antfu/utils": "catalog:",
3333
"@shikijs/markdown-it": "^1.13.0",
3434
"@slidev/cli": "workspace:*",
3535
"@slidev/parser": "workspace:*",
@@ -57,18 +57,18 @@
5757
"eslint-plugin-format": "^0.1.2",
5858
"esno": "^4.7.0",
5959
"execa": "^9.3.1",
60-
"katex": "^0.16.11",
60+
"katex": "catalog:",
6161
"lint-staged": "^15.2.9",
62-
"mermaid": "^10.9.1",
62+
"mermaid": "catalog:",
6363
"playwright-chromium": "^1.46.0",
6464
"prettier-plugin-slidev": "^1.0.5",
6565
"rimraf": "^6.0.1",
66-
"shiki": "^1.13.0",
66+
"shiki": "catalog:",
6767
"simple-git-hooks": "^2.11.1",
6868
"taze": "^0.16.6",
6969
"ts-json-schema-generator": "^2.3.0",
7070
"tsup": "^8.2.4",
71-
"typescript": "^5.5.4",
71+
"typescript": "catalog:",
7272
"vite": "^5.4.1",
7373
"vitest": "^2.0.5",
7474
"vue-tsc": "^2.0.29",

packages/client/package.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,38 +28,38 @@
2828
"node": ">=18.0.0"
2929
},
3030
"dependencies": {
31-
"@antfu/utils": "^0.7.10",
32-
"@iconify-json/carbon": "^1.1.37",
33-
"@iconify-json/ph": "^1.1.14",
34-
"@iconify-json/svg-spinners": "^1.1.3",
31+
"@antfu/utils": "catalog:",
32+
"@iconify-json/carbon": "catalog:",
33+
"@iconify-json/ph": "catalog:",
34+
"@iconify-json/svg-spinners": "catalog:",
3535
"@shikijs/monaco": "^1.13.0",
36-
"@shikijs/vitepress-twoslash": "^1.13.0",
36+
"@shikijs/vitepress-twoslash": "catalog:",
3737
"@slidev/parser": "workspace:*",
3838
"@slidev/rough-notation": "^0.1.0",
3939
"@slidev/types": "workspace:*",
4040
"@typescript/ata": "^0.9.7",
4141
"@unhead/vue": "^1.9.16",
42-
"@unocss/reset": "^0.62.2",
42+
"@unocss/reset": "catalog:",
4343
"@vueuse/core": "^11.0.0",
4444
"@vueuse/math": "^11.0.0",
4545
"@vueuse/motion": "^2.2.3",
4646
"drauu": "^0.4.0",
4747
"file-saver": "^2.0.5",
4848
"floating-vue": "^5.2.2",
4949
"fuse.js": "^7.0.0",
50-
"katex": "^0.16.11",
51-
"lz-string": "^1.5.0",
52-
"mermaid": "^10.9.1",
53-
"monaco-editor": "^0.50.0",
50+
"katex": "catalog:",
51+
"lz-string": "catalog:",
52+
"mermaid": "catalog:",
53+
"monaco-editor": "catalog:",
5454
"prettier": "^3.3.3",
5555
"recordrtc": "^5.6.2",
56-
"shiki": "^1.13.0",
57-
"shiki-magic-move": "^0.4.3",
58-
"typescript": "^5.5.4",
59-
"unocss": "^0.62.2",
60-
"vue": "^3.4.38",
61-
"vue-router": "^4.4.3",
62-
"yaml": "^2.5.0"
56+
"shiki": "catalog:",
57+
"shiki-magic-move": "catalog:",
58+
"typescript": "catalog:",
59+
"unocss": "catalog:",
60+
"vue": "catalog:",
61+
"vue-router": "catalog:",
62+
"yaml": "catalog:"
6363
},
6464
"devDependencies": {
6565
"vite": "^5.4.1"

packages/create-app/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
},
2626
"dependencies": {
2727
"execa": "^9.3.1",
28-
"kolorist": "^1.8.0",
29-
"minimist": "^1.2.8",
30-
"prompts": "^2.4.2"
28+
"kolorist": "catalog:",
29+
"minimist": "catalog:",
30+
"prompts": "catalog:"
3131
}
3232
}

packages/create-theme/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
"node": ">=18.0.0"
2121
},
2222
"dependencies": {
23-
"kolorist": "^1.8.0",
24-
"minimist": "^1.2.8",
25-
"prompts": "^2.4.2"
23+
"kolorist": "catalog:",
24+
"minimist": "catalog:",
25+
"prompts": "catalog:"
2626
}
2727
}

packages/parser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"prepublishOnly": "npm run build"
4242
},
4343
"dependencies": {
44-
"@antfu/utils": "^0.7.10",
44+
"@antfu/utils": "catalog:",
4545
"@slidev/types": "workspace:*",
46-
"yaml": "^2.5.0"
46+
"yaml": "catalog:"
4747
}
4848
}

packages/slidev/package.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,21 @@
4949
},
5050
"dependencies": {
5151
"@antfu/ni": "^0.22.4",
52-
"@antfu/utils": "^0.7.10",
53-
"@iconify-json/carbon": "^1.1.37",
54-
"@iconify-json/ph": "^1.1.14",
55-
"@iconify-json/svg-spinners": "^1.1.3",
52+
"@antfu/utils": "catalog:",
53+
"@iconify-json/carbon": "catalog:",
54+
"@iconify-json/ph": "catalog:",
55+
"@iconify-json/svg-spinners": "catalog:",
5656
"@lillallol/outline-pdf": "^4.0.0",
5757
"@shikijs/markdown-it": "^1.13.0",
5858
"@shikijs/twoslash": "^1.13.0",
59-
"@shikijs/vitepress-twoslash": "^1.13.0",
59+
"@shikijs/vitepress-twoslash": "catalog:",
6060
"@slidev/client": "workspace:*",
6161
"@slidev/parser": "workspace:*",
6262
"@slidev/types": "workspace:*",
6363
"@unocss/extractor-mdc": "^0.62.2",
64-
"@unocss/reset": "^0.62.2",
65-
"@vitejs/plugin-vue": "^5.1.2",
66-
"@vitejs/plugin-vue-jsx": "^4.0.1",
64+
"@unocss/reset": "catalog:",
65+
"@vitejs/plugin-vue": "catalog:",
66+
"@vitejs/plugin-vue-jsx": "catalog:",
6767
"chokidar": "^3.6.0",
6868
"cli-progress": "^3.12.0",
6969
"connect": "^3.7.0",
@@ -76,47 +76,47 @@
7676
"htmlparser2": "^9.1.0",
7777
"is-installed-globally": "^1.0.0",
7878
"jiti": "^1.21.6",
79-
"katex": "^0.16.11",
80-
"kolorist": "^1.8.0",
79+
"katex": "catalog:",
80+
"kolorist": "catalog:",
8181
"local-pkg": "^0.5.0",
82-
"lz-string": "^1.5.0",
82+
"lz-string": "catalog:",
8383
"magic-string": "^0.30.11",
8484
"magic-string-stack": "^0.1.1",
8585
"markdown-it": "^14.1.0",
8686
"markdown-it-footnote": "^4.0.0",
8787
"markdown-it-mdc": "^0.2.5",
8888
"micromatch": "^4.0.7",
8989
"mlly": "^1.7.1",
90-
"monaco-editor": "^0.50.0",
90+
"monaco-editor": "catalog:",
9191
"open": "^10.1.0",
9292
"pdf-lib": "^1.17.1",
9393
"plantuml-encoder": "^1.4.0",
9494
"postcss-nested": "^6.2.0",
9595
"pptxgenjs": "^3.12.0",
9696
"prismjs": "^1.29.0",
97-
"prompts": "^2.4.2",
97+
"prompts": "catalog:",
9898
"public-ip": "^7.0.1",
9999
"resolve-from": "^5.0.0",
100100
"resolve-global": "^2.0.0",
101101
"semver": "^7.6.3",
102-
"shiki": "^1.13.0",
103-
"shiki-magic-move": "^0.4.3",
102+
"shiki": "catalog:",
103+
"shiki-magic-move": "catalog:",
104104
"sirv": "^2.0.4",
105105
"source-map-js": "^1.2.0",
106-
"typescript": "^5.5.4",
107-
"unocss": "^0.62.2",
108-
"unplugin-icons": "^0.19.2",
106+
"typescript": "catalog:",
107+
"unocss": "catalog:",
108+
"unplugin-icons": "catalog:",
109109
"unplugin-vue-components": "^0.27.4",
110-
"unplugin-vue-markdown": "^0.26.2",
110+
"unplugin-vue-markdown": "catalog:",
111111
"untun": "^0.1.3",
112112
"uqr": "^0.1.2",
113113
"vite": "^5.4.1",
114114
"vite-plugin-inspect": "^0.8.5",
115-
"vite-plugin-remote-assets": "^0.5.0",
115+
"vite-plugin-remote-assets": "catalog:",
116116
"vite-plugin-static-copy": "^1.0.6",
117-
"vite-plugin-vue-server-ref": "^0.4.2",
117+
"vite-plugin-vue-server-ref": "catalog:",
118118
"vitefu": "^0.2.5",
119-
"vue": "^3.4.38",
119+
"vue": "catalog:",
120120
"yargs": "^17.7.2"
121121
},
122122
"devDependencies": {

packages/types/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,22 +28,22 @@
2828
"prepublishOnly": "npm run build"
2929
},
3030
"dependencies": {
31-
"@antfu/utils": "^0.7.10",
31+
"@antfu/utils": "catalog:",
3232
"@shikijs/markdown-it": "^1.13.0",
33-
"@vitejs/plugin-vue": "^5.1.2",
34-
"@vitejs/plugin-vue-jsx": "^4.0.1",
35-
"katex": "^0.16.11",
36-
"mermaid": "^10.9.1",
37-
"monaco-editor": "^0.50.0",
38-
"shiki": "^1.13.0",
39-
"unocss": "^0.62.2",
40-
"unplugin-icons": "^0.19.2",
41-
"unplugin-vue-markdown": "^0.26.2",
33+
"@vitejs/plugin-vue": "catalog:",
34+
"@vitejs/plugin-vue-jsx": "catalog:",
35+
"katex": "catalog:",
36+
"mermaid": "catalog:",
37+
"monaco-editor": "catalog:",
38+
"shiki": "catalog:",
39+
"unocss": "catalog:",
40+
"unplugin-icons": "catalog:",
41+
"unplugin-vue-markdown": "catalog:",
4242
"vite-plugin-inspect": "^0.8.5",
43-
"vite-plugin-remote-assets": "^0.5.0",
43+
"vite-plugin-remote-assets": "catalog:",
4444
"vite-plugin-static-copy": "^1.0.6",
45-
"vite-plugin-vue-server-ref": "^0.4.2",
46-
"vue": "^3.4.38",
47-
"vue-router": "^4.4.3"
45+
"vite-plugin-vue-server-ref": "catalog:",
46+
"vue": "catalog:",
47+
"vue-router": "catalog:"
4848
}
4949
}

packages/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@
451451
"vscode:prepublish": "nr build"
452452
},
453453
"devDependencies": {
454-
"@antfu/utils": "^0.7.10",
454+
"@antfu/utils": "catalog:",
455455
"@slidev/parser": "workspace:*",
456456
"@slidev/types": "workspace:*",
457457
"@types/node": "^22.3.0",

0 commit comments

Comments
 (0)