11{
2- "$schema" : " http://json-schema.org/draft-07/schema#" ,
3- "$id" : " https://better-t-stack.dev/schema.json" ,
4- "title" : " Better-T-Stack Configuration" ,
5- "description" : " Configuration file for Better-T-Stack projects" ,
6- "type" : " object" ,
7- "properties" : {
8- "$schema" : {
9- "type" : " string" ,
10- "description" : " JSON Schema reference for validation"
11- },
12- "version" : {
13- "type" : " string" ,
14- "description" : " CLI version used to create this project" ,
15- "pattern" : " ^\\ d+\\ .\\ d+\\ .\\ d+$"
16- },
17- "createdAt" : {
18- "type" : " string" ,
19- "format" : " date-time" ,
20- "description" : " Timestamp when the project was created"
21- },
22- "database" : {
23- "type" : " string" ,
24- "enum" : [" none" , " sqlite" , " postgres" , " mysql" , " mongodb" ],
25- "description" : " Database type"
26- },
27- "orm" : {
28- "type" : " string" ,
29- "enum" : [" drizzle" , " prisma" , " mongoose" , " none" ],
30- "description" : " ORM type"
31- },
32- "backend" : {
33- "type" : " string" ,
34- "enum" : [
35- " hono" ,
36- " express" ,
37- " fastify" ,
38- " next" ,
39- " elysia" ,
40- " convex" ,
41- " none"
42- ],
43- "description" : " Backend framework"
44- },
45- "runtime" : {
46- "type" : " string" ,
47- "enum" : [" bun" , " node" , " workers" , " none" ],
48- "description" : " Runtime environment (workers only available with hono backend and drizzle orm)"
49- },
50- "frontend" : {
51- "type" : " array" ,
52- "items" : {
53- "type" : " string" ,
54- "enum" : [
55- " tanstack-router" ,
56- " react-router" ,
57- " tanstack-start" ,
58- " next" ,
59- " nuxt" ,
60- " native-nativewind" ,
61- " native-unistyles" ,
62- " svelte" ,
63- " solid" ,
64- " none"
65- ]
66- },
67- "description" : " Frontend framework"
68- },
69- "addons" : {
70- "type" : " array" ,
71- "items" : {
72- "type" : " string" ,
73- "enum" : [
74- " pwa" ,
75- " tauri" ,
76- " starlight" ,
77- " biome" ,
78- " husky" ,
79- " turborepo" ,
80- " none"
81- ]
82- },
83- "description" : " Additional addons"
84- },
85- "examples" : {
86- "type" : " array" ,
87- "items" : {
88- "type" : " string" ,
89- "enum" : [" todo" , " ai" , " none" ]
90- },
91- "description" : " Example templates to include"
92- },
93- "auth" : {
94- "type" : " boolean" ,
95- "description" : " Whether authentication is enabled"
96- },
97- "packageManager" : {
98- "type" : " string" ,
99- "enum" : [" npm" , " pnpm" , " bun" ],
100- "description" : " Package manager"
101- },
102- "dbSetup" : {
103- "type" : " string" ,
104- "enum" : [
105- " turso" ,
106- " neon" ,
107- " prisma-postgres" ,
108- " mongodb-atlas" ,
109- " supabase" ,
110- " d1" ,
111- " docker" ,
112- " none"
113- ],
114- "description" : " Database hosting setup"
115- },
116- "api" : {
117- "type" : " string" ,
118- "enum" : [" trpc" , " orpc" , " none" ],
119- "description" : " API type"
120- },
121- "webDeploy" : {
122- "type" : " string" ,
123- "enum" : [" workers" , " none" ],
124- "description" : " Web deployment"
125- }
126- },
127- "required" : [
128- " version" ,
129- " createdAt" ,
130- " database" ,
131- " orm" ,
132- " backend" ,
133- " runtime" ,
134- " frontend" ,
135- " addons" ,
136- " examples" ,
137- " auth" ,
138- " packageManager" ,
139- " dbSetup" ,
140- " api" ,
141- " webDeploy"
142- ],
143- "additionalProperties" : false
144- }
2+ "$schema" : " http://json-schema.org/draft-07/schema#" ,
3+ "$id" : " https://better-t-stack.dev/schema.json" ,
4+ "title" : " Better-T-Stack Configuration" ,
5+ "description" : " Configuration file for Better-T-Stack projects" ,
6+ "type" : " object" ,
7+ "properties" : {
8+ "$schema" : {
9+ "type" : " string" ,
10+ "description" : " JSON Schema reference for validation"
11+ },
12+ "version" : {
13+ "type" : " string" ,
14+ "description" : " CLI version used to create this project" ,
15+ "pattern" : " ^\\ d+\\ .\\ d+\\ .\\ d+$"
16+ },
17+ "createdAt" : {
18+ "type" : " string" ,
19+ "format" : " date-time" ,
20+ "description" : " Timestamp when the project was created"
21+ },
22+ "database" : {
23+ "type" : " string" ,
24+ "enum" : [
25+ " none" ,
26+ " sqlite" ,
27+ " postgres" ,
28+ " mysql" ,
29+ " mongodb"
30+ ],
31+ "description" : " Database type"
32+ },
33+ "orm" : {
34+ "type" : " string" ,
35+ "enum" : [
36+ " drizzle" ,
37+ " prisma" ,
38+ " mongoose" ,
39+ " none"
40+ ],
41+ "description" : " ORM type"
42+ },
43+ "backend" : {
44+ "type" : " string" ,
45+ "enum" : [
46+ " hono" ,
47+ " express" ,
48+ " fastify" ,
49+ " next" ,
50+ " elysia" ,
51+ " convex" ,
52+ " none"
53+ ],
54+ "description" : " Backend framework"
55+ },
56+ "runtime" : {
57+ "type" : " string" ,
58+ "enum" : [
59+ " bun" ,
60+ " node" ,
61+ " workers" ,
62+ " none"
63+ ],
64+ "description" : " Runtime environment (workers only available with hono backend and drizzle orm)"
65+ },
66+ "frontend" : {
67+ "type" : " array" ,
68+ "items" : {
69+ "type" : " string" ,
70+ "enum" : [
71+ " tanstack-router" ,
72+ " react-router" ,
73+ " tanstack-start" ,
74+ " next" ,
75+ " nuxt" ,
76+ " native-nativewind" ,
77+ " native-unistyles" ,
78+ " svelte" ,
79+ " solid" ,
80+ " none"
81+ ]
82+ },
83+ "description" : " Frontend framework"
84+ },
85+ "addons" : {
86+ "type" : " array" ,
87+ "items" : {
88+ "type" : " string" ,
89+ "enum" : [
90+ " pwa" ,
91+ " tauri" ,
92+ " starlight" ,
93+ " biome" ,
94+ " husky" ,
95+ " turborepo" ,
96+ " none"
97+ ]
98+ },
99+ "description" : " Additional addons"
100+ },
101+ "examples" : {
102+ "type" : " array" ,
103+ "items" : {
104+ "type" : " string" ,
105+ "enum" : [
106+ " todo" ,
107+ " ai" ,
108+ " none"
109+ ]
110+ },
111+ "description" : " Example templates to include"
112+ },
113+ "auth" : {
114+ "type" : " boolean" ,
115+ "description" : " Whether authentication is enabled"
116+ },
117+ "packageManager" : {
118+ "type" : " string" ,
119+ "enum" : [
120+ " npm" ,
121+ " pnpm" ,
122+ " bun"
123+ ],
124+ "description" : " Package manager"
125+ },
126+ "dbSetup" : {
127+ "type" : " string" ,
128+ "enum" : [
129+ " turso" ,
130+ " neon" ,
131+ " prisma-postgres" ,
132+ " mongodb-atlas" ,
133+ " supabase" ,
134+ " d1" ,
135+ " docker" ,
136+ " none"
137+ ],
138+ "description" : " Database hosting setup"
139+ },
140+ "api" : {
141+ "type" : " string" ,
142+ "enum" : [
143+ " trpc" ,
144+ " orpc" ,
145+ " none"
146+ ],
147+ "description" : " API type"
148+ },
149+ "webDeploy" : {
150+ "type" : " string" ,
151+ "enum" : [
152+ " workers" ,
153+ " none"
154+ ],
155+ "description" : " Web deployment"
156+ }
157+ },
158+ "required" : [
159+ " version" ,
160+ " createdAt" ,
161+ " database" ,
162+ " orm" ,
163+ " backend" ,
164+ " runtime" ,
165+ " frontend" ,
166+ " addons" ,
167+ " examples" ,
168+ " auth" ,
169+ " packageManager" ,
170+ " dbSetup" ,
171+ " api" ,
172+ " webDeploy"
173+ ],
174+ "additionalProperties" : false
175+ }
0 commit comments