@commitlint/config-lerna-scopes warning with lerna^6.0.0
See original GitHub issueExpected 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 |
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
commitlint-config-lerna-scopes - npm
Shareable commitlint config enforcing lerna package names as scopes. Latest version: 17.2.1, last published: a month ago.
Read more >@commitlint/config-lerna-scopes | Yarn - Package Manager
Shareable commitlint config enforcing lerna package and workspace names as scopes. Use with @commitlint/cli and @commitlint/prompt-cli.
Read more >commitlint/config-lerna-scopes - npm.io
Shareable commitlint config enforcing lerna package and workspace names as scopes. Use with @commitlint/cli and @commitlint/prompt-cli.
Read more >Error when linting with config-lerna-scopes · Issue #87 - GitHub
When trying to lint a message with config-lerna-scopes, the following error is issued: $ echo "chore(api): fix something in api's build" ...
Read more >Compare Versions | @elliemae/pui-cli | npm
GHSA-hj9c-8jmm-8c52Packing does not respect root-level ignore files in ... @commitlint/config-conventional 17.3.0 ... @lerna/collect-uncommitted 6.1.0.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
👏 eventually it will start again someday 😉
npm doesn’t kick and scream anymore 👍