Upgrade developer toolchain and clean up project files: add a new "check" script (replacing previous lint/fmt), bump TypeScript and add @halo-dev/vite-plugin-halo-theme, update pnpm packageManager version, remove legacy templates HTML files and add "templates" to .gitignore, and apply related changes to vite.config.ts. The lockfile was updated to reflect dependency changes.
29 lines
727 B
JSON
29 lines
727 B
JSON
{
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc && vp build && theme-package",
|
|
"build-only": "tsc && vp build",
|
|
"dev": "vp build --watch",
|
|
"check": "vp check --fix",
|
|
"prepare": "vp config"
|
|
},
|
|
"devDependencies": {
|
|
"@halo-dev/theme-package-cli": "^1.0.1",
|
|
"@halo-dev/vite-plugin-halo-theme": "^1.0.3",
|
|
"@types/node": "18.11.9",
|
|
"typescript": "^5.9.3",
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
"vite-plus": "latest"
|
|
},
|
|
"packageManager": "pnpm@10.33.0",
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"esbuild"
|
|
],
|
|
"overrides": {
|
|
"vite": "npm:@voidzero-dev/vite-plus-core@latest",
|
|
"vitest": "npm:@voidzero-dev/vite-plus-test@latest"
|
|
}
|
|
}
|
|
}
|