You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Что:
- Заменен pnpm workspace на Bun 1.3.14: добавлен bun.lock, packageManager/engines, workspaces и overrides перенесены в package.json.
- Обновлены package scripts, Dockerfiles, GitHub Actions и CONTRIBUTING.md под bun install/run/filter.
- Production Docker packaging переведен с pnpm deploy на bun production install с hoisted linker и явным копированием workspace server package.
Зачем:
- Упростить toolchain, ускорить install/script startup и проверить возможность отказаться от pnpm в AgentHits/Dokploy ветке.
Риски:
- Реальный docker build не запускался локально из-за отсутствующего Docker CLI; Docker path проверен через production-layout simulation и требует CI/image проверки перед merge/deploy.
Проверки:
- Команды и результаты: bun install --frozen-lockfile - passed; bun run typecheck - passed; bun run format-and-lint - exited 0 with existing Biome warnings/infos; bun run test -- --run __test__/env/shared.test.ts - 15 passed; POSTGRES_PASSWORD=build-time-postgres-password bun run build - passed; bun run server:script - restored source exports; git diff --check - passed; pnpm/Corepack residue scan in migration scope - no matches; temp production hoisted layout ESM resolution for @dokploy/server in dokploy/api/schedules - passed; independent reviewer re-check - pass.
- Ограничения: local Docker CLI unavailable, so real image build and container runtime smoke were not run.
What:
- Replaced the pnpm workspace with Bun 1.3.14: added bun.lock, packageManager/engines, workspaces, and moved overrides into package.json.
- Updated package scripts, Dockerfiles, GitHub Actions, and CONTRIBUTING.md to use bun install/run/filter.
- Replaced pnpm deploy production Docker packaging with bun production install using the hoisted linker and explicit workspace server package copying.
Why:
- Simplify the toolchain, speed up install/script startup, and verify whether the AgentHits/Dokploy branch can move away from pnpm.
Risks:
- A real docker build was not run locally because Docker CLI is unavailable; the Docker path was checked through production-layout simulation and still needs CI/image validation before merge/deploy.
Checks:
- Commands and results: bun install --frozen-lockfile - passed; bun run typecheck - passed; bun run format-and-lint - exited 0 with existing Biome warnings/infos; bun run test -- --run __test__/env/shared.test.ts - 15 passed; POSTGRES_PASSWORD=build-time-postgres-password bun run build - passed; bun run server:script - restored source exports; git diff --check - passed; pnpm/Corepack residue scan in migration scope - no matches; temp production hoisted layout ESM resolution for @dokploy/server in dokploy/api/schedules - passed; independent reviewer re-check - pass.
- Limitations: local Docker CLI unavailable, so real image build and container runtime smoke were not run.
0 commit comments