Skip to content

Commit

Permalink
feat(javascript): use separateMultipleMinor for typescript
Browse files Browse the repository at this point in the history
since they release breaking changes in minor versions

renovatebot/renovate#24538
  • Loading branch information
karfau committed Mar 25, 2024
1 parent 8b7a448 commit 1fe40a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ and it configures the following:
- Disable updates for major node versions and prevent pinning to a specific node version
- Keep semver ranges in the [`resolutions` field used by yarn](https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/).
- Update packages from the `@bettermarks/` scope or that start with `bm-` with higher priority(5) than other dependencies and disable `npm:unpublishSafe`.
- Update the `typescript` dependency with higher priority(2) than other dependencies and disable `npm:unpublishSafe`. Create separate PRs for patch and minor version upgrades, since they introduce breaking changes in minor versions.
- Update the `typescript` dependency with higher priority(2) than other dependencies and disable `npm:unpublishSafe`.
Create separate PRs for patch and minor and multiple minor version upgrades, since they introduce breaking changes in minor versions.
- Keep the major version of `@types/jest` in sync with the major version of `jest`.
- Update packages from the `@types/*` scope with lower priority(-5) than other dependencies and disable `npm:unpublishSafe`.

Expand Down
1 change: 1 addition & 0 deletions javascript.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
{
"matchPackageNames": ["typescript"],
"separateMinorPatch": true,
"separateMultipleMinor": true,
"prPriority": 2
},
{
Expand Down

0 comments on commit 1fe40a4

Please sign in to comment.