-
Notifications
You must be signed in to change notification settings - Fork 913
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lerna v4 uses named imports #2452
Comments
Thanks, lerna v4 just came out and we haven't added support yet. |
Relates to #2447 |
@escapedcat this issue will be resolved with next release and can be now closed |
Yup, thanks! |
v12.1.0 is released under the |
Works like a dream, great work everyone! 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After upgrading my project to use Lerna v4.0.0, I can no longer run commitlint.
Expected Behavior
Commit checks should run as usual when using Lerna v4.0.0
Current Behavior
Commitlint blows up when running the commit hooks. The following error occurs in
@commitlint\config-lerna-scopes\index.js:47:20
- "TypeError: Project is not a constructor".Affected packages
Possible Solution
Add another check for lerna version in the getPackages function:
Steps to Reproduce (for bugs)
Context
This issue prevents me from running pre-commit checks, so I can only commit code by skipping the checks with the
--no-verify
flag.Your Environment
commitlint --version
git --version
node --version
The text was updated successfully, but these errors were encountered: