Skip to content

Update commitlint v17 -> v19#726

Merged
TylerJang27 merged 1 commit into
trunk-io:mainfrom
rriski:main
Apr 4, 2024
Merged

Update commitlint v17 -> v19#726
TylerJang27 merged 1 commit into
trunk-io:mainfrom
rriski:main

Conversation

@rriski
Copy link
Copy Markdown
Contributor

@rriski rriski commented Apr 3, 2024

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 3, 2024

⏱️ 6m total CI duration on this PR
Job Cumulative Duration Recent Runs
CodeQL-Build 2m 🟩🟩
Trunk Check runner [linux] 2m 🟩🟩
Repo Tests / Plugin Tests 56s 🟩🟩
Action Tests 45s 🟩🟩
Detect changed files 13s 🟩🟩
Aggregate Test Results 1s 🟩🟩

settingsfeedbackdocs ⋅ learn more about trunk.io

Comment on lines -7 to +8
"commitlint.config.js",
"module.exports = {extends: ['@commitlint/config-conventional']}",
"commitlint.config.mjs",
"export default {extends: ['@commitlint/config-conventional']}",
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how renaming the file and using export default should be handled by trunk when upgrading to this version. I.e. how to handle breaking changers in tools supported by trunk?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose its up to the user to configure the commitlint config file. I’ll need to update the commitlint readme here: https://github.com/trunk-io/plugins/tree/main/actions/commitlint

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @rriski and for bringing this to our attention! I'll speak with the team about if there is any better way we can handle the update process for users. I think we will probably want to go ahead and land this, and also update the readme instructions, as you mentioned, but I'll follow-up again shortly.

Copy link
Copy Markdown
Collaborator

@TylerJang27 TylerJang27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! I will call this out in our next release as a breaking change

@TylerJang27 TylerJang27 merged commit d3ff70b into trunk-io:main Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants