create-croissant 0.1.26 → 0.1.28
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/package.json +6 -6
- package/template/README.md +1 -1
- package/template/apps/{web → platform}/package.json +12 -12
- package/template/package.json +10 -6
- package/template/packages/auth/package.json +2 -2
- package/template/packages/ui/package.json +7 -7
- /package/template/apps/{web → platform}/.env.example +0 -0
- /package/template/apps/{web → platform}/components.json +0 -0
- /package/template/apps/{web → platform}/drizzle.config.ts +0 -0
- /package/template/apps/{web → platform}/eslint.config.js +0 -0
- /package/template/apps/{web → platform}/public/favicon.ico +0 -0
- /package/template/apps/{web → platform}/public/manifest.json +0 -0
- /package/template/apps/{web → platform}/public/robots.txt +0 -0
- /package/template/apps/{web → platform}/src/components/app-sidebar.tsx +0 -0
- /package/template/apps/{web → platform}/src/components/login-form.tsx +0 -0
- /package/template/apps/{web → platform}/src/components/search-form.tsx +0 -0
- /package/template/apps/{web → platform}/src/components/signup-form.tsx +0 -0
- /package/template/apps/{web → platform}/src/components/version-switcher.tsx +0 -0
- /package/template/apps/{web → platform}/src/lib/auth-client.ts +0 -0
- /package/template/apps/{web → platform}/src/lib/auth-utils.ts +0 -0
- /package/template/apps/{web → platform}/src/lib/orpc.ts +0 -0
- /package/template/apps/{web → platform}/src/routeTree.gen.ts +0 -0
- /package/template/apps/{web → platform}/src/router.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/__root.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_auth/account.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_auth/dashboard.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_auth/examples/client-orpc-auth.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_auth/examples/ssr-orpc-auth.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_auth.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/examples/client-orpc.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/examples/isr.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/examples/ssr-orpc.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/index.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/login.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public/signup.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/_public.tsx +0 -0
- /package/template/apps/{web → platform}/src/routes/api/auth/$.ts +0 -0
- /package/template/apps/{web → platform}/src/routes/api/rpc.$.ts +0 -0
- /package/template/apps/{web → platform}/tsconfig.json +0 -0
- /package/template/apps/{web → platform}/vite.config.ts +0 -0
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.28",
|
|
7
7
|
"description": "Scaffold a new project using the Croissant Stack",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -27,17 +27,17 @@
|
|
|
27
27
|
"prepare-template": "node scripts/prepare-template.js"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"chalk": "^5.
|
|
30
|
+
"chalk": "^5.6.2",
|
|
31
31
|
"commander": "^14.0.3",
|
|
32
|
-
"execa": "^9.
|
|
33
|
-
"fs-extra": "^11.
|
|
32
|
+
"execa": "^9.6.1",
|
|
33
|
+
"fs-extra": "^11.3.4",
|
|
34
34
|
"inquirer": "^13.4.2",
|
|
35
35
|
"ora": "^9.4.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/fs-extra": "^11.0.4",
|
|
39
|
-
"@types/inquirer": "^9.0.
|
|
39
|
+
"@types/inquirer": "^9.0.9",
|
|
40
40
|
"@types/node": "^25.6.0",
|
|
41
|
-
"tsup": "^8.1
|
|
41
|
+
"tsup": "^8.5.1"
|
|
42
42
|
}
|
|
43
43
|
}
|
package/template/README.md
CHANGED
|
@@ -34,7 +34,7 @@ You can see the configuration in `turbo.json`.
|
|
|
34
34
|
|
|
35
35
|
## 📁 Project Structure
|
|
36
36
|
|
|
37
|
-
- `apps/
|
|
37
|
+
- `apps/platform`: The main TanStack Start application. Uses `@/` path alias for clean imports.
|
|
38
38
|
- `packages/auth`: Authentication logic and Better Auth configuration.
|
|
39
39
|
- `packages/db`: Database schema, migrations, and Drizzle client.
|
|
40
40
|
- `packages/orpc`: Type-safe API router. Organized into modular files (e.g., `lib/planets.ts`).
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
2
|
+
"name": "platform",
|
|
3
3
|
"version": "0.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
@@ -20,28 +20,28 @@
|
|
|
20
20
|
"@orpc/tanstack-query": "^1.14.0",
|
|
21
21
|
"@tailwindcss/vite": "^4.2.4",
|
|
22
22
|
"@tanstack/react-form": "^1.29.1",
|
|
23
|
-
"@tanstack/react-query": "^5.
|
|
24
|
-
"@tanstack/react-router": "^1.
|
|
25
|
-
"@tanstack/react-start": "^1.
|
|
26
|
-
"@tanstack/router-plugin": "^1.
|
|
23
|
+
"@tanstack/react-query": "^5.100.5",
|
|
24
|
+
"@tanstack/react-router": "^1.168.24",
|
|
25
|
+
"@tanstack/react-start": "^1.167.49",
|
|
26
|
+
"@tanstack/router-plugin": "^1.167.27",
|
|
27
27
|
"@tanstack/zod-form-adapter": "^0.42.1",
|
|
28
28
|
"@workspace/auth": "*",
|
|
29
29
|
"@workspace/orpc": "*",
|
|
30
30
|
"@workspace/ui": "*",
|
|
31
|
-
"better-auth": "^1.6.
|
|
32
|
-
"lucide-react": "^1.
|
|
31
|
+
"better-auth": "^1.6.9",
|
|
32
|
+
"lucide-react": "^1.11.0",
|
|
33
33
|
"nitro": "latest",
|
|
34
|
-
"react": "^19.2.
|
|
35
|
-
"react-dom": "^19.2.
|
|
36
|
-
"tailwindcss": "^4.
|
|
34
|
+
"react": "^19.2.5",
|
|
35
|
+
"react-dom": "^19.2.5",
|
|
36
|
+
"tailwindcss": "^4.2.4",
|
|
37
37
|
"vite-tsconfig-paths": "^6.1.1",
|
|
38
38
|
"zod": "^4.3.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^25.6.0",
|
|
42
|
-
"@types/react": "^19.2.
|
|
42
|
+
"@types/react": "^19.2.14",
|
|
43
43
|
"@types/react-dom": "^19.2.3",
|
|
44
44
|
"@vitejs/plugin-react": "^6.0.1",
|
|
45
|
-
"vite": "^8.0.
|
|
45
|
+
"vite": "^8.0.10"
|
|
46
46
|
}
|
|
47
47
|
}
|
package/template/package.json
CHANGED
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"prepare": "husky"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@better-auth/core": "^1.6.
|
|
19
|
+
"@better-auth/core": "^1.6.9",
|
|
20
20
|
"@tanstack/eslint-config": "0.4.0",
|
|
21
21
|
"eslint": "10.2.1",
|
|
22
22
|
"husky": "^9.1.7",
|
|
23
|
-
"prettier": "^3.8.
|
|
24
|
-
"prettier-plugin-tailwindcss": "^0.7.
|
|
25
|
-
"turbo": "^2.
|
|
23
|
+
"prettier": "^3.8.3",
|
|
24
|
+
"prettier-plugin-tailwindcss": "^0.7.3",
|
|
25
|
+
"turbo": "^2.9.6",
|
|
26
26
|
"typescript": "6.0.3"
|
|
27
27
|
},
|
|
28
|
-
"packageManager": "npm@11.
|
|
28
|
+
"packageManager": "npm@11.13.0",
|
|
29
29
|
"engines": {
|
|
30
30
|
"node": ">=20"
|
|
31
31
|
},
|
|
@@ -35,6 +35,10 @@
|
|
|
35
35
|
],
|
|
36
36
|
"overrides": {
|
|
37
37
|
"@noble/ciphers": "2.2.0",
|
|
38
|
-
"@better-auth/core": "^1.6.
|
|
38
|
+
"@better-auth/core": "^1.6.9",
|
|
39
|
+
"drizzle-orm": "^0.45.2",
|
|
40
|
+
"esbuild": "^0.25.0",
|
|
41
|
+
"lodash": "^4.17.21",
|
|
42
|
+
"lodash-es": "^4.17.21"
|
|
39
43
|
}
|
|
40
44
|
}
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"generate": "better-auth generate --output ../db/src/lib/auth-schema.ts"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"better-auth": "^1.6.
|
|
13
|
+
"better-auth": "^1.6.9",
|
|
14
14
|
"@workspace/db": "*"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@better-auth/cli": "^1.4.
|
|
17
|
+
"@better-auth/cli": "^1.4.22",
|
|
18
18
|
"drizzle-kit": "^0.31.10"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"date-fns": "^4.1.0",
|
|
18
18
|
"embla-carousel-react": "^8.6.0",
|
|
19
19
|
"input-otp": "^1.4.2",
|
|
20
|
-
"lucide-react": "^1.
|
|
20
|
+
"lucide-react": "^1.11.0",
|
|
21
21
|
"next-themes": "^0.4.6",
|
|
22
|
-
"react": "^19.2.
|
|
22
|
+
"react": "^19.2.5",
|
|
23
23
|
"react-day-picker": "^9.14.0",
|
|
24
|
-
"react-dom": "^19.2.
|
|
24
|
+
"react-dom": "^19.2.5",
|
|
25
25
|
"react-resizable-panels": "^4.10.0",
|
|
26
26
|
"recharts": "^3.8.1",
|
|
27
|
-
"shadcn": "^4.
|
|
27
|
+
"shadcn": "^4.5.0",
|
|
28
28
|
"sonner": "^2.0.7",
|
|
29
29
|
"tailwind-merge": "^3.5.0",
|
|
30
30
|
"tw-animate-css": "^1.4.0",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@tailwindcss/vite": "^4.2.4",
|
|
36
|
-
"@turbo/gen": "^2.
|
|
36
|
+
"@turbo/gen": "^2.9.6",
|
|
37
37
|
"@types/node": "^25.6.0",
|
|
38
|
-
"@types/react": "^19.2.
|
|
38
|
+
"@types/react": "^19.2.14",
|
|
39
39
|
"@types/react-dom": "^19.2.3",
|
|
40
|
-
"tailwindcss": "^4.
|
|
40
|
+
"tailwindcss": "^4.2.4"
|
|
41
41
|
},
|
|
42
42
|
"exports": {
|
|
43
43
|
"./globals.css": "./src/styles/globals.css",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|