Commit Graph

59 Commits

Author SHA1 Message Date
Jamie Tanna 0e6429b13e refactor(types): document localDir isn't a globalOnly option (#44635)
* refactor(types): document `localDir` isn't a `globalOnly` option

To make sure that it's clear when reviewing `GlobalConfig`, as well as
working with our types, we can move the `localDir` definition into a
separate type.

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

* fixup! refactor(types): document `localDir` isn't a `globalOnly` option

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>

---------

Co-authored-by: Claude Sonnet 5 <jamie.tanna+claude-code@mend.io>
2026-07-20 08:07:17 +00:00
Sebastian Poxhofer 15f4bd8eff chore: migrate from zod/v3 to zod/v4 (#43691)
* chore: migrate from zod/v3 to zod/v4

This commit contains the logic changes

* chore: migrate imports from zod/v3 to zod/v4

This contains import updates and adds explicit record keys as zod/v4 requires these now

* ci: enforce usage of zod/v4
2026-05-30 16:01:58 +00:00
renovate[bot] a561b74314 chore(deps): update dependency @biomejs/biome to v2.4.11 (main) (#42034)
* chore(deps): update dependency @biomejs/biome to v2.4.11

| datasource | package        | from  | to     |
| ---------- | -------------- | ----- | ------ |
| npm        | @biomejs/biome | 2.4.6 | 2.4.11 |

* fixup linter changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: secustor <sebastian@poxhofer.at>
2026-04-20 21:45:46 +00:00
Jamie Tanna 2d239d2cc1 docs: explicitly document depTypes each manager supports (#42142)
* docs: explicitly document `depTypes` each manager supports

A long-standing question we receive is "what `depTypes` can I match
against in my project".

Although the best recommendation we usually have is "check the
`packageFiles with updates" log line (as a very key log line for users),
we can go one step further and try and create a stronger contract.

To do this, I've used Claude Sonnet 4.6 to work through the codebase,
determine areas that a `depType` is set in a manager (statically or
dynamically) and generate a structured, typed, means to document how
they're used.

Through a few iterations of the process, and attempts at human-written
documentation, we've settled on:

- prioritising autogenerated documentation (for humans to read) to note
  what `depTypes` are known, and what they are
- `knownDepTypes`, to describe any known, static, `depType`s and their
  human-readable meaning
  - with the `prettyDepType`, if used
- `supportsDynamicDepTypesNote`, to add a Markdown note to the generated
  documentation

While here, we also:

- make sure to note this in the "adding a new package manager"
  documentation
- remove any hand-written references to `depTypes` in each manager's
  documentation page
- correct the Gleam `depTypes`
- make sure to use the `knownDepTypes`'s `prettyDepType` definition if
  we know it, for a given `depType`

The descriptions have been generated by Claude Sonnet, with some
human-written tweaks where appropriate.

[0]: https://github.com/renovatebot/renovate/discussions/15176

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>

* fixup! docs: explicitly document `depTypes` each manager supports

* docs(manager): display `depTypes` documentation if none present

For consistency, and to make it more explicit.

---------

Co-authored-by: Claude Sonnet 4.6 <jamie.tanna+claude-code@mend.io>
2026-03-31 12:08:39 +00:00
renovate[bot] 4a2578d18d build(deps): update dependency zod to v4 (main) (#41225)
* build(deps): update dependency zod to v4

| datasource | package | from    | to    |
| ---------- | ------- | ------- | ----- |
| npm        | zod     | 3.25.76 | 4.3.6 |

* fix: zod migration

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2026-02-18 07:37:50 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Sergei Zharinov 0c292aed58 feat(gitlab-ci): Use semver-partial versioning for components (#38790)
* feat(gitlab-ci): Add `semver-partial` versioning

* Add supported range strategies to semver-partial

* Add test cases for invalid semver inputs

* Remove unused sortVersions spec test

* Add tests for semver-partial versioning edge cases

* Simplify semver-partial version comparison logic

* Rewrite AI slop

* Add tests and improve semver-partial version matching

* Remove support for v-prefixed versions and bump strategy

* Refactor isLessThanRange to use parseVersion/Range

* Remove duplicate test cases in semver-partial spec
2025-10-21 21:49:49 +00:00
RahulGautamSingh bc7d0595d0 feat(config): managerFilePatterns (#34615)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-05-04 08:30:24 +00:00
Florian Greinacher 242ef8dd87 docs(manager): mention other CI variables (#35016) 2025-03-26 09:24:19 +00:00
Sergei Zharinov 6dc2b37be1 feat(gitlabci): Use schema for dep extraction (#33586) 2025-03-17 08:59:51 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
Michael Kriese bf5ce6cc3a fix(manager): retain depName when using registryAliases (#33911) 2025-01-30 08:05:36 +00:00
Michael Kriese 45bdc77844 refactor(manager): always set package name from docker image extract (#33917) 2025-01-29 15:36:24 +00:00
Risu 397ab49ef3 docs(managers): add missing url and displayName (#32621)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
2024-12-01 08:47:27 +00:00
Timo Webler 354e6f866c refactor(manager/gitlabci): remove method "replaceReferenceTags" (#31787) 2024-10-04 13:50:05 +00:00
Sebastian Poxhofer d74ba704fd refactor: use yaml instead of js-yaml for parsing YAML files (#31336) 2024-09-16 18:03:23 +00:00
marcovmun 59cd325b58 fix(manager/gitlabci): support alias with a path in component URL (#29707)
Co-authored-by: marco <marco@mybit.nl>
2024-08-16 16:14:12 +00:00
Michael Kriese edf3c793dc refactor(yaml): drop unused argument (#30804) 2024-08-15 13:42:53 +00:00
Craig Andrews eb87cbbfa5 feat(manager/gitlabci): support registry aliases (#28607)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2024-04-24 14:01:37 +00:00
RahulGautamSingh 20d76117dc feat(gitlabci): add support for multidoc yaml (#28521) 2024-04-19 14:19:52 +00:00
Michael Kriese 0dd364a814 docs: fix versioning links (#28341) 2024-04-11 13:23:20 +00:00
Florian Greinacher 487d933ce0 feat(gitlab): support GitLab CI/CD component references (#26660)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-23 15:20:50 +00:00
Florian Greinacher 625698369b refactor(manager): move some logic from gitlabci-include to gitlabci manager (#26722) 2024-01-18 19:04:03 +00:00
Michael Kriese 6c2263eeb3 chore: fix types for linting (#26695) 2024-01-17 11:30:45 +00:00
Sebastian Poxhofer 3c33a26441 refactor(util/yaml): rename load and loadAll to parseSingleYaml and parseYaml (#26084) 2023-12-01 20:13:01 +00:00
Sebastian Poxhofer f42d0583d5 refactor(utils/yaml): centralize YAML parsing to allow central templating handling (#26068) 2023-12-01 11:58:43 +00:00
Michael Kriese 4b7a5e7b62 docs: use relative links (#26044) 2023-11-29 18:10:17 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Rhys Arkins 36e2b328bb chore: update types reference 2023-08-15 11:31:15 +02:00
renovate[bot] fe739befbf chore(deps): update linters to v6 (major) (#23325)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-08-02 15:07:49 +00:00
Sebastian Poxhofer 19259a0383 feat!: categories (#16534)
Closes #13953

Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

BREAKING CHANGE: languages are now called categories instead
2023-07-04 19:21:52 +02:00
Michael Kriese 497d4c131f fix(manager): unify logging (#22398)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
2023-05-25 16:53:05 +00:00
Sergei Zharinov f5dc5ebcb4 fix: Match both yaml and yml in all managers (#22416) 2023-05-24 19:48:01 +00:00
Mikko Piuhola b1ffc66d86 fix(manager/gitlabci): support multi-line !reference tags (#21896) 2023-04-30 15:07:48 +00:00
Michael Kriese 9f01274911 fix(fs): remove regex path validation (#21871) 2023-04-28 12:31:32 +00:00
Michael Kriese 2de1b29c1f feat(fs): add isValidLocalPath function (#21433) 2023-04-12 15:13:34 +00:00
Rhys Arkins b6ed33ec01 fix(regex): don’t escape forward slash in fileMatch (#19314)
This cleanup of default `fileMatch` values should be backwards compatible.
2023-03-10 09:34:39 +01:00
Rhys Arkins cc33d34ca8 refactor: PackageFile types (#20498)
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-02-20 14:58:49 +00:00
Rhys Arkins 3cef2f2e4f refactor: PackageFile -> PackageFileContent (#20502) 2023-02-19 12:43:48 +00:00
RahulGautamSingh 2a07e91be6 refactor: convert ProgrammingLanguage to union type (#18748)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-05 08:49:57 +00:00
RahulGautamSingh 0151b6a4a9 refactor: reduce debug metadata (#18466)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-29 12:11:09 +00:00
fredrondina 21ff27d5ab feat(gitlab-ci): ref add logic for updating non top level includes (#16819)
Co-authored-by: Fred Rondina <fred.rondina@daveramsey.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-08-16 15:36:05 +00:00
Michael Kriese 0316a5e62d test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Hasan Awad 719ab9be4a fix(manager/gitlabci): clean more than one slash (#17132) 2022-08-14 15:57:37 +00:00
Sergei Zharinov e4dbd4ad49 fix(ci): Restrict template expressions (#16834)
* fix(ci): Restrict template expressions

* Fix

* Fix

* Fix
2022-07-30 16:28:31 +02:00
IKEDA Sho 1ad61a7ebd refactor(manager): consistently write as export const language = ... (#16739)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-07-25 06:13:57 +00:00
Florian Greinacher 2b582140c2 fix(manager/docker): use correct autoreplace string for registry aliases (#16542)
* fix(manager/docker): use correct autoreplace string for registry aliases

* fix: re-establish old behavior
2022-07-13 06:22:52 +00:00
Florian Greinacher 93c2d053a3 feat(manager/gitlabci): add support for registryAliases (#16227)
* feat(manager/gitlabci): add support for CI_REGISTRY

* fix: pass correct property

* chore: adapt tests

* docs; add documentation for the new option

* test: extend test cases

* fix: do the abc properly

* refactor: switch to using registryAliases option

* docs: mention registry variable

* style: remove extra heading

* docs: fix sentence

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>

* docs: move documentation to managers

* docs: fix formatting

* refactor: handle default value in function body

* refactor: remove unused function

* refactor: move registry alias handling to dockerfile manager

* style: remove unused import

* refactor: use match groups directly

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>

* refactor: add dockerfile manager tests

* chore: fix variable name

Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-07-07 09:42:31 +02:00