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
Possible Solution
Modify peerDependency "lerna": "^5.0.0" to "lerna": "^5.0.0 || ^6.0.0"
Your Environment
| Executable |
Version |
commitlint --version |
@commitlint/[email protected] |
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 |
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
Affected packages
Possible Solution
Modify peerDependency
"lerna": "^5.0.0"to"lerna": "^5.0.0 || ^6.0.0"Your Environment
commitlint --versiongit --versionnode --version@commitlint/config-lerna-scopeslernayarn -v