Skip to content
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

chore(deps): upgrade and pin optional dependency @commitlint/load and fix tests #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lloydjatkinson
Copy link

@lloydjatkinson lloydjatkinson commented Sep 12, 2024

This PR upgrades @commitlint/load and also pins the version, this fixes the unit tests that have been failing for at least a year. The current version of @commitlint/load is significantly far ahead in major versions and these unit tests fail on those recent versions so this patch upgrade is adequate for now.

The > (greater than) was also removed as I believe this was a mistake to begin with. On testing, it was found that 8.x.x was being used which is two major versions ahead of the current. This caused the tests to fail.

@lloydjatkinson
Copy link
Author

Ping @jimthedev 😄

@jimthedev jimthedev closed this Sep 30, 2024
@lloydjatkinson
Copy link
Author

Why was this closed and not merged? @jimthedev

Is this library no longer maintained?

@jimthedev
Copy link
Member

Sorry, we can reopen it and can merge. I was making the same change in another branch. We lost some CI data so whether something is pass or not was opaque in some repos. If this passes CI then I'll merge yours.

@jimthedev jimthedev reopened this Sep 30, 2024
@jimthedev
Copy link
Member

@lloydjatkinson would you be willing to just resolve the conflicts. As you said, we can use ^ but I don't know why we want to add it into the deps in addition to optional deps. My instinct was to also ask you to remove it from deps and just leave it in optional. I don't really use optional deps much so perhaps having it in both places is the correct move? If you have opinions on it please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants