Add a new .agents/skills/halo-theme-dev skill providing Halo theme development resources: two theme templates (theme-vite and theme-minimal) with theme.yaml/settings, Vite config, package.json, CSS and JS assets, and a full set of Thymeleaf template files/partials. Include comprehensive reference docs (structure & config, finder APIs, global variables, annotations, static resources, packaging, official plugins, thymeleaf tips) and an agents/openai.yaml interface. Also update project files: modify package.json, update tsconfig.json, add skills-lock.json, rename vite-env.d.ts and remove obsolete src/main.ts and src/styles/main.css while populating src/ with the new template files.
30 lines
769 B
JSON
30 lines
769 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",
|
|
"skills:update": "npx skills update"
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|