* feat: add devDeps, add nypm for installing deps
* feat: custom ui dir
* refactor: use consola instead of chalk
* test: ui alias
* refactor: import { z } from 'zod' instead of *, replace node:path with pathe
* chore: add components name to `configFile` option
* chore: update `c12` which fix json5 parse issue
and it also supports .config directory
* chore: update `https-proxy-agent`
* fix: await until dependencies are installed then run detypes process
* feat: add tailwind prefix
* test: tw-prefix snapshot
* chore: add prefix option to init
* test: apply prefix
* fix: tw-prefix parse wrongly
* chore: hide prefix temporarily
---------
Co-authored-by: zernonia <zernonia@gmail.com>
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"style": {
|
|
"type": "string",
|
|
"enum": ["default", "new-york"]
|
|
},
|
|
"typescript": {
|
|
"type": "boolean",
|
|
"default": true
|
|
},
|
|
"tailwind": {
|
|
"type": "object",
|
|
"properties": {
|
|
"config": {
|
|
"type": "string"
|
|
},
|
|
"css": {
|
|
"type": "string"
|
|
},
|
|
"baseColor": {
|
|
"type": "string"
|
|
},
|
|
"cssVariables": {
|
|
"type": "boolean",
|
|
"default": true
|
|
}
|
|
},
|
|
"required": ["config", "css", "baseColor", "cssVariables"]
|
|
},
|
|
"framework": {
|
|
"type": "string",
|
|
"enum": ["nuxt", "vite", "laravel", "astro"],
|
|
"default": "vite"
|
|
},
|
|
"aliases": {
|
|
"type": "object",
|
|
"properties": {
|
|
"utils": {
|
|
"type": "string"
|
|
},
|
|
"components": {
|
|
"type": "string"
|
|
},
|
|
"ui": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": ["utils", "components"]
|
|
}
|
|
},
|
|
"required": ["style", "tailwind", "aliases"]
|
|
}
|