Commit Graph

85 Commits

Author SHA1 Message Date
Sergei Zharinov cb9eb4ca13 feat(bazel): Support for Maven dependencies (#20351) 2023-02-12 21:25:26 +00:00
Sergei Zharinov 2d65f27d80 refactor(bazel): Simplify version extraction from GitHub url (#20361) 2023-02-12 19:05:56 +02:00
Sergei Zharinov ee525a7d18 fix(bazel): Provide replaceString selectively (#20360) 2023-02-12 19:00:28 +02:00
Sergei Zharinov f003347301 refactor(bazel): Allow for parsing multiple deps from single rule (#20349) 2023-02-11 13:28:52 +01:00
Sergei Zharinov d89e3271ab feat(bazel): Use auto-replace when possible (#20318) 2023-02-11 12:34:13 +01:00
Sergei Zharinov 5caa59aaa1 test(bazel): Use codeBlock in tests (#20345) 2023-02-11 09:58:15 +02:00
Michael Kriese e78048dfc1 fix: no cycles (#19982) 2023-01-23 21:20:54 +00:00
renovate[bot] 91f3fe2d6a build(deps): update dependency good-enough-parser to v1.1.22 (#19672)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Sergei Zharinov <zharinov@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2023-01-04 18:08:56 +00:00
RahulGautamSingh d869c946d1 refactor: reduce debug metadata (#18737) 2022-11-07 11:29:02 +00:00
Sergei Zharinov 9439abe4fc refactor(bazel): Leverage new parser in update function (#18285)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-19 09:20:22 +00:00
Sergei Zharinov f2d85c16cd refactor(bazel): Simplify parser output structure (#18270) 2022-10-12 07:55:13 +03:00
Sergei Zharinov bea9cc9699 refactor(manager/bazel): Leverage schemas for dependency extraction (#18257)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-10-11 16:20:49 +00:00
renovate[bot] 7935a7b8ed chore(deps): lock file maintenance (#18082)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2022-10-10 21:47:23 -07:00
Sergei Zharinov baf62ec6ac refactor(bazel): Move all supported rules to the separate directory (#18225) 2022-10-10 10:27:45 +00:00
Sergei Zharinov d47ec5fb26 refactor(bazel): Update-friendly structure for parsed data (#18212) 2022-10-09 11:58:19 +00:00
RahulGautamSingh 1657c16136 chore(lint): add object shortand rule (#18080) 2022-10-02 21:20:24 +02:00
Rhys Arkins 4090e93d4e chore: fix lint 2022-09-28 06:17:11 +02:00
Rhys Arkins 17b1be016e fix(bazel): don't warn for missing extractor 2022-09-27 16:55:45 +02:00
Jason Bedard 2082aaaf32 fix(bazel): support github tag refs (#17931) 2022-09-23 11:34:22 +02:00
Jason Bedard c449c85d77 test(bazel): add tests with multiple http_archives (#17933) 2022-09-23 07:02:14 +00:00
Michael Kriese 0316a5e62d test: use jest v29 (#17151) 2022-08-16 14:22:29 +02:00
Sergei Zharinov 89e9d31935 feat(bazel): Parser reimplementation (#16931)
* feat(bazel): Parser reimplementation

* Fixes

* Update comments

* Fixes

* Fix

* More fixes

* Fix

* Simplify

* Refactor context

* Fixes

* One more warning log

* Fix lint

* Fix depth limit

* Add more tests

* Rename `extract-new.ts` to `extract.ts`

* Fixes

* Remove async

* Update lib/modules/manager/bazel/parser.ts

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

* Fix

Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-08-07 08:12:32 +03:00
Sergei Zharinov 813cc8d474 fix(manager/bazel): fix regex and tests for update function (#16992)
* test(bazel): Refactor tests for update function

- use smaller fragment for each use-case
- remove fixture usage
- fix regex to support `maybe`

* Compact formatting

* Don't use `replaceAll`

* Fix coverage
2022-08-05 13:24:10 +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
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 99b16becaf refactor: remove unused properties (#16328) 2022-06-29 13:18:12 +02:00
Rhys Arkins f00590cff7 fix(bazel): skip updating if unchanged value (#16295)
Closes #16268
2022-06-28 11:27:57 +02:00
Jason Bedard 8901e724f3 feat(bazel): add "maybe" macro support (#16003) 2022-06-22 06:16:43 +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
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
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