Skip to content

Warn when override doesn't match anything #10315

Description

@undsoft

Contribution

Describe the user story

  1. Be me.
  2. Copy-paste an override from stackoverflow:
"pnpm": {
  "overrides": {
    "dep": "file:../some/path"
  }
},
  1. Forget to replace dep with actual name of the package I want to override.
  2. pnpm i.

AR: pnpm does not warn that dep is not overriding any package in the repo. Spend time trying to understand what's wrong.

Describe the solution you'd like

Would be nice to have a warning during pnpm i if pnpm notices that dep in overrides does not match anything.

Describe the drawbacks of your solution

No response

Describe alternatives you've considered

Becoming a barista.

Metadata

Metadata

Assignees

No one assigned

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions