$ pnpm add --global @scaleway/changesets-renovate
This package is a very simple CLI:
changesets-renovate
To skip committing the changeset.
SKIP_COMMIT=TRUE changesets-renovate
To have a custom prefix for renovate branch name instead of renovate/
BRANCH_PREFIX=dep-upgrade changesets-renovate
To skip checking the branch name starts renovate/
SKIP_BRANCH_CHECK=TRUE changesets-renovate
To sort both the package bumps and update messages alphabetically
SORT_CHANGESETS=TRUE changesets-renovate
Example:
Unsorted:
---
'package-z': patch
'package-a': patch
---
Updated dependency `@company/zzz` to `0.228.0`.
Updated dependency `@company/aaa` to `1.1.15`.
Updated dependency `@company/zzz-backend` to `^0.228.0`.
Sorted:
---
'package-a': patch
'package-z': patch
---
Updated dependency `@company/aaa` to `1.1.15`.
Updated dependency `@company/zzz-backend` to `^0.228.0`.
Updated dependency `@company/zzz` to `0.228.0`.
It's inspired by this GitHub Action from Backstage: https://github.com/backstage/backstage/blob/master/.github/workflows/sync_renovate-changesets.yml