create-better-t-stack 2.50.0-canary.dd7000f2 → 2.50.1
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-dv6H37db.js → src-B8TD9m4n.js} +228 -518
- package/package.json +1 -2
- package/templates/api/orpc/server/{src → base/src/lib}/context.ts.hbs +6 -6
- package/templates/api/orpc/server/next/src/app/rpc/[...all]/route.ts.hbs +52 -0
- package/templates/api/orpc/web/nuxt/app/plugins/orpc.ts.hbs +1 -1
- package/templates/api/orpc/web/react/base/src/utils/orpc.ts.hbs +1 -1
- package/templates/api/orpc/web/solid/src/utils/orpc.ts.hbs +1 -1
- package/templates/api/orpc/web/svelte/src/lib/orpc.ts.hbs +1 -1
- package/templates/api/trpc/server/{src → base/src/lib}/context.ts.hbs +6 -6
- package/templates/api/trpc/server/next/src/app/trpc/[trpc]/route.ts +14 -0
- package/templates/api/trpc/web/react/base/src/utils/trpc.ts.hbs +2 -2
- package/templates/auth/better-auth/server/base/src/{index.ts.hbs → lib/auth.ts.hbs} +7 -7
- package/templates/auth/better-auth/server/next/src/app/api/auth/[...all]/route.ts +4 -0
- package/templates/backend/server/elysia/src/index.ts.hbs +6 -6
- package/templates/backend/server/express/src/index.ts.hbs +6 -6
- package/templates/backend/server/fastify/src/index.ts.hbs +6 -6
- package/templates/backend/server/hono/src/index.ts.hbs +7 -7
- package/templates/backend/server/next/next-env.d.ts +5 -0
- package/templates/backend/server/next/next.config.ts +7 -0
- package/templates/backend/server/next/package.json.hbs +27 -0
- package/templates/backend/server/next/src/app/route.ts +5 -0
- package/templates/backend/server/next/src/middleware.ts +19 -0
- package/templates/backend/server/next/tsconfig.json.hbs +33 -0
- package/templates/backend/server/{base → server-base}/package.json.hbs +1 -0
- package/templates/{api/trpc/server → backend/server/server-base}/src/routers/index.ts.hbs +2 -2
- package/templates/backend/server/{base → server-base}/tsconfig.json.hbs +10 -5
- package/templates/base/_gitignore +1 -47
- package/templates/base/package.json.hbs +3 -1
- package/templates/db/drizzle/mysql/drizzle.config.ts.hbs +2 -7
- package/templates/db/drizzle/mysql/src/{index.ts.hbs → db/index.ts.hbs} +1 -1
- package/templates/db/drizzle/postgres/drizzle.config.ts.hbs +2 -7
- package/templates/db/drizzle/postgres/src/{index.ts.hbs → db/index.ts.hbs} +1 -1
- package/templates/db/drizzle/sqlite/drizzle.config.ts.hbs +2 -7
- package/templates/db/drizzle/sqlite/src/{index.ts.hbs → db/index.ts.hbs} +1 -1
- package/templates/db/prisma/mongodb/prisma.config.ts.hbs +1 -5
- package/templates/db/prisma/mongodb/src/db/index.ts.hbs +5 -0
- package/templates/db/prisma/mysql/prisma.config.ts.hbs +1 -5
- package/templates/db/prisma/mysql/src/{index.ts.hbs → db/index.ts.hbs} +1 -1
- package/templates/db/prisma/postgres/prisma.config.ts.hbs +3 -7
- package/templates/db/prisma/postgres/src/{index.ts.hbs → db/index.ts.hbs} +1 -1
- package/templates/db/prisma/sqlite/prisma.config.ts.hbs +1 -5
- package/templates/db/prisma/sqlite/src/{index.ts.hbs → db/index.ts.hbs} +3 -3
- package/templates/examples/ai/server/next/src/app/ai/route.ts.hbs +15 -0
- package/templates/examples/todo/server/drizzle/base/src/routers/todo.ts.hbs +6 -6
- package/templates/examples/todo/server/mongoose/base/src/routers/todo.ts.hbs +4 -4
- package/templates/examples/todo/server/prisma/base/src/routers/todo.ts.hbs +4 -4
- package/templates/frontend/react/tanstack-router/src/routes/__root.tsx.hbs +1 -1
- package/templates/frontend/react/tanstack-start/src/routes/__root.tsx.hbs +1 -1
- package/templates/api/orpc/server/_gitignore +0 -34
- package/templates/api/orpc/server/package.json.hbs +0 -24
- package/templates/api/orpc/server/src/routers/index.ts.hbs +0 -55
- package/templates/api/orpc/server/tsconfig.json.hbs +0 -10
- package/templates/api/orpc/server/tsdown.config.ts.hbs +0 -7
- package/templates/api/trpc/server/_gitignore +0 -34
- package/templates/api/trpc/server/package.json.hbs +0 -23
- package/templates/api/trpc/server/tsconfig.json.hbs +0 -13
- package/templates/api/trpc/server/tsdown.config.ts.hbs +0 -7
- package/templates/auth/better-auth/server/base/_gitignore +0 -34
- package/templates/auth/better-auth/server/base/package.json.hbs +0 -24
- package/templates/auth/better-auth/server/base/tsconfig.json.hbs +0 -13
- package/templates/auth/better-auth/server/base/tsdown.config.ts.hbs +0 -7
- package/templates/backend/server/base/tsdown.config.ts.hbs +0 -14
- package/templates/base/tsconfig.base.json +0 -23
- package/templates/db/base/_gitignore +0 -34
- package/templates/db/base/package.json.hbs +0 -23
- package/templates/db/base/tsconfig.json.hbs +0 -13
- package/templates/db/base/tsdown.config.ts.hbs +0 -7
- package/templates/db/prisma/mongodb/src/index.ts.hbs +0 -5
- /package/templates/api/orpc/server/{src/index.ts.hbs → base/src/lib/orpc.ts.hbs} +0 -0
- /package/templates/api/trpc/server/{src/index.ts.hbs → base/src/lib/trpc.ts.hbs} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/mysql/src/{schema/auth.ts.hbs → db/schema/auth.ts} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/postgres/src/{schema/auth.ts.hbs → db/schema/auth.ts} +0 -0
- /package/templates/auth/better-auth/server/db/drizzle/sqlite/src/{schema/auth.ts.hbs → db/schema/auth.ts} +0 -0
- /package/templates/auth/better-auth/server/db/mongoose/mongodb/src/{models/auth.model.ts.hbs → db/models/auth.model.ts} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/mongodb/prisma/schema/{auth.prisma.hbs → auth.prisma} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/mysql/prisma/schema/{auth.prisma.hbs → auth.prisma} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/postgres/prisma/schema/{auth.prisma.hbs → auth.prisma} +0 -0
- /package/templates/auth/better-auth/server/db/prisma/sqlite/prisma/schema/{auth.prisma.hbs → auth.prisma} +0 -0
- /package/templates/auth/better-auth/web/nuxt/app/middleware/{auth.ts.hbs → auth.ts} +0 -0
- /package/templates/backend/server/{base → server-base}/_gitignore +0 -0
- /package/templates/db/mongoose/mongodb/src/{index.ts.hbs → db/index.ts.hbs} +0 -0
- /package/templates/examples/todo/server/drizzle/mysql/src/{schema → db/schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/drizzle/postgres/src/{schema → db/schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/drizzle/sqlite/src/{schema → db/schema}/todo.ts +0 -0
- /package/templates/examples/todo/server/mongoose/mongodb/src/{models/todo.model.ts.hbs → db/models/todo.model.ts} +0 -0
- /package/templates/examples/todo/server/prisma/mongodb/prisma/schema/{todo.prisma.hbs → todo.prisma} +0 -0
- /package/templates/examples/todo/server/prisma/mysql/prisma/schema/{todo.prisma.hbs → todo.prisma} +0 -0
- /package/templates/examples/todo/server/prisma/postgres/prisma/schema/{todo.prisma.hbs → todo.prisma} +0 -0
- /package/templates/examples/todo/server/prisma/sqlite/prisma/schema/{todo.prisma.hbs → todo.prisma} +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";
|
|
25
26
|
hono: "hono";
|
|
26
27
|
express: "express";
|
|
27
28
|
fastify: "fastify";
|
|
28
29
|
elysia: "elysia";
|
|
29
30
|
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";
|
|
289
290
|
hono: "hono";
|
|
290
291
|
express: "express";
|
|
291
292
|
fastify: "fastify";
|
|
292
293
|
elysia: "elysia";
|
|
293
294
|
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