Skip to content

Commit 608a888

Browse files
committed
chore: use pnpm catalogs
1 parent 1ed66db commit 608a888

File tree

4 files changed

+503
-514
lines changed

4 files changed

+503
-514
lines changed

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ import antfu from '@antfu/eslint-config'
44
export default antfu(
55
{
66
type: 'lib',
7+
pnpm: true,
78
},
89
)

package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "pkg-placeholder",
33
"type": "module",
44
"version": "0.0.0",
5-
"packageManager": "pnpm@10.5.2",
5+
"packageManager": "pnpm@10.6.1",
66
"description": "_description_",
77
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
88
"license": "MIT",
@@ -27,7 +27,7 @@
2727
"scripts": {
2828
"build": "unbuild",
2929
"dev": "unbuild --stub",
30-
"lint": "eslint .",
30+
"lint": "eslint",
3131
"prepublishOnly": "nr build",
3232
"release": "bumpp && pnpm publish",
3333
"start": "tsx src/index.ts",
@@ -36,23 +36,23 @@
3636
"prepare": "simple-git-hooks"
3737
},
3838
"devDependencies": {
39-
"@antfu/eslint-config": "^4.4.0",
40-
"@antfu/ni": "^23.3.1",
41-
"@antfu/utils": "^9.1.0",
42-
"@types/js-yaml": "^4.0.9",
43-
"@types/node": "^22.13.9",
44-
"bumpp": "^10.0.3",
45-
"eslint": "^9.21.0",
46-
"js-yaml": "^4.1.0",
47-
"lint-staged": "^15.4.3",
48-
"simple-git-hooks": "^2.11.1",
49-
"tinyexec": "^0.3.2",
50-
"tsx": "^4.19.3",
51-
"typescript": "^5.8.2",
52-
"unbuild": "^3.5.0",
53-
"vite": "^6.2.0",
54-
"vitest": "^3.0.7",
55-
"vitest-package-exports": "^0.1.0"
39+
"@antfu/eslint-config": "catalog:cli",
40+
"@antfu/ni": "catalog:cli",
41+
"@antfu/utils": "catalog:utils",
42+
"@types/js-yaml": "catalog:testing",
43+
"@types/node": "catalog:types",
44+
"bumpp": "catalog:cli",
45+
"eslint": "catalog:cli",
46+
"js-yaml": "catalog:testing",
47+
"lint-staged": "catalog:cli",
48+
"simple-git-hooks": "catalog:cli",
49+
"tinyexec": "catalog:utils",
50+
"tsx": "catalog:cli",
51+
"typescript": "catalog:cli",
52+
"unbuild": "catalog:cli",
53+
"vite": "catalog:cli",
54+
"vitest": "catalog:testing",
55+
"vitest-package-exports": "catalog:testing"
5656
},
5757
"simple-git-hooks": {
5858
"pre-commit": "pnpm lint-staged"

0 commit comments

Comments
 (0)