update schema.json

This commit is contained in:
Aman Varshney
2025-07-10 22:29:22 +05:30
parent cea8d6ab95
commit 8d3c384a45
3 changed files with 177 additions and 145 deletions

View File

@@ -21,12 +21,23 @@
},
"database": {
"type": "string",
"enum": ["none", "sqlite", "postgres", "mysql", "mongodb"],
"enum": [
"none",
"sqlite",
"postgres",
"mysql",
"mongodb"
],
"description": "Database type"
},
"orm": {
"type": "string",
"enum": ["drizzle", "prisma", "mongoose", "none"],
"enum": [
"drizzle",
"prisma",
"mongoose",
"none"
],
"description": "ORM type"
},
"backend": {
@@ -44,7 +55,12 @@
},
"runtime": {
"type": "string",
"enum": ["bun", "node", "workers", "none"],
"enum": [
"bun",
"node",
"workers",
"none"
],
"description": "Runtime environment (workers only available with hono backend and drizzle orm)"
},
"frontend": {
@@ -86,7 +102,11 @@
"type": "array",
"items": {
"type": "string",
"enum": ["todo", "ai", "none"]
"enum": [
"todo",
"ai",
"none"
]
},
"description": "Example templates to include"
},
@@ -96,7 +116,11 @@
},
"packageManager": {
"type": "string",
"enum": ["npm", "pnpm", "bun"],
"enum": [
"npm",
"pnpm",
"bun"
],
"description": "Package manager"
},
"dbSetup": {
@@ -115,12 +139,19 @@
},
"api": {
"type": "string",
"enum": ["trpc", "orpc", "none"],
"enum": [
"trpc",
"orpc",
"none"
],
"description": "API type"
},
"webDeploy": {
"type": "string",
"enum": ["workers", "none"],
"enum": [
"workers",
"none"
],
"description": "Web deployment"
}
},

View File

@@ -16,7 +16,8 @@
"!**/templates/**",
"!**/.turbo",
"!**/package.json",
"!**/analytics-data.json"
"!**/analytics-data.json",
"!**/schema.json"
]
},
"formatter": {

View File

@@ -14,7 +14,7 @@
},
"apps/cli": {
"name": "create-better-t-stack",
"version": "2.24.4",
"version": "2.24.5",
"bin": {
"create-better-t-stack": "dist/index.js",
},