fix(deps): upgrade conventional changelog packages to latest major - #1026
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
…pdate commit messages for consistency
6c4cc84 to
dab757b
Compare
| | `issue` | Keyword used to generate issue links (formatted as `<host>/<owner>/<repository>/<issue>/<issue_number>`). See [conventional-changelog-writer#issue](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-writer#issue). | `issue` for Bitbucket repositories, `issues` otherwise | | ||
| | `presetConfig` | Additional configuration passed to the [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog) preset. Used for example with [conventional-changelog-conventionalcommits](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-conventionalcommits#specific-options). | - | | ||
|
|
||
| **Notes**: in order to use a `preset` it must be installed (for example to use the [angular preset](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) you must install it with `npm install conventional-changelog-angular -D`). |
There was a problem hiding this comment.
Hey @semantic-release/maintainers,
What do you think about switching from this practice to shipping our own npm package for supported presets, considering the conventional-changelog dropping all other preset to supporting just 2 (i.e. angular and conventionalcommits), this should fairly be package.
This way we can ship with conventional-changelog-angular and conventional-changelog-conventionalcommits as deps allowing users to just set any of both as their preset without needing to install any preset package. this also helps us avoid scenarios like conventional-changelog/conventional-changelog#1495 in the future where user installs preset that's incompatible with our conventional-changelog-writer.
🤔
|
🎉 This PR is included in version 15.0.0-beta.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This pull request updates dependencies and refactors tests to use the
conventionalcommitspreset and config instead ofeslint, aligning with newer conventional changelog standards. It also updates test commit messages and expectations to match the new preset, and adjusts the structure of test configuration objects for better compatibility with the latest changelog tools.Dependency Upgrades:
conventional-changelog-*andconventional-commits-*dependencies to their latest major versions inpackage.jsonfor improved features and compatibility.eslint,atom,ember,expressandjshintpresets; they have become permanently incompatible withconventional-changelog-writer@9, and will produce empty notes if kept.Test Refactoring:
conventional-changelog-eslinttoconventional-changelog-angularand updated test cases to use theconventionalcommitspreset/config. This includes updating commit message formats (e.g.,Fix:/Update:tofix:/feat:) and adjusting changelog output expectations (e.g., "### Fix" to "### Bug Fixes", "### Update" to "### Features").Configuration Object Adjustments:
effect: "hidden"instead ofhidden: true, and removing unnecessaryhiddenfields).Related Issue
preset: conventionalcommitsproduces empty release notes with conventional-changelog-conventionalcommits v10 #992BREAKING CHANGE: Now uses the
conventional-changelog-writer@9BREAKING CHANGE: Deprecate support for the
eslint,atom,ember,expressandjshintpresetsBREAKING CHANGE: Now support only
angularandconventionalcommitspresets