Skip to content

BREAKING CHANGE(config): npm 9 should refuse to set deprecated config items. #535

Closed
@wraithgar

Description

@wraithgar

Our deprecation warnings show items as flags, which means if you npm config set foo where foo is deprecated you get a warning that implies you used --foo. We can't really change our deprecation warnings because then folks would inevitably complain that foo is an invalid param (without the --).

A simple solution is to stop allowing npm config itself setting deprecated configs.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions