[pnpm] Add security settings to pnpm-workspace.yaml#48582
Merged
Conversation
Adds workspace-level security/hygiene settings to align with renovatebot configuration and supply chain hardening practices (mui/mui-public#1273). - updateNotifier: false — suppress pnpm update noise in CI / local dev - blockExoticSubdeps: true — reject git/path/tarball URLs in transitive deps - minimumReleaseAge: 4320 — 3 days, mirroring security:minimumReleaseAgeNpm used in renovate. minimumReleaseAgeExclude carves out @mui/* and @base-ui/* so we can pick up freshly published own packages without waiting - trustPolicy: no-downgrade with trustPolicyIgnoreAfter: 525600 (365 days) to skip the trust check for legacy packages (semver@6.x via @babel/core, reselect@5.1.1, @octokit/*) that dropped provenance for specific releases. Tracked for removal in a TODO comment in pnpm-workspace.yaml.
Deploy previewhttps://deploy-preview-48582--material-ui.netlify.app/ Bundle size
Check out the code infra dashboard for more information about this PR. |
12 tasks
brijeshb42
approved these changes
May 28, 2026
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.
Adds pnpm workspace-level security/hygiene settings to align with renovatebot configuration and supply chain hardening practices. Same change shipped in mui/mui-public#1319 for the tracking issue; base-ui equivalent at mui/base-ui#4929.
Changes (
pnpm-workspace.yamlonly)updateNotifier: false— suppresses pnpm update noise in CI and local devblockExoticSubdeps: true— rejects git/path/tarball URLs in transitive dependenciesminimumReleaseAge: 4320— 4320 minutes (= 3 days), mirrors thesecurity:minimumReleaseAgeNpmrenovatebot preset already in use;minimumReleaseAgeExcludecarves out@mui/*(our published scope) and@base-ui/*so we can pick up fresh own-package bumps without waitingtrustPolicy: no-downgradepaired withtrustPolicyIgnoreAfter: 525600(365 days) — skips trust checks for packages published more than a year ago, avoiding false positives from widely-used packages (e.g.semver@6.3.1via@babel/core@7.x,reselect@5.1.1, parts of@octokit/*) that dropped provenance for specific releases. TODO in the file to drop once upstreams restore provenance.No
overrides:introduced —trustPolicyIgnoreAfteris a policy-only setting that doesn't change resolved versions, so end-user installs are unaffected.Verified locally:
pnpm install,pnpm dedupe --checkclean.