create-better-t-stack 3.37.0 → 3.38.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/cli.d.mts +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.d.mts +86 -91
- package/dist/index.mjs +1 -1
- package/dist/{src-IZv104V2.mjs → src-ihjK9T9S.mjs} +524 -168
- package/package.json +14 -14
- /package/dist/{chunk-BtN16TXe.mjs → rolldown-runtime-yhw22V8Z.mjs} +0 -0
package/dist/cli.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export {}
|
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as types_exports, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as getLatestCLIVersion } from "./src-
|
|
2
|
+
import { _ as types_exports, i as SchemaNameSchema, l as create, m as getSchemaResult, s as add, u as createBtsCli, v as getLatestCLIVersion } from "./src-ihjK9T9S.mjs";
|
|
3
3
|
import z from "zod";
|
|
4
4
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
5
5
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
package/dist/index.d.mts
CHANGED
|
@@ -1,124 +1,94 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import * as _$_trpc_server0 from "@trpc/server";
|
|
3
|
-
import * as _$better_result0 from "better-result";
|
|
4
2
|
import { Result, Result as Result$1 } from "better-result";
|
|
5
3
|
import { TrpcCliMeta, createCli } from "trpc-cli";
|
|
6
4
|
import z from "zod";
|
|
7
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";
|
|
8
|
-
|
|
9
|
-
//#region src/types.d.ts
|
|
10
|
-
|
|
11
6
|
import * as import__better_t_stack_types from "@better-t-stack/types";
|
|
12
7
|
//#endregion
|
|
13
|
-
//#region src/helpers/core/command-handlers.d.ts
|
|
14
|
-
/**
|
|
15
|
-
* Result type for project creation
|
|
16
|
-
*/
|
|
17
|
-
interface CreateProjectResult {
|
|
18
|
-
success: boolean;
|
|
19
|
-
projectConfig: types_d_exports.ProjectConfig;
|
|
20
|
-
reproducibleCommand: string;
|
|
21
|
-
timeScaffolded: string;
|
|
22
|
-
elapsedTimeMs: number;
|
|
23
|
-
projectDirectory: string;
|
|
24
|
-
relativePath: string;
|
|
25
|
-
error?: string;
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/helpers/core/add-handler.d.ts
|
|
29
|
-
interface AddResult {
|
|
30
|
-
success: boolean;
|
|
31
|
-
addedAddons: types_d_exports.Addons[];
|
|
32
|
-
projectDir: string;
|
|
33
|
-
dryRun?: boolean;
|
|
34
|
-
plannedFileCount?: number;
|
|
35
|
-
error?: string;
|
|
36
|
-
}
|
|
37
|
-
//#endregion
|
|
38
8
|
//#region src/utils/errors.d.ts
|
|
39
|
-
declare const UserCancelledError_base:
|
|
40
|
-
message: string;
|
|
41
|
-
}>;
|
|
9
|
+
declare const UserCancelledError_base: import("better-result").TaggedErrorClass<"UserCancelledError">;
|
|
42
10
|
/**
|
|
43
11
|
* User cancelled the operation (e.g., Ctrl+C in prompts)
|
|
44
12
|
*/
|
|
45
|
-
declare class UserCancelledError extends UserCancelledError_base
|
|
13
|
+
declare class UserCancelledError extends UserCancelledError_base<{
|
|
14
|
+
message: string;
|
|
15
|
+
}> {
|
|
46
16
|
constructor(args?: {
|
|
47
17
|
message?: string;
|
|
48
18
|
});
|
|
49
19
|
}
|
|
50
|
-
declare const CLIError_base:
|
|
51
|
-
message: string;
|
|
52
|
-
cause?: unknown;
|
|
53
|
-
}>;
|
|
20
|
+
declare const CLIError_base: import("better-result").TaggedErrorClass<"CLIError">;
|
|
54
21
|
/**
|
|
55
22
|
* General CLI error for validation failures, invalid flags, etc.
|
|
56
23
|
*/
|
|
57
|
-
declare class CLIError extends CLIError_base
|
|
58
|
-
declare const ValidationError_base: _$better_result0.TaggedErrorClass<"ValidationError", {
|
|
59
|
-
field?: string;
|
|
60
|
-
value?: unknown;
|
|
24
|
+
declare class CLIError extends CLIError_base<{
|
|
61
25
|
message: string;
|
|
62
|
-
|
|
26
|
+
cause?: unknown;
|
|
27
|
+
}> {}
|
|
28
|
+
declare const ValidationError_base: import("better-result").TaggedErrorClass<"ValidationError">;
|
|
63
29
|
/**
|
|
64
30
|
* Validation error for config/flag validation failures
|
|
65
31
|
*/
|
|
66
|
-
declare class ValidationError extends ValidationError_base
|
|
32
|
+
declare class ValidationError extends ValidationError_base<{
|
|
33
|
+
field?: string;
|
|
34
|
+
value?: unknown;
|
|
35
|
+
message: string;
|
|
36
|
+
}> {
|
|
67
37
|
constructor(args: {
|
|
68
38
|
field?: string;
|
|
69
39
|
value?: unknown;
|
|
70
40
|
message: string;
|
|
71
41
|
});
|
|
72
42
|
}
|
|
73
|
-
declare const CompatibilityError_base:
|
|
74
|
-
options: string[];
|
|
75
|
-
message: string;
|
|
76
|
-
}>;
|
|
43
|
+
declare const CompatibilityError_base: import("better-result").TaggedErrorClass<"CompatibilityError">;
|
|
77
44
|
/**
|
|
78
45
|
* Compatibility error for incompatible option combinations
|
|
79
46
|
*/
|
|
80
|
-
declare class CompatibilityError extends CompatibilityError_base
|
|
47
|
+
declare class CompatibilityError extends CompatibilityError_base<{
|
|
48
|
+
options: string[];
|
|
49
|
+
message: string;
|
|
50
|
+
}> {
|
|
81
51
|
constructor(args: {
|
|
82
52
|
options: string[];
|
|
83
53
|
message: string;
|
|
84
54
|
});
|
|
85
55
|
}
|
|
86
|
-
declare const DirectoryConflictError_base:
|
|
87
|
-
directory: string;
|
|
88
|
-
message: string;
|
|
89
|
-
}>;
|
|
56
|
+
declare const DirectoryConflictError_base: import("better-result").TaggedErrorClass<"DirectoryConflictError">;
|
|
90
57
|
/**
|
|
91
58
|
* Directory conflict error when target directory exists and is not empty
|
|
92
59
|
*/
|
|
93
|
-
declare class DirectoryConflictError extends DirectoryConflictError_base
|
|
60
|
+
declare class DirectoryConflictError extends DirectoryConflictError_base<{
|
|
61
|
+
directory: string;
|
|
62
|
+
message: string;
|
|
63
|
+
}> {
|
|
94
64
|
constructor(args: {
|
|
95
65
|
directory: string;
|
|
96
66
|
});
|
|
97
67
|
}
|
|
98
|
-
declare const ProjectCreationError_base:
|
|
99
|
-
phase: string;
|
|
100
|
-
message: string;
|
|
101
|
-
cause?: unknown;
|
|
102
|
-
}>;
|
|
68
|
+
declare const ProjectCreationError_base: import("better-result").TaggedErrorClass<"ProjectCreationError">;
|
|
103
69
|
/**
|
|
104
70
|
* Project creation error for failures during scaffolding
|
|
105
71
|
*/
|
|
106
|
-
declare class ProjectCreationError extends ProjectCreationError_base
|
|
72
|
+
declare class ProjectCreationError extends ProjectCreationError_base<{
|
|
73
|
+
phase: string;
|
|
74
|
+
message: string;
|
|
75
|
+
cause?: unknown;
|
|
76
|
+
}> {
|
|
107
77
|
constructor(args: {
|
|
108
78
|
phase: string;
|
|
109
79
|
message: string;
|
|
110
80
|
cause?: unknown;
|
|
111
81
|
});
|
|
112
82
|
}
|
|
113
|
-
declare const DatabaseSetupError_base:
|
|
114
|
-
provider: string;
|
|
115
|
-
message: string;
|
|
116
|
-
cause?: unknown;
|
|
117
|
-
}>;
|
|
83
|
+
declare const DatabaseSetupError_base: import("better-result").TaggedErrorClass<"DatabaseSetupError">;
|
|
118
84
|
/**
|
|
119
85
|
* Database setup error for failures during database configuration
|
|
120
86
|
*/
|
|
121
|
-
declare class DatabaseSetupError extends DatabaseSetupError_base
|
|
87
|
+
declare class DatabaseSetupError extends DatabaseSetupError_base<{
|
|
88
|
+
provider: string;
|
|
89
|
+
message: string;
|
|
90
|
+
cause?: unknown;
|
|
91
|
+
}> {
|
|
122
92
|
constructor(args: {
|
|
123
93
|
provider: string;
|
|
124
94
|
message: string;
|
|
@@ -126,6 +96,31 @@ declare class DatabaseSetupError extends DatabaseSetupError_base {
|
|
|
126
96
|
});
|
|
127
97
|
}
|
|
128
98
|
//#endregion
|
|
99
|
+
//#region src/helpers/core/command-handlers.d.ts
|
|
100
|
+
/**
|
|
101
|
+
* Result type for project creation
|
|
102
|
+
*/
|
|
103
|
+
interface CreateProjectResult {
|
|
104
|
+
success: boolean;
|
|
105
|
+
projectConfig: types_d_exports.ProjectConfig;
|
|
106
|
+
reproducibleCommand: string;
|
|
107
|
+
timeScaffolded: string;
|
|
108
|
+
elapsedTimeMs: number;
|
|
109
|
+
projectDirectory: string;
|
|
110
|
+
relativePath: string;
|
|
111
|
+
error?: string;
|
|
112
|
+
}
|
|
113
|
+
//#endregion
|
|
114
|
+
//#region src/helpers/core/add-handler.d.ts
|
|
115
|
+
interface AddResult {
|
|
116
|
+
success: boolean;
|
|
117
|
+
addedAddons: types_d_exports.Addons[];
|
|
118
|
+
projectDir: string;
|
|
119
|
+
dryRun?: boolean;
|
|
120
|
+
plannedFileCount?: number;
|
|
121
|
+
error?: string;
|
|
122
|
+
}
|
|
123
|
+
//#endregion
|
|
129
124
|
//#region src/index.d.ts
|
|
130
125
|
declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
131
126
|
all: "all";
|
|
@@ -157,13 +152,13 @@ declare const SchemaNameSchema: z.ZodDefault<z.ZodEnum<{
|
|
|
157
152
|
}>>;
|
|
158
153
|
type SchemaName = z.infer<typeof SchemaNameSchema>;
|
|
159
154
|
declare function getSchemaResult(name: SchemaName): unknown;
|
|
160
|
-
declare const router:
|
|
155
|
+
declare const router: import("@trpc/server").TRPCBuiltRouter<{
|
|
161
156
|
ctx: object;
|
|
162
157
|
meta: TrpcCliMeta;
|
|
163
|
-
errorShape:
|
|
158
|
+
errorShape: import("@trpc/server").TRPCDefaultErrorShape;
|
|
164
159
|
transformer: false;
|
|
165
|
-
},
|
|
166
|
-
create:
|
|
160
|
+
}, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
|
|
161
|
+
create: import("@trpc/server").TRPCMutationProcedure<{
|
|
167
162
|
input: [string | undefined, {
|
|
168
163
|
template?: "none" | "mern" | "pern" | "t3" | "uniwind" | undefined;
|
|
169
164
|
yes?: boolean | undefined;
|
|
@@ -193,7 +188,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
193
188
|
dbSetupOptions?: {
|
|
194
189
|
mode?: "manual" | "auto" | undefined;
|
|
195
190
|
neon?: {
|
|
196
|
-
method?: "neondb" | "neonctl" | undefined;
|
|
191
|
+
method?: "neon" | "neon-new" | "neondb" | "neonctl" | undefined;
|
|
197
192
|
projectName?: string | undefined;
|
|
198
193
|
regionId?: string | undefined;
|
|
199
194
|
} | undefined;
|
|
@@ -210,7 +205,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
210
205
|
output: CreateProjectResult | undefined;
|
|
211
206
|
meta: TrpcCliMeta;
|
|
212
207
|
}>;
|
|
213
|
-
createJson:
|
|
208
|
+
createJson: import("@trpc/server").TRPCMutationProcedure<{
|
|
214
209
|
input: {
|
|
215
210
|
projectName?: string | undefined;
|
|
216
211
|
template?: "none" | "mern" | "pern" | "t3" | "uniwind" | undefined;
|
|
@@ -224,7 +219,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
224
219
|
devPort?: number | undefined;
|
|
225
220
|
} | undefined;
|
|
226
221
|
fumadocs?: {
|
|
227
|
-
template: "react-router" | "tanstack-start" | "next-mdx" | "next-mdx-static" | "waku" | "react-router-spa" | "tanstack-start-spa";
|
|
222
|
+
template: "react-router" | "tanstack-start" | "astro" | "next-mdx" | "next-mdx-static" | "waku" | "react-router-spa" | "tanstack-start-spa";
|
|
228
223
|
devPort?: number | undefined;
|
|
229
224
|
search?: "orama" | "orama-cloud" | undefined;
|
|
230
225
|
ogImage?: "next-og" | "takumi" | undefined;
|
|
@@ -236,11 +231,11 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
236
231
|
mcp?: {
|
|
237
232
|
scope?: "project" | "global" | undefined;
|
|
238
233
|
servers?: ("nx" | "better-auth" | "clerk" | "polar" | "neon" | "planetscale" | "supabase" | "convex" | "better-t-stack" | "context7" | "cloudflare-docs" | "shadcn" | "next-devtools" | "nuxt-docs" | "nuxt-ui-docs" | "svelte-docs" | "astro-docs" | "expo")[] | undefined;
|
|
239
|
-
agents?: ("antigravity" | "cline" | "cline-cli" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "github-copilot-cli" | "mcporter" | "vscode" | "zed" | "claude-desktop" | "goose")[] | undefined;
|
|
234
|
+
agents?: ("antigravity" | "cline" | "cline-cli" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "github-copilot-cli" | "grok-build" | "mcporter" | "vscode" | "windsurf" | "zed" | "claude-desktop" | "goose")[] | undefined;
|
|
240
235
|
} | undefined;
|
|
241
236
|
skills?: {
|
|
242
237
|
scope?: "project" | "global" | undefined;
|
|
243
|
-
agents?: ("antigravity" | "cline" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "goose" | "github-copilot" | "
|
|
238
|
+
agents?: ("antigravity" | "cline" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "windsurf" | "zed" | "goose" | "universal" | "adal" | "aider-desk" | "amp" | "antigravity-cli" | "astrbot" | "augment" | "autohand-code" | "bob" | "codearts-agent" | "codebuddy" | "codemaker" | "codestudio" | "command-code" | "continue" | "cortex" | "crush" | "deepagents" | "devin" | "dexto" | "droid" | "eve" | "firebender" | "forgecode" | "github-copilot" | "grok" | "hermes-agent" | "iflow-cli" | "inference-sh" | "jazz" | "junie" | "kilo" | "kimchi" | "kimi-code-cli" | "kiro-cli" | "kode" | "lingma" | "loaf" | "mcpjam" | "mistral-vibe" | "moxby" | "mux" | "neovate" | "ona" | "clawdbot" | "openclaw" | "openhands" | "pi" | "pochi" | "promptscript" | "qoder" | "qoder-cn" | "qwen-code" | "reasonix" | "replit" | "roo" | "rovodev" | "tabnine-cli" | "terramind" | "tinycloud" | "trae" | "trae-cn" | "warp" | "zcode" | "zencoder" | "zenflow")[] | undefined;
|
|
244
239
|
selections?: {
|
|
245
240
|
source: "vercel-labs/agent-skills" | "vercel/ai" | "vercel/turborepo" | "yusukebe/hono-skill" | "vercel-labs/next-skills" | "nuxt/ui" | "heroui-inc/heroui" | "shadcn/ui" | "better-auth/skills" | "clerk/skills" | "neondatabase/agent-skills" | "supabase/agent-skills" | "planetscale/database-skills" | "expo/skills" | "prisma/skills" | "elysiajs/skills" | "waynesutton/convexskills" | "msmps/opentui-skill" | "haydenbleasel/ultracite" | "https://www.evlog.dev";
|
|
246
241
|
skills: string[];
|
|
@@ -248,15 +243,15 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
248
243
|
} | undefined;
|
|
249
244
|
ultracite?: {
|
|
250
245
|
linter?: "biome" | "oxlint" | undefined;
|
|
251
|
-
editors?: ("void" | "antigravity" | "cursor" | "vscode" | "
|
|
252
|
-
agents?: ("vercel" | "cline" | "codex" | "opencode" | "goose" | "
|
|
246
|
+
editors?: ("void" | "antigravity" | "cursor" | "vscode" | "windsurf" | "zed" | "bob" | "codebuddy" | "trae" | "kiro")[] | undefined;
|
|
247
|
+
agents?: ("vercel" | "cline" | "codex" | "opencode" | "goose" | "universal" | "adal" | "amp" | "bob" | "continue" | "crush" | "deepagents" | "devin" | "droid" | "firebender" | "junie" | "mcpjam" | "mistral-vibe" | "mux" | "ona" | "openclaw" | "pi" | "qoder" | "replit" | "warp" | "zencoder" | "claude" | "jules" | "lovable" | "snowflake-cortex" | "kimi-cli" | "copilot" | "aider" | "firebase-studio" | "open-hands" | "gemini" | "augmentcode" | "kilo-code" | "roo-code" | "qwen" | "amazon-q-cli" | "cursor-cli")[] | undefined;
|
|
253
248
|
hooks?: ("cursor" | "windsurf" | "codebuddy" | "claude" | "copilot")[] | undefined;
|
|
254
249
|
} | undefined;
|
|
255
250
|
} | undefined;
|
|
256
251
|
dbSetupOptions?: {
|
|
257
252
|
mode?: "manual" | "auto" | undefined;
|
|
258
253
|
neon?: {
|
|
259
|
-
method?: "neondb" | "neonctl" | undefined;
|
|
254
|
+
method?: "neon" | "neon-new" | "neondb" | "neonctl" | undefined;
|
|
260
255
|
projectName?: string | undefined;
|
|
261
256
|
regionId?: string | undefined;
|
|
262
257
|
} | undefined;
|
|
@@ -293,29 +288,29 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
293
288
|
output: CreateProjectResult;
|
|
294
289
|
meta: TrpcCliMeta;
|
|
295
290
|
}>;
|
|
296
|
-
schema:
|
|
291
|
+
schema: import("@trpc/server").TRPCQueryProcedure<{
|
|
297
292
|
input: {
|
|
298
293
|
name?: "all" | "cli" | "database" | "orm" | "backend" | "runtime" | "frontend" | "addons" | "examples" | "packageManager" | "databaseSetup" | "api" | "auth" | "payments" | "webDeploy" | "serverDeploy" | "directoryConflict" | "template" | "addonOptions" | "dbSetupOptions" | "createInput" | "addInput" | "projectConfig" | "betterTStackConfig" | "betterTStackConfigFile" | "initResult" | undefined;
|
|
299
294
|
};
|
|
300
295
|
output: unknown;
|
|
301
296
|
meta: TrpcCliMeta;
|
|
302
297
|
}>;
|
|
303
|
-
sponsors:
|
|
298
|
+
sponsors: import("@trpc/server").TRPCMutationProcedure<{
|
|
304
299
|
input: void;
|
|
305
300
|
output: void;
|
|
306
301
|
meta: TrpcCliMeta;
|
|
307
302
|
}>;
|
|
308
|
-
docs:
|
|
303
|
+
docs: import("@trpc/server").TRPCMutationProcedure<{
|
|
309
304
|
input: void;
|
|
310
305
|
output: void;
|
|
311
306
|
meta: TrpcCliMeta;
|
|
312
307
|
}>;
|
|
313
|
-
builder:
|
|
308
|
+
builder: import("@trpc/server").TRPCMutationProcedure<{
|
|
314
309
|
input: void;
|
|
315
310
|
output: void;
|
|
316
311
|
meta: TrpcCliMeta;
|
|
317
312
|
}>;
|
|
318
|
-
add:
|
|
313
|
+
add: import("@trpc/server").TRPCMutationProcedure<{
|
|
319
314
|
input: {
|
|
320
315
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
321
316
|
install?: boolean | undefined;
|
|
@@ -326,7 +321,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
326
321
|
output: void;
|
|
327
322
|
meta: TrpcCliMeta;
|
|
328
323
|
}>;
|
|
329
|
-
addJson:
|
|
324
|
+
addJson: import("@trpc/server").TRPCMutationProcedure<{
|
|
330
325
|
input: {
|
|
331
326
|
addons?: ("none" | "pwa" | "tauri" | "electrobun" | "starlight" | "biome" | "lefthook" | "husky" | "mcp" | "turborepo" | "nx" | "vite-plus" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "skills" | "evlog")[] | undefined;
|
|
332
327
|
addonOptions?: {
|
|
@@ -335,7 +330,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
335
330
|
devPort?: number | undefined;
|
|
336
331
|
} | undefined;
|
|
337
332
|
fumadocs?: {
|
|
338
|
-
template: "react-router" | "tanstack-start" | "next-mdx" | "next-mdx-static" | "waku" | "react-router-spa" | "tanstack-start-spa";
|
|
333
|
+
template: "react-router" | "tanstack-start" | "astro" | "next-mdx" | "next-mdx-static" | "waku" | "react-router-spa" | "tanstack-start-spa";
|
|
339
334
|
devPort?: number | undefined;
|
|
340
335
|
search?: "orama" | "orama-cloud" | undefined;
|
|
341
336
|
ogImage?: "next-og" | "takumi" | undefined;
|
|
@@ -347,11 +342,11 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
347
342
|
mcp?: {
|
|
348
343
|
scope?: "project" | "global" | undefined;
|
|
349
344
|
servers?: ("nx" | "better-auth" | "clerk" | "polar" | "neon" | "planetscale" | "supabase" | "convex" | "better-t-stack" | "context7" | "cloudflare-docs" | "shadcn" | "next-devtools" | "nuxt-docs" | "nuxt-ui-docs" | "svelte-docs" | "astro-docs" | "expo")[] | undefined;
|
|
350
|
-
agents?: ("antigravity" | "cline" | "cline-cli" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "github-copilot-cli" | "mcporter" | "vscode" | "zed" | "claude-desktop" | "goose")[] | undefined;
|
|
345
|
+
agents?: ("antigravity" | "cline" | "cline-cli" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "github-copilot-cli" | "grok-build" | "mcporter" | "vscode" | "windsurf" | "zed" | "claude-desktop" | "goose")[] | undefined;
|
|
351
346
|
} | undefined;
|
|
352
347
|
skills?: {
|
|
353
348
|
scope?: "project" | "global" | undefined;
|
|
354
|
-
agents?: ("antigravity" | "cline" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "goose" | "github-copilot" | "
|
|
349
|
+
agents?: ("antigravity" | "cline" | "cursor" | "claude-code" | "codex" | "opencode" | "gemini-cli" | "windsurf" | "zed" | "goose" | "universal" | "adal" | "aider-desk" | "amp" | "antigravity-cli" | "astrbot" | "augment" | "autohand-code" | "bob" | "codearts-agent" | "codebuddy" | "codemaker" | "codestudio" | "command-code" | "continue" | "cortex" | "crush" | "deepagents" | "devin" | "dexto" | "droid" | "eve" | "firebender" | "forgecode" | "github-copilot" | "grok" | "hermes-agent" | "iflow-cli" | "inference-sh" | "jazz" | "junie" | "kilo" | "kimchi" | "kimi-code-cli" | "kiro-cli" | "kode" | "lingma" | "loaf" | "mcpjam" | "mistral-vibe" | "moxby" | "mux" | "neovate" | "ona" | "clawdbot" | "openclaw" | "openhands" | "pi" | "pochi" | "promptscript" | "qoder" | "qoder-cn" | "qwen-code" | "reasonix" | "replit" | "roo" | "rovodev" | "tabnine-cli" | "terramind" | "tinycloud" | "trae" | "trae-cn" | "warp" | "zcode" | "zencoder" | "zenflow")[] | undefined;
|
|
355
350
|
selections?: {
|
|
356
351
|
source: "vercel-labs/agent-skills" | "vercel/ai" | "vercel/turborepo" | "yusukebe/hono-skill" | "vercel-labs/next-skills" | "nuxt/ui" | "heroui-inc/heroui" | "shadcn/ui" | "better-auth/skills" | "clerk/skills" | "neondatabase/agent-skills" | "supabase/agent-skills" | "planetscale/database-skills" | "expo/skills" | "prisma/skills" | "elysiajs/skills" | "waynesutton/convexskills" | "msmps/opentui-skill" | "haydenbleasel/ultracite" | "https://www.evlog.dev";
|
|
357
352
|
skills: string[];
|
|
@@ -359,8 +354,8 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
359
354
|
} | undefined;
|
|
360
355
|
ultracite?: {
|
|
361
356
|
linter?: "biome" | "oxlint" | undefined;
|
|
362
|
-
editors?: ("void" | "antigravity" | "cursor" | "vscode" | "
|
|
363
|
-
agents?: ("vercel" | "cline" | "codex" | "opencode" | "goose" | "
|
|
357
|
+
editors?: ("void" | "antigravity" | "cursor" | "vscode" | "windsurf" | "zed" | "bob" | "codebuddy" | "trae" | "kiro")[] | undefined;
|
|
358
|
+
agents?: ("vercel" | "cline" | "codex" | "opencode" | "goose" | "universal" | "adal" | "amp" | "bob" | "continue" | "crush" | "deepagents" | "devin" | "droid" | "firebender" | "junie" | "mcpjam" | "mistral-vibe" | "mux" | "ona" | "openclaw" | "pi" | "qoder" | "replit" | "warp" | "zencoder" | "claude" | "jules" | "lovable" | "snowflake-cortex" | "kimi-cli" | "copilot" | "aider" | "firebase-studio" | "open-hands" | "gemini" | "augmentcode" | "kilo-code" | "roo-code" | "qwen" | "amazon-q-cli" | "cursor-cli")[] | undefined;
|
|
364
359
|
hooks?: ("cursor" | "windsurf" | "codebuddy" | "claude" | "copilot")[] | undefined;
|
|
365
360
|
} | undefined;
|
|
366
361
|
} | undefined;
|
|
@@ -374,7 +369,7 @@ declare const router: _$_trpc_server0.TRPCBuiltRouter<{
|
|
|
374
369
|
output: AddResult;
|
|
375
370
|
meta: TrpcCliMeta;
|
|
376
371
|
}>;
|
|
377
|
-
history:
|
|
372
|
+
history: import("@trpc/server").TRPCMutationProcedure<{
|
|
378
373
|
input: {
|
|
379
374
|
limit?: number | undefined;
|
|
380
375
|
clear?: boolean | undefined;
|
|
@@ -388,7 +383,7 @@ declare function createBtsCli(): ReturnType<typeof createCli>;
|
|
|
388
383
|
/**
|
|
389
384
|
* Error types that can be returned from create/createVirtual
|
|
390
385
|
*/
|
|
391
|
-
type CreateError = UserCancelledError | CLIError | ProjectCreationError;
|
|
386
|
+
type CreateError = UserCancelledError | CLIError | DirectoryConflictError | ProjectCreationError;
|
|
392
387
|
/**
|
|
393
388
|
* Programmatic API to create a new Better-T-Stack project.
|
|
394
389
|
* Returns a Result type - no console output, no interactive prompts.
|
package/dist/index.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { C as ProjectCreationError, S as DirectoryConflictError, T as ValidationError, a as TEMPLATE_COUNT, b as CompatibilityError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as UserCancelledError, x as DatabaseSetupError, y as CLIError } from "./src-
|
|
2
|
+
import { C as ProjectCreationError, S as DirectoryConflictError, T as ValidationError, a as TEMPLATE_COUNT, b as CompatibilityError, c as builder, d as createVirtual, f as docs, g as sponsors, h as router, i as SchemaNameSchema, l as create, m as getSchemaResult, n as GeneratorError, o as VirtualFileSystem, p as generate, r as Result, s as add, t as EMBEDDED_TEMPLATES, u as createBtsCli, w as UserCancelledError, x as DatabaseSetupError, y as CLIError } from "./src-ihjK9T9S.mjs";
|
|
3
3
|
export { CLIError, CompatibilityError, DatabaseSetupError, DirectoryConflictError, EMBEDDED_TEMPLATES, GeneratorError, ProjectCreationError, Result, SchemaNameSchema, TEMPLATE_COUNT, UserCancelledError, ValidationError, VirtualFileSystem, add, builder, create, createBtsCli, createVirtual, docs, generate, getSchemaResult, router, sponsors };
|