Skip to content

Commit 4aa87b3

Browse files
committed
chore: enable pnpm catalogs
1 parent 51a58f4 commit 4aa87b3

File tree

6 files changed

+319
-105
lines changed

6 files changed

+319
-105
lines changed

docs/package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@
1313
"typecheck": "vue-tsc --noEmit"
1414
},
1515
"devDependencies": {
16-
"@iconify-json/ri": "^1.2.5",
17-
"@shikijs/vitepress-twoslash": "^3.7.0",
18-
"case-police": "^2.0.0",
19-
"consola": "^3.4.2",
20-
"dotenv": "^17.0.1",
21-
"markdown-it": "^14.1.0",
22-
"markdown-it-github-alerts": "^1.0.0",
23-
"ofetch": "^1.4.1",
24-
"tsx": "^4.20.3",
25-
"unocss": "^66.3.2",
16+
"@iconify-json/ri": "catalog:docs",
17+
"@shikijs/vitepress-twoslash": "catalog:docs",
18+
"case-police": "catalog:docs",
19+
"consola": "catalog:docs",
20+
"dotenv": "catalog:docs",
21+
"markdown-it": "catalog:docs",
22+
"markdown-it-github-alerts": "catalog:docs",
23+
"ofetch": "catalog:docs",
24+
"tsx": "catalog:docs",
25+
"unocss": "catalog:docs",
2626
"unplugin": "workspace:*",
27-
"unplugin-icons": "^22.1.0",
28-
"unplugin-vue-components": "^28.8.0",
29-
"vitepress": "2.0.0-alpha.7",
30-
"vitepress-plugin-group-icons": "^1.6.1",
31-
"vue": "^3.5.17",
32-
"vue-tsc": "^3.0.0"
27+
"unplugin-icons": "catalog:docs",
28+
"unplugin-vue-components": "catalog:docs",
29+
"vitepress": "catalog:docs",
30+
"vitepress-plugin-group-icons": "catalog:docs",
31+
"vue": "catalog:docs",
32+
"vue-tsc": "catalog:docs"
3333
}
3434
}

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export default antfu(
77
formatters: {
88
markdown: 'dprint',
99
},
10+
pnpm: true,
1011
},
1112
{
1213
ignores: [

package.json

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -43,47 +43,47 @@
4343
"test:build": "jiti scripts/buildFixtures.ts"
4444
},
4545
"dependencies": {
46-
"acorn": "^8.15.0",
47-
"picomatch": "^4.0.2",
48-
"webpack-virtual-modules": "^0.6.2"
46+
"acorn": "catalog:prod",
47+
"picomatch": "catalog:prod",
48+
"webpack-virtual-modules": "catalog:prod"
4949
},
5050
"devDependencies": {
51-
"@ampproject/remapping": "^2.3.0",
52-
"@antfu/eslint-config": "^4.16.1",
53-
"@antfu/ni": "^25.0.0",
54-
"@farmfe/cli": "^1.0.5",
55-
"@farmfe/core": "^1.7.8",
56-
"@rspack/cli": "^1.4.2",
57-
"@rspack/core": "^1.4.2",
58-
"@types/fs-extra": "^11.0.4",
59-
"@types/node": "^24.0.9",
60-
"@types/picomatch": "^4.0.0",
61-
"ansis": "^4.1.0",
62-
"bumpp": "^10.2.0",
63-
"esbuild": "^0.25.5",
64-
"esbuild-plugin-copy": "^2.1.1",
65-
"eslint": "^9.30.0",
66-
"eslint-plugin-format": "^1.0.1",
67-
"fast-glob": "^3.3.3",
68-
"fs-extra": "^11.3.0",
69-
"jiti": "^2.4.2",
70-
"lint-staged": "^16.1.2",
71-
"magic-string": "^0.30.17",
72-
"rolldown": "^1.0.0-beta.23",
73-
"rollup": "^4.44.1",
74-
"simple-git-hooks": "^2.13.0",
75-
"tsdown": "^0.12.9",
76-
"typescript": "~5.8.3",
77-
"unloader": "^0.4.5",
51+
"@ampproject/remapping": "catalog:",
52+
"@antfu/eslint-config": "catalog:",
53+
"@antfu/ni": "catalog:",
54+
"@farmfe/cli": "catalog:",
55+
"@farmfe/core": "catalog:",
56+
"@rspack/cli": "catalog:",
57+
"@rspack/core": "catalog:",
58+
"@types/fs-extra": "catalog:",
59+
"@types/node": "catalog:",
60+
"@types/picomatch": "catalog:",
61+
"ansis": "catalog:",
62+
"bumpp": "catalog:",
63+
"esbuild": "catalog:",
64+
"esbuild-plugin-copy": "catalog:",
65+
"eslint": "catalog:",
66+
"eslint-plugin-format": "catalog:",
67+
"fast-glob": "catalog:",
68+
"fs-extra": "catalog:",
69+
"jiti": "catalog:",
70+
"lint-staged": "catalog:",
71+
"magic-string": "catalog:",
72+
"rolldown": "catalog:",
73+
"rollup": "catalog:",
74+
"simple-git-hooks": "catalog:",
75+
"tsdown": "catalog:",
76+
"typescript": "catalog:",
77+
"unloader": "catalog:",
7878
"unplugin": "workspace:*",
79-
"unplugin-unused": "^0.5.1",
80-
"vite": "^7.0.0",
81-
"vitest": "^3.2.4",
82-
"webpack": "^5.99.9",
83-
"webpack-cli": "^6.0.1"
79+
"unplugin-unused": "catalog:",
80+
"vite": "catalog:",
81+
"vitest": "catalog:",
82+
"webpack": "catalog:",
83+
"webpack-cli": "catalog:"
8484
},
8585
"resolutions": {
86-
"esbuild": "^0.25.5"
86+
"esbuild": "catalog:"
8787
},
8888
"simple-git-hooks": {
8989
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"

0 commit comments

Comments
 (0)