@better-t-stack/types 3.22.3 → 3.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +4 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/json-schema.d.mts +2889 -3
- package/dist/json-schema.d.mts.map +1 -1
- package/dist/json-schema.mjs +14 -2
- package/dist/json-schema.mjs.map +1 -1
- package/dist/schemas-BS36iL6M.d.mts +2982 -0
- package/dist/schemas-BS36iL6M.d.mts.map +1 -0
- package/dist/schemas-C5kvvUjE.mjs +486 -0
- package/dist/schemas-C5kvvUjE.mjs.map +1 -0
- package/dist/schemas.d.mts +2 -2
- package/dist/schemas.mjs +2 -2
- package/package.json +1 -1
- package/dist/schemas-eP9p-fGC.d.mts +0 -875
- package/dist/schemas-eP9p-fGC.d.mts.map +0 -1
- package/dist/schemas-e_3sz4pj.mjs +0 -232
- package/dist/schemas-e_3sz4pj.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas-BS36iL6M.d.mts","names":[],"sources":["../src/schemas.ts"],"sourcesContent":[],"mappings":";;;cAEa,gBAAc,CAAA,CAAA;;EAAd,MAAA,EAAA,QAAA;EAIA,QAAA,EAAA,UAAkF;EAElF,KAAA,EAAA,OAAA;EAIA,OAAA,EAAA,SAEqB;AAElC,CAAA,CAAA;AAiBa,cA3BA,SA+CmB,EA/CV,CAAA,CAAA,OA2BG,CAAA;EA+BZ,IAAA,EAAA,MAAA;EAIA,OAAA,EAAA,SAAA;EAEA,MAAA,EAAA,QAAA;EAcA,QAAA,EAAA,UAAiE;AAE9E,CAAA,CAAA;AAIa,cAlFA,aAkFc,EAlFD,CAAA,CAAA,OAkFC,CAAA;EAEd,IAAA,EAAA,MAAA;EAEA,IAAA,EAAA,MAAA;EAEA,OAAA,EAAA,SAAA;EAIA,OAAA,EAAA,SAE6B;EAE7B,MAAA,EAAA,QAAA;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ACA;cACA"}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/schemas.ts
|
|
4
|
+
const DatabaseSchema = z.enum([
|
|
5
|
+
"none",
|
|
6
|
+
"sqlite",
|
|
7
|
+
"postgres",
|
|
8
|
+
"mysql",
|
|
9
|
+
"mongodb"
|
|
10
|
+
]).describe("Database type");
|
|
11
|
+
const ORMSchema = z.enum([
|
|
12
|
+
"drizzle",
|
|
13
|
+
"prisma",
|
|
14
|
+
"mongoose",
|
|
15
|
+
"none"
|
|
16
|
+
]).describe("ORM type");
|
|
17
|
+
const BackendSchema = z.enum([
|
|
18
|
+
"hono",
|
|
19
|
+
"express",
|
|
20
|
+
"fastify",
|
|
21
|
+
"elysia",
|
|
22
|
+
"convex",
|
|
23
|
+
"self",
|
|
24
|
+
"none"
|
|
25
|
+
]).describe("Backend framework");
|
|
26
|
+
const RuntimeSchema = z.enum([
|
|
27
|
+
"bun",
|
|
28
|
+
"node",
|
|
29
|
+
"workers",
|
|
30
|
+
"none"
|
|
31
|
+
]).describe("Runtime environment");
|
|
32
|
+
const FrontendSchema = z.enum([
|
|
33
|
+
"tanstack-router",
|
|
34
|
+
"react-router",
|
|
35
|
+
"tanstack-start",
|
|
36
|
+
"next",
|
|
37
|
+
"nuxt",
|
|
38
|
+
"native-bare",
|
|
39
|
+
"native-uniwind",
|
|
40
|
+
"native-unistyles",
|
|
41
|
+
"svelte",
|
|
42
|
+
"solid",
|
|
43
|
+
"astro",
|
|
44
|
+
"none"
|
|
45
|
+
]).describe("Frontend framework");
|
|
46
|
+
const AddonsSchema = z.enum([
|
|
47
|
+
"pwa",
|
|
48
|
+
"tauri",
|
|
49
|
+
"starlight",
|
|
50
|
+
"biome",
|
|
51
|
+
"lefthook",
|
|
52
|
+
"husky",
|
|
53
|
+
"ruler",
|
|
54
|
+
"mcp",
|
|
55
|
+
"turborepo",
|
|
56
|
+
"nx",
|
|
57
|
+
"fumadocs",
|
|
58
|
+
"ultracite",
|
|
59
|
+
"oxlint",
|
|
60
|
+
"opentui",
|
|
61
|
+
"wxt",
|
|
62
|
+
"skills",
|
|
63
|
+
"none"
|
|
64
|
+
]).describe("Additional addons");
|
|
65
|
+
const AddonsListSchema = z.array(AddonsSchema).superRefine((addons, ctx) => {
|
|
66
|
+
if (addons.includes("nx") && addons.includes("turborepo")) ctx.addIssue({
|
|
67
|
+
code: z.ZodIssueCode.custom,
|
|
68
|
+
message: "`nx` and `turborepo` cannot be used together"
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
const ExamplesSchema = z.enum([
|
|
72
|
+
"todo",
|
|
73
|
+
"ai",
|
|
74
|
+
"none"
|
|
75
|
+
]).describe("Example templates to include");
|
|
76
|
+
const PackageManagerSchema = z.enum([
|
|
77
|
+
"npm",
|
|
78
|
+
"pnpm",
|
|
79
|
+
"bun"
|
|
80
|
+
]).describe("Package manager");
|
|
81
|
+
const DatabaseSetupSchema = z.enum([
|
|
82
|
+
"turso",
|
|
83
|
+
"neon",
|
|
84
|
+
"prisma-postgres",
|
|
85
|
+
"planetscale",
|
|
86
|
+
"mongodb-atlas",
|
|
87
|
+
"supabase",
|
|
88
|
+
"d1",
|
|
89
|
+
"docker",
|
|
90
|
+
"none"
|
|
91
|
+
]).describe("Database hosting setup");
|
|
92
|
+
const APISchema = z.enum([
|
|
93
|
+
"trpc",
|
|
94
|
+
"orpc",
|
|
95
|
+
"none"
|
|
96
|
+
]).describe("API type");
|
|
97
|
+
const AuthSchema = z.enum([
|
|
98
|
+
"better-auth",
|
|
99
|
+
"clerk",
|
|
100
|
+
"none"
|
|
101
|
+
]).describe("Authentication provider");
|
|
102
|
+
const PaymentsSchema = z.enum(["polar", "none"]).describe("Payments provider");
|
|
103
|
+
const WebDeploySchema = z.enum(["cloudflare", "none"]).describe("Web deployment");
|
|
104
|
+
const ServerDeploySchema = z.enum(["cloudflare", "none"]).describe("Server deployment");
|
|
105
|
+
const DirectoryConflictSchema = z.enum([
|
|
106
|
+
"merge",
|
|
107
|
+
"overwrite",
|
|
108
|
+
"increment",
|
|
109
|
+
"error"
|
|
110
|
+
]).describe("How to handle existing directory conflicts");
|
|
111
|
+
const TemplateSchema = z.enum([
|
|
112
|
+
"mern",
|
|
113
|
+
"pern",
|
|
114
|
+
"t3",
|
|
115
|
+
"uniwind",
|
|
116
|
+
"none"
|
|
117
|
+
]).describe("Predefined project template");
|
|
118
|
+
const WxtTemplateSchema = z.enum([
|
|
119
|
+
"vanilla",
|
|
120
|
+
"vue",
|
|
121
|
+
"react",
|
|
122
|
+
"solid",
|
|
123
|
+
"svelte"
|
|
124
|
+
]).describe("WXT template");
|
|
125
|
+
const TuiTemplateSchema = z.enum([
|
|
126
|
+
"core",
|
|
127
|
+
"react",
|
|
128
|
+
"solid"
|
|
129
|
+
]).describe("OpenTUI template");
|
|
130
|
+
const FumadocsTemplateSchema = z.enum([
|
|
131
|
+
"next-mdx",
|
|
132
|
+
"next-mdx-static",
|
|
133
|
+
"waku",
|
|
134
|
+
"react-router",
|
|
135
|
+
"react-router-spa",
|
|
136
|
+
"tanstack-start",
|
|
137
|
+
"tanstack-start-spa"
|
|
138
|
+
]).describe("Fumadocs template");
|
|
139
|
+
const InstallScopeSchema = z.enum(["project", "global"]).describe("Installation scope");
|
|
140
|
+
const McpServerSchema = z.enum([
|
|
141
|
+
"better-t-stack",
|
|
142
|
+
"context7",
|
|
143
|
+
"nx",
|
|
144
|
+
"cloudflare-docs",
|
|
145
|
+
"convex",
|
|
146
|
+
"shadcn",
|
|
147
|
+
"next-devtools",
|
|
148
|
+
"nuxt-docs",
|
|
149
|
+
"nuxt-ui-docs",
|
|
150
|
+
"svelte-docs",
|
|
151
|
+
"astro-docs",
|
|
152
|
+
"planetscale",
|
|
153
|
+
"neon",
|
|
154
|
+
"supabase",
|
|
155
|
+
"better-auth",
|
|
156
|
+
"clerk",
|
|
157
|
+
"expo",
|
|
158
|
+
"polar"
|
|
159
|
+
]).describe("MCP server to install");
|
|
160
|
+
const McpAgentSchema = z.enum([
|
|
161
|
+
"antigravity",
|
|
162
|
+
"cline",
|
|
163
|
+
"cline-cli",
|
|
164
|
+
"cursor",
|
|
165
|
+
"claude-code",
|
|
166
|
+
"codex",
|
|
167
|
+
"opencode",
|
|
168
|
+
"gemini-cli",
|
|
169
|
+
"github-copilot-cli",
|
|
170
|
+
"mcporter",
|
|
171
|
+
"vscode",
|
|
172
|
+
"zed",
|
|
173
|
+
"claude-desktop",
|
|
174
|
+
"goose"
|
|
175
|
+
]).describe("Agent target for MCP installation");
|
|
176
|
+
const RulerAssistantSchema = z.enum([
|
|
177
|
+
"agentsmd",
|
|
178
|
+
"aider",
|
|
179
|
+
"amazonqcli",
|
|
180
|
+
"amp",
|
|
181
|
+
"antigravity",
|
|
182
|
+
"augmentcode",
|
|
183
|
+
"claude",
|
|
184
|
+
"cline",
|
|
185
|
+
"codex",
|
|
186
|
+
"copilot",
|
|
187
|
+
"crush",
|
|
188
|
+
"cursor",
|
|
189
|
+
"factory",
|
|
190
|
+
"firebase",
|
|
191
|
+
"firebender",
|
|
192
|
+
"gemini-cli",
|
|
193
|
+
"goose",
|
|
194
|
+
"jetbrains-ai",
|
|
195
|
+
"jules",
|
|
196
|
+
"junie",
|
|
197
|
+
"kilocode",
|
|
198
|
+
"kiro",
|
|
199
|
+
"mistral",
|
|
200
|
+
"opencode",
|
|
201
|
+
"openhands",
|
|
202
|
+
"pi",
|
|
203
|
+
"qwen",
|
|
204
|
+
"roo",
|
|
205
|
+
"trae",
|
|
206
|
+
"warp",
|
|
207
|
+
"windsurf",
|
|
208
|
+
"zed"
|
|
209
|
+
]).describe("AI assistant for Ruler");
|
|
210
|
+
const SkillsSourceSchema = z.enum([
|
|
211
|
+
"vercel-labs/agent-skills",
|
|
212
|
+
"vercel/ai",
|
|
213
|
+
"vercel/turborepo",
|
|
214
|
+
"yusukebe/hono-skill",
|
|
215
|
+
"vercel-labs/next-skills",
|
|
216
|
+
"nuxt/ui",
|
|
217
|
+
"heroui-inc/heroui",
|
|
218
|
+
"shadcn/ui",
|
|
219
|
+
"better-auth/skills",
|
|
220
|
+
"clerk/skills",
|
|
221
|
+
"neondatabase/agent-skills",
|
|
222
|
+
"supabase/agent-skills",
|
|
223
|
+
"planetscale/database-skills",
|
|
224
|
+
"expo/skills",
|
|
225
|
+
"prisma/skills",
|
|
226
|
+
"elysiajs/skills",
|
|
227
|
+
"waynesutton/convexskills",
|
|
228
|
+
"msmps/opentui-skill",
|
|
229
|
+
"haydenbleasel/ultracite"
|
|
230
|
+
]).describe("Skill source repository");
|
|
231
|
+
const SkillsAgentSchema = z.enum([
|
|
232
|
+
"cursor",
|
|
233
|
+
"claude-code",
|
|
234
|
+
"cline",
|
|
235
|
+
"github-copilot",
|
|
236
|
+
"codex",
|
|
237
|
+
"opencode",
|
|
238
|
+
"windsurf",
|
|
239
|
+
"goose",
|
|
240
|
+
"roo",
|
|
241
|
+
"kilo",
|
|
242
|
+
"gemini-cli",
|
|
243
|
+
"antigravity",
|
|
244
|
+
"openhands",
|
|
245
|
+
"trae",
|
|
246
|
+
"amp",
|
|
247
|
+
"pi",
|
|
248
|
+
"qoder",
|
|
249
|
+
"qwen-code",
|
|
250
|
+
"kiro-cli",
|
|
251
|
+
"droid",
|
|
252
|
+
"command-code",
|
|
253
|
+
"clawdbot",
|
|
254
|
+
"zencoder",
|
|
255
|
+
"neovate",
|
|
256
|
+
"mcpjam"
|
|
257
|
+
]).describe("Agent target for skill installation");
|
|
258
|
+
const SkillSelectionSchema = z.strictObject({
|
|
259
|
+
source: SkillsSourceSchema.describe("Skill source to install from"),
|
|
260
|
+
skills: z.array(z.string()).describe("Curated skill names to install from this source")
|
|
261
|
+
});
|
|
262
|
+
const UltraciteLinterSchema = z.enum([
|
|
263
|
+
"biome",
|
|
264
|
+
"eslint",
|
|
265
|
+
"oxlint"
|
|
266
|
+
]).describe("Ultracite linter");
|
|
267
|
+
const UltraciteEditorSchema = z.enum([
|
|
268
|
+
"vscode",
|
|
269
|
+
"cursor",
|
|
270
|
+
"windsurf",
|
|
271
|
+
"antigravity",
|
|
272
|
+
"kiro",
|
|
273
|
+
"trae",
|
|
274
|
+
"void",
|
|
275
|
+
"zed"
|
|
276
|
+
]).describe("Ultracite editor integration");
|
|
277
|
+
const UltraciteAgentSchema = z.enum([
|
|
278
|
+
"claude",
|
|
279
|
+
"codex",
|
|
280
|
+
"jules",
|
|
281
|
+
"copilot",
|
|
282
|
+
"cline",
|
|
283
|
+
"amp",
|
|
284
|
+
"aider",
|
|
285
|
+
"firebase-studio",
|
|
286
|
+
"open-hands",
|
|
287
|
+
"gemini",
|
|
288
|
+
"junie",
|
|
289
|
+
"augmentcode",
|
|
290
|
+
"kilo-code",
|
|
291
|
+
"goose",
|
|
292
|
+
"roo-code",
|
|
293
|
+
"warp",
|
|
294
|
+
"droid",
|
|
295
|
+
"opencode",
|
|
296
|
+
"crush",
|
|
297
|
+
"qwen",
|
|
298
|
+
"amazon-q-cli",
|
|
299
|
+
"firebender",
|
|
300
|
+
"cursor-cli",
|
|
301
|
+
"mistral-vibe",
|
|
302
|
+
"vercel"
|
|
303
|
+
]).describe("Ultracite agent integration");
|
|
304
|
+
const UltraciteHookSchema = z.enum([
|
|
305
|
+
"cursor",
|
|
306
|
+
"windsurf",
|
|
307
|
+
"claude"
|
|
308
|
+
]).describe("Ultracite hook integration");
|
|
309
|
+
const DbSetupModeSchema = z.enum(["manual", "auto"]).describe("Database setup mode");
|
|
310
|
+
const NeonSetupMethodSchema = z.enum(["neondb", "neonctl"]).describe("Neon database provisioning method");
|
|
311
|
+
const AddonOptionsSchema = z.strictObject({
|
|
312
|
+
wxt: z.strictObject({
|
|
313
|
+
template: WxtTemplateSchema,
|
|
314
|
+
devPort: z.number().int().min(1).max(65535).optional().describe("WXT dev server port")
|
|
315
|
+
}).optional().describe("Options for the WXT addon"),
|
|
316
|
+
fumadocs: z.strictObject({
|
|
317
|
+
template: FumadocsTemplateSchema,
|
|
318
|
+
devPort: z.number().int().min(1).max(65535).optional().describe("Fumadocs dev server port")
|
|
319
|
+
}).optional().describe("Options for the Fumadocs addon"),
|
|
320
|
+
opentui: z.strictObject({ template: TuiTemplateSchema }).optional().describe("Options for the OpenTUI addon"),
|
|
321
|
+
mcp: z.strictObject({
|
|
322
|
+
scope: InstallScopeSchema.optional(),
|
|
323
|
+
servers: z.array(McpServerSchema).optional().describe("MCP servers to install"),
|
|
324
|
+
agents: z.array(McpAgentSchema).optional().describe("Agents to wire MCP servers into")
|
|
325
|
+
}).optional().describe("Options for the MCP addon"),
|
|
326
|
+
ruler: z.strictObject({ assistants: z.array(RulerAssistantSchema).optional().describe("AI assistants to configure for Ruler") }).optional().describe("Options for the Ruler addon"),
|
|
327
|
+
skills: z.strictObject({
|
|
328
|
+
scope: InstallScopeSchema.optional(),
|
|
329
|
+
agents: z.array(SkillsAgentSchema).optional().describe("Agents to install skills into"),
|
|
330
|
+
selections: z.array(SkillSelectionSchema).optional().describe("Skills grouped by source")
|
|
331
|
+
}).optional().describe("Options for the Skills addon"),
|
|
332
|
+
ultracite: z.strictObject({
|
|
333
|
+
linter: UltraciteLinterSchema.optional(),
|
|
334
|
+
editors: z.array(UltraciteEditorSchema).optional(),
|
|
335
|
+
agents: z.array(UltraciteAgentSchema).optional(),
|
|
336
|
+
hooks: z.array(UltraciteHookSchema).optional()
|
|
337
|
+
}).optional().describe("Options for the Ultracite addon")
|
|
338
|
+
}).describe("Addon-specific configuration");
|
|
339
|
+
const DbSetupOptionsSchema = z.strictObject({
|
|
340
|
+
mode: DbSetupModeSchema.optional().describe("How database setup should be executed"),
|
|
341
|
+
neon: z.strictObject({
|
|
342
|
+
method: NeonSetupMethodSchema.optional(),
|
|
343
|
+
projectName: z.string().min(1).optional().describe("Neon project name"),
|
|
344
|
+
regionId: z.string().min(1).optional().describe("Neon region identifier")
|
|
345
|
+
}).optional().describe("Options for Neon setup"),
|
|
346
|
+
prismaPostgres: z.strictObject({ regionId: z.string().min(1).optional().describe("Prisma Postgres region identifier") }).optional().describe("Options for Prisma Postgres setup"),
|
|
347
|
+
turso: z.strictObject({
|
|
348
|
+
databaseName: z.string().min(1).optional().describe("Turso database name"),
|
|
349
|
+
groupName: z.string().min(1).optional().describe("Turso database group name"),
|
|
350
|
+
installCli: z.boolean().optional().describe("Whether the CLI may install the Turso CLI automatically")
|
|
351
|
+
}).optional().describe("Options for Turso setup")
|
|
352
|
+
}).describe("Database setup configuration");
|
|
353
|
+
const ProjectNameSchema = z.string().min(1, "Project name cannot be empty").max(255, "Project name must be less than 255 characters").refine((name) => name === "." || !name.startsWith("."), "Project name cannot start with a dot (except for '.')").refine((name) => name === "." || !name.startsWith("-"), "Project name cannot start with a dash").refine((name) => {
|
|
354
|
+
return ![
|
|
355
|
+
"<",
|
|
356
|
+
">",
|
|
357
|
+
":",
|
|
358
|
+
"\"",
|
|
359
|
+
"|",
|
|
360
|
+
"?",
|
|
361
|
+
"*"
|
|
362
|
+
].some((char) => name.includes(char));
|
|
363
|
+
}, "Project name contains invalid characters").refine((name) => name.toLowerCase() !== "node_modules", "Project name is reserved").describe("Project name or path");
|
|
364
|
+
const CreateInputSchema = z.object({
|
|
365
|
+
projectName: z.string().optional(),
|
|
366
|
+
template: TemplateSchema.optional(),
|
|
367
|
+
yes: z.boolean().optional(),
|
|
368
|
+
yolo: z.boolean().optional(),
|
|
369
|
+
dryRun: z.boolean().optional(),
|
|
370
|
+
verbose: z.boolean().optional(),
|
|
371
|
+
addonOptions: AddonOptionsSchema.optional(),
|
|
372
|
+
dbSetupOptions: DbSetupOptionsSchema.optional(),
|
|
373
|
+
database: DatabaseSchema.optional(),
|
|
374
|
+
orm: ORMSchema.optional(),
|
|
375
|
+
auth: AuthSchema.optional(),
|
|
376
|
+
payments: PaymentsSchema.optional(),
|
|
377
|
+
frontend: z.array(FrontendSchema).optional(),
|
|
378
|
+
addons: AddonsListSchema.optional(),
|
|
379
|
+
examples: z.array(ExamplesSchema).optional(),
|
|
380
|
+
git: z.boolean().optional(),
|
|
381
|
+
packageManager: PackageManagerSchema.optional(),
|
|
382
|
+
install: z.boolean().optional(),
|
|
383
|
+
dbSetup: DatabaseSetupSchema.optional(),
|
|
384
|
+
backend: BackendSchema.optional(),
|
|
385
|
+
runtime: RuntimeSchema.optional(),
|
|
386
|
+
api: APISchema.optional(),
|
|
387
|
+
webDeploy: WebDeploySchema.optional(),
|
|
388
|
+
serverDeploy: ServerDeploySchema.optional(),
|
|
389
|
+
directoryConflict: DirectoryConflictSchema.optional(),
|
|
390
|
+
renderTitle: z.boolean().optional(),
|
|
391
|
+
disableAnalytics: z.boolean().optional(),
|
|
392
|
+
manualDb: z.boolean().optional()
|
|
393
|
+
}).strict().refine((input) => !(input.manualDb !== void 0 && input.dbSetupOptions?.mode !== void 0), {
|
|
394
|
+
message: "`manualDb` and `dbSetupOptions.mode` are mutually exclusive",
|
|
395
|
+
path: ["dbSetupOptions", "mode"]
|
|
396
|
+
});
|
|
397
|
+
const AddInputSchema = z.object({
|
|
398
|
+
addons: AddonsListSchema.optional(),
|
|
399
|
+
addonOptions: AddonOptionsSchema.optional(),
|
|
400
|
+
webDeploy: WebDeploySchema.optional(),
|
|
401
|
+
serverDeploy: ServerDeploySchema.optional(),
|
|
402
|
+
projectDir: z.string().optional(),
|
|
403
|
+
install: z.boolean().optional(),
|
|
404
|
+
packageManager: PackageManagerSchema.optional(),
|
|
405
|
+
dryRun: z.boolean().optional()
|
|
406
|
+
}).strict();
|
|
407
|
+
const CLIInputSchema = CreateInputSchema.safeExtend({ projectDirectory: z.string().optional() }).strict();
|
|
408
|
+
const ProjectConfigSchema = z.object({
|
|
409
|
+
projectName: z.string(),
|
|
410
|
+
projectDir: z.string(),
|
|
411
|
+
relativePath: z.string(),
|
|
412
|
+
addonOptions: AddonOptionsSchema.optional(),
|
|
413
|
+
dbSetupOptions: DbSetupOptionsSchema.optional(),
|
|
414
|
+
database: DatabaseSchema,
|
|
415
|
+
orm: ORMSchema,
|
|
416
|
+
backend: BackendSchema,
|
|
417
|
+
runtime: RuntimeSchema,
|
|
418
|
+
frontend: z.array(FrontendSchema),
|
|
419
|
+
addons: AddonsListSchema,
|
|
420
|
+
examples: z.array(ExamplesSchema),
|
|
421
|
+
auth: AuthSchema,
|
|
422
|
+
payments: PaymentsSchema,
|
|
423
|
+
git: z.boolean(),
|
|
424
|
+
packageManager: PackageManagerSchema,
|
|
425
|
+
install: z.boolean(),
|
|
426
|
+
dbSetup: DatabaseSetupSchema,
|
|
427
|
+
api: APISchema,
|
|
428
|
+
webDeploy: WebDeploySchema,
|
|
429
|
+
serverDeploy: ServerDeploySchema
|
|
430
|
+
});
|
|
431
|
+
const BetterTStackConfigSchema = z.object({
|
|
432
|
+
version: z.string().describe("CLI version used to create this project"),
|
|
433
|
+
createdAt: z.string().describe("Timestamp when the project was created"),
|
|
434
|
+
reproducibleCommand: z.string().optional().describe("Command to reproduce this project setup"),
|
|
435
|
+
addonOptions: AddonOptionsSchema.optional(),
|
|
436
|
+
dbSetupOptions: DbSetupOptionsSchema.optional(),
|
|
437
|
+
database: DatabaseSchema,
|
|
438
|
+
orm: ORMSchema,
|
|
439
|
+
backend: BackendSchema,
|
|
440
|
+
runtime: RuntimeSchema,
|
|
441
|
+
frontend: z.array(FrontendSchema),
|
|
442
|
+
addons: AddonsListSchema,
|
|
443
|
+
examples: z.array(ExamplesSchema),
|
|
444
|
+
auth: AuthSchema,
|
|
445
|
+
payments: PaymentsSchema,
|
|
446
|
+
packageManager: PackageManagerSchema,
|
|
447
|
+
dbSetup: DatabaseSetupSchema,
|
|
448
|
+
api: APISchema,
|
|
449
|
+
webDeploy: WebDeploySchema,
|
|
450
|
+
serverDeploy: ServerDeploySchema
|
|
451
|
+
});
|
|
452
|
+
const BetterTStackConfigFileSchema = z.object({ $schema: z.string().optional().describe("JSON Schema reference for validation") }).extend(BetterTStackConfigSchema.shape).strict().meta({
|
|
453
|
+
id: "https://r2.better-t-stack.dev/schema.json",
|
|
454
|
+
title: "Better-T-Stack Configuration",
|
|
455
|
+
description: "Configuration file for Better-T-Stack projects"
|
|
456
|
+
});
|
|
457
|
+
const InitResultSchema = z.object({
|
|
458
|
+
success: z.boolean(),
|
|
459
|
+
projectConfig: ProjectConfigSchema,
|
|
460
|
+
reproducibleCommand: z.string(),
|
|
461
|
+
timeScaffolded: z.string(),
|
|
462
|
+
elapsedTimeMs: z.number(),
|
|
463
|
+
projectDirectory: z.string(),
|
|
464
|
+
relativePath: z.string(),
|
|
465
|
+
error: z.string().optional()
|
|
466
|
+
});
|
|
467
|
+
const DATABASE_VALUES = DatabaseSchema.options;
|
|
468
|
+
const ORM_VALUES = ORMSchema.options;
|
|
469
|
+
const BACKEND_VALUES = BackendSchema.options;
|
|
470
|
+
const RUNTIME_VALUES = RuntimeSchema.options;
|
|
471
|
+
const FRONTEND_VALUES = FrontendSchema.options;
|
|
472
|
+
const ADDONS_VALUES = AddonsSchema.options;
|
|
473
|
+
const EXAMPLES_VALUES = ExamplesSchema.options;
|
|
474
|
+
const PACKAGE_MANAGER_VALUES = PackageManagerSchema.options;
|
|
475
|
+
const DATABASE_SETUP_VALUES = DatabaseSetupSchema.options;
|
|
476
|
+
const API_VALUES = APISchema.options;
|
|
477
|
+
const AUTH_VALUES = AuthSchema.options;
|
|
478
|
+
const PAYMENTS_VALUES = PaymentsSchema.options;
|
|
479
|
+
const WEB_DEPLOY_VALUES = WebDeploySchema.options;
|
|
480
|
+
const SERVER_DEPLOY_VALUES = ServerDeploySchema.options;
|
|
481
|
+
const DIRECTORY_CONFLICT_VALUES = DirectoryConflictSchema.options;
|
|
482
|
+
const TEMPLATE_VALUES = TemplateSchema.options;
|
|
483
|
+
|
|
484
|
+
//#endregion
|
|
485
|
+
export { UltraciteEditorSchema as $, McpAgentSchema as A, ProjectNameSchema as B, EXAMPLES_VALUES as C, FumadocsTemplateSchema as D, FrontendSchema as E, PACKAGE_MANAGER_VALUES as F, ServerDeploySchema as G, RulerAssistantSchema as H, PAYMENTS_VALUES as I, SkillsSourceSchema as J, SkillSelectionSchema as K, PackageManagerSchema as L, NeonSetupMethodSchema as M, ORMSchema as N, InitResultSchema as O, ORM_VALUES as P, UltraciteAgentSchema as Q, PaymentsSchema as R, DirectoryConflictSchema as S, FRONTEND_VALUES as T, RuntimeSchema as U, RUNTIME_VALUES as V, SERVER_DEPLOY_VALUES as W, TemplateSchema as X, TEMPLATE_VALUES as Y, TuiTemplateSchema as Z, DIRECTORY_CONFLICT_VALUES as _, AddInputSchema as a, DbSetupModeSchema as b, AuthSchema as c, BetterTStackConfigFileSchema as d, UltraciteHookSchema as et, BetterTStackConfigSchema as f, DATABASE_VALUES as g, DATABASE_SETUP_VALUES as h, AUTH_VALUES as i, WxtTemplateSchema as it, McpServerSchema as j, InstallScopeSchema as k, BACKEND_VALUES as l, CreateInputSchema as m, APISchema as n, WEB_DEPLOY_VALUES as nt, AddonOptionsSchema as o, CLIInputSchema as p, SkillsAgentSchema as q, API_VALUES as r, WebDeploySchema as rt, AddonsSchema as s, ADDONS_VALUES as t, UltraciteLinterSchema as tt, BackendSchema as u, DatabaseSchema as v, ExamplesSchema as w, DbSetupOptionsSchema as x, DatabaseSetupSchema as y, ProjectConfigSchema as z };
|
|
486
|
+
//# sourceMappingURL=schemas-C5kvvUjE.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemas-C5kvvUjE.mjs","names":[],"sources":["../src/schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nexport const DatabaseSchema = z\n .enum([\"none\", \"sqlite\", \"postgres\", \"mysql\", \"mongodb\"])\n .describe(\"Database type\");\n\nexport const ORMSchema = z.enum([\"drizzle\", \"prisma\", \"mongoose\", \"none\"]).describe(\"ORM type\");\n\nexport const BackendSchema = z\n .enum([\"hono\", \"express\", \"fastify\", \"elysia\", \"convex\", \"self\", \"none\"])\n .describe(\"Backend framework\");\n\nexport const RuntimeSchema = z\n .enum([\"bun\", \"node\", \"workers\", \"none\"])\n .describe(\"Runtime environment\");\n\nexport const FrontendSchema = z\n .enum([\n \"tanstack-router\",\n \"react-router\",\n \"tanstack-start\",\n \"next\",\n \"nuxt\",\n \"native-bare\",\n \"native-uniwind\",\n \"native-unistyles\",\n \"svelte\",\n \"solid\",\n \"astro\",\n \"none\",\n ])\n .describe(\"Frontend framework\");\n\nexport const AddonsSchema = z\n .enum([\n \"pwa\",\n \"tauri\",\n \"starlight\",\n \"biome\",\n \"lefthook\",\n \"husky\",\n \"ruler\",\n \"mcp\",\n \"turborepo\",\n \"nx\",\n \"fumadocs\",\n \"ultracite\",\n \"oxlint\",\n \"opentui\",\n \"wxt\",\n \"skills\",\n \"none\",\n ])\n .describe(\"Additional addons\");\n\nconst AddonsListSchema = z.array(AddonsSchema).superRefine((addons, ctx) => {\n if (addons.includes(\"nx\") && addons.includes(\"turborepo\")) {\n ctx.addIssue({\n code: z.ZodIssueCode.custom,\n message: \"`nx` and `turborepo` cannot be used together\",\n });\n }\n});\n\nexport const ExamplesSchema = z\n .enum([\"todo\", \"ai\", \"none\"])\n .describe(\"Example templates to include\");\n\nexport const PackageManagerSchema = z.enum([\"npm\", \"pnpm\", \"bun\"]).describe(\"Package manager\");\n\nexport const DatabaseSetupSchema = z\n .enum([\n \"turso\",\n \"neon\",\n \"prisma-postgres\",\n \"planetscale\",\n \"mongodb-atlas\",\n \"supabase\",\n \"d1\",\n \"docker\",\n \"none\",\n ])\n .describe(\"Database hosting setup\");\n\nexport const APISchema = z.enum([\"trpc\", \"orpc\", \"none\"]).describe(\"API type\");\n\nexport const AuthSchema = z\n .enum([\"better-auth\", \"clerk\", \"none\"])\n .describe(\"Authentication provider\");\n\nexport const PaymentsSchema = z.enum([\"polar\", \"none\"]).describe(\"Payments provider\");\n\nexport const WebDeploySchema = z.enum([\"cloudflare\", \"none\"]).describe(\"Web deployment\");\n\nexport const ServerDeploySchema = z.enum([\"cloudflare\", \"none\"]).describe(\"Server deployment\");\n\nexport const DirectoryConflictSchema = z\n .enum([\"merge\", \"overwrite\", \"increment\", \"error\"])\n .describe(\"How to handle existing directory conflicts\");\n\nexport const TemplateSchema = z\n .enum([\"mern\", \"pern\", \"t3\", \"uniwind\", \"none\"])\n .describe(\"Predefined project template\");\n\nexport const WxtTemplateSchema = z\n .enum([\"vanilla\", \"vue\", \"react\", \"solid\", \"svelte\"])\n .describe(\"WXT template\");\n\nexport const TuiTemplateSchema = z.enum([\"core\", \"react\", \"solid\"]).describe(\"OpenTUI template\");\n\nexport const FumadocsTemplateSchema = z\n .enum([\n \"next-mdx\",\n \"next-mdx-static\",\n \"waku\",\n \"react-router\",\n \"react-router-spa\",\n \"tanstack-start\",\n \"tanstack-start-spa\",\n ])\n .describe(\"Fumadocs template\");\n\nexport const InstallScopeSchema = z.enum([\"project\", \"global\"]).describe(\"Installation scope\");\n\nexport const McpServerSchema = z\n .enum([\n \"better-t-stack\",\n \"context7\",\n \"nx\",\n \"cloudflare-docs\",\n \"convex\",\n \"shadcn\",\n \"next-devtools\",\n \"nuxt-docs\",\n \"nuxt-ui-docs\",\n \"svelte-docs\",\n \"astro-docs\",\n \"planetscale\",\n \"neon\",\n \"supabase\",\n \"better-auth\",\n \"clerk\",\n \"expo\",\n \"polar\",\n ])\n .describe(\"MCP server to install\");\n\nexport const McpAgentSchema = z\n .enum([\n \"antigravity\",\n \"cline\",\n \"cline-cli\",\n \"cursor\",\n \"claude-code\",\n \"codex\",\n \"opencode\",\n \"gemini-cli\",\n \"github-copilot-cli\",\n \"mcporter\",\n \"vscode\",\n \"zed\",\n \"claude-desktop\",\n \"goose\",\n ])\n .describe(\"Agent target for MCP installation\");\n\nexport const RulerAssistantSchema = z\n .enum([\n \"agentsmd\",\n \"aider\",\n \"amazonqcli\",\n \"amp\",\n \"antigravity\",\n \"augmentcode\",\n \"claude\",\n \"cline\",\n \"codex\",\n \"copilot\",\n \"crush\",\n \"cursor\",\n \"factory\",\n \"firebase\",\n \"firebender\",\n \"gemini-cli\",\n \"goose\",\n \"jetbrains-ai\",\n \"jules\",\n \"junie\",\n \"kilocode\",\n \"kiro\",\n \"mistral\",\n \"opencode\",\n \"openhands\",\n \"pi\",\n \"qwen\",\n \"roo\",\n \"trae\",\n \"warp\",\n \"windsurf\",\n \"zed\",\n ])\n .describe(\"AI assistant for Ruler\");\n\nexport const SkillsSourceSchema = z\n .enum([\n \"vercel-labs/agent-skills\",\n \"vercel/ai\",\n \"vercel/turborepo\",\n \"yusukebe/hono-skill\",\n \"vercel-labs/next-skills\",\n \"nuxt/ui\",\n \"heroui-inc/heroui\",\n \"shadcn/ui\",\n \"better-auth/skills\",\n \"clerk/skills\",\n \"neondatabase/agent-skills\",\n \"supabase/agent-skills\",\n \"planetscale/database-skills\",\n \"expo/skills\",\n \"prisma/skills\",\n \"elysiajs/skills\",\n \"waynesutton/convexskills\",\n \"msmps/opentui-skill\",\n \"haydenbleasel/ultracite\",\n ])\n .describe(\"Skill source repository\");\n\nexport const SkillsAgentSchema = z\n .enum([\n \"cursor\",\n \"claude-code\",\n \"cline\",\n \"github-copilot\",\n \"codex\",\n \"opencode\",\n \"windsurf\",\n \"goose\",\n \"roo\",\n \"kilo\",\n \"gemini-cli\",\n \"antigravity\",\n \"openhands\",\n \"trae\",\n \"amp\",\n \"pi\",\n \"qoder\",\n \"qwen-code\",\n \"kiro-cli\",\n \"droid\",\n \"command-code\",\n \"clawdbot\",\n \"zencoder\",\n \"neovate\",\n \"mcpjam\",\n ])\n .describe(\"Agent target for skill installation\");\n\nexport const SkillSelectionSchema = z.strictObject({\n source: SkillsSourceSchema.describe(\"Skill source to install from\"),\n skills: z.array(z.string()).describe(\"Curated skill names to install from this source\"),\n});\n\nexport const UltraciteLinterSchema = z\n .enum([\"biome\", \"eslint\", \"oxlint\"])\n .describe(\"Ultracite linter\");\n\nexport const UltraciteEditorSchema = z\n .enum([\"vscode\", \"cursor\", \"windsurf\", \"antigravity\", \"kiro\", \"trae\", \"void\", \"zed\"])\n .describe(\"Ultracite editor integration\");\n\nexport const UltraciteAgentSchema = z\n .enum([\n \"claude\",\n \"codex\",\n \"jules\",\n \"copilot\",\n \"cline\",\n \"amp\",\n \"aider\",\n \"firebase-studio\",\n \"open-hands\",\n \"gemini\",\n \"junie\",\n \"augmentcode\",\n \"kilo-code\",\n \"goose\",\n \"roo-code\",\n \"warp\",\n \"droid\",\n \"opencode\",\n \"crush\",\n \"qwen\",\n \"amazon-q-cli\",\n \"firebender\",\n \"cursor-cli\",\n \"mistral-vibe\",\n \"vercel\",\n ])\n .describe(\"Ultracite agent integration\");\n\nexport const UltraciteHookSchema = z\n .enum([\"cursor\", \"windsurf\", \"claude\"])\n .describe(\"Ultracite hook integration\");\n\nexport const DbSetupModeSchema = z.enum([\"manual\", \"auto\"]).describe(\"Database setup mode\");\n\nexport const NeonSetupMethodSchema = z\n .enum([\"neondb\", \"neonctl\"])\n .describe(\"Neon database provisioning method\");\n\nexport const AddonOptionsSchema = z\n .strictObject({\n wxt: z\n .strictObject({\n template: WxtTemplateSchema,\n devPort: z.number().int().min(1).max(65535).optional().describe(\"WXT dev server port\"),\n })\n .optional()\n .describe(\"Options for the WXT addon\"),\n fumadocs: z\n .strictObject({\n template: FumadocsTemplateSchema,\n devPort: z.number().int().min(1).max(65535).optional().describe(\"Fumadocs dev server port\"),\n })\n .optional()\n .describe(\"Options for the Fumadocs addon\"),\n opentui: z\n .strictObject({\n template: TuiTemplateSchema,\n })\n .optional()\n .describe(\"Options for the OpenTUI addon\"),\n mcp: z\n .strictObject({\n scope: InstallScopeSchema.optional(),\n servers: z.array(McpServerSchema).optional().describe(\"MCP servers to install\"),\n agents: z.array(McpAgentSchema).optional().describe(\"Agents to wire MCP servers into\"),\n })\n .optional()\n .describe(\"Options for the MCP addon\"),\n ruler: z\n .strictObject({\n assistants: z\n .array(RulerAssistantSchema)\n .optional()\n .describe(\"AI assistants to configure for Ruler\"),\n })\n .optional()\n .describe(\"Options for the Ruler addon\"),\n skills: z\n .strictObject({\n scope: InstallScopeSchema.optional(),\n agents: z.array(SkillsAgentSchema).optional().describe(\"Agents to install skills into\"),\n selections: z.array(SkillSelectionSchema).optional().describe(\"Skills grouped by source\"),\n })\n .optional()\n .describe(\"Options for the Skills addon\"),\n ultracite: z\n .strictObject({\n linter: UltraciteLinterSchema.optional(),\n editors: z.array(UltraciteEditorSchema).optional(),\n agents: z.array(UltraciteAgentSchema).optional(),\n hooks: z.array(UltraciteHookSchema).optional(),\n })\n .optional()\n .describe(\"Options for the Ultracite addon\"),\n })\n .describe(\"Addon-specific configuration\");\n\nexport const DbSetupOptionsSchema = z\n .strictObject({\n mode: DbSetupModeSchema.optional().describe(\"How database setup should be executed\"),\n neon: z\n .strictObject({\n method: NeonSetupMethodSchema.optional(),\n projectName: z.string().min(1).optional().describe(\"Neon project name\"),\n regionId: z.string().min(1).optional().describe(\"Neon region identifier\"),\n })\n .optional()\n .describe(\"Options for Neon setup\"),\n prismaPostgres: z\n .strictObject({\n regionId: z.string().min(1).optional().describe(\"Prisma Postgres region identifier\"),\n })\n .optional()\n .describe(\"Options for Prisma Postgres setup\"),\n turso: z\n .strictObject({\n databaseName: z.string().min(1).optional().describe(\"Turso database name\"),\n groupName: z.string().min(1).optional().describe(\"Turso database group name\"),\n installCli: z\n .boolean()\n .optional()\n .describe(\"Whether the CLI may install the Turso CLI automatically\"),\n })\n .optional()\n .describe(\"Options for Turso setup\"),\n })\n .describe(\"Database setup configuration\");\n\nexport const ProjectNameSchema = z\n .string()\n .min(1, \"Project name cannot be empty\")\n .max(255, \"Project name must be less than 255 characters\")\n .refine(\n (name) => name === \".\" || !name.startsWith(\".\"),\n \"Project name cannot start with a dot (except for '.')\",\n )\n .refine((name) => name === \".\" || !name.startsWith(\"-\"), \"Project name cannot start with a dash\")\n .refine((name) => {\n const invalidChars = [\"<\", \">\", \":\", '\"', \"|\", \"?\", \"*\"];\n return !invalidChars.some((char) => name.includes(char));\n }, \"Project name contains invalid characters\")\n .refine((name) => name.toLowerCase() !== \"node_modules\", \"Project name is reserved\")\n .describe(\"Project name or path\");\n\nexport const CreateInputSchema = z\n .object({\n projectName: z.string().optional(),\n template: TemplateSchema.optional(),\n yes: z.boolean().optional(),\n yolo: z.boolean().optional(),\n dryRun: z.boolean().optional(),\n verbose: z.boolean().optional(),\n addonOptions: AddonOptionsSchema.optional(),\n dbSetupOptions: DbSetupOptionsSchema.optional(),\n database: DatabaseSchema.optional(),\n orm: ORMSchema.optional(),\n auth: AuthSchema.optional(),\n payments: PaymentsSchema.optional(),\n frontend: z.array(FrontendSchema).optional(),\n addons: AddonsListSchema.optional(),\n examples: z.array(ExamplesSchema).optional(),\n git: z.boolean().optional(),\n packageManager: PackageManagerSchema.optional(),\n install: z.boolean().optional(),\n dbSetup: DatabaseSetupSchema.optional(),\n backend: BackendSchema.optional(),\n runtime: RuntimeSchema.optional(),\n api: APISchema.optional(),\n webDeploy: WebDeploySchema.optional(),\n serverDeploy: ServerDeploySchema.optional(),\n directoryConflict: DirectoryConflictSchema.optional(),\n renderTitle: z.boolean().optional(),\n disableAnalytics: z.boolean().optional(),\n manualDb: z.boolean().optional(),\n })\n .strict()\n .refine((input) => !(input.manualDb !== undefined && input.dbSetupOptions?.mode !== undefined), {\n message: \"`manualDb` and `dbSetupOptions.mode` are mutually exclusive\",\n path: [\"dbSetupOptions\", \"mode\"],\n });\n\nexport const AddInputSchema = z\n .object({\n addons: AddonsListSchema.optional(),\n addonOptions: AddonOptionsSchema.optional(),\n webDeploy: WebDeploySchema.optional(),\n serverDeploy: ServerDeploySchema.optional(),\n projectDir: z.string().optional(),\n install: z.boolean().optional(),\n packageManager: PackageManagerSchema.optional(),\n dryRun: z.boolean().optional(),\n })\n .strict();\n\nexport const CLIInputSchema = CreateInputSchema.safeExtend({\n projectDirectory: z.string().optional(),\n}).strict();\n\nexport const ProjectConfigSchema = z.object({\n projectName: z.string(),\n projectDir: z.string(),\n relativePath: z.string(),\n addonOptions: AddonOptionsSchema.optional(),\n dbSetupOptions: DbSetupOptionsSchema.optional(),\n database: DatabaseSchema,\n orm: ORMSchema,\n backend: BackendSchema,\n runtime: RuntimeSchema,\n frontend: z.array(FrontendSchema),\n addons: AddonsListSchema,\n examples: z.array(ExamplesSchema),\n auth: AuthSchema,\n payments: PaymentsSchema,\n git: z.boolean(),\n packageManager: PackageManagerSchema,\n install: z.boolean(),\n dbSetup: DatabaseSetupSchema,\n api: APISchema,\n webDeploy: WebDeploySchema,\n serverDeploy: ServerDeploySchema,\n});\n\nexport const BetterTStackConfigSchema = z.object({\n version: z.string().describe(\"CLI version used to create this project\"),\n createdAt: z.string().describe(\"Timestamp when the project was created\"),\n reproducibleCommand: z.string().optional().describe(\"Command to reproduce this project setup\"),\n addonOptions: AddonOptionsSchema.optional(),\n dbSetupOptions: DbSetupOptionsSchema.optional(),\n database: DatabaseSchema,\n orm: ORMSchema,\n backend: BackendSchema,\n runtime: RuntimeSchema,\n frontend: z.array(FrontendSchema),\n addons: AddonsListSchema,\n examples: z.array(ExamplesSchema),\n auth: AuthSchema,\n payments: PaymentsSchema,\n packageManager: PackageManagerSchema,\n dbSetup: DatabaseSetupSchema,\n api: APISchema,\n webDeploy: WebDeploySchema,\n serverDeploy: ServerDeploySchema,\n});\n\nexport const BetterTStackConfigFileSchema = z\n .object({\n $schema: z.string().optional().describe(\"JSON Schema reference for validation\"),\n })\n .extend(BetterTStackConfigSchema.shape)\n .strict()\n .meta({\n id: \"https://r2.better-t-stack.dev/schema.json\",\n title: \"Better-T-Stack Configuration\",\n description: \"Configuration file for Better-T-Stack projects\",\n });\n\nexport const InitResultSchema = z.object({\n success: z.boolean(),\n projectConfig: ProjectConfigSchema,\n reproducibleCommand: z.string(),\n timeScaffolded: z.string(),\n elapsedTimeMs: z.number(),\n projectDirectory: z.string(),\n relativePath: z.string(),\n error: z.string().optional(),\n});\n\nexport const DATABASE_VALUES = DatabaseSchema.options;\nexport const ORM_VALUES = ORMSchema.options;\nexport const BACKEND_VALUES = BackendSchema.options;\nexport const RUNTIME_VALUES = RuntimeSchema.options;\nexport const FRONTEND_VALUES = FrontendSchema.options;\nexport const ADDONS_VALUES = AddonsSchema.options;\nexport const EXAMPLES_VALUES = ExamplesSchema.options;\nexport const PACKAGE_MANAGER_VALUES = PackageManagerSchema.options;\nexport const DATABASE_SETUP_VALUES = DatabaseSetupSchema.options;\nexport const API_VALUES = APISchema.options;\nexport const AUTH_VALUES = AuthSchema.options;\nexport const PAYMENTS_VALUES = PaymentsSchema.options;\nexport const WEB_DEPLOY_VALUES = WebDeploySchema.options;\nexport const SERVER_DEPLOY_VALUES = ServerDeploySchema.options;\nexport const DIRECTORY_CONFLICT_VALUES = DirectoryConflictSchema.options;\nexport const TEMPLATE_VALUES = TemplateSchema.options;\n"],"mappings":";;;AAEA,MAAa,iBAAiB,EAC3B,KAAK;CAAC;CAAQ;CAAU;CAAY;CAAS;CAAU,CAAC,CACxD,SAAS,gBAAgB;AAE5B,MAAa,YAAY,EAAE,KAAK;CAAC;CAAW;CAAU;CAAY;CAAO,CAAC,CAAC,SAAS,WAAW;AAE/F,MAAa,gBAAgB,EAC1B,KAAK;CAAC;CAAQ;CAAW;CAAW;CAAU;CAAU;CAAQ;CAAO,CAAC,CACxE,SAAS,oBAAoB;AAEhC,MAAa,gBAAgB,EAC1B,KAAK;CAAC;CAAO;CAAQ;CAAW;CAAO,CAAC,CACxC,SAAS,sBAAsB;AAElC,MAAa,iBAAiB,EAC3B,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,qBAAqB;AAEjC,MAAa,eAAe,EACzB,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,oBAAoB;AAEhC,MAAM,mBAAmB,EAAE,MAAM,aAAa,CAAC,aAAa,QAAQ,QAAQ;AAC1E,KAAI,OAAO,SAAS,KAAK,IAAI,OAAO,SAAS,YAAY,CACvD,KAAI,SAAS;EACX,MAAM,EAAE,aAAa;EACrB,SAAS;EACV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qBAAqB;AAE9F,MAAa,kBAAkB,EAC5B,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,wBAAwB;AAEpC,MAAa,iBAAiB,EAC3B,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,oCAAoC;AAEhD,MAAa,uBAAuB,EACjC,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,yBAAyB;AAErC,MAAa,qBAAqB,EAC/B,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,0BAA0B;AAEtC,MAAa,oBAAoB,EAC9B,KAAK;CACJ;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD,CAAC,CACD,SAAS,sCAAsC;AAElD,MAAa,uBAAuB,EAAE,aAAa;CACjD,QAAQ,mBAAmB,SAAS,+BAA+B;CACnE,QAAQ,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD;CACxF,CAAC;AAEF,MAAa,wBAAwB,EAClC,KAAK;CAAC;CAAS;CAAU;CAAS,CAAC,CACnC,SAAS,mBAAmB;AAE/B,MAAa,wBAAwB,EAClC,KAAK;CAAC;CAAU;CAAU;CAAY;CAAe;CAAQ;CAAQ;CAAQ;CAAM,CAAC,CACpF,SAAS,+BAA+B;AAE3C,MAAa,uBAAuB,EACjC,K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eAAe"}
|
package/dist/schemas.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { ADDONS_VALUES, APISchema, API_VALUES, AUTH_VALUES, AddInputSchema, AddonsSchema, AuthSchema, BACKEND_VALUES, BackendSchema, BetterTStackConfigFileSchema, BetterTStackConfigSchema, CLIInputSchema, CreateInputSchema, DATABASE_SETUP_VALUES, DATABASE_VALUES, DIRECTORY_CONFLICT_VALUES, DatabaseSchema, DatabaseSetupSchema, DirectoryConflictSchema, EXAMPLES_VALUES, ExamplesSchema, FRONTEND_VALUES, FrontendSchema, InitResultSchema, ORMSchema, ORM_VALUES, PACKAGE_MANAGER_VALUES, PAYMENTS_VALUES, PackageManagerSchema, PaymentsSchema, ProjectConfigSchema, ProjectNameSchema, RUNTIME_VALUES, RuntimeSchema, SERVER_DEPLOY_VALUES, ServerDeploySchema, TEMPLATE_VALUES, TemplateSchema, WEB_DEPLOY_VALUES, WebDeploySchema };
|
|
1
|
+
import { $ as UltraciteEditorSchema, A as McpAgentSchema, B as ProjectNameSchema, C as EXAMPLES_VALUES, D as FumadocsTemplateSchema, E as FrontendSchema, F as PACKAGE_MANAGER_VALUES, G as ServerDeploySchema, H as RulerAssistantSchema, I as PAYMENTS_VALUES, J as SkillsSourceSchema, K as SkillSelectionSchema, L as PackageManagerSchema, M as NeonSetupMethodSchema, N as ORMSchema, O as InitResultSchema, P as ORM_VALUES, Q as UltraciteAgentSchema, R as PaymentsSchema, S as DirectoryConflictSchema, T as FRONTEND_VALUES, U as RuntimeSchema, V as RUNTIME_VALUES, W as SERVER_DEPLOY_VALUES, X as TemplateSchema, Y as TEMPLATE_VALUES, Z as TuiTemplateSchema, _ as DIRECTORY_CONFLICT_VALUES, a as AddInputSchema, b as DbSetupModeSchema, c as AuthSchema, d as BetterTStackConfigFileSchema, et as UltraciteHookSchema, f as BetterTStackConfigSchema, g as DATABASE_VALUES, h as DATABASE_SETUP_VALUES, i as AUTH_VALUES, it as WxtTemplateSchema, j as McpServerSchema, k as InstallScopeSchema, l as BACKEND_VALUES, m as CreateInputSchema, n as APISchema, nt as WEB_DEPLOY_VALUES, o as AddonOptionsSchema, p as CLIInputSchema, q as SkillsAgentSchema, r as API_VALUES, rt as WebDeploySchema, s as AddonsSchema, t as ADDONS_VALUES, tt as UltraciteLinterSchema, u as BackendSchema, v as DatabaseSchema, w as ExamplesSchema, x as DbSetupOptionsSchema, y as DatabaseSetupSchema, z as ProjectConfigSchema } from "./schemas-BS36iL6M.mjs";
|
|
2
|
+
export { ADDONS_VALUES, APISchema, API_VALUES, AUTH_VALUES, AddInputSchema, AddonOptionsSchema, AddonsSchema, AuthSchema, BACKEND_VALUES, BackendSchema, BetterTStackConfigFileSchema, BetterTStackConfigSchema, CLIInputSchema, CreateInputSchema, DATABASE_SETUP_VALUES, DATABASE_VALUES, DIRECTORY_CONFLICT_VALUES, DatabaseSchema, DatabaseSetupSchema, DbSetupModeSchema, DbSetupOptionsSchema, DirectoryConflictSchema, EXAMPLES_VALUES, ExamplesSchema, FRONTEND_VALUES, FrontendSchema, FumadocsTemplateSchema, InitResultSchema, InstallScopeSchema, McpAgentSchema, McpServerSchema, NeonSetupMethodSchema, ORMSchema, ORM_VALUES, PACKAGE_MANAGER_VALUES, PAYMENTS_VALUES, PackageManagerSchema, PaymentsSchema, ProjectConfigSchema, ProjectNameSchema, RUNTIME_VALUES, RulerAssistantSchema, RuntimeSchema, SERVER_DEPLOY_VALUES, ServerDeploySchema, SkillSelectionSchema, SkillsAgentSchema, SkillsSourceSchema, TEMPLATE_VALUES, TemplateSchema, TuiTemplateSchema, UltraciteAgentSchema, UltraciteEditorSchema, UltraciteHookSchema, UltraciteLinterSchema, WEB_DEPLOY_VALUES, WebDeploySchema, WxtTemplateSchema };
|
package/dist/schemas.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { $ as UltraciteEditorSchema, A as McpAgentSchema, B as ProjectNameSchema, C as EXAMPLES_VALUES, D as FumadocsTemplateSchema, E as FrontendSchema, F as PACKAGE_MANAGER_VALUES, G as ServerDeploySchema, H as RulerAssistantSchema, I as PAYMENTS_VALUES, J as SkillsSourceSchema, K as SkillSelectionSchema, L as PackageManagerSchema, M as NeonSetupMethodSchema, N as ORMSchema, O as InitResultSchema, P as ORM_VALUES, Q as UltraciteAgentSchema, R as PaymentsSchema, S as DirectoryConflictSchema, T as FRONTEND_VALUES, U as RuntimeSchema, V as RUNTIME_VALUES, W as SERVER_DEPLOY_VALUES, X as TemplateSchema, Y as TEMPLATE_VALUES, Z as TuiTemplateSchema, _ as DIRECTORY_CONFLICT_VALUES, a as AddInputSchema, b as DbSetupModeSchema, c as AuthSchema, d as BetterTStackConfigFileSchema, et as UltraciteHookSchema, f as BetterTStackConfigSchema, g as DATABASE_VALUES, h as DATABASE_SETUP_VALUES, i as AUTH_VALUES, it as WxtTemplateSchema, j as McpServerSchema, k as InstallScopeSchema, l as BACKEND_VALUES, m as CreateInputSchema, n as APISchema, nt as WEB_DEPLOY_VALUES, o as AddonOptionsSchema, p as CLIInputSchema, q as SkillsAgentSchema, r as API_VALUES, rt as WebDeploySchema, s as AddonsSchema, t as ADDONS_VALUES, tt as UltraciteLinterSchema, u as BackendSchema, v as DatabaseSchema, w as ExamplesSchema, x as DbSetupOptionsSchema, y as DatabaseSetupSchema, z as ProjectConfigSchema } from "./schemas-C5kvvUjE.mjs";
|
|
2
2
|
|
|
3
|
-
export { ADDONS_VALUES, APISchema, API_VALUES, AUTH_VALUES, AddInputSchema, AddonsSchema, AuthSchema, BACKEND_VALUES, BackendSchema, BetterTStackConfigFileSchema, BetterTStackConfigSchema, CLIInputSchema, CreateInputSchema, DATABASE_SETUP_VALUES, DATABASE_VALUES, DIRECTORY_CONFLICT_VALUES, DatabaseSchema, DatabaseSetupSchema, DirectoryConflictSchema, EXAMPLES_VALUES, ExamplesSchema, FRONTEND_VALUES, FrontendSchema, InitResultSchema, ORMSchema, ORM_VALUES, PACKAGE_MANAGER_VALUES, PAYMENTS_VALUES, PackageManagerSchema, PaymentsSchema, ProjectConfigSchema, ProjectNameSchema, RUNTIME_VALUES, RuntimeSchema, SERVER_DEPLOY_VALUES, ServerDeploySchema, TEMPLATE_VALUES, TemplateSchema, WEB_DEPLOY_VALUES, WebDeploySchema };
|
|
3
|
+
export { ADDONS_VALUES, APISchema, API_VALUES, AUTH_VALUES, AddInputSchema, AddonOptionsSchema, AddonsSchema, AuthSchema, BACKEND_VALUES, BackendSchema, BetterTStackConfigFileSchema, BetterTStackConfigSchema, CLIInputSchema, CreateInputSchema, DATABASE_SETUP_VALUES, DATABASE_VALUES, DIRECTORY_CONFLICT_VALUES, DatabaseSchema, DatabaseSetupSchema, DbSetupModeSchema, DbSetupOptionsSchema, DirectoryConflictSchema, EXAMPLES_VALUES, ExamplesSchema, FRONTEND_VALUES, FrontendSchema, FumadocsTemplateSchema, InitResultSchema, InstallScopeSchema, McpAgentSchema, McpServerSchema, NeonSetupMethodSchema, ORMSchema, ORM_VALUES, PACKAGE_MANAGER_VALUES, PAYMENTS_VALUES, PackageManagerSchema, PaymentsSchema, ProjectConfigSchema, ProjectNameSchema, RUNTIME_VALUES, RulerAssistantSchema, RuntimeSchema, SERVER_DEPLOY_VALUES, ServerDeploySchema, SkillSelectionSchema, SkillsAgentSchema, SkillsSourceSchema, TEMPLATE_VALUES, TemplateSchema, TuiTemplateSchema, UltraciteAgentSchema, UltraciteEditorSchema, UltraciteHookSchema, UltraciteLinterSchema, WEB_DEPLOY_VALUES, WebDeploySchema, WxtTemplateSchema };
|