-
Notifications
You must be signed in to change notification settings - Fork 166
chore: npm -> pnpm #746
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: npm -> pnpm #746
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR migrates the project's package manager from npm to pnpm, updating all scripts, documentation, workflows, and configurations to use pnpm instead of npm.
Key Changes:
- Switched from
npmtopnpmcommands throughout the codebase - Added
packageManagerfield andpnpm.overridessection to package.json - Updated GitHub Actions workflows to use pnpm with proper caching
- Updated dependency installation commands to use
pnpm install --frozen-lockfile
Reviewed changes
Copilot reviewed 13 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Added packageManager field, pnpm overrides section, and updated all npm script references to pnpm |
| scripts/accuracy/runAccuracyTests.sh | Replaced npx commands with pnpm dlx and updated comment referencing npm |
| README.md | Added pnpm as a development prerequisite |
| CONTRIBUTING.md | Updated all documentation references from npm to pnpm |
| Dockerfile | Modified to install pnpm before installing the package globally |
| .github/workflows/*.yml | Updated all workflow files to use pnpm/action-setup, pnpm cache, and pnpm commands |
Pull Request Test Coverage Report for Build 19674859703Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
📊 Accuracy Test Results📈 Summary
📊 Baseline Comparison
📎 Download Full HTML Report - Look for the Report generated on: 11/24/2025, 7:07:35 PM |
Proposed changes
Switch from npm to pnpm to better align with other projects within MongoDB.
Install dependencies stats: