chore(deps): update Node.js, pnpm, and dev dependencies

- Update Node.js version in .nvmrc from v20 to v24
- Update pnpm packageManager from 10.33.0 to 11.0.9
- Update pnpm-workspace.yaml to use allowBuilds instead of onlyBuiltDependencies
- Bump dev dependencies to latest versions: @antfu/eslint-config, @types/node, lint-staged, typescript
This commit is contained in:
Cell
2026-05-11 03:44:05 +08:00
parent 26b0556b9e
commit e4580190e9
6 changed files with 544 additions and 424 deletions
+1 -1
View File
@@ -1 +1 @@
v20
v24
+1 -1
View File
@@ -1,4 +1,4 @@
{{- hugo.Store.Set "version" "v0.4.6-20260510154300-dd6d3206" -}}
{{- hugo.Store.Set "version" "v0.4.6-20260510194406-26b0556b" -}}
{{- .Store.Set "this" dict -}}
{{- partial "init/detection-env.html" . -}}
+5 -5
View File
@@ -3,7 +3,7 @@
"type": "module",
"version": "0.4.5",
"private": true,
"packageManager": "pnpm@10.33.0",
"packageManager": "pnpm@11.0.9",
"description": "Hugo FixIt core theme component source files",
"author": {
"name": "Lruihao",
@@ -42,16 +42,16 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^7.7.3",
"@types/node": "^25.5.0",
"@antfu/eslint-config": "^8.2.0",
"@types/node": "^25.6.2",
"auto-changelog-plus": "^1.2.3",
"concurrently": "^9.2.1",
"eslint": "^10.0.3",
"lint-staged": "^16.4.0",
"lint-staged": "^17.0.4",
"serve": "^14.2.6",
"simple-git-hooks": "^2.13.1",
"tsx": "^4.21.0",
"typescript": "^5.9.3"
"typescript": "^6.0.3"
},
"simple-git-hooks": {
"pre-commit": "pnpm -F versioning start dev && pnpm lint-staged"
@@ -77,5 +77,6 @@ export function updateVersion(type: 'dev' | 'prod') {
execFileSync('git', ['add', stageFile])
}
})
// console.log('Node.js:', process.version)
console.log(`Update the FixIt version from v${lastVersion} to v${latestVersion}.`)
}
+533 -414
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -4,6 +4,6 @@ trustPolicy: no-downgrade
packages:
- apps/*
- packages/*
onlyBuiltDependencies:
- esbuild
- simple-git-hooks
allowBuilds:
esbuild: true
simple-git-hooks: true