[pnpm] Add security settings to pnpm-workspace.yaml#1319
[pnpm] Add security settings to pnpm-workspace.yaml#1319
Conversation
Deploy previewhttps://deploy-preview-1319--mui-internal.netlify.app/ Bundle size
PerformanceTotal duration: 23.47 ms 🔺+6.28 ms(+36.5%) | Renders: 4 (+0) | Paint: 102.47 ms 🔺+26.45 ms(+34.8%)
Check out the code infra dashboard for more information about this PR. |
|
@copilot Run |
Done in 03301d2. Also fixed a bug discovered during this: pnpm's Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot Error log from |
... Fixed in f929bc1. Two changes were needed:
|
Agent-Logs-Url: https://github.com/mui/mui-public/sessions/c0eb2f89-90c3-4579-bf3e-d2de0db982b5 Co-authored-by: brijeshb42 <717550+brijeshb42@users.noreply.github.com>
…n pnpm dedupe Agent-Logs-Url: https://github.com/mui/mui-public/sessions/75937604-07d2-4955-897f-fdc235e0cdab Co-authored-by: brijeshb42 <717550+brijeshb42@users.noreply.github.com>
…IgnoreAfter and undici-types override Agent-Logs-Url: https://github.com/mui/mui-public/sessions/e1fa5147-7227-4bfe-a823-a0fadca4c65f Co-authored-by: brijeshb42 <717550+brijeshb42@users.noreply.github.com>
f929bc1 to
cea73ee
Compare
Adds pnpm workspace-level security/hygiene settings to align with renovatebot configuration and supply chain hardening practices.
Changes
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;minimumReleaseAgeExclude: ['@mui/internal-*']carves out own workspace-published packages. Note: pnpm'sminimumReleaseAgeis aNumbertype in minutes, not a human-readable string.trustPolicy: no-downgrade— prevents trust policy downgrades for installed packages; paired withtrustPolicyIgnoreAfter: 525600(365 days) to skip checks for packages published more than a year ago, avoiding false positives from widely-used packages (e.g.semver@6.3.1,reselect@5.1.1) that dropped provenance for a specific releaseundici-types: '6.25.0'override — upgradesundici-typesfrom6.21.0(no provenance) to6.25.0(has provenance), deduplicated from 3 separate versions to 1 in the lockfile