Skip to content

@commitlint/config-lerna-scopes warning with lerna^6.0.0 #3409

@ChoSeoHwan

Description

@ChoSeoHwan

Expected Behavior

No warning when use @commitlint/config-lerna-scopes with lerna@^6.0.0

Current Behavior

Occurred warning when use @commitlint/config-lerna-scopes with lerna@^6.0.0

➤ YN0000: ┌ Resolution step
➤ YN0060: │ websocket-test@workspace:. provides lerna (p08b9d) with version 6.0.1, which doesn't satisfy what @commitlint/config-lerna-scopes requests
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code
➤ YN0000: └ Completed

Affected packages

  • cli
  • core
  • prompt
  • config-angular
  • config-lerna-scopes

Possible Solution

Modify peerDependency "lerna": "^5.0.0" to "lerna": "^5.0.0 || ^6.0.0"

Your Environment

Executable Version
commitlint --version @commitlint/cli@17.1.2
git --version git version 2.24.2 (Apple Git-127)
node --version v16.17.1
@commitlint/config-lerna-scopes ^17.0.2
lerna ^6.0.1
yarn -v 3.2.4

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions