create-better-t-stack 2.49.1-canary.80158905 → 2.50.0-canary.dd7000f2
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 -2
- package/dist/index.js +1 -1
- package/dist/{src-CyG8-I-3.js → src-dv6H37db.js} +257 -157
- package/package.json +2 -1
- package/templates/api/orpc/server/{rest/src → src}/context.ts.hbs +1 -1
- package/templates/api/trpc/server/{rest/src → src}/context.ts.hbs +1 -1
- package/templates/auth/better-auth/server/base/src/index.ts.hbs +1 -1
- package/templates/auth/clerk/convex/web/react/tanstack-start/src/server.ts.hbs +1 -0
- package/templates/backend/server/elysia/src/index.ts.hbs +1 -1
- package/templates/backend/server/express/src/index.ts.hbs +1 -1
- package/templates/backend/server/fastify/src/index.ts.hbs +1 -1
- package/templates/backend/server/hono/src/index.ts.hbs +2 -2
- package/templates/db/drizzle/mysql/src/index.ts.hbs +1 -1
- package/templates/db/drizzle/postgres/src/index.ts.hbs +1 -1
- package/templates/db/drizzle/sqlite/src/index.ts.hbs +1 -1
- package/templates/deploy/wrangler/web/react/tanstack-start/wrangler.jsonc.hbs +1 -1
- package/templates/frontend/react/tanstack-start/package.json.hbs +7 -7
- package/templates/frontend/react/tanstack-start/src/routes/__root.tsx.hbs +4 -4
- package/templates/frontend/react/tanstack-start/vite.config.ts.hbs +1 -1
- package/templates/api/orpc/server/next/src/app/rpc/[...all]/route.ts.hbs +0 -52
- package/templates/api/trpc/server/next/src/app/trpc/[trpc]/route.ts +0 -14
- package/templates/auth/better-auth/server/next/src/app/api/auth/[...all]/route.ts +0 -4
- package/templates/backend/server/next/next-env.d.ts +0 -5
- package/templates/backend/server/next/next.config.ts +0 -7
- package/templates/backend/server/next/package.json.hbs +0 -27
- package/templates/backend/server/next/src/app/route.ts +0 -5
- package/templates/backend/server/next/src/middleware.ts +0 -19
- package/templates/backend/server/next/tsconfig.json.hbs +0 -33
- package/templates/examples/ai/server/next/src/app/ai/route.ts.hbs +0 -15
- /package/templates/api/orpc/server/{base/_gitignore → _gitignore} +0 -0
- /package/templates/api/orpc/server/{base/package.json.hbs → package.json.hbs} +0 -0
- /package/templates/api/orpc/server/{rest/src → src}/index.ts.hbs +0 -0
- /package/templates/api/orpc/server/{base/src → src}/routers/index.ts.hbs +0 -0
- /package/templates/api/orpc/server/{base/tsconfig.json.hbs → tsconfig.json.hbs} +0 -0
- /package/templates/api/orpc/server/{base/tsdown.config.ts.hbs → tsdown.config.ts.hbs} +0 -0
- /package/templates/api/trpc/server/{base/_gitignore → _gitignore} +0 -0
- /package/templates/api/trpc/server/{base/package.json.hbs → package.json.hbs} +0 -0
- /package/templates/api/trpc/server/{rest/src → src}/index.ts.hbs +0 -0
- /package/templates/api/trpc/server/{base/src → src}/routers/index.ts.hbs +0 -0
- /package/templates/api/trpc/server/{base/tsconfig.json.hbs → tsconfig.json.hbs} +0 -0
- /package/templates/api/trpc/server/{base/tsdown.config.ts.hbs → tsdown.config.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/mysql/src/schema/{auth.ts → auth.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/postgres/src/schema/{auth.ts → auth.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/sqlite/src/schema/{auth.ts → auth.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/mongoose/mongodb/src/models/{auth.model.ts → auth.model.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/mongodb/prisma/schema/{auth.prisma → auth.prisma.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/mysql/prisma/schema/{auth.prisma → auth.prisma.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/postgres/prisma/schema/{auth.prisma → auth.prisma.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/sqlite/prisma/schema/{auth.prisma → auth.prisma.hbs} +0 -0
- /package/templates/auth/better-auth/web/nuxt/app/middleware/{auth.ts → auth.ts.hbs} +0 -0
- /package/templates/examples/todo/server/drizzle/mysql/src/{db/schema → schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/drizzle/postgres/src/{db/schema → schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/drizzle/sqlite/src/{db/schema → schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/mongoose/mongodb/src/{db/models → models}/todo.model.ts.hbs +0 -0
package/dist/cli.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -22,12 +22,12 @@ declare const ORMSchema: z.ZodEnum<{
|
|
|
22
22
|
type ORM = z.infer<typeof ORMSchema>;
|
|
23
23
|
declare const BackendSchema: z.ZodEnum<{
|
|
24
24
|
none: "none";
|
|
25
|
-
next: "next";
|
|
26
25
|
hono: "hono";
|
|
27
26
|
express: "express";
|
|
28
27
|
fastify: "fastify";
|
|
29
28
|
elysia: "elysia";
|
|
30
29
|
convex: "convex";
|
|
30
|
+
self: "self";
|
|
31
31
|
}>;
|
|
32
32
|
type Backend = z.infer<typeof BackendSchema>;
|
|
33
33
|
declare const RuntimeSchema: z.ZodEnum<{
|
|
@@ -286,12 +286,12 @@ declare const router: {
|
|
|
286
286
|
}>>;
|
|
287
287
|
backend: z$1.ZodOptional<z$1.ZodEnum<{
|
|
288
288
|
none: "none";
|
|
289
|
-
next: "next";
|
|
290
289
|
hono: "hono";
|
|
291
290
|
express: "express";
|
|
292
291
|
fastify: "fastify";
|
|
293
292
|
elysia: "elysia";
|
|
294
293
|
convex: "convex";
|
|
294
|
+
self: "self";
|
|
295
295
|
}>>;
|
|
296
296
|
runtime: z$1.ZodOptional<z$1.ZodEnum<{
|
|
297
297
|
none: "none";
|
package/dist/index.js
CHANGED