create-better-t-stack 3.4.1 → 3.4.2-canary.281ca96d
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/README.md +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.js +1 -1
- package/dist/{src-_EdtPnBT.js → src-CFkY2F0Q.js} +97 -462
- package/package.json +1 -1
- package/templates/api/orpc/server/package.json.hbs +1 -5
- package/templates/api/orpc/server/tsconfig.json.hbs +1 -4
- package/templates/api/trpc/server/package.json.hbs +1 -5
- package/templates/api/trpc/server/tsconfig.json.hbs +1 -4
- package/templates/auth/better-auth/server/base/package.json.hbs +1 -5
- package/templates/auth/better-auth/server/base/tsconfig.json.hbs +1 -4
- package/templates/db/base/package.json.hbs +1 -5
- package/templates/db/base/tsconfig.json.hbs +1 -4
- package/templates/db/drizzle/sqlite/drizzle.config.ts.hbs +0 -7
- package/templates/db/prisma/mongodb/prisma/schema/schema.prisma.hbs +1 -1
- package/templates/db/prisma/mysql/prisma/schema/schema.prisma.hbs +8 -12
- package/templates/db/prisma/mysql/prisma.config.ts.hbs +17 -14
- package/templates/db/prisma/mysql/src/index.ts.hbs +20 -6
- package/templates/db/prisma/postgres/prisma/schema/schema.prisma.hbs +1 -5
- package/templates/db/prisma/postgres/prisma.config.ts.hbs +12 -9
- package/templates/db/prisma/postgres/src/index.ts.hbs +26 -4
- package/templates/db/prisma/sqlite/prisma/schema/schema.prisma.hbs +1 -12
- package/templates/db/prisma/sqlite/prisma.config.ts.hbs +12 -9
- package/templates/db/prisma/sqlite/src/index.ts.hbs +10 -14
- package/templates/deploy/alchemy/alchemy.run.ts.hbs +67 -5
- package/templates/examples/ai/web/react/next/src/app/ai/page.tsx.hbs +2 -2
- package/templates/extras/_npmrc.hbs +2 -2
- package/templates/frontend/native/uniwind/app/(drawer)/_layout.tsx.hbs +21 -13
- package/templates/frontend/react/next/next.config.ts.hbs +5 -2
- package/templates/frontend/react/next/tsconfig.json.hbs +0 -3
- package/templates/frontend/react/tanstack-start/package.json.hbs +4 -4
- package/templates/packages/config/tsconfig.base.json.hbs +1 -1
- package/templates/api/orpc/server/tsdown.config.ts.hbs +0 -7
- package/templates/api/trpc/server/tsdown.config.ts.hbs +0 -7
- package/templates/auth/better-auth/server/base/tsdown.config.ts.hbs +0 -7
- package/templates/db/base/tsdown.config.ts.hbs +0 -7
- package/templates/deploy/wrangler/server/wrangler.jsonc.hbs +0 -39
- package/templates/deploy/wrangler/web/nuxt/wrangler.jsonc.hbs +0 -51
- package/templates/deploy/wrangler/web/react/next/open-next.config.ts +0 -6
- package/templates/deploy/wrangler/web/react/next/wrangler.jsonc.hbs +0 -22
- package/templates/deploy/wrangler/web/react/react-router/wrangler.jsonc.hbs +0 -8
- package/templates/deploy/wrangler/web/react/tanstack-router/wrangler.jsonc.hbs +0 -8
- package/templates/deploy/wrangler/web/react/tanstack-start/wrangler.jsonc.hbs +0 -20
- package/templates/deploy/wrangler/web/solid/wrangler.jsonc.hbs +0 -8
- package/templates/deploy/wrangler/web/svelte/wrangler.jsonc.hbs +0 -51
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Follow the prompts to configure your project or use the `--yes` flag for default
|
|
|
38
38
|
| **Runtime** | • Bun<br>• Node.js<br>• Cloudflare Workers<br>• None |
|
|
39
39
|
| **Database** | • SQLite<br>• PostgreSQL<br>• MySQL<br>• MongoDB<br>• None |
|
|
40
40
|
| **ORM** | • Drizzle (TypeScript-first)<br>• Prisma (feature-rich)<br>• Mongoose (for MongoDB)<br>• None |
|
|
41
|
-
| **Database Setup** | • Turso (SQLite)<br>• Cloudflare D1 (SQLite)<br>• Neon (PostgreSQL)<br>• Supabase (PostgreSQL)<br>• Prisma Postgres
|
|
41
|
+
| **Database Setup** | • Turso (SQLite)<br>• Cloudflare D1 (SQLite)<br>• Neon (PostgreSQL)<br>• Supabase (PostgreSQL)<br>• Prisma Postgres<br>• MongoDB Atlas<br>• None (manual setup) |
|
|
42
42
|
| **Authentication** | Better-Auth (email/password, with more options coming soon) |
|
|
43
43
|
| **Styling** | Tailwind CSS with shadcn/ui components |
|
|
44
44
|
| **Addons** | • PWA support<br>• Tauri (desktop applications)<br>• Starlight (documentation site)<br>• Biome (linting and formatting)<br>• Husky (Git hooks)<br>• Turborepo (optimized builds) |
|
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -107,13 +107,11 @@ declare const PaymentsSchema: z.ZodEnum<{
|
|
|
107
107
|
type Payments = z.infer<typeof PaymentsSchema>;
|
|
108
108
|
declare const WebDeploySchema: z.ZodEnum<{
|
|
109
109
|
none: "none";
|
|
110
|
-
wrangler: "wrangler";
|
|
111
110
|
alchemy: "alchemy";
|
|
112
111
|
}>;
|
|
113
112
|
type WebDeploy = z.infer<typeof WebDeploySchema>;
|
|
114
113
|
declare const ServerDeploySchema: z.ZodEnum<{
|
|
115
114
|
none: "none";
|
|
116
|
-
wrangler: "wrangler";
|
|
117
115
|
alchemy: "alchemy";
|
|
118
116
|
}>;
|
|
119
117
|
type ServerDeploy = z.infer<typeof ServerDeploySchema>;
|
|
@@ -307,12 +305,10 @@ declare const router: {
|
|
|
307
305
|
}>>;
|
|
308
306
|
webDeploy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
309
307
|
none: "none";
|
|
310
|
-
wrangler: "wrangler";
|
|
311
308
|
alchemy: "alchemy";
|
|
312
309
|
}>>;
|
|
313
310
|
serverDeploy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
314
311
|
none: "none";
|
|
315
|
-
wrangler: "wrangler";
|
|
316
312
|
alchemy: "alchemy";
|
|
317
313
|
}>>;
|
|
318
314
|
directoryConflict: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -417,12 +413,10 @@ declare const router: {
|
|
|
417
413
|
}>>>>;
|
|
418
414
|
webDeploy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
419
415
|
none: "none";
|
|
420
|
-
wrangler: "wrangler";
|
|
421
416
|
alchemy: "alchemy";
|
|
422
417
|
}>>;
|
|
423
418
|
serverDeploy: z$1.ZodOptional<z$1.ZodEnum<{
|
|
424
419
|
none: "none";
|
|
425
|
-
wrangler: "wrangler";
|
|
426
420
|
alchemy: "alchemy";
|
|
427
421
|
}>>;
|
|
428
422
|
projectDir: z$1.ZodOptional<z$1.ZodString>;
|
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-
|
|
2
|
+
import { a as router, i as init, n as createBtsCli, o as sponsors, r as docs, t as builder } from "./src-CFkY2F0Q.js";
|
|
3
3
|
|
|
4
4
|
export { builder, createBtsCli, docs, init, router, sponsors };
|