-
Notifications
You must be signed in to change notification settings - Fork 909
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
fix: angular conventional-changelog-angular depdendency in @commitlint/parse/package.json
#3698
Comments
@commitlint/parse/package.json
@commitlint/parse/package.json
Update to v7 is at least blocked by a new major version for commitlint. Happy for a PR. So because this is actually a new major version I would consider this as a feature not bug. Wdyt? |
New major is released. Tests for v7 are failing. |
I guess if new features will be introduced, beside bugfixes, then indeed it will be a new feature. Isn't this alreaady the initial state of the PR that would solve my issue? #3690 |
Supporting a new version is more a feature than a bug I'm trying to say I guess.
Yes, but checks are failing and these need to be fixed or updated ;) |
Let's see if I will be able to give a hand. Keep you posted. |
@escapedcat a small improvement #3725 |
Fixed with release https://github.com/conventional-changelog/commitlint/releases/tag/v18.4.3 |
Expected Behavior
conventional-changelog-angular
version is up to date to the 7.0Current Behavior
Currently I am using https://github.com/release-it/conventional-changelog, package based on https://github.com/conventional-changelog.
Right now there is an issue release-it/conventional-changelog#70 with this following configuration, using the conventional-changelog-angular package:
This is happening because of the following code of conventional-changelog-preset-loader package receives a pending promise instead of a function:
file: https://github.com/conventional-changelog/conventional-changelog/blob/master/packages/conventional-changelog-preset-loader/index.js
line: https://github.com/conventional-changelog/conventional-changelog/blob/eb3ab7bcd2266cd751e94c583510c8a85216a027/packages/conventional-changelog-preset-loader/index.js#L113
Apparently in my node_modules folder I've conventional-changelog-angular version 6.0:
Instead of version 7.0
It seems that the reason why is an old depencency of conventional-changelog-angular: https://github.com/conventional-changelog/commitlint/blob/master/%40commitlint/parse/package.json at line
commitlint/@commitlint/parse/package.json
Line 43 in 786ecb4
that has set still version 6.0.
In fact in my package-lock.json of my project, the only dependeny of conventional-changelog-angular referring to version 6.0 comes from
@commitlint
:Does is make sense to upgrade this dependency?
Thanks
As a reference, previous issue conventional-changelog/conventional-changelog#1154
Affected packages
Possible Solution
Upgrade dependency at line
commitlint/@commitlint/parse/package.json
Line 43 in 786ecb4
Steps to Reproduce
Use agnular preset
This error will occur
ERROR The "angular" preset does not export a function. Maybe you are using an old version of the preset. Please upgrade.
The text was updated successfully, but these errors were encountered: