@wundero/bts 3.44.1-preview-20260929-07a3082
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/cli.d.mts +1 -0
- package/dist/cli.mjs +305 -0
- package/dist/index.d.mts +1593 -0
- package/dist/index.mjs +3 -0
- package/dist/rolldown-runtime-yhw22V8Z.mjs +28 -0
- package/dist/src-Bs-QhN50.mjs +11123 -0
- package/dist/virtual.d.mts +5 -0
- package/dist/virtual.mjs +4 -0
- package/package.json +89 -0
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,1593 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { Result, Result as Result$1 } from "better-result";
|
|
3
|
+
import { TrpcCli, TrpcCliMeta } from "trpc-cli";
|
|
4
|
+
import z from "zod";
|
|
5
|
+
import { EMBEDDED_TEMPLATES, GeneratorError, GeneratorError as GeneratorError$1, GeneratorOptions, TEMPLATE_COUNT, VirtualDirectory, VirtualFile, VirtualFileSystem, VirtualFileTree, VirtualFileTree as VirtualFileTree$1, VirtualNode, generate } from "@better-t-stack/template-generator";
|
|
6
|
+
import * as import__better_t_stack_types from "@better-t-stack/types";
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/utils/errors.d.ts
|
|
9
|
+
declare const UserCancelledError_base: import("better-result").TaggedErrorClass<"UserCancelledError">;
|
|
10
|
+
/**
|
|
11
|
+
* User cancelled the operation (e.g., Ctrl+C in prompts)
|
|
12
|
+
*/
|
|
13
|
+
export declare class UserCancelledError extends UserCancelledError_base<{
|
|
14
|
+
message: string;
|
|
15
|
+
}> {
|
|
16
|
+
constructor(args?: {
|
|
17
|
+
message?: string;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
declare const CLIError_base: import("better-result").TaggedErrorClass<"CLIError">;
|
|
21
|
+
/**
|
|
22
|
+
* General CLI error for validation failures, invalid flags, etc.
|
|
23
|
+
*/
|
|
24
|
+
export declare class CLIError extends CLIError_base<{
|
|
25
|
+
message: string;
|
|
26
|
+
cause?: unknown;
|
|
27
|
+
}> {}
|
|
28
|
+
declare const ValidationError_base: import("better-result").TaggedErrorClass<"ValidationError">;
|
|
29
|
+
/**
|
|
30
|
+
* Validation error for config/flag validation failures
|
|
31
|
+
*/
|
|
32
|
+
export declare class ValidationError extends ValidationError_base<{
|
|
33
|
+
field?: string;
|
|
34
|
+
value?: string | number | boolean | null;
|
|
35
|
+
message: string;
|
|
36
|
+
}> {
|
|
37
|
+
constructor(args: {
|
|
38
|
+
field?: string;
|
|
39
|
+
value?: string | number | boolean | null;
|
|
40
|
+
message: string;
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
declare const CompatibilityError_base: import("better-result").TaggedErrorClass<"CompatibilityError">;
|
|
44
|
+
/**
|
|
45
|
+
* Compatibility error for incompatible option combinations
|
|
46
|
+
*/
|
|
47
|
+
export declare class CompatibilityError extends CompatibilityError_base<{
|
|
48
|
+
options: string[];
|
|
49
|
+
message: string;
|
|
50
|
+
}> {
|
|
51
|
+
constructor(args: {
|
|
52
|
+
options: string[];
|
|
53
|
+
message: string;
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
declare const DirectoryConflictError_base: import("better-result").TaggedErrorClass<"DirectoryConflictError">;
|
|
57
|
+
/**
|
|
58
|
+
* Directory conflict error when target directory exists and is not empty
|
|
59
|
+
*/
|
|
60
|
+
export declare class DirectoryConflictError extends DirectoryConflictError_base<{
|
|
61
|
+
directory: string;
|
|
62
|
+
message: string;
|
|
63
|
+
}> {
|
|
64
|
+
constructor(args: {
|
|
65
|
+
directory: string;
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
declare const ProjectCreationError_base: import("better-result").TaggedErrorClass<"ProjectCreationError">;
|
|
69
|
+
/**
|
|
70
|
+
* Project creation error for failures during scaffolding
|
|
71
|
+
*/
|
|
72
|
+
export declare class ProjectCreationError extends ProjectCreationError_base<{
|
|
73
|
+
phase: string;
|
|
74
|
+
message: string;
|
|
75
|
+
cause?: unknown;
|
|
76
|
+
}> {
|
|
77
|
+
constructor(args: {
|
|
78
|
+
phase: string;
|
|
79
|
+
message: string;
|
|
80
|
+
cause?: unknown;
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
declare const DatabaseSetupError_base: import("better-result").TaggedErrorClass<"DatabaseSetupError">;
|
|
84
|
+
/**
|
|
85
|
+
* Database setup error for failures during database configuration
|
|
86
|
+
*/
|
|
87
|
+
export declare class DatabaseSetupError extends DatabaseSetupError_base<{
|
|
88
|
+
provider: string;
|
|
89
|
+
message: string;
|
|
90
|
+
cause?: unknown;
|
|
91
|
+
}> {
|
|
92
|
+
constructor(args: {
|
|
93
|
+
provider: string;
|
|
94
|
+
message: string;
|
|
95
|
+
cause?: unknown;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region src/utils/project-launcher.d.ts
|
|
100
|
+
export declare const ProjectLauncherSchema: z.ZodEnum<{
|
|
101
|
+
aider: "aider";
|
|
102
|
+
amp: "amp";
|
|
103
|
+
"claude-code": "claude-code";
|
|
104
|
+
cline: "cline";
|
|
105
|
+
codex: "codex";
|
|
106
|
+
"codex-app": "codex-app";
|
|
107
|
+
continue: "continue";
|
|
108
|
+
crush: "crush";
|
|
109
|
+
cursor: "cursor";
|
|
110
|
+
"cursor-agent": "cursor-agent";
|
|
111
|
+
droid: "droid";
|
|
112
|
+
"gemini-cli": "gemini-cli";
|
|
113
|
+
"github-copilot": "github-copilot";
|
|
114
|
+
goose: "goose";
|
|
115
|
+
"intellij-idea": "intellij-idea";
|
|
116
|
+
"kiro-cli": "kiro-cli";
|
|
117
|
+
neovim: "neovim";
|
|
118
|
+
none: "none";
|
|
119
|
+
opencode: "opencode";
|
|
120
|
+
orca: "orca";
|
|
121
|
+
pi: "pi";
|
|
122
|
+
"qwen-code": "qwen-code";
|
|
123
|
+
"sublime-text": "sublime-text";
|
|
124
|
+
"t3-code": "t3-code";
|
|
125
|
+
vscode: "vscode";
|
|
126
|
+
"vscode-insiders": "vscode-insiders";
|
|
127
|
+
vscodium: "vscodium";
|
|
128
|
+
webstorm: "webstorm";
|
|
129
|
+
windsurf: "windsurf";
|
|
130
|
+
zed: "zed";
|
|
131
|
+
}>;
|
|
132
|
+
type ProjectLauncher = z.infer<typeof ProjectLauncherSchema>;
|
|
133
|
+
//#endregion
|
|
134
|
+
//#region src/helpers/core/command-handlers.d.ts
|
|
135
|
+
/**
|
|
136
|
+
* Result type for project creation
|
|
137
|
+
*/
|
|
138
|
+
interface CreateProjectResult {
|
|
139
|
+
success: boolean;
|
|
140
|
+
projectConfig: types_d_exports.ProjectConfig;
|
|
141
|
+
reproducibleCommand: string;
|
|
142
|
+
timeScaffolded: string;
|
|
143
|
+
elapsedTimeMs: number;
|
|
144
|
+
projectDirectory: string;
|
|
145
|
+
relativePath: string;
|
|
146
|
+
error?: string;
|
|
147
|
+
warnings?: string[];
|
|
148
|
+
}
|
|
149
|
+
//#endregion
|
|
150
|
+
//#region src/helpers/core/add-handler.d.ts
|
|
151
|
+
interface AddResult {
|
|
152
|
+
success: boolean;
|
|
153
|
+
addedAddons: types_d_exports.Addons[];
|
|
154
|
+
projectDir: string;
|
|
155
|
+
dryRun?: boolean;
|
|
156
|
+
plannedFileCount?: number;
|
|
157
|
+
addedPackage?: string;
|
|
158
|
+
error?: string;
|
|
159
|
+
}
|
|
160
|
+
//#endregion
|
|
161
|
+
//#region src/helpers/core/generate-handler.d.ts
|
|
162
|
+
interface GeneratePackageResult {
|
|
163
|
+
success: boolean;
|
|
164
|
+
kind: "package";
|
|
165
|
+
projectDir: string;
|
|
166
|
+
name: string;
|
|
167
|
+
dryRun?: boolean;
|
|
168
|
+
plannedFileCount?: number;
|
|
169
|
+
warnings?: string[];
|
|
170
|
+
error?: string;
|
|
171
|
+
}
|
|
172
|
+
interface GenerateAppResult {
|
|
173
|
+
success: boolean;
|
|
174
|
+
kind: "app";
|
|
175
|
+
projectDir: string;
|
|
176
|
+
name: string;
|
|
177
|
+
appKind: "frontend" | "backend" | "mobile";
|
|
178
|
+
dryRun?: boolean;
|
|
179
|
+
plannedFileCount?: number;
|
|
180
|
+
warnings?: string[];
|
|
181
|
+
error?: string;
|
|
182
|
+
}
|
|
183
|
+
//#endregion
|
|
184
|
+
//#region src/index.d.ts
|
|
185
|
+
export declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
186
|
+
addInput: "addInput";
|
|
187
|
+
addonOptions: "addonOptions";
|
|
188
|
+
addons: "addons";
|
|
189
|
+
all: "all";
|
|
190
|
+
api: "api";
|
|
191
|
+
auth: "auth";
|
|
192
|
+
backend: "backend";
|
|
193
|
+
betterTStackConfig: "betterTStackConfig";
|
|
194
|
+
betterTStackConfigFile: "betterTStackConfigFile";
|
|
195
|
+
cli: "cli";
|
|
196
|
+
createInput: "createInput";
|
|
197
|
+
database: "database";
|
|
198
|
+
databaseSetup: "databaseSetup";
|
|
199
|
+
dbSetupOptions: "dbSetupOptions";
|
|
200
|
+
directoryConflict: "directoryConflict";
|
|
201
|
+
emailDeploy: "emailDeploy";
|
|
202
|
+
emailRenderer: "emailRenderer";
|
|
203
|
+
examples: "examples";
|
|
204
|
+
frontend: "frontend";
|
|
205
|
+
generateInput: "generateInput";
|
|
206
|
+
initResult: "initResult";
|
|
207
|
+
orm: "orm";
|
|
208
|
+
packageManager: "packageManager";
|
|
209
|
+
payments: "payments";
|
|
210
|
+
projectConfig: "projectConfig";
|
|
211
|
+
runtime: "runtime";
|
|
212
|
+
scaffoldAppInput: "scaffoldAppInput";
|
|
213
|
+
scaffoldPackageInput: "scaffoldPackageInput";
|
|
214
|
+
serverDeploy: "serverDeploy";
|
|
215
|
+
shadcnConfig: "shadcnConfig";
|
|
216
|
+
template: "template";
|
|
217
|
+
webDeploy: "webDeploy";
|
|
218
|
+
}>>;
|
|
219
|
+
export type SchemaName = z.infer<typeof SchemaNameSchema>;
|
|
220
|
+
export declare function getSchemaResult(name: SchemaName): unknown;
|
|
221
|
+
export declare const router: {
|
|
222
|
+
create: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodTuple<[z.ZodOptional<z.ZodString>, z.ZodObject<{
|
|
223
|
+
template: z.ZodOptional<z.ZodEnum<{
|
|
224
|
+
none: "none";
|
|
225
|
+
mern: "mern";
|
|
226
|
+
pern: "pern";
|
|
227
|
+
t3: "t3";
|
|
228
|
+
uniwind: "uniwind";
|
|
229
|
+
}>>;
|
|
230
|
+
yes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
231
|
+
yolo: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
232
|
+
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
233
|
+
verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
234
|
+
database: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
none: "none";
|
|
236
|
+
sqlite: "sqlite";
|
|
237
|
+
postgres: "postgres";
|
|
238
|
+
mysql: "mysql";
|
|
239
|
+
mongodb: "mongodb";
|
|
240
|
+
}>>;
|
|
241
|
+
orm: z.ZodOptional<z.ZodEnum<{
|
|
242
|
+
none: "none";
|
|
243
|
+
drizzle: "drizzle";
|
|
244
|
+
prisma: "prisma";
|
|
245
|
+
mongoose: "mongoose";
|
|
246
|
+
}>>;
|
|
247
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
248
|
+
none: "none";
|
|
249
|
+
"better-auth": "better-auth";
|
|
250
|
+
clerk: "clerk";
|
|
251
|
+
}>>;
|
|
252
|
+
payments: z.ZodOptional<z.ZodEnum<{
|
|
253
|
+
none: "none";
|
|
254
|
+
polar: "polar";
|
|
255
|
+
stripe: "stripe";
|
|
256
|
+
autumn: "autumn";
|
|
257
|
+
dodo: "dodo";
|
|
258
|
+
creem: "creem";
|
|
259
|
+
chargebee: "chargebee";
|
|
260
|
+
commet: "commet";
|
|
261
|
+
}>>;
|
|
262
|
+
emailRenderer: z.ZodOptional<z.ZodEnum<{
|
|
263
|
+
none: "none";
|
|
264
|
+
"react-email": "react-email";
|
|
265
|
+
}>>;
|
|
266
|
+
emailDeploy: z.ZodOptional<z.ZodEnum<{
|
|
267
|
+
none: "none";
|
|
268
|
+
cloudflare: "cloudflare";
|
|
269
|
+
ses: "ses";
|
|
270
|
+
}>>;
|
|
271
|
+
frontend: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
272
|
+
none: "none";
|
|
273
|
+
"tanstack-router": "tanstack-router";
|
|
274
|
+
"react-router": "react-router";
|
|
275
|
+
"tanstack-start": "tanstack-start";
|
|
276
|
+
next: "next";
|
|
277
|
+
nuxt: "nuxt";
|
|
278
|
+
"native-bare": "native-bare";
|
|
279
|
+
"native-uniwind": "native-uniwind";
|
|
280
|
+
"native-unistyles": "native-unistyles";
|
|
281
|
+
svelte: "svelte";
|
|
282
|
+
solid: "solid";
|
|
283
|
+
astro: "astro";
|
|
284
|
+
}>>>;
|
|
285
|
+
addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
286
|
+
none: "none";
|
|
287
|
+
pwa: "pwa";
|
|
288
|
+
tauri: "tauri";
|
|
289
|
+
electrobun: "electrobun";
|
|
290
|
+
starlight: "starlight";
|
|
291
|
+
biome: "biome";
|
|
292
|
+
lefthook: "lefthook";
|
|
293
|
+
husky: "husky";
|
|
294
|
+
mcp: "mcp";
|
|
295
|
+
turborepo: "turborepo";
|
|
296
|
+
nx: "nx";
|
|
297
|
+
"vite-plus": "vite-plus";
|
|
298
|
+
fumadocs: "fumadocs";
|
|
299
|
+
ultracite: "ultracite";
|
|
300
|
+
oxlint: "oxlint";
|
|
301
|
+
eslint: "eslint";
|
|
302
|
+
opentui: "opentui";
|
|
303
|
+
wxt: "wxt";
|
|
304
|
+
skills: "skills";
|
|
305
|
+
evlog: "evlog";
|
|
306
|
+
axiom: "axiom";
|
|
307
|
+
turnstile: "turnstile";
|
|
308
|
+
}>>>;
|
|
309
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
310
|
+
none: "none";
|
|
311
|
+
todo: "todo";
|
|
312
|
+
ai: "ai";
|
|
313
|
+
}>>>;
|
|
314
|
+
git: z.ZodOptional<z.ZodBoolean>;
|
|
315
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
316
|
+
bun: "bun";
|
|
317
|
+
npm: "npm";
|
|
318
|
+
pnpm: "pnpm";
|
|
319
|
+
}>>;
|
|
320
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
321
|
+
portless: z.ZodOptional<z.ZodBoolean>;
|
|
322
|
+
open: z.ZodOptional<z.ZodEnum<{
|
|
323
|
+
aider: "aider";
|
|
324
|
+
amp: "amp";
|
|
325
|
+
"claude-code": "claude-code";
|
|
326
|
+
cline: "cline";
|
|
327
|
+
codex: "codex";
|
|
328
|
+
"codex-app": "codex-app";
|
|
329
|
+
continue: "continue";
|
|
330
|
+
crush: "crush";
|
|
331
|
+
cursor: "cursor";
|
|
332
|
+
"cursor-agent": "cursor-agent";
|
|
333
|
+
droid: "droid";
|
|
334
|
+
"gemini-cli": "gemini-cli";
|
|
335
|
+
"github-copilot": "github-copilot";
|
|
336
|
+
goose: "goose";
|
|
337
|
+
"intellij-idea": "intellij-idea";
|
|
338
|
+
"kiro-cli": "kiro-cli";
|
|
339
|
+
neovim: "neovim";
|
|
340
|
+
none: "none";
|
|
341
|
+
opencode: "opencode";
|
|
342
|
+
orca: "orca";
|
|
343
|
+
pi: "pi";
|
|
344
|
+
"qwen-code": "qwen-code";
|
|
345
|
+
"sublime-text": "sublime-text";
|
|
346
|
+
"t3-code": "t3-code";
|
|
347
|
+
vscode: "vscode";
|
|
348
|
+
"vscode-insiders": "vscode-insiders";
|
|
349
|
+
vscodium: "vscodium";
|
|
350
|
+
webstorm: "webstorm";
|
|
351
|
+
windsurf: "windsurf";
|
|
352
|
+
zed: "zed";
|
|
353
|
+
}>>;
|
|
354
|
+
dbSetup: z.ZodOptional<z.ZodEnum<{
|
|
355
|
+
none: "none";
|
|
356
|
+
turso: "turso";
|
|
357
|
+
neon: "neon";
|
|
358
|
+
"prisma-postgres": "prisma-postgres";
|
|
359
|
+
planetscale: "planetscale";
|
|
360
|
+
"mongodb-atlas": "mongodb-atlas";
|
|
361
|
+
supabase: "supabase";
|
|
362
|
+
d1: "d1";
|
|
363
|
+
docker: "docker";
|
|
364
|
+
aurora: "aurora";
|
|
365
|
+
}>>;
|
|
366
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
367
|
+
none: "none";
|
|
368
|
+
hono: "hono";
|
|
369
|
+
express: "express";
|
|
370
|
+
fastify: "fastify";
|
|
371
|
+
elysia: "elysia";
|
|
372
|
+
convex: "convex";
|
|
373
|
+
self: "self";
|
|
374
|
+
}>>;
|
|
375
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
376
|
+
none: "none";
|
|
377
|
+
bun: "bun";
|
|
378
|
+
node: "node";
|
|
379
|
+
workers: "workers";
|
|
380
|
+
lambda: "lambda";
|
|
381
|
+
}>>;
|
|
382
|
+
api: z.ZodOptional<z.ZodEnum<{
|
|
383
|
+
none: "none";
|
|
384
|
+
trpc: "trpc";
|
|
385
|
+
orpc: "orpc";
|
|
386
|
+
}>>;
|
|
387
|
+
webDeploy: z.ZodOptional<z.ZodEnum<{
|
|
388
|
+
none: "none";
|
|
389
|
+
prisma: "prisma";
|
|
390
|
+
docker: "docker";
|
|
391
|
+
cloudflare: "cloudflare";
|
|
392
|
+
aws: "aws";
|
|
393
|
+
vercel: "vercel";
|
|
394
|
+
}>>;
|
|
395
|
+
serverDeploy: z.ZodOptional<z.ZodEnum<{
|
|
396
|
+
none: "none";
|
|
397
|
+
prisma: "prisma";
|
|
398
|
+
docker: "docker";
|
|
399
|
+
cloudflare: "cloudflare";
|
|
400
|
+
aws: "aws";
|
|
401
|
+
vercel: "vercel";
|
|
402
|
+
}>>;
|
|
403
|
+
directoryConflict: z.ZodOptional<z.ZodEnum<{
|
|
404
|
+
merge: "merge";
|
|
405
|
+
overwrite: "overwrite";
|
|
406
|
+
increment: "increment";
|
|
407
|
+
error: "error";
|
|
408
|
+
}>>;
|
|
409
|
+
renderTitle: z.ZodOptional<z.ZodBoolean>;
|
|
410
|
+
disableAnalytics: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
411
|
+
manualDb: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
412
|
+
dbSetupOptions: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
414
|
+
manual: "manual";
|
|
415
|
+
auto: "auto";
|
|
416
|
+
alchemy: "alchemy";
|
|
417
|
+
}>>;
|
|
418
|
+
neon: z.ZodOptional<z.ZodObject<{
|
|
419
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
420
|
+
neon: "neon";
|
|
421
|
+
"neon-new": "neon-new";
|
|
422
|
+
neondb: "neondb";
|
|
423
|
+
neonctl: "neonctl";
|
|
424
|
+
}>>;
|
|
425
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
426
|
+
regionId: z.ZodOptional<z.ZodString>;
|
|
427
|
+
}, z.core.$strict>>;
|
|
428
|
+
prismaPostgres: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
regionId: z.ZodOptional<z.ZodString>;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
turso: z.ZodOptional<z.ZodObject<{
|
|
432
|
+
databaseName: z.ZodOptional<z.ZodString>;
|
|
433
|
+
groupName: z.ZodOptional<z.ZodString>;
|
|
434
|
+
installCli: z.ZodOptional<z.ZodBoolean>;
|
|
435
|
+
}, z.core.$strict>>;
|
|
436
|
+
}, z.core.$strict>>;
|
|
437
|
+
shadcnPreset: z.ZodOptional<z.ZodString>;
|
|
438
|
+
shadcnBase: z.ZodOptional<z.ZodEnum<{
|
|
439
|
+
baseui: "baseui";
|
|
440
|
+
radixui: "radixui";
|
|
441
|
+
"react-aria": "react-aria";
|
|
442
|
+
}>>;
|
|
443
|
+
shadcnRtl: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
shadcnPointer: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
}, z.core.$strip>], null>, import("@orpc/server").Schema<CreateProjectResult | undefined, CreateProjectResult | undefined>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
446
|
+
createJson: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
447
|
+
shadcn: z.ZodOptional<z.ZodObject<{
|
|
448
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
449
|
+
base: z.ZodOptional<z.ZodEnum<{
|
|
450
|
+
baseui: "baseui";
|
|
451
|
+
radixui: "radixui";
|
|
452
|
+
"react-aria": "react-aria";
|
|
453
|
+
}>>;
|
|
454
|
+
rtl: z.ZodOptional<z.ZodBoolean>;
|
|
455
|
+
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
456
|
+
}, z.core.$strict>>;
|
|
457
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
458
|
+
template: z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
none: "none";
|
|
460
|
+
mern: "mern";
|
|
461
|
+
pern: "pern";
|
|
462
|
+
t3: "t3";
|
|
463
|
+
uniwind: "uniwind";
|
|
464
|
+
}>>;
|
|
465
|
+
yes: z.ZodOptional<z.ZodBoolean>;
|
|
466
|
+
yolo: z.ZodOptional<z.ZodBoolean>;
|
|
467
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
468
|
+
verbose: z.ZodOptional<z.ZodBoolean>;
|
|
469
|
+
addonOptions: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
wxt: z.ZodOptional<z.ZodObject<{
|
|
471
|
+
template: z.ZodEnum<{
|
|
472
|
+
svelte: "svelte";
|
|
473
|
+
solid: "solid";
|
|
474
|
+
vanilla: "vanilla";
|
|
475
|
+
vue: "vue";
|
|
476
|
+
react: "react";
|
|
477
|
+
}>;
|
|
478
|
+
devPort: z.ZodOptional<z.ZodNumber>;
|
|
479
|
+
}, z.core.$strict>>;
|
|
480
|
+
fumadocs: z.ZodOptional<z.ZodObject<{
|
|
481
|
+
template: z.ZodEnum<{
|
|
482
|
+
"react-router": "react-router";
|
|
483
|
+
"tanstack-start": "tanstack-start";
|
|
484
|
+
astro: "astro";
|
|
485
|
+
"next-mdx": "next-mdx";
|
|
486
|
+
"next-mdx-static": "next-mdx-static";
|
|
487
|
+
waku: "waku";
|
|
488
|
+
"react-router-spa": "react-router-spa";
|
|
489
|
+
"tanstack-start-spa": "tanstack-start-spa";
|
|
490
|
+
}>;
|
|
491
|
+
devPort: z.ZodOptional<z.ZodNumber>;
|
|
492
|
+
search: z.ZodOptional<z.ZodEnum<{
|
|
493
|
+
orama: "orama";
|
|
494
|
+
"orama-cloud": "orama-cloud";
|
|
495
|
+
}>>;
|
|
496
|
+
ogImage: z.ZodOptional<z.ZodEnum<{
|
|
497
|
+
"next-og": "next-og";
|
|
498
|
+
takumi: "takumi";
|
|
499
|
+
}>>;
|
|
500
|
+
aiChat: z.ZodOptional<z.ZodEnum<{
|
|
501
|
+
openrouter: "openrouter";
|
|
502
|
+
llmgateway: "llmgateway";
|
|
503
|
+
inkeep: "inkeep";
|
|
504
|
+
}>>;
|
|
505
|
+
}, z.core.$strict>>;
|
|
506
|
+
opentui: z.ZodOptional<z.ZodObject<{
|
|
507
|
+
template: z.ZodEnum<{
|
|
508
|
+
solid: "solid";
|
|
509
|
+
react: "react";
|
|
510
|
+
core: "core";
|
|
511
|
+
}>;
|
|
512
|
+
}, z.core.$strict>>;
|
|
513
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
514
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
515
|
+
project: "project";
|
|
516
|
+
global: "global";
|
|
517
|
+
}>>;
|
|
518
|
+
servers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
519
|
+
convex: "convex";
|
|
520
|
+
nx: "nx";
|
|
521
|
+
neon: "neon";
|
|
522
|
+
planetscale: "planetscale";
|
|
523
|
+
supabase: "supabase";
|
|
524
|
+
"better-auth": "better-auth";
|
|
525
|
+
clerk: "clerk";
|
|
526
|
+
polar: "polar";
|
|
527
|
+
"better-t-stack": "better-t-stack";
|
|
528
|
+
context7: "context7";
|
|
529
|
+
"cloudflare-docs": "cloudflare-docs";
|
|
530
|
+
shadcn: "shadcn";
|
|
531
|
+
"next-devtools": "next-devtools";
|
|
532
|
+
"nuxt-docs": "nuxt-docs";
|
|
533
|
+
"nuxt-ui-docs": "nuxt-ui-docs";
|
|
534
|
+
"svelte-docs": "svelte-docs";
|
|
535
|
+
"astro-docs": "astro-docs";
|
|
536
|
+
expo: "expo";
|
|
537
|
+
}>>>;
|
|
538
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
539
|
+
antigravity: "antigravity";
|
|
540
|
+
cline: "cline";
|
|
541
|
+
"cline-cli": "cline-cli";
|
|
542
|
+
cursor: "cursor";
|
|
543
|
+
"claude-code": "claude-code";
|
|
544
|
+
codex: "codex";
|
|
545
|
+
opencode: "opencode";
|
|
546
|
+
"gemini-cli": "gemini-cli";
|
|
547
|
+
"github-copilot-cli": "github-copilot-cli";
|
|
548
|
+
"grok-build": "grok-build";
|
|
549
|
+
mcporter: "mcporter";
|
|
550
|
+
vscode: "vscode";
|
|
551
|
+
windsurf: "windsurf";
|
|
552
|
+
zed: "zed";
|
|
553
|
+
"claude-desktop": "claude-desktop";
|
|
554
|
+
goose: "goose";
|
|
555
|
+
fx: "fx";
|
|
556
|
+
"kilo-code": "kilo-code";
|
|
557
|
+
"kimi-code": "kimi-code";
|
|
558
|
+
"kiro-cli": "kiro-cli";
|
|
559
|
+
}>>>;
|
|
560
|
+
}, z.core.$strict>>;
|
|
561
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
562
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
563
|
+
project: "project";
|
|
564
|
+
global: "global";
|
|
565
|
+
}>>;
|
|
566
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
567
|
+
antigravity: "antigravity";
|
|
568
|
+
cline: "cline";
|
|
569
|
+
cursor: "cursor";
|
|
570
|
+
"claude-code": "claude-code";
|
|
571
|
+
codex: "codex";
|
|
572
|
+
opencode: "opencode";
|
|
573
|
+
"gemini-cli": "gemini-cli";
|
|
574
|
+
windsurf: "windsurf";
|
|
575
|
+
zed: "zed";
|
|
576
|
+
goose: "goose";
|
|
577
|
+
"kiro-cli": "kiro-cli";
|
|
578
|
+
universal: "universal";
|
|
579
|
+
adal: "adal";
|
|
580
|
+
"aider-desk": "aider-desk";
|
|
581
|
+
amp: "amp";
|
|
582
|
+
"antigravity-cli": "antigravity-cli";
|
|
583
|
+
astrbot: "astrbot";
|
|
584
|
+
augment: "augment";
|
|
585
|
+
"autohand-code": "autohand-code";
|
|
586
|
+
bob: "bob";
|
|
587
|
+
"codearts-agent": "codearts-agent";
|
|
588
|
+
codebuddy: "codebuddy";
|
|
589
|
+
codemaker: "codemaker";
|
|
590
|
+
codestudio: "codestudio";
|
|
591
|
+
"command-code": "command-code";
|
|
592
|
+
continue: "continue";
|
|
593
|
+
cortex: "cortex";
|
|
594
|
+
crush: "crush";
|
|
595
|
+
deepagents: "deepagents";
|
|
596
|
+
devin: "devin";
|
|
597
|
+
dexto: "dexto";
|
|
598
|
+
droid: "droid";
|
|
599
|
+
eve: "eve";
|
|
600
|
+
firebender: "firebender";
|
|
601
|
+
forgecode: "forgecode";
|
|
602
|
+
"github-copilot": "github-copilot";
|
|
603
|
+
grok: "grok";
|
|
604
|
+
"hermes-agent": "hermes-agent";
|
|
605
|
+
"iflow-cli": "iflow-cli";
|
|
606
|
+
"inference-sh": "inference-sh";
|
|
607
|
+
jazz: "jazz";
|
|
608
|
+
junie: "junie";
|
|
609
|
+
kilo: "kilo";
|
|
610
|
+
kimchi: "kimchi";
|
|
611
|
+
"kimi-code-cli": "kimi-code-cli";
|
|
612
|
+
kode: "kode";
|
|
613
|
+
lingma: "lingma";
|
|
614
|
+
loaf: "loaf";
|
|
615
|
+
mcpjam: "mcpjam";
|
|
616
|
+
"minimax-code": "minimax-code";
|
|
617
|
+
"mistral-vibe": "mistral-vibe";
|
|
618
|
+
moxby: "moxby";
|
|
619
|
+
mux: "mux";
|
|
620
|
+
neovate: "neovate";
|
|
621
|
+
ona: "ona";
|
|
622
|
+
clawdbot: "clawdbot";
|
|
623
|
+
openclaw: "openclaw";
|
|
624
|
+
openhands: "openhands";
|
|
625
|
+
pi: "pi";
|
|
626
|
+
pochi: "pochi";
|
|
627
|
+
"posit-assistant": "posit-assistant";
|
|
628
|
+
promptscript: "promptscript";
|
|
629
|
+
qoder: "qoder";
|
|
630
|
+
"qoder-cn": "qoder-cn";
|
|
631
|
+
"qwen-code": "qwen-code";
|
|
632
|
+
reasonix: "reasonix";
|
|
633
|
+
replit: "replit";
|
|
634
|
+
roo: "roo";
|
|
635
|
+
rovodev: "rovodev";
|
|
636
|
+
"tabnine-cli": "tabnine-cli";
|
|
637
|
+
terramind: "terramind";
|
|
638
|
+
tinycloud: "tinycloud";
|
|
639
|
+
trae: "trae";
|
|
640
|
+
"trae-cn": "trae-cn";
|
|
641
|
+
warp: "warp";
|
|
642
|
+
zcode: "zcode";
|
|
643
|
+
zencoder: "zencoder";
|
|
644
|
+
zenflow: "zenflow";
|
|
645
|
+
}>>>;
|
|
646
|
+
selections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
647
|
+
source: z.ZodEnum<{
|
|
648
|
+
"vercel-labs/agent-skills": "vercel-labs/agent-skills";
|
|
649
|
+
"vercel/ai": "vercel/ai";
|
|
650
|
+
"vercel/turborepo": "vercel/turborepo";
|
|
651
|
+
"honojs/skills": "honojs/skills";
|
|
652
|
+
"vercel/next.js": "vercel/next.js";
|
|
653
|
+
"nuxt/ui": "nuxt/ui";
|
|
654
|
+
"heroui-inc/heroui": "heroui-inc/heroui";
|
|
655
|
+
"shadcn/ui": "shadcn/ui";
|
|
656
|
+
"better-auth/skills": "better-auth/skills";
|
|
657
|
+
"clerk/skills": "clerk/skills";
|
|
658
|
+
"neondatabase/agent-skills": "neondatabase/agent-skills";
|
|
659
|
+
"supabase/agent-skills": "supabase/agent-skills";
|
|
660
|
+
"planetscale/database-skills": "planetscale/database-skills";
|
|
661
|
+
"expo/skills": "expo/skills";
|
|
662
|
+
"prisma/skills": "prisma/skills";
|
|
663
|
+
"elysiajs/skills": "elysiajs/skills";
|
|
664
|
+
"waynesutton/convexskills": "waynesutton/convexskills";
|
|
665
|
+
"msmps/opentui-skill": "msmps/opentui-skill";
|
|
666
|
+
"haydenbleasel/ultracite": "haydenbleasel/ultracite";
|
|
667
|
+
"https://www.evlog.dev": "https://www.evlog.dev";
|
|
668
|
+
}>;
|
|
669
|
+
skills: z.ZodArray<z.ZodString>;
|
|
670
|
+
}, z.core.$strict>>>;
|
|
671
|
+
}, z.core.$strict>>;
|
|
672
|
+
ultracite: z.ZodOptional<z.ZodObject<{
|
|
673
|
+
linter: z.ZodOptional<z.ZodEnum<{
|
|
674
|
+
biome: "biome";
|
|
675
|
+
oxlint: "oxlint";
|
|
676
|
+
}>>;
|
|
677
|
+
editors: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
678
|
+
void: "void";
|
|
679
|
+
antigravity: "antigravity";
|
|
680
|
+
cursor: "cursor";
|
|
681
|
+
vscode: "vscode";
|
|
682
|
+
windsurf: "windsurf";
|
|
683
|
+
zed: "zed";
|
|
684
|
+
universal: "universal";
|
|
685
|
+
bob: "bob";
|
|
686
|
+
codebuddy: "codebuddy";
|
|
687
|
+
trae: "trae";
|
|
688
|
+
kiro: "kiro";
|
|
689
|
+
}>>>;
|
|
690
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
691
|
+
vercel: "vercel";
|
|
692
|
+
cline: "cline";
|
|
693
|
+
codex: "codex";
|
|
694
|
+
opencode: "opencode";
|
|
695
|
+
goose: "goose";
|
|
696
|
+
"kilo-code": "kilo-code";
|
|
697
|
+
universal: "universal";
|
|
698
|
+
adal: "adal";
|
|
699
|
+
amp: "amp";
|
|
700
|
+
bob: "bob";
|
|
701
|
+
continue: "continue";
|
|
702
|
+
crush: "crush";
|
|
703
|
+
deepagents: "deepagents";
|
|
704
|
+
devin: "devin";
|
|
705
|
+
droid: "droid";
|
|
706
|
+
firebender: "firebender";
|
|
707
|
+
junie: "junie";
|
|
708
|
+
mcpjam: "mcpjam";
|
|
709
|
+
"mistral-vibe": "mistral-vibe";
|
|
710
|
+
mux: "mux";
|
|
711
|
+
ona: "ona";
|
|
712
|
+
openclaw: "openclaw";
|
|
713
|
+
pi: "pi";
|
|
714
|
+
qoder: "qoder";
|
|
715
|
+
replit: "replit";
|
|
716
|
+
warp: "warp";
|
|
717
|
+
zencoder: "zencoder";
|
|
718
|
+
claude: "claude";
|
|
719
|
+
jules: "jules";
|
|
720
|
+
lovable: "lovable";
|
|
721
|
+
"snowflake-cortex": "snowflake-cortex";
|
|
722
|
+
"kimi-cli": "kimi-cli";
|
|
723
|
+
copilot: "copilot";
|
|
724
|
+
aider: "aider";
|
|
725
|
+
"firebase-studio": "firebase-studio";
|
|
726
|
+
"open-hands": "open-hands";
|
|
727
|
+
gemini: "gemini";
|
|
728
|
+
augmentcode: "augmentcode";
|
|
729
|
+
"roo-code": "roo-code";
|
|
730
|
+
qwen: "qwen";
|
|
731
|
+
"amazon-q-cli": "amazon-q-cli";
|
|
732
|
+
"cursor-cli": "cursor-cli";
|
|
733
|
+
}>>>;
|
|
734
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
735
|
+
cursor: "cursor";
|
|
736
|
+
windsurf: "windsurf";
|
|
737
|
+
codebuddy: "codebuddy";
|
|
738
|
+
claude: "claude";
|
|
739
|
+
copilot: "copilot";
|
|
740
|
+
}>>>;
|
|
741
|
+
}, z.core.$strict>>;
|
|
742
|
+
}, z.core.$strict>>;
|
|
743
|
+
dbSetupOptions: z.ZodOptional<z.ZodObject<{
|
|
744
|
+
mode: z.ZodOptional<z.ZodEnum<{
|
|
745
|
+
manual: "manual";
|
|
746
|
+
auto: "auto";
|
|
747
|
+
alchemy: "alchemy";
|
|
748
|
+
}>>;
|
|
749
|
+
neon: z.ZodOptional<z.ZodObject<{
|
|
750
|
+
method: z.ZodOptional<z.ZodEnum<{
|
|
751
|
+
neon: "neon";
|
|
752
|
+
"neon-new": "neon-new";
|
|
753
|
+
neondb: "neondb";
|
|
754
|
+
neonctl: "neonctl";
|
|
755
|
+
}>>;
|
|
756
|
+
projectName: z.ZodOptional<z.ZodString>;
|
|
757
|
+
regionId: z.ZodOptional<z.ZodString>;
|
|
758
|
+
}, z.core.$strict>>;
|
|
759
|
+
prismaPostgres: z.ZodOptional<z.ZodObject<{
|
|
760
|
+
regionId: z.ZodOptional<z.ZodString>;
|
|
761
|
+
}, z.core.$strict>>;
|
|
762
|
+
turso: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
databaseName: z.ZodOptional<z.ZodString>;
|
|
764
|
+
groupName: z.ZodOptional<z.ZodString>;
|
|
765
|
+
installCli: z.ZodOptional<z.ZodBoolean>;
|
|
766
|
+
}, z.core.$strict>>;
|
|
767
|
+
}, z.core.$strict>>;
|
|
768
|
+
database: z.ZodOptional<z.ZodEnum<{
|
|
769
|
+
none: "none";
|
|
770
|
+
sqlite: "sqlite";
|
|
771
|
+
postgres: "postgres";
|
|
772
|
+
mysql: "mysql";
|
|
773
|
+
mongodb: "mongodb";
|
|
774
|
+
}>>;
|
|
775
|
+
orm: z.ZodOptional<z.ZodEnum<{
|
|
776
|
+
none: "none";
|
|
777
|
+
drizzle: "drizzle";
|
|
778
|
+
prisma: "prisma";
|
|
779
|
+
mongoose: "mongoose";
|
|
780
|
+
}>>;
|
|
781
|
+
auth: z.ZodOptional<z.ZodEnum<{
|
|
782
|
+
none: "none";
|
|
783
|
+
"better-auth": "better-auth";
|
|
784
|
+
clerk: "clerk";
|
|
785
|
+
}>>;
|
|
786
|
+
payments: z.ZodOptional<z.ZodEnum<{
|
|
787
|
+
none: "none";
|
|
788
|
+
polar: "polar";
|
|
789
|
+
stripe: "stripe";
|
|
790
|
+
autumn: "autumn";
|
|
791
|
+
dodo: "dodo";
|
|
792
|
+
creem: "creem";
|
|
793
|
+
chargebee: "chargebee";
|
|
794
|
+
commet: "commet";
|
|
795
|
+
}>>;
|
|
796
|
+
emailRenderer: z.ZodOptional<z.ZodEnum<{
|
|
797
|
+
none: "none";
|
|
798
|
+
"react-email": "react-email";
|
|
799
|
+
}>>;
|
|
800
|
+
emailDeploy: z.ZodOptional<z.ZodEnum<{
|
|
801
|
+
none: "none";
|
|
802
|
+
cloudflare: "cloudflare";
|
|
803
|
+
ses: "ses";
|
|
804
|
+
}>>;
|
|
805
|
+
frontend: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
806
|
+
none: "none";
|
|
807
|
+
"tanstack-router": "tanstack-router";
|
|
808
|
+
"react-router": "react-router";
|
|
809
|
+
"tanstack-start": "tanstack-start";
|
|
810
|
+
next: "next";
|
|
811
|
+
nuxt: "nuxt";
|
|
812
|
+
"native-bare": "native-bare";
|
|
813
|
+
"native-uniwind": "native-uniwind";
|
|
814
|
+
"native-unistyles": "native-unistyles";
|
|
815
|
+
svelte: "svelte";
|
|
816
|
+
solid: "solid";
|
|
817
|
+
astro: "astro";
|
|
818
|
+
}>>>;
|
|
819
|
+
addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
820
|
+
none: "none";
|
|
821
|
+
pwa: "pwa";
|
|
822
|
+
tauri: "tauri";
|
|
823
|
+
electrobun: "electrobun";
|
|
824
|
+
starlight: "starlight";
|
|
825
|
+
biome: "biome";
|
|
826
|
+
lefthook: "lefthook";
|
|
827
|
+
husky: "husky";
|
|
828
|
+
mcp: "mcp";
|
|
829
|
+
turborepo: "turborepo";
|
|
830
|
+
nx: "nx";
|
|
831
|
+
"vite-plus": "vite-plus";
|
|
832
|
+
fumadocs: "fumadocs";
|
|
833
|
+
ultracite: "ultracite";
|
|
834
|
+
oxlint: "oxlint";
|
|
835
|
+
eslint: "eslint";
|
|
836
|
+
opentui: "opentui";
|
|
837
|
+
wxt: "wxt";
|
|
838
|
+
skills: "skills";
|
|
839
|
+
evlog: "evlog";
|
|
840
|
+
axiom: "axiom";
|
|
841
|
+
turnstile: "turnstile";
|
|
842
|
+
}>>>;
|
|
843
|
+
examples: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
844
|
+
none: "none";
|
|
845
|
+
todo: "todo";
|
|
846
|
+
ai: "ai";
|
|
847
|
+
}>>>;
|
|
848
|
+
git: z.ZodOptional<z.ZodBoolean>;
|
|
849
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
850
|
+
bun: "bun";
|
|
851
|
+
npm: "npm";
|
|
852
|
+
pnpm: "pnpm";
|
|
853
|
+
}>>;
|
|
854
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
855
|
+
dbSetup: z.ZodOptional<z.ZodEnum<{
|
|
856
|
+
none: "none";
|
|
857
|
+
turso: "turso";
|
|
858
|
+
neon: "neon";
|
|
859
|
+
"prisma-postgres": "prisma-postgres";
|
|
860
|
+
planetscale: "planetscale";
|
|
861
|
+
"mongodb-atlas": "mongodb-atlas";
|
|
862
|
+
supabase: "supabase";
|
|
863
|
+
d1: "d1";
|
|
864
|
+
docker: "docker";
|
|
865
|
+
aurora: "aurora";
|
|
866
|
+
}>>;
|
|
867
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
868
|
+
none: "none";
|
|
869
|
+
hono: "hono";
|
|
870
|
+
express: "express";
|
|
871
|
+
fastify: "fastify";
|
|
872
|
+
elysia: "elysia";
|
|
873
|
+
convex: "convex";
|
|
874
|
+
self: "self";
|
|
875
|
+
}>>;
|
|
876
|
+
runtime: z.ZodOptional<z.ZodEnum<{
|
|
877
|
+
none: "none";
|
|
878
|
+
bun: "bun";
|
|
879
|
+
node: "node";
|
|
880
|
+
workers: "workers";
|
|
881
|
+
lambda: "lambda";
|
|
882
|
+
}>>;
|
|
883
|
+
api: z.ZodOptional<z.ZodEnum<{
|
|
884
|
+
none: "none";
|
|
885
|
+
trpc: "trpc";
|
|
886
|
+
orpc: "orpc";
|
|
887
|
+
}>>;
|
|
888
|
+
webDeploy: z.ZodOptional<z.ZodEnum<{
|
|
889
|
+
none: "none";
|
|
890
|
+
prisma: "prisma";
|
|
891
|
+
docker: "docker";
|
|
892
|
+
cloudflare: "cloudflare";
|
|
893
|
+
aws: "aws";
|
|
894
|
+
vercel: "vercel";
|
|
895
|
+
}>>;
|
|
896
|
+
serverDeploy: z.ZodOptional<z.ZodEnum<{
|
|
897
|
+
none: "none";
|
|
898
|
+
prisma: "prisma";
|
|
899
|
+
docker: "docker";
|
|
900
|
+
cloudflare: "cloudflare";
|
|
901
|
+
aws: "aws";
|
|
902
|
+
vercel: "vercel";
|
|
903
|
+
}>>;
|
|
904
|
+
directoryConflict: z.ZodOptional<z.ZodEnum<{
|
|
905
|
+
merge: "merge";
|
|
906
|
+
overwrite: "overwrite";
|
|
907
|
+
increment: "increment";
|
|
908
|
+
error: "error";
|
|
909
|
+
}>>;
|
|
910
|
+
renderTitle: z.ZodOptional<z.ZodBoolean>;
|
|
911
|
+
disableAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
912
|
+
manualDb: z.ZodOptional<z.ZodBoolean>;
|
|
913
|
+
portless: z.ZodOptional<z.ZodBoolean>;
|
|
914
|
+
}, z.core.$strict>, import("@orpc/server").Schema<CreateProjectResult, CreateProjectResult>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
915
|
+
generate: {
|
|
916
|
+
package: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
917
|
+
name: z.ZodOptional<z.ZodString>;
|
|
918
|
+
envValidation: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
919
|
+
projectDir: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
920
|
+
install: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
921
|
+
dryRun: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
922
|
+
packageManager: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
923
|
+
bun: "bun";
|
|
924
|
+
npm: "npm";
|
|
925
|
+
pnpm: "pnpm";
|
|
926
|
+
}>>>;
|
|
927
|
+
disableAnalytics: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
928
|
+
}, z.core.$strict>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>>, TrpcCliMeta & Record<never, never>>;
|
|
929
|
+
app: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
930
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
931
|
+
frontend: "frontend";
|
|
932
|
+
backend: "backend";
|
|
933
|
+
mobile: "mobile";
|
|
934
|
+
}>>;
|
|
935
|
+
name: z.ZodOptional<z.ZodString>;
|
|
936
|
+
frontend: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
937
|
+
none: "none";
|
|
938
|
+
"tanstack-router": "tanstack-router";
|
|
939
|
+
"react-router": "react-router";
|
|
940
|
+
"tanstack-start": "tanstack-start";
|
|
941
|
+
next: "next";
|
|
942
|
+
nuxt: "nuxt";
|
|
943
|
+
"native-bare": "native-bare";
|
|
944
|
+
"native-uniwind": "native-uniwind";
|
|
945
|
+
"native-unistyles": "native-unistyles";
|
|
946
|
+
svelte: "svelte";
|
|
947
|
+
solid: "solid";
|
|
948
|
+
astro: "astro";
|
|
949
|
+
}>>>;
|
|
950
|
+
backend: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
951
|
+
none: "none";
|
|
952
|
+
hono: "hono";
|
|
953
|
+
express: "express";
|
|
954
|
+
fastify: "fastify";
|
|
955
|
+
elysia: "elysia";
|
|
956
|
+
convex: "convex";
|
|
957
|
+
self: "self";
|
|
958
|
+
}>>>;
|
|
959
|
+
projectDir: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
960
|
+
install: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
961
|
+
dryRun: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
962
|
+
packageManager: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
|
|
963
|
+
bun: "bun";
|
|
964
|
+
npm: "npm";
|
|
965
|
+
pnpm: "pnpm";
|
|
966
|
+
}>>>;
|
|
967
|
+
disableAnalytics: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
968
|
+
}, z.core.$strict>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>>, TrpcCliMeta & Record<never, never>>;
|
|
969
|
+
};
|
|
970
|
+
generateJson: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
971
|
+
name: z.ZodString;
|
|
972
|
+
envValidation: z.ZodOptional<z.ZodBoolean>;
|
|
973
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
974
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
975
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
976
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
977
|
+
bun: "bun";
|
|
978
|
+
npm: "npm";
|
|
979
|
+
pnpm: "pnpm";
|
|
980
|
+
}>>;
|
|
981
|
+
disableAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
982
|
+
target: z.ZodLiteral<"package">;
|
|
983
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
984
|
+
kind: z.ZodEnum<{
|
|
985
|
+
frontend: "frontend";
|
|
986
|
+
backend: "backend";
|
|
987
|
+
mobile: "mobile";
|
|
988
|
+
}>;
|
|
989
|
+
name: z.ZodString;
|
|
990
|
+
frontend: z.ZodOptional<z.ZodEnum<{
|
|
991
|
+
none: "none";
|
|
992
|
+
"tanstack-router": "tanstack-router";
|
|
993
|
+
"react-router": "react-router";
|
|
994
|
+
"tanstack-start": "tanstack-start";
|
|
995
|
+
next: "next";
|
|
996
|
+
nuxt: "nuxt";
|
|
997
|
+
"native-bare": "native-bare";
|
|
998
|
+
"native-uniwind": "native-uniwind";
|
|
999
|
+
"native-unistyles": "native-unistyles";
|
|
1000
|
+
svelte: "svelte";
|
|
1001
|
+
solid: "solid";
|
|
1002
|
+
astro: "astro";
|
|
1003
|
+
}>>;
|
|
1004
|
+
backend: z.ZodOptional<z.ZodEnum<{
|
|
1005
|
+
none: "none";
|
|
1006
|
+
hono: "hono";
|
|
1007
|
+
express: "express";
|
|
1008
|
+
fastify: "fastify";
|
|
1009
|
+
elysia: "elysia";
|
|
1010
|
+
convex: "convex";
|
|
1011
|
+
self: "self";
|
|
1012
|
+
}>>;
|
|
1013
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
1014
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
1015
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
1016
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1017
|
+
bun: "bun";
|
|
1018
|
+
npm: "npm";
|
|
1019
|
+
pnpm: "pnpm";
|
|
1020
|
+
}>>;
|
|
1021
|
+
disableAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
1022
|
+
target: z.ZodLiteral<"app">;
|
|
1023
|
+
}, z.core.$strict>], "target">, import("@orpc/server").Schema<GenerateAppResult | GeneratePackageResult, GenerateAppResult | GeneratePackageResult>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1024
|
+
schema: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
1025
|
+
name: z.ZodDefault<z.ZodEnum<{
|
|
1026
|
+
addInput: "addInput";
|
|
1027
|
+
addonOptions: "addonOptions";
|
|
1028
|
+
addons: "addons";
|
|
1029
|
+
all: "all";
|
|
1030
|
+
api: "api";
|
|
1031
|
+
auth: "auth";
|
|
1032
|
+
backend: "backend";
|
|
1033
|
+
betterTStackConfig: "betterTStackConfig";
|
|
1034
|
+
betterTStackConfigFile: "betterTStackConfigFile";
|
|
1035
|
+
cli: "cli";
|
|
1036
|
+
createInput: "createInput";
|
|
1037
|
+
database: "database";
|
|
1038
|
+
databaseSetup: "databaseSetup";
|
|
1039
|
+
dbSetupOptions: "dbSetupOptions";
|
|
1040
|
+
directoryConflict: "directoryConflict";
|
|
1041
|
+
emailDeploy: "emailDeploy";
|
|
1042
|
+
emailRenderer: "emailRenderer";
|
|
1043
|
+
examples: "examples";
|
|
1044
|
+
frontend: "frontend";
|
|
1045
|
+
generateInput: "generateInput";
|
|
1046
|
+
initResult: "initResult";
|
|
1047
|
+
orm: "orm";
|
|
1048
|
+
packageManager: "packageManager";
|
|
1049
|
+
payments: "payments";
|
|
1050
|
+
projectConfig: "projectConfig";
|
|
1051
|
+
runtime: "runtime";
|
|
1052
|
+
scaffoldAppInput: "scaffoldAppInput";
|
|
1053
|
+
scaffoldPackageInput: "scaffoldPackageInput";
|
|
1054
|
+
serverDeploy: "serverDeploy";
|
|
1055
|
+
shadcnConfig: "shadcnConfig";
|
|
1056
|
+
template: "template";
|
|
1057
|
+
webDeploy: "webDeploy";
|
|
1058
|
+
}>>;
|
|
1059
|
+
}, z.core.$strip>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1060
|
+
sponsors: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1061
|
+
docs: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1062
|
+
builder: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, import("@orpc/server").Schema<unknown, unknown>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1063
|
+
add: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
1064
|
+
addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1065
|
+
none: "none";
|
|
1066
|
+
pwa: "pwa";
|
|
1067
|
+
tauri: "tauri";
|
|
1068
|
+
electrobun: "electrobun";
|
|
1069
|
+
starlight: "starlight";
|
|
1070
|
+
biome: "biome";
|
|
1071
|
+
lefthook: "lefthook";
|
|
1072
|
+
husky: "husky";
|
|
1073
|
+
mcp: "mcp";
|
|
1074
|
+
turborepo: "turborepo";
|
|
1075
|
+
nx: "nx";
|
|
1076
|
+
"vite-plus": "vite-plus";
|
|
1077
|
+
fumadocs: "fumadocs";
|
|
1078
|
+
ultracite: "ultracite";
|
|
1079
|
+
oxlint: "oxlint";
|
|
1080
|
+
eslint: "eslint";
|
|
1081
|
+
opentui: "opentui";
|
|
1082
|
+
wxt: "wxt";
|
|
1083
|
+
skills: "skills";
|
|
1084
|
+
evlog: "evlog";
|
|
1085
|
+
axiom: "axiom";
|
|
1086
|
+
turnstile: "turnstile";
|
|
1087
|
+
}>>>;
|
|
1088
|
+
package: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
envValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1090
|
+
install: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1091
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1092
|
+
bun: "bun";
|
|
1093
|
+
npm: "npm";
|
|
1094
|
+
pnpm: "pnpm";
|
|
1095
|
+
}>>;
|
|
1096
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
dryRun: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1098
|
+
disableAnalytics: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1099
|
+
}, z.core.$strip>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1100
|
+
addJson: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
1101
|
+
shadcn: z.ZodOptional<z.ZodObject<{
|
|
1102
|
+
preset: z.ZodOptional<z.ZodString>;
|
|
1103
|
+
base: z.ZodOptional<z.ZodEnum<{
|
|
1104
|
+
baseui: "baseui";
|
|
1105
|
+
radixui: "radixui";
|
|
1106
|
+
"react-aria": "react-aria";
|
|
1107
|
+
}>>;
|
|
1108
|
+
rtl: z.ZodOptional<z.ZodBoolean>;
|
|
1109
|
+
pointer: z.ZodOptional<z.ZodBoolean>;
|
|
1110
|
+
}, z.core.$strict>>;
|
|
1111
|
+
addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1112
|
+
none: "none";
|
|
1113
|
+
pwa: "pwa";
|
|
1114
|
+
tauri: "tauri";
|
|
1115
|
+
electrobun: "electrobun";
|
|
1116
|
+
starlight: "starlight";
|
|
1117
|
+
biome: "biome";
|
|
1118
|
+
lefthook: "lefthook";
|
|
1119
|
+
husky: "husky";
|
|
1120
|
+
mcp: "mcp";
|
|
1121
|
+
turborepo: "turborepo";
|
|
1122
|
+
nx: "nx";
|
|
1123
|
+
"vite-plus": "vite-plus";
|
|
1124
|
+
fumadocs: "fumadocs";
|
|
1125
|
+
ultracite: "ultracite";
|
|
1126
|
+
oxlint: "oxlint";
|
|
1127
|
+
eslint: "eslint";
|
|
1128
|
+
opentui: "opentui";
|
|
1129
|
+
wxt: "wxt";
|
|
1130
|
+
skills: "skills";
|
|
1131
|
+
evlog: "evlog";
|
|
1132
|
+
axiom: "axiom";
|
|
1133
|
+
turnstile: "turnstile";
|
|
1134
|
+
}>>>;
|
|
1135
|
+
package: z.ZodOptional<z.ZodString>;
|
|
1136
|
+
envValidation: z.ZodOptional<z.ZodBoolean>;
|
|
1137
|
+
addonOptions: z.ZodOptional<z.ZodObject<{
|
|
1138
|
+
wxt: z.ZodOptional<z.ZodObject<{
|
|
1139
|
+
template: z.ZodEnum<{
|
|
1140
|
+
svelte: "svelte";
|
|
1141
|
+
solid: "solid";
|
|
1142
|
+
vanilla: "vanilla";
|
|
1143
|
+
vue: "vue";
|
|
1144
|
+
react: "react";
|
|
1145
|
+
}>;
|
|
1146
|
+
devPort: z.ZodOptional<z.ZodNumber>;
|
|
1147
|
+
}, z.core.$strict>>;
|
|
1148
|
+
fumadocs: z.ZodOptional<z.ZodObject<{
|
|
1149
|
+
template: z.ZodEnum<{
|
|
1150
|
+
"react-router": "react-router";
|
|
1151
|
+
"tanstack-start": "tanstack-start";
|
|
1152
|
+
astro: "astro";
|
|
1153
|
+
"next-mdx": "next-mdx";
|
|
1154
|
+
"next-mdx-static": "next-mdx-static";
|
|
1155
|
+
waku: "waku";
|
|
1156
|
+
"react-router-spa": "react-router-spa";
|
|
1157
|
+
"tanstack-start-spa": "tanstack-start-spa";
|
|
1158
|
+
}>;
|
|
1159
|
+
devPort: z.ZodOptional<z.ZodNumber>;
|
|
1160
|
+
search: z.ZodOptional<z.ZodEnum<{
|
|
1161
|
+
orama: "orama";
|
|
1162
|
+
"orama-cloud": "orama-cloud";
|
|
1163
|
+
}>>;
|
|
1164
|
+
ogImage: z.ZodOptional<z.ZodEnum<{
|
|
1165
|
+
"next-og": "next-og";
|
|
1166
|
+
takumi: "takumi";
|
|
1167
|
+
}>>;
|
|
1168
|
+
aiChat: z.ZodOptional<z.ZodEnum<{
|
|
1169
|
+
openrouter: "openrouter";
|
|
1170
|
+
llmgateway: "llmgateway";
|
|
1171
|
+
inkeep: "inkeep";
|
|
1172
|
+
}>>;
|
|
1173
|
+
}, z.core.$strict>>;
|
|
1174
|
+
opentui: z.ZodOptional<z.ZodObject<{
|
|
1175
|
+
template: z.ZodEnum<{
|
|
1176
|
+
solid: "solid";
|
|
1177
|
+
react: "react";
|
|
1178
|
+
core: "core";
|
|
1179
|
+
}>;
|
|
1180
|
+
}, z.core.$strict>>;
|
|
1181
|
+
mcp: z.ZodOptional<z.ZodObject<{
|
|
1182
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1183
|
+
project: "project";
|
|
1184
|
+
global: "global";
|
|
1185
|
+
}>>;
|
|
1186
|
+
servers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1187
|
+
convex: "convex";
|
|
1188
|
+
nx: "nx";
|
|
1189
|
+
neon: "neon";
|
|
1190
|
+
planetscale: "planetscale";
|
|
1191
|
+
supabase: "supabase";
|
|
1192
|
+
"better-auth": "better-auth";
|
|
1193
|
+
clerk: "clerk";
|
|
1194
|
+
polar: "polar";
|
|
1195
|
+
"better-t-stack": "better-t-stack";
|
|
1196
|
+
context7: "context7";
|
|
1197
|
+
"cloudflare-docs": "cloudflare-docs";
|
|
1198
|
+
shadcn: "shadcn";
|
|
1199
|
+
"next-devtools": "next-devtools";
|
|
1200
|
+
"nuxt-docs": "nuxt-docs";
|
|
1201
|
+
"nuxt-ui-docs": "nuxt-ui-docs";
|
|
1202
|
+
"svelte-docs": "svelte-docs";
|
|
1203
|
+
"astro-docs": "astro-docs";
|
|
1204
|
+
expo: "expo";
|
|
1205
|
+
}>>>;
|
|
1206
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1207
|
+
antigravity: "antigravity";
|
|
1208
|
+
cline: "cline";
|
|
1209
|
+
"cline-cli": "cline-cli";
|
|
1210
|
+
cursor: "cursor";
|
|
1211
|
+
"claude-code": "claude-code";
|
|
1212
|
+
codex: "codex";
|
|
1213
|
+
opencode: "opencode";
|
|
1214
|
+
"gemini-cli": "gemini-cli";
|
|
1215
|
+
"github-copilot-cli": "github-copilot-cli";
|
|
1216
|
+
"grok-build": "grok-build";
|
|
1217
|
+
mcporter: "mcporter";
|
|
1218
|
+
vscode: "vscode";
|
|
1219
|
+
windsurf: "windsurf";
|
|
1220
|
+
zed: "zed";
|
|
1221
|
+
"claude-desktop": "claude-desktop";
|
|
1222
|
+
goose: "goose";
|
|
1223
|
+
fx: "fx";
|
|
1224
|
+
"kilo-code": "kilo-code";
|
|
1225
|
+
"kimi-code": "kimi-code";
|
|
1226
|
+
"kiro-cli": "kiro-cli";
|
|
1227
|
+
}>>>;
|
|
1228
|
+
}, z.core.$strict>>;
|
|
1229
|
+
skills: z.ZodOptional<z.ZodObject<{
|
|
1230
|
+
scope: z.ZodOptional<z.ZodEnum<{
|
|
1231
|
+
project: "project";
|
|
1232
|
+
global: "global";
|
|
1233
|
+
}>>;
|
|
1234
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1235
|
+
antigravity: "antigravity";
|
|
1236
|
+
cline: "cline";
|
|
1237
|
+
cursor: "cursor";
|
|
1238
|
+
"claude-code": "claude-code";
|
|
1239
|
+
codex: "codex";
|
|
1240
|
+
opencode: "opencode";
|
|
1241
|
+
"gemini-cli": "gemini-cli";
|
|
1242
|
+
windsurf: "windsurf";
|
|
1243
|
+
zed: "zed";
|
|
1244
|
+
goose: "goose";
|
|
1245
|
+
"kiro-cli": "kiro-cli";
|
|
1246
|
+
universal: "universal";
|
|
1247
|
+
adal: "adal";
|
|
1248
|
+
"aider-desk": "aider-desk";
|
|
1249
|
+
amp: "amp";
|
|
1250
|
+
"antigravity-cli": "antigravity-cli";
|
|
1251
|
+
astrbot: "astrbot";
|
|
1252
|
+
augment: "augment";
|
|
1253
|
+
"autohand-code": "autohand-code";
|
|
1254
|
+
bob: "bob";
|
|
1255
|
+
"codearts-agent": "codearts-agent";
|
|
1256
|
+
codebuddy: "codebuddy";
|
|
1257
|
+
codemaker: "codemaker";
|
|
1258
|
+
codestudio: "codestudio";
|
|
1259
|
+
"command-code": "command-code";
|
|
1260
|
+
continue: "continue";
|
|
1261
|
+
cortex: "cortex";
|
|
1262
|
+
crush: "crush";
|
|
1263
|
+
deepagents: "deepagents";
|
|
1264
|
+
devin: "devin";
|
|
1265
|
+
dexto: "dexto";
|
|
1266
|
+
droid: "droid";
|
|
1267
|
+
eve: "eve";
|
|
1268
|
+
firebender: "firebender";
|
|
1269
|
+
forgecode: "forgecode";
|
|
1270
|
+
"github-copilot": "github-copilot";
|
|
1271
|
+
grok: "grok";
|
|
1272
|
+
"hermes-agent": "hermes-agent";
|
|
1273
|
+
"iflow-cli": "iflow-cli";
|
|
1274
|
+
"inference-sh": "inference-sh";
|
|
1275
|
+
jazz: "jazz";
|
|
1276
|
+
junie: "junie";
|
|
1277
|
+
kilo: "kilo";
|
|
1278
|
+
kimchi: "kimchi";
|
|
1279
|
+
"kimi-code-cli": "kimi-code-cli";
|
|
1280
|
+
kode: "kode";
|
|
1281
|
+
lingma: "lingma";
|
|
1282
|
+
loaf: "loaf";
|
|
1283
|
+
mcpjam: "mcpjam";
|
|
1284
|
+
"minimax-code": "minimax-code";
|
|
1285
|
+
"mistral-vibe": "mistral-vibe";
|
|
1286
|
+
moxby: "moxby";
|
|
1287
|
+
mux: "mux";
|
|
1288
|
+
neovate: "neovate";
|
|
1289
|
+
ona: "ona";
|
|
1290
|
+
clawdbot: "clawdbot";
|
|
1291
|
+
openclaw: "openclaw";
|
|
1292
|
+
openhands: "openhands";
|
|
1293
|
+
pi: "pi";
|
|
1294
|
+
pochi: "pochi";
|
|
1295
|
+
"posit-assistant": "posit-assistant";
|
|
1296
|
+
promptscript: "promptscript";
|
|
1297
|
+
qoder: "qoder";
|
|
1298
|
+
"qoder-cn": "qoder-cn";
|
|
1299
|
+
"qwen-code": "qwen-code";
|
|
1300
|
+
reasonix: "reasonix";
|
|
1301
|
+
replit: "replit";
|
|
1302
|
+
roo: "roo";
|
|
1303
|
+
rovodev: "rovodev";
|
|
1304
|
+
"tabnine-cli": "tabnine-cli";
|
|
1305
|
+
terramind: "terramind";
|
|
1306
|
+
tinycloud: "tinycloud";
|
|
1307
|
+
trae: "trae";
|
|
1308
|
+
"trae-cn": "trae-cn";
|
|
1309
|
+
warp: "warp";
|
|
1310
|
+
zcode: "zcode";
|
|
1311
|
+
zencoder: "zencoder";
|
|
1312
|
+
zenflow: "zenflow";
|
|
1313
|
+
}>>>;
|
|
1314
|
+
selections: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1315
|
+
source: z.ZodEnum<{
|
|
1316
|
+
"vercel-labs/agent-skills": "vercel-labs/agent-skills";
|
|
1317
|
+
"vercel/ai": "vercel/ai";
|
|
1318
|
+
"vercel/turborepo": "vercel/turborepo";
|
|
1319
|
+
"honojs/skills": "honojs/skills";
|
|
1320
|
+
"vercel/next.js": "vercel/next.js";
|
|
1321
|
+
"nuxt/ui": "nuxt/ui";
|
|
1322
|
+
"heroui-inc/heroui": "heroui-inc/heroui";
|
|
1323
|
+
"shadcn/ui": "shadcn/ui";
|
|
1324
|
+
"better-auth/skills": "better-auth/skills";
|
|
1325
|
+
"clerk/skills": "clerk/skills";
|
|
1326
|
+
"neondatabase/agent-skills": "neondatabase/agent-skills";
|
|
1327
|
+
"supabase/agent-skills": "supabase/agent-skills";
|
|
1328
|
+
"planetscale/database-skills": "planetscale/database-skills";
|
|
1329
|
+
"expo/skills": "expo/skills";
|
|
1330
|
+
"prisma/skills": "prisma/skills";
|
|
1331
|
+
"elysiajs/skills": "elysiajs/skills";
|
|
1332
|
+
"waynesutton/convexskills": "waynesutton/convexskills";
|
|
1333
|
+
"msmps/opentui-skill": "msmps/opentui-skill";
|
|
1334
|
+
"haydenbleasel/ultracite": "haydenbleasel/ultracite";
|
|
1335
|
+
"https://www.evlog.dev": "https://www.evlog.dev";
|
|
1336
|
+
}>;
|
|
1337
|
+
skills: z.ZodArray<z.ZodString>;
|
|
1338
|
+
}, z.core.$strict>>>;
|
|
1339
|
+
}, z.core.$strict>>;
|
|
1340
|
+
ultracite: z.ZodOptional<z.ZodObject<{
|
|
1341
|
+
linter: z.ZodOptional<z.ZodEnum<{
|
|
1342
|
+
biome: "biome";
|
|
1343
|
+
oxlint: "oxlint";
|
|
1344
|
+
}>>;
|
|
1345
|
+
editors: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1346
|
+
void: "void";
|
|
1347
|
+
antigravity: "antigravity";
|
|
1348
|
+
cursor: "cursor";
|
|
1349
|
+
vscode: "vscode";
|
|
1350
|
+
windsurf: "windsurf";
|
|
1351
|
+
zed: "zed";
|
|
1352
|
+
universal: "universal";
|
|
1353
|
+
bob: "bob";
|
|
1354
|
+
codebuddy: "codebuddy";
|
|
1355
|
+
trae: "trae";
|
|
1356
|
+
kiro: "kiro";
|
|
1357
|
+
}>>>;
|
|
1358
|
+
agents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1359
|
+
vercel: "vercel";
|
|
1360
|
+
cline: "cline";
|
|
1361
|
+
codex: "codex";
|
|
1362
|
+
opencode: "opencode";
|
|
1363
|
+
goose: "goose";
|
|
1364
|
+
"kilo-code": "kilo-code";
|
|
1365
|
+
universal: "universal";
|
|
1366
|
+
adal: "adal";
|
|
1367
|
+
amp: "amp";
|
|
1368
|
+
bob: "bob";
|
|
1369
|
+
continue: "continue";
|
|
1370
|
+
crush: "crush";
|
|
1371
|
+
deepagents: "deepagents";
|
|
1372
|
+
devin: "devin";
|
|
1373
|
+
droid: "droid";
|
|
1374
|
+
firebender: "firebender";
|
|
1375
|
+
junie: "junie";
|
|
1376
|
+
mcpjam: "mcpjam";
|
|
1377
|
+
"mistral-vibe": "mistral-vibe";
|
|
1378
|
+
mux: "mux";
|
|
1379
|
+
ona: "ona";
|
|
1380
|
+
openclaw: "openclaw";
|
|
1381
|
+
pi: "pi";
|
|
1382
|
+
qoder: "qoder";
|
|
1383
|
+
replit: "replit";
|
|
1384
|
+
warp: "warp";
|
|
1385
|
+
zencoder: "zencoder";
|
|
1386
|
+
claude: "claude";
|
|
1387
|
+
jules: "jules";
|
|
1388
|
+
lovable: "lovable";
|
|
1389
|
+
"snowflake-cortex": "snowflake-cortex";
|
|
1390
|
+
"kimi-cli": "kimi-cli";
|
|
1391
|
+
copilot: "copilot";
|
|
1392
|
+
aider: "aider";
|
|
1393
|
+
"firebase-studio": "firebase-studio";
|
|
1394
|
+
"open-hands": "open-hands";
|
|
1395
|
+
gemini: "gemini";
|
|
1396
|
+
augmentcode: "augmentcode";
|
|
1397
|
+
"roo-code": "roo-code";
|
|
1398
|
+
qwen: "qwen";
|
|
1399
|
+
"amazon-q-cli": "amazon-q-cli";
|
|
1400
|
+
"cursor-cli": "cursor-cli";
|
|
1401
|
+
}>>>;
|
|
1402
|
+
hooks: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1403
|
+
cursor: "cursor";
|
|
1404
|
+
windsurf: "windsurf";
|
|
1405
|
+
codebuddy: "codebuddy";
|
|
1406
|
+
claude: "claude";
|
|
1407
|
+
copilot: "copilot";
|
|
1408
|
+
}>>>;
|
|
1409
|
+
}, z.core.$strict>>;
|
|
1410
|
+
}, z.core.$strict>>;
|
|
1411
|
+
emailRenderer: z.ZodOptional<z.ZodEnum<{
|
|
1412
|
+
none: "none";
|
|
1413
|
+
"react-email": "react-email";
|
|
1414
|
+
}>>;
|
|
1415
|
+
emailDeploy: z.ZodOptional<z.ZodEnum<{
|
|
1416
|
+
none: "none";
|
|
1417
|
+
cloudflare: "cloudflare";
|
|
1418
|
+
ses: "ses";
|
|
1419
|
+
}>>;
|
|
1420
|
+
webDeploy: z.ZodOptional<z.ZodEnum<{
|
|
1421
|
+
none: "none";
|
|
1422
|
+
prisma: "prisma";
|
|
1423
|
+
docker: "docker";
|
|
1424
|
+
cloudflare: "cloudflare";
|
|
1425
|
+
aws: "aws";
|
|
1426
|
+
vercel: "vercel";
|
|
1427
|
+
}>>;
|
|
1428
|
+
serverDeploy: z.ZodOptional<z.ZodEnum<{
|
|
1429
|
+
none: "none";
|
|
1430
|
+
prisma: "prisma";
|
|
1431
|
+
docker: "docker";
|
|
1432
|
+
cloudflare: "cloudflare";
|
|
1433
|
+
aws: "aws";
|
|
1434
|
+
vercel: "vercel";
|
|
1435
|
+
}>>;
|
|
1436
|
+
projectDir: z.ZodOptional<z.ZodString>;
|
|
1437
|
+
install: z.ZodOptional<z.ZodBoolean>;
|
|
1438
|
+
packageManager: z.ZodOptional<z.ZodEnum<{
|
|
1439
|
+
bun: "bun";
|
|
1440
|
+
npm: "npm";
|
|
1441
|
+
pnpm: "pnpm";
|
|
1442
|
+
}>>;
|
|
1443
|
+
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
1444
|
+
disableAnalytics: z.ZodOptional<z.ZodBoolean>;
|
|
1445
|
+
}, z.core.$strict>, import("@orpc/server").Schema<AddResult, AddResult>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1446
|
+
history: import("@orpc/server").Procedure<import("@orpc/server").MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodObject<{
|
|
1447
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1448
|
+
clear: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1449
|
+
json: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1450
|
+
}, z.core.$strip>, import("@orpc/server").Schema<void, void>, import("@orpc/server").MergedErrorMap<Record<never, never>, Record<never, never>>, TrpcCliMeta & Record<never, never>>;
|
|
1451
|
+
};
|
|
1452
|
+
export declare function createBtsCli(): TrpcCli;
|
|
1453
|
+
/**
|
|
1454
|
+
* Error types that can be returned from create/createVirtual
|
|
1455
|
+
*/
|
|
1456
|
+
export type CreateError = UserCancelledError | CLIError | DirectoryConflictError | ProjectCreationError;
|
|
1457
|
+
/**
|
|
1458
|
+
* Programmatic API to create a new Better-T-Stack project.
|
|
1459
|
+
* Returns a Result type - no console output, no interactive prompts.
|
|
1460
|
+
*
|
|
1461
|
+
* @example
|
|
1462
|
+
* ```typescript
|
|
1463
|
+
* import { create, Result } from "create-better-t-stack";
|
|
1464
|
+
*
|
|
1465
|
+
* const result = await create("my-app", {
|
|
1466
|
+
* frontend: ["tanstack-router"],
|
|
1467
|
+
* backend: "hono",
|
|
1468
|
+
* runtime: "bun",
|
|
1469
|
+
* database: "sqlite",
|
|
1470
|
+
* orm: "drizzle",
|
|
1471
|
+
* });
|
|
1472
|
+
*
|
|
1473
|
+
* result.match({
|
|
1474
|
+
* ok: (data) => console.log(`Project created at: ${data.projectDirectory}`),
|
|
1475
|
+
* err: (error) => console.error(`Failed: ${error.message}`),
|
|
1476
|
+
* });
|
|
1477
|
+
*
|
|
1478
|
+
* // Or use unwrapOr for a default value
|
|
1479
|
+
* const data = result.unwrapOr(null);
|
|
1480
|
+
* ```
|
|
1481
|
+
*/
|
|
1482
|
+
export declare function create(projectName?: string, options?: Partial<types_d_exports.CreateInput>): Promise<Result$1<types_d_exports.InitResult, CreateError>>;
|
|
1483
|
+
export declare function sponsors(): Promise<void>;
|
|
1484
|
+
export declare function docs(): Promise<void>;
|
|
1485
|
+
export declare function builder(): Promise<void>;
|
|
1486
|
+
/**
|
|
1487
|
+
* Programmatic API to generate a project in-memory (virtual filesystem).
|
|
1488
|
+
* Returns a Result with a VirtualFileTree without writing to disk.
|
|
1489
|
+
* Useful for web previews and testing.
|
|
1490
|
+
*
|
|
1491
|
+
* @example
|
|
1492
|
+
* ```typescript
|
|
1493
|
+
* import { createVirtual, EMBEDDED_TEMPLATES, Result } from "create-better-t-stack";
|
|
1494
|
+
*
|
|
1495
|
+
* const result = await createVirtual({
|
|
1496
|
+
* frontend: ["tanstack-router"],
|
|
1497
|
+
* backend: "hono",
|
|
1498
|
+
* runtime: "bun",
|
|
1499
|
+
* database: "sqlite",
|
|
1500
|
+
* orm: "drizzle",
|
|
1501
|
+
* });
|
|
1502
|
+
*
|
|
1503
|
+
* result.match({
|
|
1504
|
+
* ok: (tree) => console.log(`Generated ${tree.fileCount} files`),
|
|
1505
|
+
* err: (error) => console.error(`Failed: ${error.message}`),
|
|
1506
|
+
* });
|
|
1507
|
+
* ```
|
|
1508
|
+
*/
|
|
1509
|
+
export declare function createVirtual(options: Partial<Omit<types_d_exports.ProjectConfig, "projectDir" | "relativePath">>): Promise<Result$1<VirtualFileTree$1, GeneratorError$1>>;
|
|
1510
|
+
export type AddOptions = Pick<types_d_exports.AddInput, "addons" | "addonOptions" | "package" | "envValidation" | "install" | "packageManager" | "projectDir" | "dryRun" | "disableAnalytics">;
|
|
1511
|
+
/**
|
|
1512
|
+
* Programmatic API to add addons or a workspace package to an existing Better-T-Stack project.
|
|
1513
|
+
*
|
|
1514
|
+
* @example
|
|
1515
|
+
* ```typescript
|
|
1516
|
+
* import { add } from "create-better-t-stack";
|
|
1517
|
+
*
|
|
1518
|
+
* const result = await add({
|
|
1519
|
+
* addons: ["biome", "husky"],
|
|
1520
|
+
* install: true,
|
|
1521
|
+
* });
|
|
1522
|
+
*
|
|
1523
|
+
* if (result.success) {
|
|
1524
|
+
* console.log(`Added: ${result.addedAddons.join(", ")}`);
|
|
1525
|
+
* }
|
|
1526
|
+
* ```
|
|
1527
|
+
*/
|
|
1528
|
+
export declare function add(options?: AddOptions): Promise<AddResult>;
|
|
1529
|
+
/**
|
|
1530
|
+
* Programmatic API to generate a workspace package in an existing Better-T-Stack project.
|
|
1531
|
+
* Returns a structured result - no console output, no interactive prompts.
|
|
1532
|
+
*
|
|
1533
|
+
* @example
|
|
1534
|
+
* ```typescript
|
|
1535
|
+
* import { generatePackage } from "create-better-t-stack";
|
|
1536
|
+
*
|
|
1537
|
+
* const result = await generatePackage({ projectDir: "./my-app", name: "shared" });
|
|
1538
|
+
*
|
|
1539
|
+
* if (result.success) {
|
|
1540
|
+
* console.log(`Generated ${result.name} at ${result.projectDir}`);
|
|
1541
|
+
* }
|
|
1542
|
+
* ```
|
|
1543
|
+
*/
|
|
1544
|
+
export declare function generatePackage(options: types_d_exports.ScaffoldPackageInput): Promise<GeneratePackageResult>;
|
|
1545
|
+
/**
|
|
1546
|
+
* Programmatic API to generate an app in an existing Better-T-Stack project.
|
|
1547
|
+
* Returns a structured result - no console output, no interactive prompts.
|
|
1548
|
+
*
|
|
1549
|
+
* @example
|
|
1550
|
+
* ```typescript
|
|
1551
|
+
* import { generateApp } from "create-better-t-stack";
|
|
1552
|
+
*
|
|
1553
|
+
* const result = await generateApp({
|
|
1554
|
+
* projectDir: "./my-app",
|
|
1555
|
+
* kind: "frontend",
|
|
1556
|
+
* name: "admin",
|
|
1557
|
+
* frontend: "next",
|
|
1558
|
+
* });
|
|
1559
|
+
*
|
|
1560
|
+
* if (result.success) {
|
|
1561
|
+
* console.log(`Generated ${result.name} at ${result.projectDir}`);
|
|
1562
|
+
* }
|
|
1563
|
+
* ```
|
|
1564
|
+
*/
|
|
1565
|
+
export declare function generateApp(options: types_d_exports.ScaffoldAppInput): Promise<GenerateAppResult>;
|
|
1566
|
+
type API = import__better_t_stack_types.API;
|
|
1567
|
+
type AddonOptions = import__better_t_stack_types.AddonOptions;
|
|
1568
|
+
type Addons = import__better_t_stack_types.Addons;
|
|
1569
|
+
type Auth = import__better_t_stack_types.Auth;
|
|
1570
|
+
type Backend = import__better_t_stack_types.Backend;
|
|
1571
|
+
type BetterTStackConfig = import__better_t_stack_types.BetterTStackConfig;
|
|
1572
|
+
type CreateInput = import__better_t_stack_types.CreateInput;
|
|
1573
|
+
type Database = import__better_t_stack_types.Database;
|
|
1574
|
+
type DatabaseSetup = import__better_t_stack_types.DatabaseSetup;
|
|
1575
|
+
type DbSetupOptions = import__better_t_stack_types.DbSetupOptions;
|
|
1576
|
+
type DirectoryConflict = import__better_t_stack_types.DirectoryConflict;
|
|
1577
|
+
type EmailDeploy = import__better_t_stack_types.EmailDeploy;
|
|
1578
|
+
type EmailRenderer = import__better_t_stack_types.EmailRenderer;
|
|
1579
|
+
type Examples = import__better_t_stack_types.Examples;
|
|
1580
|
+
type Frontend = import__better_t_stack_types.Frontend;
|
|
1581
|
+
type GenerateInput = import__better_t_stack_types.GenerateInput;
|
|
1582
|
+
type InitResult = import__better_t_stack_types.InitResult;
|
|
1583
|
+
type ORM = import__better_t_stack_types.ORM;
|
|
1584
|
+
type PackageManager = import__better_t_stack_types.PackageManager;
|
|
1585
|
+
type Payments = import__better_t_stack_types.Payments;
|
|
1586
|
+
type ProjectConfig = import__better_t_stack_types.ProjectConfig;
|
|
1587
|
+
type Runtime = import__better_t_stack_types.Runtime;
|
|
1588
|
+
type ScaffoldAppInput = import__better_t_stack_types.ScaffoldAppInput;
|
|
1589
|
+
type ScaffoldPackageInput = import__better_t_stack_types.ScaffoldPackageInput;
|
|
1590
|
+
type ServerDeploy = import__better_t_stack_types.ServerDeploy;
|
|
1591
|
+
type Template = import__better_t_stack_types.Template;
|
|
1592
|
+
type WebDeploy = import__better_t_stack_types.WebDeploy;
|
|
1593
|
+
export { type API, type AddResult, type AddonOptions, type Addons, type Auth, type Backend, type BetterTStackConfig, type CreateInput, type Database, type DatabaseSetup, type DbSetupOptions, type DirectoryConflict, EMBEDDED_TEMPLATES, type EmailDeploy, type EmailRenderer, type Examples, type Frontend, type GenerateAppResult, type GenerateInput, type GeneratePackageResult, GeneratorError, type GeneratorOptions, type InitResult, type ORM, type PackageManager, type Payments, type ProjectConfig, type ProjectLauncher, Result, type Runtime, type ScaffoldAppInput, type ScaffoldPackageInput, type ServerDeploy, TEMPLATE_COUNT, type Template, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, generate };
|