chore: use pnpm catalogs
This commit is contained in:
@@ -4,5 +4,6 @@ import antfu from '@antfu/eslint-config'
|
||||
export default antfu(
|
||||
{
|
||||
type: 'lib',
|
||||
pnpm: true,
|
||||
},
|
||||
)
|
||||
|
||||
+19
-19
@@ -2,7 +2,7 @@
|
||||
"name": "pkg-placeholder",
|
||||
"type": "module",
|
||||
"version": "0.0.0",
|
||||
"packageManager": "pnpm@10.5.2",
|
||||
"packageManager": "pnpm@10.6.1",
|
||||
"description": "_description_",
|
||||
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
||||
"license": "MIT",
|
||||
@@ -27,7 +27,7 @@
|
||||
"scripts": {
|
||||
"build": "unbuild",
|
||||
"dev": "unbuild --stub",
|
||||
"lint": "eslint .",
|
||||
"lint": "eslint",
|
||||
"prepublishOnly": "nr build",
|
||||
"release": "bumpp && pnpm publish",
|
||||
"start": "tsx src/index.ts",
|
||||
@@ -36,23 +36,23 @@
|
||||
"prepare": "simple-git-hooks"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^4.4.0",
|
||||
"@antfu/ni": "^23.3.1",
|
||||
"@antfu/utils": "^9.1.0",
|
||||
"@types/js-yaml": "^4.0.9",
|
||||
"@types/node": "^22.13.9",
|
||||
"bumpp": "^10.0.3",
|
||||
"eslint": "^9.21.0",
|
||||
"js-yaml": "^4.1.0",
|
||||
"lint-staged": "^15.4.3",
|
||||
"simple-git-hooks": "^2.11.1",
|
||||
"tinyexec": "^0.3.2",
|
||||
"tsx": "^4.19.3",
|
||||
"typescript": "^5.8.2",
|
||||
"unbuild": "^3.5.0",
|
||||
"vite": "^6.2.0",
|
||||
"vitest": "^3.0.7",
|
||||
"vitest-package-exports": "^0.1.0"
|
||||
"@antfu/eslint-config": "catalog:cli",
|
||||
"@antfu/ni": "catalog:cli",
|
||||
"@antfu/utils": "catalog:utils",
|
||||
"@types/js-yaml": "catalog:testing",
|
||||
"@types/node": "catalog:types",
|
||||
"bumpp": "catalog:cli",
|
||||
"eslint": "catalog:cli",
|
||||
"js-yaml": "catalog:testing",
|
||||
"lint-staged": "catalog:cli",
|
||||
"simple-git-hooks": "catalog:cli",
|
||||
"tinyexec": "catalog:utils",
|
||||
"tsx": "catalog:cli",
|
||||
"typescript": "catalog:cli",
|
||||
"unbuild": "catalog:cli",
|
||||
"vite": "catalog:cli",
|
||||
"vitest": "catalog:testing",
|
||||
"vitest-package-exports": "catalog:testing"
|
||||
},
|
||||
"simple-git-hooks": {
|
||||
"pre-commit": "pnpm lint-staged"
|
||||
|
||||
Generated
+460
-495
File diff suppressed because it is too large
Load Diff
@@ -3,5 +3,28 @@ packages:
|
||||
- docs
|
||||
- packages/*
|
||||
- examples/*
|
||||
catalogs:
|
||||
cli:
|
||||
'@antfu/eslint-config': ^4.8.1
|
||||
'@antfu/ni': ^23.3.1
|
||||
bumpp: ^10.0.3
|
||||
eslint: ^9.21.0
|
||||
lint-staged: ^15.4.3
|
||||
simple-git-hooks: ^2.11.1
|
||||
tsx: ^4.19.3
|
||||
typescript: ^5.8.2
|
||||
unbuild: ^3.5.0
|
||||
vite: ^6.2.1
|
||||
testing:
|
||||
'@types/js-yaml': ^4.0.9
|
||||
js-yaml: ^4.1.0
|
||||
vitest-package-exports: ^0.1.1
|
||||
vitest: ^3.0.8
|
||||
types:
|
||||
'@types/node': ^22.13.9
|
||||
utils:
|
||||
'@antfu/utils': ^9.1.0
|
||||
tinyexec: ^0.3.2
|
||||
onlyBuiltDependencies:
|
||||
- esbuild
|
||||
- simple-git-hooks
|
||||
|
||||
Reference in New Issue
Block a user