create-better-t-stack 1.12.4 → 1.13.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/README.md +1 -2
- package/dist/index.js +73 -73
- package/package.json +1 -1
- package/template/base/apps/server/_gitignore +17 -2
- package/template/base/apps/web-base/_gitignore +39 -13
- package/template/base/apps/web-base/src/index.css +1 -1
- package/template/base/apps/web-next/next-env.d.ts +5 -0
- package/template/base/apps/web-next/next.config.ts +7 -0
- package/template/base/apps/web-next/package.json +41 -0
- package/template/base/apps/web-next/postcss.config.mjs +5 -0
- package/template/base/apps/web-next/src/app/favicon.ico +0 -0
- package/template/base/apps/web-next/src/app/layout.tsx +41 -0
- package/template/base/apps/web-next/src/app/page.tsx +83 -0
- package/template/base/apps/web-next/src/components/header.tsx +30 -0
- package/template/base/apps/web-next/src/components/mode-toggle.tsx +39 -0
- package/template/base/apps/web-next/src/components/providers.tsx +25 -0
- package/template/base/apps/web-next/src/components/theme-provider.tsx +11 -0
- package/template/base/apps/web-next/src/utils/trpc.ts +33 -0
- package/template/base/apps/web-next/tsconfig.json +28 -0
- package/template/with-auth/apps/server/src/lib/with-next-context.ts +14 -0
- package/template/with-auth/apps/server/src/with-next-app/api/auth/[...all]/route.ts +4 -0
- package/template/with-auth/apps/web-next/src/app/dashboard/page.tsx +31 -0
- package/template/with-auth/apps/web-next/src/app/login/page.tsx +16 -0
- package/template/with-auth/apps/web-next/src/components/header.tsx +33 -0
- package/template/with-auth/apps/web-next/src/components/sign-in-form.tsx +135 -0
- package/template/with-auth/apps/web-next/src/components/sign-up-form.tsx +160 -0
- package/template/with-auth/apps/web-next/src/components/theme-provider.tsx +11 -0
- package/template/with-auth/apps/web-next/src/components/user-menu.tsx +60 -0
- package/template/with-auth/apps/web-next/src/lib/auth-client.ts +5 -0
- package/template/with-auth/apps/web-next/src/utils/trpc.ts +39 -0
- package/template/with-next/apps/server/next-env.d.ts +5 -0
- package/template/with-next/apps/server/next.config.ts +7 -0
- package/template/with-next/apps/server/package.json +20 -0
- package/template/with-next/apps/server/src/app/route.ts +5 -0
- package/template/with-next/apps/server/src/app/trpc/[trpc]/route.ts +14 -0
- package/template/with-next/apps/server/src/lib/context.ts +9 -0
- package/template/with-next/apps/server/src/middleware.ts +19 -0
- package/template/with-next/apps/server/tsconfig.json +27 -0
- package/template/base/apps/web-tanstack-start/src/index.css +0 -135
package/README.md
CHANGED
|
@@ -52,8 +52,7 @@ Options:
|
|
|
52
52
|
--no-auth Exclude authentication
|
|
53
53
|
--frontend <types...> Frontend types (tanstack-router, react-router, tanstack-start, native, none)
|
|
54
54
|
--addons <types...> Additional addons (pwa, tauri, starlight, biome, husky, none)
|
|
55
|
-
--examples <types...> Examples to include (todo, ai)
|
|
56
|
-
--no-examples Skip all examples
|
|
55
|
+
--examples <types...> Examples to include (todo, ai, none)
|
|
57
56
|
--git Initialize git repository
|
|
58
57
|
--no-git Skip git initialization
|
|
59
58
|
--package-manager <pm> Package manager (npm, pnpm, bun)
|