Files
halo-theme-whitespace/package.json
T
Ryan Wang eaaf71a8bf Migrate to vp/vite-plus toolchain and update configs
Replace ESLint/Prettier/Husky workflow with vp (vite-plus) tooling: remove .eslintrc.cjs and prettier.config.js, drop husky pre-commit and add .vite-hooks/pre-commit (vp staged). Update package.json scripts to use vp commands, bump @halo-dev/theme-package-cli, replace vite with @voidzero-dev/vite-plus-core alias and add vite-plus, and add pnpm settings/overrides and packageManager update. Add VS Code recommendations and formatter settings, expose .vscode/settings.json in .gitignore, and adjust CI to use Node 24. Update README link and small formatting fixes. Regenerate pnpm lockfile to reflect dependency changes and other config updates; templates and vite config were also modified.
2026-03-24 16:45:04 +08:00

29 lines
690 B
JSON

{
"type": "module",
"scripts": {
"build": "tsc && vp build && theme-package",
"build-only": "tsc && vp build",
"dev": "vp build --watch",
"lint": "vp lint",
"prepare": "vp config",
"fmt": "vp fmt"
},
"devDependencies": {
"@halo-dev/theme-package-cli": "^1.0.1",
"@types/node": "18.11.9",
"typescript": "^4.9.5",
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vite-plus": "latest"
},
"packageManager": "pnpm@10.32.1",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"overrides": {
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
}
}
}