create-better-t-stack 2.40.3 → 2.40.4-canary.f07be855

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.
Files changed (29) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/index.d.ts +2 -1
  3. package/dist/index.js +1 -1
  4. package/dist/{src-BOnnM-3r.js → src-BMkTBm89.js} +328 -85
  5. package/package.json +1 -1
  6. package/templates/api/orpc/server/next/src/app/rpc/[...all]/route.ts.hbs +32 -3
  7. package/templates/auth/better-auth/server/base/src/lib/auth.ts.hbs +1 -1
  8. package/templates/backend/server/elysia/src/index.ts.hbs +31 -2
  9. package/templates/backend/server/express/src/index.ts.hbs +38 -4
  10. package/templates/backend/server/fastify/src/index.ts.hbs +33 -2
  11. package/templates/backend/server/hono/src/index.ts.hbs +40 -5
  12. package/templates/db/drizzle/mysql/src/db/index.ts.hbs +25 -0
  13. package/templates/db/prisma/mongodb/src/db/index.ts.hbs +5 -0
  14. package/templates/db/prisma/mysql/prisma/schema/schema.prisma.hbs +6 -0
  15. package/templates/db/prisma/mysql/src/db/index.ts.hbs +12 -0
  16. package/templates/db/prisma/postgres/prisma/schema/schema.prisma.hbs +3 -0
  17. package/templates/db/prisma/postgres/src/db/index.ts.hbs +5 -0
  18. package/templates/db/prisma/sqlite/prisma/schema/schema.prisma.hbs +10 -0
  19. package/templates/db/prisma/sqlite/prisma.config.ts.hbs +29 -1
  20. package/templates/db/prisma/sqlite/src/db/index.ts.hbs +28 -0
  21. package/templates/deploy/alchemy/alchemy.run.ts.hbs +6 -2
  22. package/templates/deploy/wrangler/server/wrangler.jsonc.hbs +5 -0
  23. package/templates/examples/todo/server/prisma/base/src/routers/todo.ts.hbs +2 -2
  24. package/templates/extras/bunfig.toml.hbs +0 -5
  25. package/templates/frontend/react/next/next.config.ts.hbs +7 -0
  26. package/templates/db/prisma/mongodb/prisma/index.ts.hbs +0 -5
  27. package/templates/db/prisma/mysql/prisma/index.ts +0 -5
  28. package/templates/db/prisma/postgres/prisma/index.ts +0 -5
  29. package/templates/db/prisma/sqlite/prisma/index.ts +0 -5
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { createBtsCli } from "./src-BOnnM-3r.js";
2
+ import { createBtsCli } from "./src-BMkTBm89.js";
3
3
 
4
4
  //#region src/cli.ts
5
5
  createBtsCli().run();
package/dist/index.d.ts CHANGED
@@ -80,6 +80,7 @@ declare const DatabaseSetupSchema: z.ZodEnum<{
80
80
  turso: "turso";
81
81
  neon: "neon";
82
82
  "prisma-postgres": "prisma-postgres";
83
+ planetscale: "planetscale";
83
84
  "mongodb-atlas": "mongodb-atlas";
84
85
  supabase: "supabase";
85
86
  d1: "d1";
@@ -218,7 +219,7 @@ declare const router: trpcServer.TRPCBuiltRouter<{
218
219
  git?: boolean | undefined;
219
220
  packageManager?: "npm" | "pnpm" | "bun" | undefined;
220
221
  install?: boolean | undefined;
221
- dbSetup?: "none" | "turso" | "neon" | "prisma-postgres" | "mongodb-atlas" | "supabase" | "d1" | "docker" | undefined;
222
+ dbSetup?: "none" | "turso" | "neon" | "prisma-postgres" | "planetscale" | "mongodb-atlas" | "supabase" | "d1" | "docker" | undefined;
222
223
  backend?: "none" | "next" | "hono" | "express" | "fastify" | "elysia" | "convex" | undefined;
223
224
  runtime?: "none" | "bun" | "node" | "workers" | undefined;
224
225
  api?: "none" | "trpc" | "orpc" | undefined;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import { builder, createBtsCli, docs, init, router, sponsors } from "./src-BOnnM-3r.js";
2
+ import { builder, createBtsCli, docs, init, router, sponsors } from "./src-BMkTBm89.js";
3
3
 
4
4
  export { builder, createBtsCli, docs, init, router, sponsors };