fix: pin pnpm and add start script for nixpacks deploy #7

Merged
TimCane merged 1 commit from fix/pin-pnpm-for-nixpacks into main 2026-06-20 18:22:36 +01:00
TimCane commented 2026-06-20 18:17:30 +01:00 (Migrated from github.com)

Summary

  • pin pnpm@11.5.2 via packageManager; nixpacks defaults to pnpm 9, which reads pnpm-workspace.yaml as a workspace manifest and fails with packages field missing or empty
  • corepack (first-class in nixpacks) honors the pinned version
  • add start script (node ./dist/server/entry.mjs) since coolify runs pnpm start against the node standalone build

Test plan

  • pnpm build succeeds and emits dist/server/entry.mjs
  • redeploy on coolify: install step uses pnpm 11 and passes
## Summary - pin `pnpm@11.5.2` via `packageManager`; nixpacks defaults to pnpm 9, which reads `pnpm-workspace.yaml` as a workspace manifest and fails with `packages field missing or empty` - corepack (first-class in nixpacks) honors the pinned version - add `start` script (`node ./dist/server/entry.mjs`) since coolify runs `pnpm start` against the node standalone build ## Test plan - `pnpm build` succeeds and emits `dist/server/entry.mjs` - redeploy on coolify: install step uses pnpm 11 and passes
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
TJC/thisisapresentationonflags.lol!7
No description provided.