create-better-t-stack 3.7.3-canary.fe324be3 → 3.7.4

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.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { n as createBtsCli } from "./src-yXf02Wox.js";
2
+ import { n as createBtsCli } from "./src-B6YuFjPr.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.d.ts CHANGED
@@ -1,45 +1,256 @@
1
1
  #!/usr/bin/env node
2
2
  import * as _orpc_server0 from "@orpc/server";
3
3
  import * as trpc_cli0 from "trpc-cli";
4
- import z from "zod";
5
- import { API, AddInput, Addons, Backend, BetterTStackConfig, CreateInput, Database, DatabaseSetup, DirectoryConflict, Examples, Frontend, InitResult, ORM, PackageManager, ProjectConfig, Runtime, ServerDeploy, Template, WebDeploy } from "@better-t-stack/types";
4
+ import z$1, { z } from "zod";
6
5
 
6
+ //#region src/types.d.ts
7
+ declare const DatabaseSchema: z.ZodEnum<{
8
+ none: "none";
9
+ sqlite: "sqlite";
10
+ postgres: "postgres";
11
+ mysql: "mysql";
12
+ mongodb: "mongodb";
13
+ }>;
14
+ type Database = z.infer<typeof DatabaseSchema>;
15
+ declare const ORMSchema: z.ZodEnum<{
16
+ none: "none";
17
+ drizzle: "drizzle";
18
+ prisma: "prisma";
19
+ mongoose: "mongoose";
20
+ }>;
21
+ type ORM = z.infer<typeof ORMSchema>;
22
+ declare const BackendSchema: z.ZodEnum<{
23
+ none: "none";
24
+ hono: "hono";
25
+ express: "express";
26
+ fastify: "fastify";
27
+ elysia: "elysia";
28
+ convex: "convex";
29
+ self: "self";
30
+ }>;
31
+ type Backend = z.infer<typeof BackendSchema>;
32
+ declare const RuntimeSchema: z.ZodEnum<{
33
+ none: "none";
34
+ bun: "bun";
35
+ node: "node";
36
+ workers: "workers";
37
+ }>;
38
+ type Runtime = z.infer<typeof RuntimeSchema>;
39
+ declare const FrontendSchema: z.ZodEnum<{
40
+ none: "none";
41
+ "tanstack-router": "tanstack-router";
42
+ "react-router": "react-router";
43
+ "tanstack-start": "tanstack-start";
44
+ next: "next";
45
+ nuxt: "nuxt";
46
+ "native-bare": "native-bare";
47
+ "native-uniwind": "native-uniwind";
48
+ "native-unistyles": "native-unistyles";
49
+ svelte: "svelte";
50
+ solid: "solid";
51
+ }>;
52
+ type Frontend = z.infer<typeof FrontendSchema>;
53
+ declare const AddonsSchema: z.ZodEnum<{
54
+ none: "none";
55
+ pwa: "pwa";
56
+ tauri: "tauri";
57
+ starlight: "starlight";
58
+ biome: "biome";
59
+ husky: "husky";
60
+ ruler: "ruler";
61
+ turborepo: "turborepo";
62
+ fumadocs: "fumadocs";
63
+ ultracite: "ultracite";
64
+ oxlint: "oxlint";
65
+ }>;
66
+ type Addons = z.infer<typeof AddonsSchema>;
67
+ declare const ExamplesSchema: z.ZodEnum<{
68
+ none: "none";
69
+ todo: "todo";
70
+ ai: "ai";
71
+ }>;
72
+ type Examples = z.infer<typeof ExamplesSchema>;
73
+ declare const PackageManagerSchema: z.ZodEnum<{
74
+ npm: "npm";
75
+ pnpm: "pnpm";
76
+ bun: "bun";
77
+ }>;
78
+ type PackageManager = z.infer<typeof PackageManagerSchema>;
79
+ declare const DatabaseSetupSchema: z.ZodEnum<{
80
+ none: "none";
81
+ turso: "turso";
82
+ neon: "neon";
83
+ "prisma-postgres": "prisma-postgres";
84
+ planetscale: "planetscale";
85
+ "mongodb-atlas": "mongodb-atlas";
86
+ supabase: "supabase";
87
+ d1: "d1";
88
+ docker: "docker";
89
+ }>;
90
+ type DatabaseSetup = z.infer<typeof DatabaseSetupSchema>;
91
+ declare const APISchema: z.ZodEnum<{
92
+ none: "none";
93
+ trpc: "trpc";
94
+ orpc: "orpc";
95
+ }>;
96
+ type API = z.infer<typeof APISchema>;
97
+ declare const AuthSchema: z.ZodEnum<{
98
+ none: "none";
99
+ "better-auth": "better-auth";
100
+ clerk: "clerk";
101
+ }>;
102
+ type Auth = z.infer<typeof AuthSchema>;
103
+ declare const PaymentsSchema: z.ZodEnum<{
104
+ none: "none";
105
+ polar: "polar";
106
+ }>;
107
+ type Payments = z.infer<typeof PaymentsSchema>;
108
+ declare const WebDeploySchema: z.ZodEnum<{
109
+ none: "none";
110
+ alchemy: "alchemy";
111
+ }>;
112
+ type WebDeploy = z.infer<typeof WebDeploySchema>;
113
+ declare const ServerDeploySchema: z.ZodEnum<{
114
+ none: "none";
115
+ alchemy: "alchemy";
116
+ }>;
117
+ type ServerDeploy = z.infer<typeof ServerDeploySchema>;
118
+ declare const DirectoryConflictSchema: z.ZodEnum<{
119
+ error: "error";
120
+ merge: "merge";
121
+ overwrite: "overwrite";
122
+ increment: "increment";
123
+ }>;
124
+ type DirectoryConflict = z.infer<typeof DirectoryConflictSchema>;
125
+ declare const TemplateSchema: z.ZodEnum<{
126
+ mern: "mern";
127
+ pern: "pern";
128
+ t3: "t3";
129
+ uniwind: "uniwind";
130
+ none: "none";
131
+ }>;
132
+ type Template = z.infer<typeof TemplateSchema>;
133
+ type CreateInput = {
134
+ projectName?: string;
135
+ template?: Template;
136
+ yes?: boolean;
137
+ yolo?: boolean;
138
+ verbose?: boolean;
139
+ database?: Database;
140
+ orm?: ORM;
141
+ auth?: Auth;
142
+ payments?: Payments;
143
+ frontend?: Frontend[];
144
+ addons?: Addons[];
145
+ examples?: Examples[];
146
+ git?: boolean;
147
+ packageManager?: PackageManager;
148
+ install?: boolean;
149
+ dbSetup?: DatabaseSetup;
150
+ backend?: Backend;
151
+ runtime?: Runtime;
152
+ api?: API;
153
+ webDeploy?: WebDeploy;
154
+ serverDeploy?: ServerDeploy;
155
+ directoryConflict?: DirectoryConflict;
156
+ renderTitle?: boolean;
157
+ disableAnalytics?: boolean;
158
+ manualDb?: boolean;
159
+ };
160
+ type AddInput = {
161
+ addons?: Addons[];
162
+ webDeploy?: WebDeploy;
163
+ serverDeploy?: ServerDeploy;
164
+ projectDir?: string;
165
+ install?: boolean;
166
+ packageManager?: PackageManager;
167
+ };
168
+ interface ProjectConfig {
169
+ projectName: string;
170
+ projectDir: string;
171
+ relativePath: string;
172
+ database: Database;
173
+ orm: ORM;
174
+ backend: Backend;
175
+ runtime: Runtime;
176
+ frontend: Frontend[];
177
+ addons: Addons[];
178
+ examples: Examples[];
179
+ auth: Auth;
180
+ payments: Payments;
181
+ git: boolean;
182
+ packageManager: PackageManager;
183
+ install: boolean;
184
+ dbSetup: DatabaseSetup;
185
+ api: API;
186
+ webDeploy: WebDeploy;
187
+ serverDeploy: ServerDeploy;
188
+ }
189
+ interface BetterTStackConfig {
190
+ version: string;
191
+ createdAt: string;
192
+ database: Database;
193
+ orm: ORM;
194
+ backend: Backend;
195
+ runtime: Runtime;
196
+ frontend: Frontend[];
197
+ addons: Addons[];
198
+ examples: Examples[];
199
+ auth: Auth;
200
+ payments: Payments;
201
+ packageManager: PackageManager;
202
+ dbSetup: DatabaseSetup;
203
+ api: API;
204
+ webDeploy: WebDeploy;
205
+ serverDeploy: ServerDeploy;
206
+ }
207
+ interface InitResult {
208
+ success: boolean;
209
+ projectConfig: ProjectConfig;
210
+ reproducibleCommand: string;
211
+ timeScaffolded: string;
212
+ elapsedTimeMs: number;
213
+ projectDirectory: string;
214
+ relativePath: string;
215
+ error?: string;
216
+ }
217
+ //#endregion
7
218
  //#region src/index.d.ts
8
219
  declare const router: {
9
- init: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodTuple<[z.ZodOptional<z.ZodString>, z.ZodObject<{
10
- template: z.ZodOptional<z.ZodEnum<{
220
+ init: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z$1.ZodTuple<[z$1.ZodOptional<z$1.ZodString>, z$1.ZodObject<{
221
+ template: z$1.ZodOptional<z$1.ZodEnum<{
11
222
  mern: "mern";
12
223
  pern: "pern";
13
224
  t3: "t3";
14
225
  uniwind: "uniwind";
15
226
  none: "none";
16
227
  }>>;
17
- yes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
18
- yolo: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
19
- verbose: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20
- database: z.ZodOptional<z.ZodEnum<{
228
+ yes: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
229
+ yolo: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
230
+ verbose: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
231
+ database: z$1.ZodOptional<z$1.ZodEnum<{
21
232
  none: "none";
22
233
  sqlite: "sqlite";
23
234
  postgres: "postgres";
24
235
  mysql: "mysql";
25
236
  mongodb: "mongodb";
26
237
  }>>;
27
- orm: z.ZodOptional<z.ZodEnum<{
238
+ orm: z$1.ZodOptional<z$1.ZodEnum<{
28
239
  none: "none";
29
240
  drizzle: "drizzle";
30
241
  prisma: "prisma";
31
242
  mongoose: "mongoose";
32
243
  }>>;
33
- auth: z.ZodOptional<z.ZodEnum<{
244
+ auth: z$1.ZodOptional<z$1.ZodEnum<{
34
245
  none: "none";
35
246
  "better-auth": "better-auth";
36
247
  clerk: "clerk";
37
248
  }>>;
38
- payments: z.ZodOptional<z.ZodEnum<{
249
+ payments: z$1.ZodOptional<z$1.ZodEnum<{
39
250
  none: "none";
40
251
  polar: "polar";
41
252
  }>>;
42
- frontend: z.ZodOptional<z.ZodArray<z.ZodEnum<{
253
+ frontend: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
43
254
  none: "none";
44
255
  "tanstack-router": "tanstack-router";
45
256
  "react-router": "react-router";
@@ -52,7 +263,7 @@ declare const router: {
52
263
  svelte: "svelte";
53
264
  solid: "solid";
54
265
  }>>>;
55
- addons: z.ZodOptional<z.ZodArray<z.ZodEnum<{
266
+ addons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
56
267
  none: "none";
57
268
  pwa: "pwa";
58
269
  tauri: "tauri";
@@ -65,19 +276,19 @@ declare const router: {
65
276
  ultracite: "ultracite";
66
277
  oxlint: "oxlint";
67
278
  }>>>;
68
- examples: z.ZodOptional<z.ZodArray<z.ZodEnum<{
279
+ examples: z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
69
280
  none: "none";
70
281
  todo: "todo";
71
282
  ai: "ai";
72
283
  }>>>;
73
- git: z.ZodOptional<z.ZodBoolean>;
74
- packageManager: z.ZodOptional<z.ZodEnum<{
284
+ git: z$1.ZodOptional<z$1.ZodBoolean>;
285
+ packageManager: z$1.ZodOptional<z$1.ZodEnum<{
75
286
  npm: "npm";
76
287
  pnpm: "pnpm";
77
288
  bun: "bun";
78
289
  }>>;
79
- install: z.ZodOptional<z.ZodBoolean>;
80
- dbSetup: z.ZodOptional<z.ZodEnum<{
290
+ install: z$1.ZodOptional<z$1.ZodBoolean>;
291
+ dbSetup: z$1.ZodOptional<z$1.ZodEnum<{
81
292
  none: "none";
82
293
  turso: "turso";
83
294
  neon: "neon";
@@ -88,7 +299,7 @@ declare const router: {
88
299
  d1: "d1";
89
300
  docker: "docker";
90
301
  }>>;
91
- backend: z.ZodOptional<z.ZodEnum<{
302
+ backend: z$1.ZodOptional<z$1.ZodEnum<{
92
303
  none: "none";
93
304
  hono: "hono";
94
305
  express: "express";
@@ -97,35 +308,35 @@ declare const router: {
97
308
  convex: "convex";
98
309
  self: "self";
99
310
  }>>;
100
- runtime: z.ZodOptional<z.ZodEnum<{
311
+ runtime: z$1.ZodOptional<z$1.ZodEnum<{
101
312
  none: "none";
102
313
  bun: "bun";
103
314
  node: "node";
104
315
  workers: "workers";
105
316
  }>>;
106
- api: z.ZodOptional<z.ZodEnum<{
317
+ api: z$1.ZodOptional<z$1.ZodEnum<{
107
318
  none: "none";
108
319
  trpc: "trpc";
109
320
  orpc: "orpc";
110
321
  }>>;
111
- webDeploy: z.ZodOptional<z.ZodEnum<{
322
+ webDeploy: z$1.ZodOptional<z$1.ZodEnum<{
112
323
  none: "none";
113
324
  alchemy: "alchemy";
114
325
  }>>;
115
- serverDeploy: z.ZodOptional<z.ZodEnum<{
326
+ serverDeploy: z$1.ZodOptional<z$1.ZodEnum<{
116
327
  none: "none";
117
328
  alchemy: "alchemy";
118
329
  }>>;
119
- directoryConflict: z.ZodOptional<z.ZodEnum<{
330
+ directoryConflict: z$1.ZodOptional<z$1.ZodEnum<{
120
331
  error: "error";
121
332
  merge: "merge";
122
333
  overwrite: "overwrite";
123
334
  increment: "increment";
124
335
  }>>;
125
- renderTitle: z.ZodOptional<z.ZodBoolean>;
126
- disableAnalytics: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
127
- manualDb: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
128
- }, z.core.$strip>], null>, _orpc_server0.Schema<{
336
+ renderTitle: z$1.ZodOptional<z$1.ZodBoolean>;
337
+ disableAnalytics: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
338
+ manualDb: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
339
+ }, z$1.core.$strip>], null>, _orpc_server0.Schema<{
129
340
  success: boolean;
130
341
  projectConfig: {
131
342
  projectName: string;
@@ -156,27 +367,7 @@ declare const router: {
156
367
  error: string;
157
368
  } | {
158
369
  success: boolean;
159
- projectConfig: {
160
- projectName: string;
161
- projectDir: string;
162
- relativePath: string;
163
- database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
164
- orm: "none" | "drizzle" | "prisma" | "mongoose";
165
- backend: "none" | "hono" | "express" | "fastify" | "elysia" | "convex" | "self";
166
- runtime: "none" | "bun" | "node" | "workers";
167
- frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid")[];
168
- addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[];
169
- examples: ("none" | "todo" | "ai")[];
170
- auth: "none" | "better-auth" | "clerk";
171
- payments: "none" | "polar";
172
- git: boolean;
173
- packageManager: "npm" | "pnpm" | "bun";
174
- install: boolean;
175
- dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
176
- api: "none" | "trpc" | "orpc";
177
- webDeploy: "none" | "alchemy";
178
- serverDeploy: "none" | "alchemy";
179
- };
370
+ projectConfig: ProjectConfig;
180
371
  reproducibleCommand: string;
181
372
  timeScaffolded: string;
182
373
  elapsedTimeMs: number;
@@ -214,27 +405,7 @@ declare const router: {
214
405
  error: string;
215
406
  } | {
216
407
  success: boolean;
217
- projectConfig: {
218
- projectName: string;
219
- projectDir: string;
220
- relativePath: string;
221
- database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
222
- orm: "none" | "drizzle" | "prisma" | "mongoose";
223
- backend: "none" | "hono" | "express" | "fastify" | "elysia" | "convex" | "self";
224
- runtime: "none" | "bun" | "node" | "workers";
225
- frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid")[];
226
- addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[];
227
- examples: ("none" | "todo" | "ai")[];
228
- auth: "none" | "better-auth" | "clerk";
229
- payments: "none" | "polar";
230
- git: boolean;
231
- packageManager: "npm" | "pnpm" | "bun";
232
- install: boolean;
233
- dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
234
- api: "none" | "trpc" | "orpc";
235
- webDeploy: "none" | "alchemy";
236
- serverDeploy: "none" | "alchemy";
237
- };
408
+ projectConfig: ProjectConfig;
238
409
  reproducibleCommand: string;
239
410
  timeScaffolded: string;
240
411
  elapsedTimeMs: number;
@@ -242,8 +413,8 @@ declare const router: {
242
413
  relativePath: string;
243
414
  error?: undefined;
244
415
  } | undefined>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
245
- add: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z.ZodTuple<[z.ZodObject<{
246
- addons: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodEnum<{
416
+ add: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, z$1.ZodTuple<[z$1.ZodObject<{
417
+ addons: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodArray<z$1.ZodEnum<{
247
418
  none: "none";
248
419
  pwa: "pwa";
249
420
  tauri: "tauri";
@@ -256,22 +427,22 @@ declare const router: {
256
427
  ultracite: "ultracite";
257
428
  oxlint: "oxlint";
258
429
  }>>>>;
259
- webDeploy: z.ZodOptional<z.ZodEnum<{
430
+ webDeploy: z$1.ZodOptional<z$1.ZodEnum<{
260
431
  none: "none";
261
432
  alchemy: "alchemy";
262
433
  }>>;
263
- serverDeploy: z.ZodOptional<z.ZodEnum<{
434
+ serverDeploy: z$1.ZodOptional<z$1.ZodEnum<{
264
435
  none: "none";
265
436
  alchemy: "alchemy";
266
437
  }>>;
267
- projectDir: z.ZodOptional<z.ZodString>;
268
- install: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
269
- packageManager: z.ZodOptional<z.ZodEnum<{
438
+ projectDir: z$1.ZodOptional<z$1.ZodString>;
439
+ install: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodBoolean>>;
440
+ packageManager: z$1.ZodOptional<z$1.ZodEnum<{
270
441
  npm: "npm";
271
442
  pnpm: "pnpm";
272
443
  bun: "bun";
273
444
  }>>;
274
- }, z.core.$strip>], null>, _orpc_server0.Schema<void, void>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
445
+ }, z$1.core.$strip>], null>, _orpc_server0.Schema<void, void>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
275
446
  sponsors: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, _orpc_server0.Schema<unknown, unknown>, _orpc_server0.Schema<void, void>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
276
447
  docs: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, _orpc_server0.Schema<unknown, unknown>, _orpc_server0.Schema<void, void>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
277
448
  builder: _orpc_server0.Procedure<_orpc_server0.MergedInitialContext<Record<never, never>, Record<never, never>, Record<never, never>>, Record<never, never>, _orpc_server0.Schema<unknown, unknown>, _orpc_server0.Schema<void, void>, _orpc_server0.MergedErrorMap<Record<never, never>, Record<never, never>>, Record<never, never>>;
@@ -310,36 +481,7 @@ declare function createBtsCli(): trpc_cli0.TrpcCli;
310
481
  * }
311
482
  * ```
312
483
  */
313
- declare function init(projectName?: string, options?: CreateInput): Promise<{
314
- success: boolean;
315
- projectConfig: {
316
- projectName: string;
317
- projectDir: string;
318
- relativePath: string;
319
- database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
320
- orm: "none" | "drizzle" | "prisma" | "mongoose";
321
- backend: "none" | "hono" | "express" | "fastify" | "elysia" | "convex" | "self";
322
- runtime: "none" | "bun" | "node" | "workers";
323
- frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid")[];
324
- addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint")[];
325
- examples: ("none" | "todo" | "ai")[];
326
- auth: "none" | "better-auth" | "clerk";
327
- payments: "none" | "polar";
328
- git: boolean;
329
- packageManager: "npm" | "pnpm" | "bun";
330
- install: boolean;
331
- dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
332
- api: "none" | "trpc" | "orpc";
333
- webDeploy: "none" | "alchemy";
334
- serverDeploy: "none" | "alchemy";
335
- };
336
- reproducibleCommand: string;
337
- timeScaffolded: string;
338
- elapsedTimeMs: number;
339
- projectDirectory: string;
340
- relativePath: string;
341
- error?: string | undefined;
342
- }>;
484
+ declare function init(projectName?: string, options?: CreateInput): Promise<InitResult>;
343
485
  declare function sponsors(): Promise<void>;
344
486
  declare function docs(): Promise<void>;
345
487
  declare function builder(): Promise<void>;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-yXf02Wox.js";
2
+ import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-B6YuFjPr.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };