Skip to content

chore: move all pnpm settings to pnpm-workspace.yaml#5481

Merged
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
thinkasany:move-pnpm-setting-to-pnpm-workspace
Jun 25, 2025
Merged

chore: move all pnpm settings to pnpm-workspace.yaml#5481
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
thinkasany:move-pnpm-setting-to-pnpm-workspace

Conversation

@thinkasany
Copy link
Copy Markdown
Contributor

Summary

I noticed that it seems the best approach seems to be to move all the settings to pnpm-workspace.yaml.

image

Related Links

https://github.com/orgs/pnpm/discussions/9037

https://github.com/pnpm/pnpm/blob/main/pnpm-workspace.yaml#L334

https://github.com/vitejs/vite/pull/19895/files

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings June 25, 2025 03:07
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 25, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 2acb3ec
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/685b67ecf5f0e500081b43c5
😎 Deploy Preview https://deploy-preview-5481--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 77 (🟢 up 4 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

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 moves the patchedDependencies configuration from package.json to pnpm-workspace.yaml to centralize pnpm settings.

  • Patched dependencies are now defined in pnpm-workspace.yaml.
  • Removed the redundant patchedDependencies configuration block from package.json.

Reviewed Changes

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

File Description
pnpm-workspace.yaml Added a patchedDependencies section to configure patches.
package.json Removed the patchedDependencies configuration from pnpm.
Comments suppressed due to low confidence (2)

pnpm-workspace.yaml:12

  • Consider updating the project documentation to reflect that patchedDependencies are now managed in pnpm-workspace.yaml, ensuring that all team members and tooling are informed of this change.
patchedDependencies:

package.json:56

  • Removal of the patchedDependencies configuration from package.json aligns with centralizing the settings; verify that any tooling or scripts referencing this configuration are updated accordingly.
    "node": ">=18.0.0",

Copy link
Copy Markdown
Member

@chenjiahan chenjiahan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice 👍

@chenjiahan chenjiahan enabled auto-merge (squash) June 25, 2025 03:10
@chenjiahan chenjiahan merged commit 7b108b8 into web-infra-dev:main Jun 25, 2025
11 of 12 checks passed
@chenjiahan chenjiahan mentioned this pull request Jun 26, 2025
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.

4 participants