question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
escapedcatcommented, Nov 2, 2022

👏 eventually it will start again someday 😉

1reaction
JaneJeoncommented, Nov 1, 2022

npm doesn’t kick and scream anymore 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found