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.
22 lines
534 B
TypeScript
22 lines
534 B
TypeScript
import { haloThemePlugin } from "@halo-dev/vite-plugin-halo-theme";
|
|
import { defineConfig } from "vite-plus";
|
|
|
|
export default defineConfig({
|
|
plugins: [haloThemePlugin()],
|
|
lint: { options: { typeAware: true, typeCheck: true }, ignorePatterns: [".agents"] },
|
|
fmt: {
|
|
printWidth: 100,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
endOfLine: "lf",
|
|
sortPackageJson: true,
|
|
insertFinalNewline: true,
|
|
sortImports: {},
|
|
sortTailwindcss: {},
|
|
ignorePatterns: [".agents"],
|
|
},
|
|
staged: {
|
|
"*": ["vp check"],
|
|
},
|
|
});
|