Skip to content

devDependency with non semVer value silently fails #140

@jmatsushita

Description

@jmatsushita

Description

I have this line in my package.json:

  "devDependencies": {
    "@changesets/cli": "patch:@changesets/cli@npm%3A2.26.0#~/.yarn/patches/@changesets-cli-npm-2.26.0-49d5c5f72d.patch",

With it, syncpack lint fails silently (retuning exit code 1), not showing anything sketchy even with SYNCPACK_VERBOSE-true

When removing it, everything works again. Note that I'm using yarn 4.0.0-rc.45 in case there's been some changes in the patch: protocol...

Update

Any non semVer value seems to fail:

{
  "devDependencies": {
    "a": "b"
  }
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions