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

View File

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

View File

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