Skip to content

chore: upgrade pnpm to version 11.5.1 across all configurations#1762

Open
paustint wants to merge 1 commit into
mainfrom
chore/pnpm-upgrade-script
Open

chore: upgrade pnpm to version 11.5.1 across all configurations#1762
paustint wants to merge 1 commit into
mainfrom
chore/pnpm-upgrade-script

Conversation

@paustint
Copy link
Copy Markdown
Contributor

@paustint paustint commented Jun 2, 2026

Add script to automate pnpm upgrades

Copilot AI review requested due to automatic review settings June 2, 2026 13:47
@paustint paustint force-pushed the chore/pnpm-upgrade-script branch from 58f43f0 to 5ec87a3 Compare June 2, 2026 13:50
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 repository’s pinned pnpm version to 11.5.1 across the monorepo and automation surfaces, and adds a helper script to keep all pnpm pins in sync going forward.

Changes:

  • Bump pnpm version pins to 11.5.1 in package.json (engines/devEngines/packageManager) and apps/docs/package.json.
  • Update CI/workflow pnpm setup (pnpm/action-setup) and Docker build ARGs to 11.5.1.
  • Add scripts/update-pnpm.mjs plus a root update-pnpm npm script, and refresh pnpm-lock.yaml.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/update-pnpm.mjs New automation to update pnpm pins across repo files and optionally refresh the lockfile.
package.json Pins pnpm to 11.5.1 and adds an update-pnpm script entry.
apps/docs/package.json Updates docs app pnpm engine/devEngine version to 11.5.1 (preserving ~).
pnpm-lock.yaml Lockfile refresh reflecting pnpm 11.5.1 package manager dependencies.
Dockerfile Updates ARG PNPM_VERSION to 11.5.1 for Corepack prepare.
Dockerfile.e2e Updates ARG PNPM_VERSION to 11.5.1 for E2E image.
.github/workflows/ci.yml Updates pnpm/action-setup version to 11.5.1 in CI and E2E jobs.
.github/workflows/docs.yml Updates pnpm/action-setup version to 11.5.1 for docs workflow.
.github/workflows/release.yml Updates pnpm/action-setup version to 11.5.1 for release workflow.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/update-pnpm.mjs
Comment on lines +5 to +9
* Pin sites kept in sync:
* - package.json -> engines.pnpm, devEngines.packageManager.version, packageManager (with corepack hash)
* - apps/docs/package.json -> engines.pnpm (any range prefix like `~` is preserved), devEngines.packageManager.version
* - .github/workflows/*.yml -> the `version:` passed to pnpm/action-setup
* - Dockerfile / Dockerfile.e2e -> ARG PNPM_VERSION
Comment thread scripts/update-pnpm.mjs
Comment on lines +187 to +192
console.log('\nRefreshing pnpm-lock.yaml via `pnpm install --lockfile-only`...');
try {
execFileSync('pnpm', ['install', '--lockfile-only'], { cwd: repoRoot, stdio: 'inherit' });
} catch {
console.warn('\n⚠ Could not run `pnpm install` automatically. Run it manually to refresh pnpm-lock.yaml.');
}
@socket-security
Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Obfuscated code: npm @react-email/ui is 91.0% likely obfuscated

Confidence: 0.91

Location: Package overview

From: package.jsonnpm/@react-email/ui@6.4.0

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@react-email/ui@6.4.0. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm next is 80.0% likely obfuscated

Confidence: 0.80

Location: Package overview

From: package.jsonnpm/next@16.2.7

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/next@16.2.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm next is 85.0% likely obfuscated

Confidence: 0.85

Location: Package overview

From: package.jsonnpm/next@16.2.7

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/next@16.2.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn High
Obfuscated code: npm next is 85.0% likely obfuscated

Confidence: 0.85

Location: Package overview

From: package.jsonnpm/next@16.2.7

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/next@16.2.7. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

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.

2 participants