Sebastian Poxhofer
c32e2391a0
refactor(linters): add prefer-coerce-object rule ( #45493 )
...
Refs #45216
The object counterpart to `prefer-coerce-array`: `x ?? {}` becomes
`coerceObject(x)`. The rule flags a `??` whose default is a bare `{}`
literal, so a populated default or an asserted `({} as Foo)` still
passes; a `x ?? y ?? {}` chain maps onto `coerceObject(x, y)`.
Every hit across `lib/` converted cleanly, so no disable comments were
needed.
2026-08-28 09:27:59 +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]
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
RahulGautamSingh
76f911041a
refactor: use named exports ( #39196 )
...
* use named exports
* fix test
* add missing imnport
* fix prettier
2025-11-10 12:00:35 +00:00
RahulGautamSingh
72bc1fba7c
fix(manager/docker-compose): update images used as anchors ( #35844 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2025-06-06 10:24:41 +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
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
1aba1efd20
test(yaml): add test for YAML tags ( #31244 )
2024-10-04 13:21:14 +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
Moritz
b2d9dd3b57
feat(docker-compose): yaml parser option removeTemplates ( #31206 )
2024-09-10 16:42:11 +00:00
Michael Kriese
0dd364a814
docs: fix versioning links ( #28341 )
2024-04-11 13:23:20 +00:00
Kyle Harding
5585818323
fix(manager/docker-compose): Allow strings or objects for service build ( #27594 )
...
Signed-off-by: Kyle Harding <kyle@balena.io >
2024-02-27 19:40:27 +00:00
Sebastian Poxhofer
14cba69c58
refactor(managers): yaml schema checks ( #26811 )
2024-02-25 06:14:19 +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
Michael Kriese
a9dc0625cf
fix: better branch code coverage ( #24270 )
2023-09-06 11:26:22 +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
Rhys Arkins
3cef2f2e4f
refactor: PackageFile -> PackageFileContent ( #20502 )
2023-02-19 12:43:48 +00:00
RahulGautamSingh
d869c946d1
refactor: reduce debug metadata ( #18737 )
2022-11-07 11:29:02 +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
Benjamin Appel
551a40ccab
feat(manager/dockerfile): add support for registryAliases ( #17139 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Niko Hass <nikohass571@gmail.com >
Co-authored-by: Niko Haß <48032410+nikohass@users.noreply.github.com >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-08-17 13:57:53 +00:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +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
Jamie Magee
3589d0e222
refactor: remove deprecated loadFixture calls ( #16404 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-07-04 04:18:53 +00:00
Michael Kriese
10302eba68
refactor: fix prefer-nullish-coalescing ( #16171 )
2022-06-21 12:02:49 +00:00
Michael Kriese
b4319928f1
refactor: strict manager tests ( #16155 )
...
* refactor: strict manager tests
* chore: revert changes
* Update lib/modules/manager/gradle/extract.spec.ts
2022-06-20 17:05:39 +02:00
Sebastian
34cc43a765
feat(docker-compose): Add support for more file names ( #15532 )
2022-05-10 15:48:01 +00:00
Michael Kriese
da6ba6435f
refactor(manager): strict null checks ( #15151 )
...
* refactor: strict null checks for util
* chore: fix type
* Update tsconfig.strict.json
* Update lib/util/package-rules.ts
* Update lib/util/package-rules.ts
* chore: fix test and coverage
* chore: fix package rules
* refactor(manager): strict null checks
* chore: revert config changes
2022-04-17 14:34:26 +02:00
Michael Kriese
64f5bd5f03
test: enforce lint style rules ( #15085 )
2022-04-12 14:49:49 +00:00
Rhys Arkins
dca3418bbd
refactor: lib/modules ( #14488 )
...
Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/
BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
2022-03-04 09:04:02 +01:00