Refactor environment variable handling in package.json scripts, update .env.example for consistency, and enhance Turbo configuration for environment variable passthrough. Modify API content type parsing and resolve circular dependencies in Auth and Billing modules. Add unique username generation logic in bootstrap-admin script.
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 19s

This commit is contained in:
TheOnlyMace
2026-07-05 14:40:57 +02:00
parent 20e044d32b
commit 2126e7bebf
82 changed files with 233 additions and 12 deletions

View File

@@ -6,17 +6,19 @@
"node": ">=22"
},
"scripts": {
"dev": "turbo run dev",
"dev": "node scripts/run-with-env.mjs turbo run dev",
"dev:bg": "bash scripts/dev-bg.sh",
"dev:stop": "bash scripts/dev-stop.sh",
"dev:infra": "docker compose -f deploy/compose/compose.dev.yml --env-file .env up -d postgres redis minio minio-init mailpit",
"build": "turbo run build",
"lint": "turbo run lint",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"db:generate": "pnpm --filter @hexahost/database db:generate",
"db:migrate": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:migrate'",
"db:push": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:push'",
"bootstrap:admin": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database bootstrap:admin'",
"db:seed": "bash -c 'set -a && source .env && set +a && pnpm --filter @hexahost/database db:seed'"
"db:migrate": "node scripts/run-with-env.mjs pnpm --filter @hexahost/database db:migrate",
"db:push": "node scripts/run-with-env.mjs pnpm --filter @hexahost/database db:push",
"bootstrap:admin": "pnpm --filter @hexahost/auth build && node scripts/run-with-env.mjs pnpm --filter @hexahost/database bootstrap:admin",
"db:seed": "node scripts/run-with-env.mjs pnpm --filter @hexahost/database db:seed"
},
"devDependencies": {
"turbo": "^2.3.3",