chore: migrate to pnpm v11, switch to nano-staged, add skills-npm

- Bump packageManager to pnpm@11.1.3; rename onlyBuiltDependencies to allowBuilds
- Replace lint-staged with nano-staged
- Add skills-npm via prepare chain
- Set core.hooksPath to .githooks so simple-git-hooks works in worktrees
This commit is contained in:
Anthony Fu committed 2026-05-19 11:57:15 +09:00
1 parent 977d3d4066
commit 1cd07a98ff
4 files changed
+1103 -1000

No files matched your search

+19 -15
View File
@@ -1,5 +1,8 @@
catalogMode: prefer
ignoreWorkspaceRootCheck: true
minimumReleaseAgeExclude:
- '@types/node@25.9.0'
- tsx@4.22.2
shellEmulator: true
trustPolicy: no-downgrade
@@ -11,25 +14,26 @@ packages:
catalogs:
cli:
'@antfu/eslint-config': ^8.2.0
'@antfu/eslint-config': ^9.0.0
'@antfu/ni': ^30.1.0
bumpp: ^11.0.1
eslint: ^10.2.1
lint-staged: ^16.4.0
publint: ^0.3.18
bumpp: ^11.1.0
eslint: ^10.4.0
nano-staged: ^1.0.2
publint: ^0.3.21
simple-git-hooks: ^2.13.1
tsdown: ^0.21.10
tsx: ^4.21.0
skills-npm: ^1.1.1
tsdown: ^0.22.0
tsx: ^4.22.2
typescript: ^6.0.3
vite: ^8.0.9
vite: ^8.0.13
inlined:
'@antfu/utils': ^9.3.0
testing:
tsdown-stale-guard: ^0.1.1
tsnapi: ^0.3.2
vitest: ^4.1.5
tsdown-stale-guard: ^0.1.2
tsnapi: ^0.3.3
vitest: ^4.1.6
types:
'@types/node': ^25.6.0
onlyBuiltDependencies:
- esbuild
- simple-git-hooks
'@types/node': ^25.9.0
allowBuilds:
esbuild: true
simple-git-hooks: true