refactor(monorepo): decouple api and webui into workspaces packages

This commit is contained in:
yiling
2026-06-01 23:35:00 +08:00
parent e3f4fa219e
commit 1f341c15d0
288 changed files with 18024 additions and 21178 deletions
+2 -2
View File
@@ -7,7 +7,7 @@
"packages/*"
],
"scripts": {
"dev": "bun run --hot src/index.ts serve",
"dev": "bun run --hot packages/api/src/index.ts serve",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"test": "bun --bun vitest run",
@@ -15,7 +15,7 @@
"db:migrate": "bun run prisma migrate dev",
"db:deploy": "bun run prisma migrate deploy",
"generate-providers": "bun run scripts/generate-builtin-providers.ts",
"worker": "bun src/index.ts worker",
"worker": "bun packages/api/src/index.ts worker",
"build": "bun run build.ts"
},
"dependencies": {