chore: move to pnpm - #7
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR starts migrating the repo from npm to pnpm by pinning pnpm via packageManager, updating root scripts to invoke pnpm, and adding pnpm workspace configuration for native build allowlisting.
Changes:
- Add
packageManager: pnpm@11.18.0and switch test/build-related scripts to pnpm. - Add
pnpm-workspace.yamlwith build-script allowlisting for select native dependencies. - Ignore
pnpm-debug.login.gitignore.
Reviewed changes
Copilot reviewed 2 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Introduces pnpm workspace-related configuration (currently only build allowlisting). |
| package.json | Pins pnpm and updates scripts to call pnpm for library tests and post-build steps. |
| .gitignore | Adds pnpm debug log to ignored files. |
Suppressed comments (1)
package.json:17
postbuild:libcurrently callspnpm .... Since the CI workflow runsnpm run build:lib, npm will also run thepostbuild:liblifecycle script, and this will fail ifpnpmis not installed. Wrapping withcorepack pnpmkeeps it working under bothnpm runandpnpm run.
"postbuild:lib": "cp README.md dist/openng/cashew && pnpm run build:schematics",
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
geromegrignon
force-pushed
the
feat-pnpm
branch
from
August 1, 2026 13:42
7c9fd7b to
e4569c1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Related issues
Fixes #
Type of change
Breaking changes
None
Test plan
npm run buildnpm testnpm run lintChecklist
Additional context