Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@kevintyj/[email protected]
Major Changes
#15
c14bd660b8588fa73708f9697bcc35f0a34b7d56
Thanks @kevintyj! - Adds pure native ESM supportThis new major version of prlint updates commitlint package to the new v19.
This update removes support for CJS and only exports the app as a ESM package
(this should not affect the way you use this plugin in any way as the Github
node runner handles ESM just fine).
This release drops support for:
load the configuration from your project folder. If you do really need support for custom commitlint specification file names such as my-awesome-config-file.jsx, either way you need to be setting up custom commitlint configurations on your environment (which I do not recommend you to do), you could easily just create a symlink pointing to a valid name such as commitlint.config.mjs, this action will be able to work in your workflow without any further setup.
New features:
CJS config files are unecessary
Upgraded the following dependencies and devDependencies:
Dependencies:
@commitlint/config-conventional: ^18.1.0 -> ^19.2.2
@commitlint/lint: ^18.1.0 -> ^19.2.2
@commitlint/load: ^18.2.0 -> ^19.2.0
DevDependencies:
@antfu/eslint-config: ^2.1.0 -> ^2.21.1
@commitlint/cli: ^18.4.3 -> ^19.3.0
@commitlint/types: ^18.1.0 -> ^19.0.3
@types/node: ^20.9.0 -> ^20.14.8
eslint: ^8.54.0 -> ^8.57.0
lint-staged: ^15.1.0 -> ^15.2.7
rimraf: ^5.0.5 -> ^5.0.7
tsup: ^7.2.0 -> ^8.1.0
typescript: ^5.2.2 -> ^5.5.2
vitest: ^0.34.6 -> ^1.6.0
BREAKING: Upgraded @commitlint packages to v19 which have switched to pure ESM.