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.
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/{src-BOnnM-3r.js → src-BMkTBm89.js} +328 -85
- package/package.json +1 -1
- package/templates/api/orpc/server/next/src/app/rpc/[...all]/route.ts.hbs +32 -3
- package/templates/auth/better-auth/server/base/src/lib/auth.ts.hbs +1 -1
- package/templates/backend/server/elysia/src/index.ts.hbs +31 -2
- package/templates/backend/server/express/src/index.ts.hbs +38 -4
- package/templates/backend/server/fastify/src/index.ts.hbs +33 -2
- package/templates/backend/server/hono/src/index.ts.hbs +40 -5
- package/templates/db/drizzle/mysql/src/db/index.ts.hbs +25 -0
- package/templates/db/prisma/mongodb/src/db/index.ts.hbs +5 -0
- package/templates/db/prisma/mysql/prisma/schema/schema.prisma.hbs +6 -0
- package/templates/db/prisma/mysql/src/db/index.ts.hbs +12 -0
- package/templates/db/prisma/postgres/prisma/schema/schema.prisma.hbs +3 -0
- package/templates/db/prisma/postgres/src/db/index.ts.hbs +5 -0
- package/templates/db/prisma/sqlite/prisma/schema/schema.prisma.hbs +10 -0
- package/templates/db/prisma/sqlite/prisma.config.ts.hbs +29 -1
- package/templates/db/prisma/sqlite/src/db/index.ts.hbs +28 -0
- package/templates/deploy/alchemy/alchemy.run.ts.hbs +6 -2
- package/templates/deploy/wrangler/server/wrangler.jsonc.hbs +5 -0
- package/templates/examples/todo/server/prisma/base/src/routers/todo.ts.hbs +2 -2
- package/templates/extras/bunfig.toml.hbs +0 -5
- package/templates/frontend/react/next/next.config.ts.hbs +7 -0
- package/templates/db/prisma/mongodb/prisma/index.ts.hbs +0 -5
- package/templates/db/prisma/mysql/prisma/index.ts +0 -5
- package/templates/db/prisma/postgres/prisma/index.ts +0 -5
- package/templates/db/prisma/sqlite/prisma/index.ts +0 -5
package/dist/cli.js
CHANGED
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