Skip to content

Migrate to pnpm - #1043

Merged
tudddorrr merged 1 commit into
developfrom
migrate-to-pnpm
Sep 1, 2026
Merged

Migrate to pnpm#1043
tudddorrr merged 1 commit into
developfrom
migrate-to-pnpm

Conversation

@tudddorrr

Copy link
Copy Markdown
Collaborator

Package manager switch

  • Migrated dependency management from npm to pnpm 12, replacing package-lock.json with pnpm-lock.yaml.
  • Added pnpm-workspace.yaml and a devEngines.packageManager entry so pnpm 12 is enforced on install.
  • Allow-listed postinstall build scripts for bcrypt, esbuild, msgpackr-extract and protobufjs, which pnpm blocks by default.

CI and Docker

  • Replaced setup-node and manual node_modules caching with the pnpm/setup action (cache: true) in the CI setup action, CI workflow and release workflow.
  • Rewrote the Dockerfile to build from the official pnpm image and install with --frozen-lockfile, keeping the store cache mounted for faster installs.
  • Swapped all workflow script invocations (test, tsc, build, fmt, lint, vitest merge) from npm/npx to pnpm equivalents.

Local tooling and docs

  • Updated the husky pre-commit hook, lint-staged config and repo scripts (restart, migration:create, build) to run through pnpm.
  • Refreshed AGENTS.md, CONTRIBUTING.md and the new-route skill so all documented commands use pnpm.

Dependency adjustments

  • Added @otplib/preset-default and @types/qs to make explicit what was previously pulled in transitively.
  • Pinned stripe to an exact version and added explicit types for the nodemailer mock.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.39%. Comparing base (b0c4c12) to head (2e4479c).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1043   +/-   ##
========================================
  Coverage    98.39%   98.39%           
========================================
  Files          467      467           
  Lines         7462     7462           
  Branches       984      984           
========================================
  Hits          7342     7342           
  Misses          49       49           
  Partials        71       71           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tudddorrr
tudddorrr merged commit 953531f into develop Sep 1, 2026
9 checks passed
@tudddorrr
tudddorrr deleted the migrate-to-pnpm branch September 1, 2026 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant