Skip to content

fix(config): align .npmrc and pnpm-workspace.yaml for pnpm v11#180

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/pnpm-workspace-config
Apr 14, 2026
Merged

fix(config): align .npmrc and pnpm-workspace.yaml for pnpm v11#180
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/pnpm-workspace-config

Conversation

@jdalton
Copy link
Copy Markdown
Collaborator

Summary

  • Remove pnpm settings from .npmrc (pnpm v11 only reads auth/registry from .npmrc)
  • Add trustPolicy/trustPolicyExclude to pnpm-workspace.yaml (migrated from .npmrc)
  • Remove invalid ignoreDependencyScripts and linkWorkspacePackages settings
  • Un-nest minimumReleaseAge from incorrect settings: block
  • Keep ignore-scripts and min-release-age in .npmrc for npm compatibility

Test plan

  • Verify pnpm install works locally
  • Verify CI passes

- .npmrc: keep only npm-valid settings (ignore-scripts, min-release-age)
- .npmrc: remove trust-policy/trust-policy-exclude (not valid npm settings)
- pnpm-workspace.yaml: remove ignoreDependencyScripts (invalid setting name)
- pnpm-workspace.yaml: remove linkWorkspacePackages (removed in pnpm v11)
- pnpm-workspace.yaml: add trustPolicy/trustPolicyExclude (pnpm equivalents)
- pnpm-workspace.yaml: un-nest settings block (minimumReleaseAge was under settings: key)
- Rely on pnpm v11 strictDepBuilds (default true) + allowBuilds for dep scripts
@jdalton John-David Dalton (jdalton) merged commit ca07fbb into main Apr 14, 2026
11 checks passed
@jdalton John-David Dalton (jdalton) deleted the fix/pnpm-workspace-config branch April 14, 2026 13:14
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.

1 participant