Sebastian Poxhofer
05e1271376
test: use expect().resolves instead of awaiting inside expect ( #45672 )
...
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
Sebastian Poxhofer
f4ab79f2a5
test(datasource): replace file snapshots with explicit assertions ( #45655 )
...
* test(datasource): replace file snapshots with explicit assertions
* test(datasource): replace inline snapshots with explicit assertions
* test(datasource): drop assertions implied by full equality
* test(datasource): address review feedback
2026-09-03 14:31:08 +00:00
Sebastian Poxhofer
9717259ffc
refactor(oxlint): enable no-else-return and unicorn/no-lonely-if ( #44553 )
...
Enable no-else-return (with allowElseIf: false) and unicorn/no-lonely-if
as errors in .oxlintrc.json and fix all 131 pre-existing violations
(91 no-else-return, 40 unicorn/no-lonely-if) across 98 files.
The no-else-return violations were fixed with the oxlint autofix
(iterated to a fixpoint, plus two else-if chains that required
--fix-dangerously) followed by Prettier formatting. One comment dropped
by the autofix in lib/modules/manager/pub/artifacts.ts was restored
manually. The unicorn/no-lonely-if violations were merged by hand,
preserving comments and coverage-ignore hints.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-14 12:11:21 +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
c07814ca4d
refactor: Remove decorators for ESM compatibility ( #40736 )
...
* refactor: Migrate to decorator alternatives
* refactor: Remove decorators
* Fixes
* build: Remove decorator support from build pipeline
* fix: Remove extra brace in cdnjs getDigest cache key
2026-01-28 13:22:53 +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
Jamie Tanna
844e299638
fix(galaxy-collection): make sure that releaseTimestamp is returned correctly ( #39899 )
...
As noted in #35936 , we've been collecting this data, but hadn't been
correctly returning it when enriching the release.
Although we could also collect this data from the `rawDetailedVersion`,
we can start by wiring in the `basicRelease`'s `releaseTimestamp`, if
present.
2025-12-17 10:52:58 +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
Anne Stellingwerf
9fae0192a1
docs: introduce JSON schema validation and migration checks ( #38145 )
...
* docs: introduce JSON schema validation and migration checks
* refactor(tools): enhance code clarity with additional typings, comments, and optional chaining
* ci(workflows): add build steps to lint and type-check jobs
* Update tools/check-fenced-code.mjs
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
* Partial revert
* docs(jsonata): fix wording in code block title in readme
* ci(workflows): remove redundant build steps from workflows
* ci(workflows): remove redundant build steps from workflows
* refactor(tools): simplify error reporting
* Incorporate feedback
* Incorporate feedback
* Incorporate feedback
---------
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com >
Co-authored-by: Jamie Tanna <jamie.tanna@mend.io >
2025-10-07 10:54:48 +00:00
dmosen
79f0888ebf
fix(galaxy-collection): suppress incorrect warning if collection is not found in registry ( #36697 )
2025-06-26 19:30:08 +00:00
dmosen
a79162a93e
feat(datasource/galaxy-collection): artifactory support ( #36430 )
...
Co-authored-by: Dominik Mosen <3847928+dmosen@users.noreply.github.com >
2025-06-12 04:45:23 +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
Sergei Zharinov
a33d3eab9e
feat: Switch to Timestamp type ( #33648 )
2025-01-22 20:15:25 +00:00
RahulGautamSingh
0d23707604
refactor(logger): remove templating from WARN log messages ( #33488 )
2025-01-14 13:03:05 +00:00
Sergei Zharinov
85c1163e2e
refactor(galaxy-collection): Use single cache namespace ( #31036 )
2024-08-27 18:03:31 +00:00
Sergei Zharinov
49c0e6a2a1
fix: Align cache decorator parameters ( #30862 )
2024-08-19 07:34:36 +00:00
RahulGautamSingh
d0b77e584a
feat(datasource): sourceUrl & releaseTimestamp support ( #29122 )
2024-05-21 07:04:12 +00:00
jon4hz
f7faaa4918
feat(datasource/galaxy-collection): support ansible automation hub ( #25675 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com >
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com >
2023-11-27 14:02:54 +00:00
Tobias
786f4e8899
fix(galaxy-collection): return sourceUrl of highest_version in getReleases() ( #25769 )
2023-11-14 20:31:41 +00:00
Sebastian Poxhofer
0668895546
feat(datasource/galaxy-collection): migrate from v2 to v3 ( #25239 )
2023-11-10 20:48:27 +00:00
renovate[bot]
e5cbbaaf09
build(deps): update dependency prettier to v3 ( #23627 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com >
2023-11-07 17:12:01 +00:00
Sergei Zharinov
b69416ce17
refactor(prettier): Force trailing commas ( #25631 )
2023-11-07 15:50:29 +00:00
Sebastian Poxhofer
6fb6c9cf7a
fix(datasource/galaxy): use new hostname for existing API implementation ( #25191 )
2023-10-13 12:19:50 +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
Sergei Zharinov
ef6f0c7ffa
feat: Use klona library for deep clone ( #22979 )
2023-06-26 17:21:29 +00:00
RahulGautamSingh
1013302e0f
refactor: exactOptionalPropertyTypes ( #20761 )
...
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2023-03-19 16:09:46 +00:00
Rhys Arkins
b17bcf2789
refactor(datasource): use packageName and not depName for datasource lookups ( #20474 )
2023-03-10 09:34:40 +01:00
Nejc Habjan
45091ff1b2
feat(datasource/galaxy-collection): use pep440 versioning by default ( #19489 )
...
Co-authored-by: Rhys Arkins <rhys@arkins.net >
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-12-21 09:21:01 +00:00
Sergei Zharinov
2df8967ae2
refactor: Create promises utilities ( #17651 )
2022-09-06 10:36:51 +00:00
RahulGautamSingh
1ca1a214e8
refactor: use optional chaining ( #17510 )
2022-08-30 17:30:57 +02:00
Michael Kriese
0316a5e62d
test: use jest v29 ( #17151 )
2022-08-16 14:22:29 +02: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
RahulGautamSingh
93dd940574
refactor(modules/datasource): fix null-check issues ( #16153 )
...
* fix null-check issues
* Update index.spec.ts
* apply suggestion from review
* fix coverage issue
* Update index.spec.ts
* Apply suggestions from code review
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Update datasource.spec.ts
* Update lib/modules/datasource/conan/index.spec.ts
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
* Update datasource.spec.ts
* fix null-check issue
Co-authored-by: Michael Kriese <michael.kriese@visualon.de >
2022-06-20 16:24:37 +02:00
Michael Kriese
5cf9123017
refactor: more strict null checks ( #15140 )
2022-04-16 06:32:17 +00:00
Michael Kriese
443bef5c52
test: cleanup snapshot tests ( #15082 )
2022-04-12 15:09:19 +01:00
Rhys Arkins
143c9a6751
refactor: rename lookupName -> packageName ( #14494 )
...
Renames `lookupName` to be `packageName`.
BREAKING CHANGE: Use `packageName` instead of `lookupName` if interacting with Renovate datasources directly.
2022-03-04 09:04:02 +01: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