Skip to content

Update pnpm to v11#1080

Open
vidplace7 wants to merge 1 commit into
meshtastic:mainfrom
vidplace7:pnpm-11
Open

Update pnpm to v11#1080
vidplace7 wants to merge 1 commit into
meshtastic:mainfrom
vidplace7:pnpm-11

Conversation

@vidplace7
Copy link
Copy Markdown
Member

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:

  • Upgraded the packageManager field in package.json from pnpm@10.32.1 to pnpm@11.5.2, and removed the pnpm.onlyBuiltDependencies field.
  • Added an allowBuilds section to pnpm-workspace.yaml to explicitly disallow builds for certain dependencies, replacing the previous onlyBuiltDependencies configuration.

CI workflow updates:

  • Removed the explicit version argument from all pnpm/action-setup@v6 steps 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]

@vidplace7 vidplace7 requested review from Copilot and danditomaso June 7, 2026 22:18
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 7, 2026

@vidplace7 is attempting to deploy a commit to the Meshtastic Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Contributor

Copilot AI left a 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 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 packageManager in package.json to pnpm@11.5.2 and removes the legacy pnpm.onlyBuiltDependencies config.
  • Adds an allowBuilds map in pnpm-workspace.yaml intended to replace onlyBuiltDependencies.
  • Removes pinned pnpm versions from workflows so pnpm/action-setup@v6 can use the packageManager field.

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 thread pnpm-workspace.yaml
Comment on lines +1 to +5
allowBuilds:
'@serialport/bindings-cpp': false
'@tailwindcss/oxide': false
'core-js': false
esbuild: false
@vidplace7 vidplace7 added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 7, 2026
Also remove version references in Actions so that the packageManager version can be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants