From 10539726929b7266aa73c9a87878c67f89ae93e8 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Mon, 11 Mar 2024 20:44:05 -1000 Subject: [PATCH] Include CLI in production builds --- build.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.ts b/build.ts index 090d12a9..eec9642e 100644 --- a/build.ts +++ b/build.ts @@ -17,7 +17,7 @@ await Bun.build({ entrypoints: [ process.cwd() + "/index.ts", process.cwd() + "/prisma.ts", - // process.cwd() + "/cli.ts", + process.cwd() + "/cli.ts", ], outdir: process.cwd() + "/dist", target: "bun", diff --git a/package.json b/package.json index 01212141..83f8f88f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "prisma": "DATABASE_URL=$(bun run prisma.ts) bunx prisma", "generate": "bun prisma generate", "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" }, "trustedDependencies": [