chore: migrate bootstrap and package management to pnpm#1091
chore: migrate bootstrap and package management to pnpm#1091rubenpenap wants to merge 7 commits into
Conversation
|
I split this delivery into a stacked PR chain to reduce review load and isolate risk more cleanly. Recommended review order:
Please review this PR on its own first. It is the only slice that intentionally exceeds the normal review budget because it concentrates the lockfile and bootstrap migration churn. I kept that together on purpose to avoid polluting the downstream slices with package-manager noise. Validation status on the modernized stack:
I will bring the follow-up slices over in order after this foundation lands, since I only have read permission on the upstream repository and cannot publish the intermediate stacked base branches there directly. |
|
I have the remaining follow-up work already split into reviewable stacked slices on my fork. Current upstream status:
Prepared follow-up slices on the fork:
I only have read permission on the upstream repository, so I cannot publish the intermediate stacked base branches there directly. Would you prefer that I continue promoting these slices one by one from the fork after each upstream merge, or would temporary write access / a maintainer-created integration branch be possible for this stacked series? Each slice has its own summary, test plan, chain context, and review boundary. I can also expand the upstream PR descriptions further if you want more detail in the main repository thread. |
|
I pushed the coupled follow-up changes that were required to make this PR self-contained for upstream CI. The branch now includes the Prisma 7 runtime wiring, toolchain updates, app adaptation, SEO cleanup, and a small setup-module typing fix needed for TypeScript in CI.\n\nI validated the updated branch locally on Node 22 with Prisma migrate/generate, lint, typecheck, and Vitest all passing. GitHub should re-run the checks automatically on the refreshed branch. |
|
I found the remaining CI failure. The TypeScript job was invoking [WARN] Unsupported engine: wanted: {"node":"^22.18.0"} (current: {"node":"v25.0.0","pnpm":"11.1.2"}) |
Migrate the repo and generated-app bootstrap flow to pnpm-only, remove npm lockfiles, and align setup, CI, Docker, and contributor docs with the new package-manager contract.
This is the foundation slice for the modernization chain. It intentionally carries the large lockfile churn that cannot be split cleanly without polluting downstream PRs.
Test Plan
source "$HOME/.nvm/nvm.sh" && nvm use 22.20.0 >/dev/null && pnpm run lintsource "$HOME/.nvm/nvm.sh" && nvm use 22.20.0 >/dev/null && pnpm run typecheckscripts/setup.jsChecklist
Screenshots
N/A
Chain Context
mainfeat/prisma7-runtime-hardeningmainbefore pnpm/bootstrap migrationChain Overview
Scope
Autonomy
Size Exception
This PR intentionally exceeds the normal 400-line budget because the package-manager migration requires lockfile replacement and generated-app bootstrap rewiring as one foundation unit. Splitting that churn further would produce polluted downstream diffs.