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.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
一个集成了 Vite 的主题快速开始模板。
|
||||
|
||||
主题开发文档可查阅:<https://docs.halo.run/2.0.0-SNAPSHOT/developer-guide/theme/prepare>
|
||||
主题开发文档可查阅:<https://docs.halo.run/developer-guide/theme/prepare>
|
||||
|
||||
## 开发
|
||||
|
||||
@@ -15,7 +15,7 @@ cd ~/halo2-dev/themes/theme-vite-starter
|
||||
```
|
||||
|
||||
```bash
|
||||
pnpm install
|
||||
pnpm install
|
||||
```
|
||||
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user