create-better-fullstack 1.1.12 → 1.1.15

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 CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { o as createBtsCli } from "./src-BVho5D9n.mjs";
2
+ import { o as createBtsCli } from "./src-DDAojCKV.mjs";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
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,84 @@ 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
+ }>>;
399
+ goWebFramework: z.ZodOptional<z.ZodEnum<{
400
+ none: "none";
401
+ gin: "gin";
402
+ echo: "echo";
403
+ }>>;
404
+ goOrm: z.ZodOptional<z.ZodEnum<{
405
+ none: "none";
406
+ gorm: "gorm";
407
+ sqlc: "sqlc";
408
+ }>>;
409
+ goApi: z.ZodOptional<z.ZodEnum<{
410
+ none: "none";
411
+ "grpc-go": "grpc-go";
412
+ }>>;
413
+ goCli: z.ZodOptional<z.ZodEnum<{
414
+ none: "none";
415
+ cobra: "cobra";
416
+ bubbletea: "bubbletea";
417
+ }>>;
418
+ goLogging: z.ZodOptional<z.ZodEnum<{
419
+ none: "none";
420
+ zap: "zap";
421
+ }>>;
340
422
  }, z.core.$strip>], null>, _orpc_server0.Schema<{
341
423
  success: boolean;
342
424
  projectConfig: {
343
425
  projectName: string;
344
426
  projectDir: string;
345
427
  relativePath: string;
346
- ecosystem: "typescript" | "rust";
347
- database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
428
+ ecosystem: "typescript" | "rust" | "python" | "go";
429
+ database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
348
430
  orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
349
431
  backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
350
432
  runtime: "none" | "bun" | "node" | "workers";
351
433
  frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro" | "qwik" | "angular" | "redwood" | "fresh")[];
352
434
  addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "lefthook" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "msw" | "storybook")[];
353
435
  examples: ("ai" | "none" | "todo")[];
354
- auth: "none" | "better-auth" | "clerk" | "nextauth";
436
+ auth: "none" | "better-auth" | "clerk" | "nextauth" | "stack-auth" | "supabase-auth" | "auth0";
355
437
  payments: "none" | "polar" | "stripe" | "lemon-squeezy" | "paddle" | "dodo";
356
438
  git: boolean;
357
439
  packageManager: "bun" | "npm" | "pnpm";
358
440
  install: boolean;
359
- dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
441
+ dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "upstash" | "d1" | "docker";
360
442
  api: "none" | "trpc" | "orpc" | "ts-rest" | "garph";
361
- webDeploy: "none" | "cloudflare";
362
- serverDeploy: "none" | "cloudflare";
363
- ai: "none" | "vercel-ai" | "mastra" | "voltagent" | "langgraph" | "openai-agents" | "google-adk" | "modelfusion" | "langchain" | "llamaindex";
443
+ webDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
444
+ serverDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
445
+ ai: "none" | "langgraph" | "langchain" | "llamaindex" | "vercel-ai" | "mastra" | "voltagent" | "openai-agents" | "google-adk" | "modelfusion";
364
446
  effect: "effect" | "none" | "effect-full";
365
447
  stateManagement: "none" | "zustand" | "jotai" | "nanostores" | "redux-toolkit" | "mobx" | "xstate" | "valtio" | "tanstack-store" | "legend-state";
366
448
  forms: "none" | "tanstack-form" | "react-hook-form" | "formik" | "final-form" | "conform" | "modular-forms";
@@ -374,15 +456,30 @@ declare const router: {
374
456
  animation: "none" | "framer-motion" | "gsap" | "react-spring" | "auto-animate" | "lottie";
375
457
  fileUpload: "none" | "uploadthing" | "filepond" | "uppy";
376
458
  logging: "none" | "pino" | "winston";
377
- observability: "none" | "opentelemetry";
459
+ observability: "none" | "opentelemetry" | "sentry" | "grafana";
460
+ featureFlags: "none" | "growthbook" | "posthog";
461
+ analytics: "none" | "plausible" | "umami";
378
462
  cms: "none" | "payload" | "sanity" | "strapi";
379
463
  caching: "none" | "upstash-redis";
464
+ search: "none" | "meilisearch" | "typesense";
465
+ fileStorage: "none" | "s3" | "r2";
380
466
  rustWebFramework: "none" | "axum" | "actix-web";
381
467
  rustFrontend: "none" | "leptos" | "dioxus";
382
468
  rustOrm: "none" | "sea-orm" | "sqlx";
383
469
  rustApi: "none" | "tonic" | "async-graphql";
384
470
  rustCli: "none" | "clap" | "ratatui";
385
471
  rustLibraries: ("none" | "serde" | "validator" | "jsonwebtoken" | "argon2" | "tokio-test" | "mockall")[];
472
+ pythonWebFramework: "none" | "fastapi" | "django";
473
+ pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
474
+ pythonValidation: "none" | "pydantic";
475
+ pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
476
+ pythonTaskQueue: "none" | "celery";
477
+ pythonQuality: "none" | "ruff";
478
+ goWebFramework: "none" | "gin" | "echo";
479
+ goOrm: "none" | "gorm" | "sqlc";
480
+ goApi: "none" | "grpc-go";
481
+ goCli: "none" | "cobra" | "bubbletea";
482
+ goLogging: "none" | "zap";
386
483
  astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
387
484
  };
388
485
  reproducibleCommand: string;
@@ -406,24 +503,24 @@ declare const router: {
406
503
  projectName: string;
407
504
  projectDir: string;
408
505
  relativePath: string;
409
- ecosystem: "typescript" | "rust";
410
- database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb";
506
+ ecosystem: "typescript" | "rust" | "python" | "go";
507
+ database: "none" | "sqlite" | "postgres" | "mysql" | "mongodb" | "edgedb" | "redis";
411
508
  orm: "none" | "drizzle" | "prisma" | "mongoose" | "typeorm" | "kysely" | "mikroorm" | "sequelize";
412
509
  backend: "none" | "hono" | "express" | "fastify" | "elysia" | "fets" | "nestjs" | "adonisjs" | "nitro" | "encore" | "convex" | "self";
413
510
  runtime: "none" | "bun" | "node" | "workers";
414
511
  frontend: ("none" | "tanstack-router" | "react-router" | "tanstack-start" | "next" | "nuxt" | "native-bare" | "native-uniwind" | "native-unistyles" | "svelte" | "solid" | "astro" | "qwik" | "angular" | "redwood" | "fresh")[];
415
512
  addons: ("none" | "pwa" | "tauri" | "starlight" | "biome" | "lefthook" | "husky" | "ruler" | "turborepo" | "fumadocs" | "ultracite" | "oxlint" | "opentui" | "wxt" | "msw" | "storybook")[];
416
513
  examples: ("ai" | "none" | "todo")[];
417
- auth: "none" | "better-auth" | "clerk" | "nextauth";
514
+ auth: "none" | "better-auth" | "clerk" | "nextauth" | "stack-auth" | "supabase-auth" | "auth0";
418
515
  payments: "none" | "polar" | "stripe" | "lemon-squeezy" | "paddle" | "dodo";
419
516
  git: boolean;
420
517
  packageManager: "bun" | "npm" | "pnpm";
421
518
  install: boolean;
422
- dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker";
519
+ dbSetup: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "upstash" | "d1" | "docker";
423
520
  api: "none" | "trpc" | "orpc" | "ts-rest" | "garph";
424
- webDeploy: "none" | "cloudflare";
425
- serverDeploy: "none" | "cloudflare";
426
- ai: "none" | "vercel-ai" | "mastra" | "voltagent" | "langgraph" | "openai-agents" | "google-adk" | "modelfusion" | "langchain" | "llamaindex";
521
+ webDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
522
+ serverDeploy: "none" | "docker" | "cloudflare" | "fly" | "railway" | "sst";
523
+ ai: "none" | "langgraph" | "langchain" | "llamaindex" | "vercel-ai" | "mastra" | "voltagent" | "openai-agents" | "google-adk" | "modelfusion";
427
524
  effect: "effect" | "none" | "effect-full";
428
525
  stateManagement: "none" | "zustand" | "jotai" | "nanostores" | "redux-toolkit" | "mobx" | "xstate" | "valtio" | "tanstack-store" | "legend-state";
429
526
  forms: "none" | "tanstack-form" | "react-hook-form" | "formik" | "final-form" | "conform" | "modular-forms";
@@ -437,15 +534,30 @@ declare const router: {
437
534
  animation: "none" | "framer-motion" | "gsap" | "react-spring" | "auto-animate" | "lottie";
438
535
  fileUpload: "none" | "uploadthing" | "filepond" | "uppy";
439
536
  logging: "none" | "pino" | "winston";
440
- observability: "none" | "opentelemetry";
537
+ observability: "none" | "opentelemetry" | "sentry" | "grafana";
538
+ featureFlags: "none" | "growthbook" | "posthog";
539
+ analytics: "none" | "plausible" | "umami";
441
540
  cms: "none" | "payload" | "sanity" | "strapi";
442
541
  caching: "none" | "upstash-redis";
542
+ search: "none" | "meilisearch" | "typesense";
543
+ fileStorage: "none" | "s3" | "r2";
443
544
  rustWebFramework: "none" | "axum" | "actix-web";
444
545
  rustFrontend: "none" | "leptos" | "dioxus";
445
546
  rustOrm: "none" | "sea-orm" | "sqlx";
446
547
  rustApi: "none" | "tonic" | "async-graphql";
447
548
  rustCli: "none" | "clap" | "ratatui";
448
549
  rustLibraries: ("none" | "serde" | "validator" | "jsonwebtoken" | "argon2" | "tokio-test" | "mockall")[];
550
+ pythonWebFramework: "none" | "fastapi" | "django";
551
+ pythonOrm: "none" | "sqlalchemy" | "sqlmodel";
552
+ pythonValidation: "none" | "pydantic";
553
+ pythonAi: ("none" | "langgraph" | "langchain" | "llamaindex" | "openai-sdk" | "anthropic-sdk" | "crewai")[];
554
+ pythonTaskQueue: "none" | "celery";
555
+ pythonQuality: "none" | "ruff";
556
+ goWebFramework: "none" | "gin" | "echo";
557
+ goOrm: "none" | "gorm" | "sqlc";
558
+ goApi: "none" | "grpc-go";
559
+ goCli: "none" | "cobra" | "bubbletea";
560
+ goLogging: "none" | "zap";
449
561
  astroIntegration?: "none" | "svelte" | "solid" | "react" | "vue" | undefined;
450
562
  };
451
563
  reproducibleCommand: string;
@@ -530,6 +642,7 @@ declare function createVirtual(options: Partial<Omit<types_d_exports.ProjectConf
530
642
  }>;
531
643
  type API = import__better_fullstack_types.API;
532
644
  type Addons = import__better_fullstack_types.Addons;
645
+ type Analytics = import__better_fullstack_types.Analytics;
533
646
  type Animation = import__better_fullstack_types.Animation;
534
647
  type Auth = import__better_fullstack_types.Auth;
535
648
  type Backend = import__better_fullstack_types.Backend;
@@ -545,11 +658,22 @@ type Ecosystem = import__better_fullstack_types.Ecosystem;
545
658
  type Effect = import__better_fullstack_types.Effect;
546
659
  type Examples = import__better_fullstack_types.Examples;
547
660
  type Frontend = import__better_fullstack_types.Frontend;
661
+ type GoApi = import__better_fullstack_types.GoApi;
662
+ type GoCli = import__better_fullstack_types.GoCli;
663
+ type GoLogging = import__better_fullstack_types.GoLogging;
664
+ type GoOrm = import__better_fullstack_types.GoOrm;
665
+ type GoWebFramework = import__better_fullstack_types.GoWebFramework;
548
666
  type InitResult = import__better_fullstack_types.InitResult;
549
667
  type Logging = import__better_fullstack_types.Logging;
550
668
  type ORM = import__better_fullstack_types.ORM;
551
669
  type PackageManager = import__better_fullstack_types.PackageManager;
552
670
  type Payments = import__better_fullstack_types.Payments;
671
+ type PythonAi = import__better_fullstack_types.PythonAi;
672
+ type PythonOrm = import__better_fullstack_types.PythonOrm;
673
+ type PythonQuality = import__better_fullstack_types.PythonQuality;
674
+ type PythonTaskQueue = import__better_fullstack_types.PythonTaskQueue;
675
+ type PythonValidation = import__better_fullstack_types.PythonValidation;
676
+ type PythonWebFramework = import__better_fullstack_types.PythonWebFramework;
553
677
  type Realtime = import__better_fullstack_types.Realtime;
554
678
  type Runtime = import__better_fullstack_types.Runtime;
555
679
  type RustApi = import__better_fullstack_types.RustApi;
@@ -562,4 +686,4 @@ type ServerDeploy = import__better_fullstack_types.ServerDeploy;
562
686
  type Template = import__better_fullstack_types.Template;
563
687
  type UILibrary = import__better_fullstack_types.UILibrary;
564
688
  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 };
689
+ 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 GoApi, type GoCli, type GoLogging, type GoOrm, type GoWebFramework, 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-BVho5D9n.mjs";
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-DDAojCKV.mjs";
3
3
 
4
4
  export { EMBEDDED_TEMPLATES, TEMPLATE_COUNT, VirtualFileSystem, builder, create, createBtsCli, createVirtual, docs, generateVirtualProject, router, sponsors };