feat(util/template): add prettyNewMajor and prettyNewVersion field (#16831)
* initial * expose prettyNewVersion and prettyNewMajor * tests * revert change * simplify * test naming * documentation * documentation * remove wrong documentation * expose template finction * tests naming * combine condition * Update docs/usage/templates.md Co-authored-by:Michael Kriese <michael.kriese@visualon.de> * remove unecessary nullish op * Update docs/usage/templates.md Co-authored-by:
HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> * Expose prettyVersion and prettyMajor * documentation * remove function and use regex * lexographic order * tests need fixing * add tests * Captial letter * renaming and prettyNewMajor * space * move to upgrade interface * use new fields where v is prepended manually * move to interface Co-authored-by:
Michael Kriese <michael.kriese@visualon.de> Co-authored-by:
HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Co-authored-by:
Rhys Arkins <rhys@arkins.net>
Showing
- lib/config/options/index.ts 2 additions, 2 deletionslib/config/options/index.ts
- lib/modules/datasource/docker/index.ts 1 addition, 1 deletionlib/modules/datasource/docker/index.ts
- lib/modules/manager/buildkite/index.ts 1 addition, 1 deletionlib/modules/manager/buildkite/index.ts
- lib/util/template/index.ts 2 additions, 0 deletionslib/util/template/index.ts
- lib/workers/repository/updates/__snapshots__/generate.spec.ts.snap 3 additions, 0 deletions...rs/repository/updates/__snapshots__/generate.spec.ts.snap
- lib/workers/repository/updates/generate.spec.ts 106 additions, 15 deletionslib/workers/repository/updates/generate.spec.ts
- lib/workers/repository/updates/generate.ts 9 additions, 0 deletionslib/workers/repository/updates/generate.ts
- lib/workers/types.ts 2 additions, 0 deletionslib/workers/types.ts
Loading
Please register or sign in to comment