Skip to content

Ignore list doesn't work with maping react to preact #72

@dawidk92

Description

@dawidk92

I have a project with Next.js and Preact and I have to map react to preact in package.json like:
"react": "npm:@preact/[email protected]"

When I add it to .npm-upgrade.json to be ignored, even when I use "*" in "versions" npm-upgrade doesn't see it and proposes to install a newer version.

image

.npm-upgrade.json

{
  "ignore": {
    "react": {
      "versions": "*",
      "reason": "version 17.0.3 breaks Next.js"
    }
}

I tried multiple combinations with provided "versions" and none of them work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions