Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
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
RahulGautamSingh 1013302e0f refactor: exactOptionalPropertyTypes (#20761)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-03-19 16:09:46 +00: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
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
Michael Kriese 5cf9123017 refactor: more strict null checks (#15140) 2022-04-16 06:32:17 +00: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