Include CLI in production builds

This commit is contained in:
Jesse Wierzbinski 2024-03-11 20:44:05 -10:00
parent e4ed7ff2be
commit 1053972692
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -17,7 +17,7 @@ await Bun.build({
entrypoints: [ entrypoints: [
process.cwd() + "/index.ts", process.cwd() + "/index.ts",
process.cwd() + "/prisma.ts", process.cwd() + "/prisma.ts",
// process.cwd() + "/cli.ts", process.cwd() + "/cli.ts",
], ],
outdir: process.cwd() + "/dist", outdir: process.cwd() + "/dist",
target: "bun", target: "bun",

View file

@ -43,7 +43,7 @@
"prisma": "DATABASE_URL=$(bun run prisma.ts) bunx prisma", "prisma": "DATABASE_URL=$(bun run prisma.ts) bunx prisma",
"generate": "bun prisma generate", "generate": "bun prisma generate",
"benchmark:timeline": "bun run benchmarks/timelines.ts", "benchmark:timeline": "bun run benchmarks/timelines.ts",
"cloc": "cloc . --exclude-dir node_modules", "cloc": "cloc . --exclude-dir node_modules,dist",
"cli": "bun run cli.ts" "cli": "bun run cli.ts"
}, },
"trustedDependencies": [ "trustedDependencies": [