Commit Graph

22 Commits

Author SHA1 Message Date
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 73b90e958b refactor: remove string concetation for production code (#43442)
refactor: prefer templates rather than `+`
2026-05-19 13:31:27 +00:00
Johannes Feichtner 4dbfc7a53c feat(manager/gradle): add support for implicit version catalog accessor syntax (#42746)
* feat(manager/gradle): add support for implicit version catalog accessor syntax

* fix coverage in else branches
2026-04-20 12:58:25 +00:00
ldt-fweichert 624d95d1c0 feat(gradle): add !!-notation support for strictly and prefer constraints (#42135)
* gradle: add strictly / prefer support

* fix tests

* improve code coverage

* apply suggestions from @Churro

* Update lib/modules/versioning/gradle/compare.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Update lib/modules/versioning/gradle/index.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* fixed pin strategy

* ignore pin strategy

---------

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2026-04-07 09:34:35 +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
Johannes Feichtner 74401317ec refactor(manager/gradle): rewrite reorderFiles() for performance (#40318) 2026-01-23 18:44:14 +00:00
Johannes Feichtner 03b3aed33c feat(gradle): detect dependencies in 'group:name:version:classifier@extension' format (#36224) 2025-05-30 05:03:03 +00:00
ldt-fweichert d022b8307e feat(gradle): bump strategy (#33453)
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2025-02-20 14:04:35 +00:00
Johannes Feichtner 6ff935ef0b fix(gradle): remove redundant checks and parser statements (#33526) 2025-01-11 13:16:00 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Johannes Feichtner eec46d1880 feat(gradle/manager): add support for Kotlin objects in buildSrc files (#21892) 2023-05-10 19:36:05 +00:00
Sergei Zharinov 6bd1277c89 fix(manager/gradle): Filter false positives out of extracted deps (#21753) 2023-04-23 08:33:49 +02:00
Johannes Feichtner 1fc7a05b08 refactor(manager/gradle): split extractAllPackageFiles into multiple sub-methods (#21429) 2023-04-12 06:12:55 +00:00
Johannes Feichtner 07bb701ada refactor(manager/gradle): ensure gradle parser is only invoked for gradle script files (#19232) 2022-12-03 20:05:28 +01:00
Johannes Feichtner dee3452a19 refactor(manager/gradle): cleanup old parser (#18931) 2022-11-16 04:32:41 +00:00
Johannes Feichtner 58c9b15162 fix(manager/gradle): only accept known format for optional classifiers (#18525) 2022-10-25 06:58:28 +02:00
Johannes Feichtner b4f5f88526 fix(manager/gradle): allow dependency classifiers (#18469) 2022-10-22 16:28:04 +02:00
Johannes Feichtner aa50662d3d feat(gradle): add support for versions with underscores (#16365) 2022-07-02 08:54:50 +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
Michael Kriese f5f06c73be refactor(manager): more strict null checks (#15168) 2022-04-20 06:19:59 +02:00
Sergei Zharinov f317458b95 fix(gradle): Don't skip files matched via custom pattern (#15027) 2022-04-08 16:25:48 +01:00
Rhys Arkins 8bd77f747b feat(gradle): remove deepExtract (#14497)
Removes Gradle `deepExtract` option

BREAKING CHANGE: Option `deepExtract` is now removed and will be ignored
2022-03-04 09:04:02 +01:00