Update pnpm to v11#1080
Open
vidplace7 wants to merge 1 commit into
Open
Conversation
|
@vidplace7 is attempting to deploy a commit to the Meshtastic Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR upgrades the repo’s package management to pnpm v11 by updating the root packageManager version, migrating the “approved install/build scripts” configuration away from pnpm.onlyBuiltDependencies, and aligning GitHub Actions workflows to rely on the repo-declared pnpm version.
Changes:
- Bumps
packageManagerinpackage.jsontopnpm@11.5.2and removes the legacypnpm.onlyBuiltDependenciesconfig. - Adds an
allowBuildsmap inpnpm-workspace.yamlintended to replaceonlyBuiltDependencies. - Removes pinned pnpm versions from workflows so
pnpm/action-setup@v6can use thepackageManagerfield.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
pnpm-workspace.yaml |
Migrates build-script allowlist/denylist configuration to pnpm v11’s allowBuilds. |
package.json |
Updates the pnpm version via packageManager and removes deprecated pnpm config. |
.github/workflows/ci.yml |
Stops pinning pnpm version in CI so it follows packageManager. |
.github/workflows/pr.yml |
Stops pinning pnpm version in PR CI so it follows packageManager. |
.github/workflows/nightly.yml |
Stops pinning pnpm version in nightly workflow so it follows packageManager. |
.github/workflows/release-packages.yml |
Stops pinning pnpm version in package release workflow so it follows packageManager. |
.github/workflows/release-protobufs.yml |
Stops pinning pnpm version in protobuf release workflow so it follows packageManager. |
.github/workflows/release-web.yml |
Stops pinning pnpm version in web release workflow so it follows packageManager. |
Comment on lines
+1
to
+5
| allowBuilds: | ||
| '@serialport/bindings-cpp': false | ||
| '@tailwindcss/oxide': false | ||
| 'core-js': false | ||
| esbuild: false |
Also remove version references in Actions so that the packageManager version can be used
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.
Update pnpm to 11.x. Also remove version references in Actions so that the packageManager version can be used.
This pull request updates the project's usage of pnpm, including upgrading to a newer version and refactoring related configuration. The main focus is on ensuring consistent and up-to-date package management across the codebase and CI workflows.
pnpm version upgrade and configuration cleanup:
packageManagerfield inpackage.jsonfrompnpm@10.32.1topnpm@11.5.2, and removed thepnpm.onlyBuiltDependenciesfield.allowBuildssection topnpm-workspace.yamlto explicitly disallow builds for certain dependencies, replacing the previousonlyBuiltDependenciesconfiguration.CI workflow updates:
versionargument from allpnpm/action-setup@v6steps in GitHub Actions workflows, so that the workflows use the default pnpm version instead of pinning to a specific one. This change affects.github/workflows/ci.yml,.github/workflows/pr.yml,.github/workflows/nightly.yml,.github/workflows/release-packages.yml,.github/workflows/release-protobufs.yml, and.github/workflows/release-web.yml. [1] [2] [3] [4] [5] [6]