-
Notifications
You must be signed in to change notification settings - Fork 950
Closed
Labels
Description
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 |