create-better-fullstack 1.1.12 → 1.1.14
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.mjs +1 -1
- package/dist/index.d.mts +113 -17
- package/dist/index.mjs +1 -1
- package/dist/{src-BVho5D9n.mjs → src-CB8JndVq.mjs} +886 -136
- package/package.json +3 -3
package/dist/cli.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,8 @@ declare const router: {
|
|
|
24
24
|
ecosystem: z.ZodOptional<z.ZodEnum<{
|
|
25
25
|
typescript: "typescript";
|
|
26
26
|
rust: "rust";
|
|
27
|
+
python: "python";
|
|
28
|
+
go: "go";
|
|
27
29
|
}>>;
|
|
28
30
|
database: z.ZodOptional<z.ZodEnum<{
|
|
29
31
|
none: "none";
|
|
@@ -31,6 +33,8 @@ declare const router: {
|
|
|
31
33
|
postgres: "postgres";
|
|
32
34
|
mysql: "mysql";
|
|
33
35
|
mongodb: "mongodb";
|
|
36
|
+
edgedb: "edgedb";
|
|
37
|
+
redis: "redis";
|
|
34
38
|
}>>;
|
|
35
39
|
orm: z.ZodOptional<z.ZodEnum<{
|
|
36
40
|
none: "none";
|
|
@@ -47,6 +51,9 @@ declare const router: {
|
|
|
47
51
|
"better-auth": "better-auth";
|
|
48
52
|
clerk: "clerk";
|
|
49
53
|
nextauth: "nextauth";
|
|
54
|
+
"stack-auth": "stack-auth";
|
|
55
|
+
"supabase-auth": "supabase-auth";
|
|
56
|
+
auth0: "auth0";
|
|
50
57
|
}>>;
|
|
51
58
|
payments: z.ZodOptional<z.ZodEnum<{
|
|
52
59
|
none: "none";
|
|
@@ -161,6 +168,13 @@ declare const router: {
|
|
|
161
168
|
observability: z.ZodOptional<z.ZodEnum<{
|
|
162
169
|
none: "none";
|
|
163
170
|
opentelemetry: "opentelemetry";
|
|
171
|
+
sentry: "sentry";
|
|
172
|
+
grafana: "grafana";
|
|
173
|
+
}>>;
|
|
174
|
+
analytics: z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
none: "none";
|
|
176
|
+
plausible: "plausible";
|
|
177
|
+
umami: "umami";
|
|
164
178
|
}>>;
|
|
165
179
|
cms: z.ZodOptional<z.ZodEnum<{
|
|
166
180
|
none: "none";
|
|
@@ -172,6 +186,11 @@ declare const router: {
|
|
|
172
186
|
none: "none";
|
|
173
187
|
"upstash-redis": "upstash-redis";
|
|
174
188
|
}>>;
|
|
189
|
+
fileStorage: z.ZodOptional<z.ZodEnum<{
|
|
190
|
+
none: "none";
|
|
191
|
+
s3: "s3";
|
|
192
|
+
r2: "r2";
|
|
193
|
+
}>>;
|
|
175
194
|
frontend: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
176
195
|
none: "none";
|
|
177
196
|
"tanstack-router": "tanstack-router";
|
|
@@ -235,6 +254,7 @@ declare const router: {
|
|
|
235
254
|
planetscale: "planetscale";
|
|
236
255
|
"mongodb-atlas": "mongodb-atlas";
|
|
237
256
|
supabase: "supabase";
|
|
257
|
+
upstash: "upstash";
|
|
238
258
|
d1: "d1";
|
|
239
259
|
docker: "docker";
|
|
240
260
|
}>>;
|
|
@@ -288,11 +308,19 @@ declare const router: {
|
|
|
288
308
|
}>>;
|
|
289
309
|
webDeploy: z.ZodOptional<z.ZodEnum<{
|
|
290
310
|
none: "none";
|
|
311
|
+
docker: "docker";
|
|
291
312
|
cloudflare: "cloudflare";
|
|
313
|
+
fly: "fly";
|
|
314
|
+
railway: "railway";
|
|
315
|
+
sst: "sst";
|
|
292
316
|
}>>;
|
|
293
317
|
serverDeploy: z.ZodOptional<z.ZodEnum<{
|
|
294
318
|
none: "none";
|
|
319
|
+
docker: "docker";
|
|
295
320
|
cloudflare: "cloudflare";
|
|
321
|
+
fly: "fly";
|
|
322
|
+
railway: "railway";
|
|
323
|
+
sst: "sst";
|
|
296
324
|
}>>;
|
|
297
325
|
directoryConflict: z.ZodOptional<z.ZodEnum<{
|
|
298
326
|
merge: "merge";
|
|
@@ -337,30 +365,61 @@ declare const router: {
|
|
|
337
365
|
"tokio-test": "tokio-test";
|
|
338
366
|
mockall: "mockall";
|
|
339
367
|
}>>>;
|
|
368
|
+
pythonWebFramework: z.ZodOptional<z.ZodEnum<{
|
|
369
|
+
none: "none";
|
|
370
|
+
fastapi: "fastapi";
|
|
371
|
+
django: "django";
|
|
372
|
+
}>>;
|
|
373
|
+
pythonOrm: z.ZodOptional<z.ZodEnum<{
|
|
374
|
+
none: "none";
|
|
375
|
+
sqlalchemy: "sqlalchemy";
|
|
376
|
+
sqlmodel: "sqlmodel";
|
|
377
|
+
}>>;
|
|
378
|
+
pythonValidation: z.ZodOptional<z.ZodEnum<{
|
|
379
|
+
none: "none";
|
|
380
|
+
pydantic: "pydantic";
|
|
381
|
+
}>>;
|
|
382
|
+
pythonAi: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
383
|
+
none: "none";
|
|
384
|
+
langgraph: "langgraph";
|
|
385
|
+
langchain: "langchain";
|
|
386
|
+
llamaindex: "llamaindex";
|
|
387
|
+
"openai-sdk": "openai-sdk";
|
|
388
|
+
"anthropic-sdk": "anthropic-sdk";
|
|
389
|
+
crewai: "crewai";
|
|
390
|
+
}>>>;
|
|
391
|
+
pythonTaskQueue: z.ZodOptional<z.ZodEnum<{
|
|
392
|
+
none: "none";
|
|
393
|
+
celery: "celery";
|
|
394
|
+
}>>;
|
|
395
|
+
pythonQuality: z.ZodOptional<z.ZodEnum<{
|
|
396
|
+
none: "none";
|
|
397
|
+
ruff: "ruff";
|
|
398
|
+
}>>;
|
|
340
399
|
}, z.core.$strip>], null>, _orpc_server0.Schema<{
|
|
341
400
|
success: boolean;
|
|
342
401
|
projectConfig: {
|
|
343
402
|
projectName: string;
|
|
344
403
|
projectDir: string;
|
|
345
404
|
relativePath: string;
|
|
346
|
-
ecosystem: "typescript" | "rust";
|
|
347
|
-
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
|
|
405
|
+
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
406
|
+
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
348
407
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
349
408
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
350
409
|
runtime: "none" | "bun" | "node" | "workers";
|
|
351
410
|
frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro" | "qwik" | "angular" | "redwood" | "fresh")[];
|
|
352
411
|
addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "lefthook" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "msw" | "storybook")[];
|
|
353
412
|
examples: ("ai" | "none" | "todo")[];
|
|
354
|
-
auth: "none" | "better-auth" | "clerk" | "nextauth";
|
|
413
|
+
auth: "none" | "better-auth" | "clerk" | "nextauth" | "stack-auth" | "supabase-auth" | "auth0";
|
|
355
414
|
payments: "none" | "polar" | "stripe" | "lemon-squeezy" | "paddle" | "dodo";
|
|
356
415
|
git: boolean;
|
|
357
416
|
packageManager: "bun" | "npm" | "pnpm";
|
|
358
417
|
install: boolean;
|
|
359
|
-
dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
|
|
418
|
+
dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "upstash" | "d1" | "docker";
|
|
360
419
|
api: "none" | "trpc" | "orpc" | "ts-rest" | "garph";
|
|
361
|
-
webDeploy: "none" | "cloudflare";
|
|
362
|
-
serverDeploy: "none" | "cloudflare";
|
|
363
|
-
ai: "none" | "
|
|
420
|
+
webDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
|
|
421
|
+
serverDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
|
|
422
|
+
ai: "none" | "langgraph" | "langchain" | "llamaindex" | "vercel-ai" | "mastra" | "voltagent" | "openai-agents" | "google-adk" | "modelfusion";
|
|
364
423
|
effect: "effect" | "none" | "effect-full";
|
|
365
424
|
stateManagement: "none" | "zustand" | "jotai" | "nanostores" | "redux-toolkit" | "mobx" | "xstate" | "valtio" | "tanstack-store" | "legend-state";
|
|
366
425
|
forms: "none" | "tanstack-form" | "react-hook-form" | "formik" | "final-form" | "conform" | "modular-forms";
|
|
@@ -374,15 +433,30 @@ declare const router: {
|
|
|
374
433
|
animation: "none" | "framer-motion" | "gsap" | "react-spring" | "auto-animate" | "lottie";
|
|
375
434
|
fileUpload: "none" | "uploadthing" | "filepond" | "uppy";
|
|
376
435
|
logging: "none" | "pino" | "winston";
|
|
377
|
-
observability: "none" | "opentelemetry";
|
|
436
|
+
observability: "none" | "opentelemetry" | "sentry" | "grafana";
|
|
437
|
+
featureFlags: "none" | "growthbook" | "posthog";
|
|
438
|
+
analytics: "none" | "plausible" | "umami";
|
|
378
439
|
cms: "none" | "payload" | "sanity" | "strapi";
|
|
379
440
|
caching: "none" | "upstash-redis";
|
|
441
|
+
search: "none" | "meilisearch" | "typesense";
|
|
442
|
+
fileStorage: "none" | "s3" | "r2";
|
|
380
443
|
rustWebFramework: "none" | "axum" | "actix-web";
|
|
381
444
|
rustFrontend: "none" | "leptos" | "dioxus";
|
|
382
445
|
rustOrm: "none" | "sea-orm" | "sqlx";
|
|
383
446
|
rustApi: "none" | "tonic" | "async-graphql";
|
|
384
447
|
rustCli: "none" | "clap" | "ratatui";
|
|
385
448
|
rustLibraries: ("none" | "serde" | "validator" | "jsonwebtoken" | "argon2" | "tokio-test" | "mockall")[];
|
|
449
|
+
pythonWebFramework: "none" | "fastapi" | "django";
|
|
450
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
451
|
+
pythonValidation: "none" | "pydantic";
|
|
452
|
+
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
453
|
+
pythonTaskQueue: "none" | "celery";
|
|
454
|
+
pythonQuality: "none" | "ruff";
|
|
455
|
+
goWebFramework: "none" | "gin" | "echo";
|
|
456
|
+
goOrm: "none" | "gorm" | "sqlc";
|
|
457
|
+
goApi: "none" | "grpc-go";
|
|
458
|
+
goCli: "none" | "cobra" | "bubbletea";
|
|
459
|
+
goLogging: "none" | "zap";
|
|
386
460
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
387
461
|
};
|
|
388
462
|
reproducibleCommand: string;
|
|
@@ -406,24 +480,24 @@ declare const router: {
|
|
|
406
480
|
projectName: string;
|
|
407
481
|
projectDir: string;
|
|
408
482
|
relativePath: string;
|
|
409
|
-
ecosystem: "typescript" | "rust";
|
|
410
|
-
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
|
|
483
|
+
ecosystem: "typescript" | "rust" | "python" | "go";
|
|
484
|
+
database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
|
|
411
485
|
orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
|
|
412
486
|
backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
|
|
413
487
|
runtime: "none" | "bun" | "node" | "workers";
|
|
414
488
|
frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro" | "qwik" | "angular" | "redwood" | "fresh")[];
|
|
415
489
|
addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "lefthook" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "msw" | "storybook")[];
|
|
416
490
|
examples: ("ai" | "none" | "todo")[];
|
|
417
|
-
auth: "none" | "better-auth" | "clerk" | "nextauth";
|
|
491
|
+
auth: "none" | "better-auth" | "clerk" | "nextauth" | "stack-auth" | "supabase-auth" | "auth0";
|
|
418
492
|
payments: "none" | "polar" | "stripe" | "lemon-squeezy" | "paddle" | "dodo";
|
|
419
493
|
git: boolean;
|
|
420
494
|
packageManager: "bun" | "npm" | "pnpm";
|
|
421
495
|
install: boolean;
|
|
422
|
-
dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
|
|
496
|
+
dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "upstash" | "d1" | "docker";
|
|
423
497
|
api: "none" | "trpc" | "orpc" | "ts-rest" | "garph";
|
|
424
|
-
webDeploy: "none" | "cloudflare";
|
|
425
|
-
serverDeploy: "none" | "cloudflare";
|
|
426
|
-
ai: "none" | "
|
|
498
|
+
webDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
|
|
499
|
+
serverDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
|
|
500
|
+
ai: "none" | "langgraph" | "langchain" | "llamaindex" | "vercel-ai" | "mastra" | "voltagent" | "openai-agents" | "google-adk" | "modelfusion";
|
|
427
501
|
effect: "effect" | "none" | "effect-full";
|
|
428
502
|
stateManagement: "none" | "zustand" | "jotai" | "nanostores" | "redux-toolkit" | "mobx" | "xstate" | "valtio" | "tanstack-store" | "legend-state";
|
|
429
503
|
forms: "none" | "tanstack-form" | "react-hook-form" | "formik" | "final-form" | "conform" | "modular-forms";
|
|
@@ -437,15 +511,30 @@ declare const router: {
|
|
|
437
511
|
animation: "none" | "framer-motion" | "gsap" | "react-spring" | "auto-animate" | "lottie";
|
|
438
512
|
fileUpload: "none" | "uploadthing" | "filepond" | "uppy";
|
|
439
513
|
logging: "none" | "pino" | "winston";
|
|
440
|
-
observability: "none" | "opentelemetry";
|
|
514
|
+
observability: "none" | "opentelemetry" | "sentry" | "grafana";
|
|
515
|
+
featureFlags: "none" | "growthbook" | "posthog";
|
|
516
|
+
analytics: "none" | "plausible" | "umami";
|
|
441
517
|
cms: "none" | "payload" | "sanity" | "strapi";
|
|
442
518
|
caching: "none" | "upstash-redis";
|
|
519
|
+
search: "none" | "meilisearch" | "typesense";
|
|
520
|
+
fileStorage: "none" | "s3" | "r2";
|
|
443
521
|
rustWebFramework: "none" | "axum" | "actix-web";
|
|
444
522
|
rustFrontend: "none" | "leptos" | "dioxus";
|
|
445
523
|
rustOrm: "none" | "sea-orm" | "sqlx";
|
|
446
524
|
rustApi: "none" | "tonic" | "async-graphql";
|
|
447
525
|
rustCli: "none" | "clap" | "ratatui";
|
|
448
526
|
rustLibraries: ("none" | "serde" | "validator" | "jsonwebtoken" | "argon2" | "tokio-test" | "mockall")[];
|
|
527
|
+
pythonWebFramework: "none" | "fastapi" | "django";
|
|
528
|
+
pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
|
|
529
|
+
pythonValidation: "none" | "pydantic";
|
|
530
|
+
pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
|
|
531
|
+
pythonTaskQueue: "none" | "celery";
|
|
532
|
+
pythonQuality: "none" | "ruff";
|
|
533
|
+
goWebFramework: "none" | "gin" | "echo";
|
|
534
|
+
goOrm: "none" | "gorm" | "sqlc";
|
|
535
|
+
goApi: "none" | "grpc-go";
|
|
536
|
+
goCli: "none" | "cobra" | "bubbletea";
|
|
537
|
+
goLogging: "none" | "zap";
|
|
449
538
|
astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
|
|
450
539
|
};
|
|
451
540
|
reproducibleCommand: string;
|
|
@@ -530,6 +619,7 @@ declare function createVirtual(options: Partial<Omit<types_d_exports.ProjectConf
|
|
|
530
619
|
}>;
|
|
531
620
|
type API = import__better_fullstack_types.API;
|
|
532
621
|
type Addons = import__better_fullstack_types.Addons;
|
|
622
|
+
type Analytics = import__better_fullstack_types.Analytics;
|
|
533
623
|
type Animation = import__better_fullstack_types.Animation;
|
|
534
624
|
type Auth = import__better_fullstack_types.Auth;
|
|
535
625
|
type Backend = import__better_fullstack_types.Backend;
|
|
@@ -550,6 +640,12 @@ type Logging = import__better_fullstack_types.Logging;
|
|
|
550
640
|
type ORM = import__better_fullstack_types.ORM;
|
|
551
641
|
type PackageManager = import__better_fullstack_types.PackageManager;
|
|
552
642
|
type Payments = import__better_fullstack_types.Payments;
|
|
643
|
+
type PythonAi = import__better_fullstack_types.PythonAi;
|
|
644
|
+
type PythonOrm = import__better_fullstack_types.PythonOrm;
|
|
645
|
+
type PythonQuality = import__better_fullstack_types.PythonQuality;
|
|
646
|
+
type PythonTaskQueue = import__better_fullstack_types.PythonTaskQueue;
|
|
647
|
+
type PythonValidation = import__better_fullstack_types.PythonValidation;
|
|
648
|
+
type PythonWebFramework = import__better_fullstack_types.PythonWebFramework;
|
|
553
649
|
type Realtime = import__better_fullstack_types.Realtime;
|
|
554
650
|
type Runtime = import__better_fullstack_types.Runtime;
|
|
555
651
|
type RustApi = import__better_fullstack_types.RustApi;
|
|
@@ -562,4 +658,4 @@ type ServerDeploy = import__better_fullstack_types.ServerDeploy;
|
|
|
562
658
|
type Template = import__better_fullstack_types.Template;
|
|
563
659
|
type UILibrary = import__better_fullstack_types.UILibrary;
|
|
564
660
|
type WebDeploy = import__better_fullstack_types.WebDeploy;
|
|
565
|
-
export { type API, type Addons, type Animation, type Auth, type Backend, type BetterTStackConfig, type CMS, type CSSFramework, type Caching, type CreateInput, type Database, type DatabaseSetup, type DirectoryConflict, EMBEDDED_TEMPLATES, type Ecosystem, type Effect, type Examples, type Frontend, type GeneratorOptions, type GeneratorResult, type InitResult, type Logging, type ORM, type PackageManager, type Payments, type Realtime, type Runtime, type RustApi, type RustCli, type RustFrontend, type RustLibraries, type RustOrm, type RustWebFramework, type ServerDeploy, TEMPLATE_COUNT, type Template, type UILibrary, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
|
|
661
|
+
export { type API, type Addons, type Analytics, type Animation, type Auth, type Backend, type BetterTStackConfig, type CMS, type CSSFramework, type Caching, type CreateInput, type Database, type DatabaseSetup, type DirectoryConflict, EMBEDDED_TEMPLATES, type Ecosystem, type Effect, type Examples, type Frontend, type GeneratorOptions, type GeneratorResult, type InitResult, type Logging, type ORM, type PackageManager, type Payments, type PythonAi, type PythonOrm, type PythonQuality, type PythonTaskQueue, type PythonValidation, type PythonWebFramework, type Realtime, type Runtime, type RustApi, type RustCli, type RustFrontend, type RustLibraries, type RustOrm, type RustWebFramework, type ServerDeploy, TEMPLATE_COUNT, type Template, type UILibrary, type VirtualDirectory, type VirtualFile, VirtualFileSystem, type VirtualFileTree, type VirtualNode, type WebDeploy, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-
|
|
2
|
+
import { a as create, c as docs, d as sponsors, i as builder, l as generateVirtualProject, n as TEMPLATE_COUNT, o as createBtsCli, r as VirtualFileSystem, s as createVirtual, t as EMBEDDED_TEMPLATES, u as router } from "./src-CB8JndVq.mjs";
|
|
3
3
|
|
|
4
4
|
export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, VirtualFileSystem, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };
|