Skip to content

chore: remove pnpm-only settings from .npmrc#5237

Open
marcoscaceres wants to merge 1 commit intomainfrom
chore/remove-pnpm-only-npmrc
Open

chore: remove pnpm-only settings from .npmrc#5237
marcoscaceres wants to merge 1 commit intomainfrom
chore/remove-pnpm-only-npmrc

Conversation

@marcoscaceres
Copy link
Copy Markdown
Contributor

Removes strict-peer-dependencies and auto-install-peers from .npmrc. These are pnpm-specific keys that npm doesn't recognize, causing warnings on every lint-staged/pre-commit hook run:

npm warn Unknown project config "strict-peer-dependencies"
npm warn Unknown project config "auto-install-peers"

Both are redundant on pnpm 10: strict-peer-dependencies already defaults to false, and auto-install-peers defaults to true. Added in f825906 (Sep 2023) during a pnpm migration.

Removes strict-peer-dependencies and auto-install-peers from .npmrc.
These are pnpm-specific keys that npm doesn't recognize, causing
warnings on every lint-staged/pre-commit hook invocation. Both are
redundant on pnpm 10 (strict-peer-dependencies defaults to false,
auto-install-peers defaults to true).
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