new build setup

This commit is contained in:
2026-01-25 00:55:15 +00:00
parent f11c9fa826
commit 72835324e1
2 changed files with 3 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ module.exports = {
name: "sprint-backend",
cwd: path.join(__dirname, "packages", "backend"),
script: "bun",
args: "dev",
args: "start",
interpreter: "none",
exec_mode: "fork",
instances: 1,
@@ -21,7 +21,7 @@ module.exports = {
name: "sprint-frontend",
cwd: path.join(__dirname, "packages", "frontend"),
script: "bun",
args: "host",
args: "preview --host --port 1420",
interpreter: "none",
exec_mode: "fork",
instances: 1,

View File

@@ -12,6 +12,7 @@
"dev:backend": "bun --filter @sprint/backend dev",
"dev": "concurrently -n FRONTEND,BACKEND -c blue,green \"bun dev:frontend\" \"bun dev:backend\"",
"dev:desktop": "concurrently -n TAURI,BACKEND -c magenta,green \"bun dev:frontend:tauri\" \"bun dev:backend\"",
"build": "bun --filter @sprint/frontend build",
"reset-and-seed": "bun --filter @sprint/backend db:reset && bun --filter @sprint/backend db:seed"
},
"workspaces": [