Commit Graph

31 Commits

Author SHA1 Message Date
renovate[bot] 9d74625d93 build(deps): update dependency prettier to v3.9.6 (main) (#45815)
* build(deps): update dependency prettier to v3.9.6

| datasource | package  | from  | to    |
| ---------- | -------- | ----- | ----- |
| npm        | prettier | 3.8.1 | 3.9.6 |

* chore: prettier fixes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@mend.io>
2026-09-09 13:50:03 +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
Felipe Santos 392105b7c6 chore(oxlint): enable unicorn plugin and prefer-node-protocol (#43283)
chore(oxlint): enable unicorn plugin and prefer-node-protocol
2026-05-29 06:55:58 +00:00
Jonas Kuske 17a484aa21 fix(poetry): perform deepmerge to fully enrich projectDep with info from poetryDep (#43064)
* fix(poetry): perform deepmerge to fully enrich projectDep with info from poetryDep

previously, just additional `managerData` from the poetryDep was merged into the projectDep specification

* test(poetry): verify 'invalid-dependency-specification' if constraints specified twice
2026-05-04 07:16:20 +00:00
Jonas Kuske 0a9053b13c feat(poetry): enrich deps with managerData from poetry deps if both present (#39275)
* feat: use poetry deps to enrich equivalent pep621/pep735 deps

* test: cover project.optional-dependencies in enrichment test

* refactor: replace reduce usage with for..of loop

* refactor: use nullish-coalescing during variable assignment

* refactor: use coerceArray helper instead of nullish coalescing
2026-04-29 10:52:39 +00:00
Jonathan Berthias 00c5f809a8 feat(poetry): update build-system.requires dependencies (#40445)
feat(poetry): update build-system.requires dependencies
2026-03-19 09:37:33 +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 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
Edgar Ramírez Mondragón 0d40c5ad0e fix(poetry): Detect Poetry requirement from kebab-case poetry-core build dependency (#39482) 2025-11-24 21:47:46 +00:00
Jonas Kuske 1839f934e4 feat(poetry): support PEP735 dependency-groups (#38608)
* feat: support PEP735 dependency-groups in Poetry

* test: verify poetry pep735 dependency-groups extraction

* docs: add dependency-groups to supported poetry depTypes

* test: move poetry pep735 test to poetry v2 block
2025-11-10 10:41:50 +00:00
Sergei Zharinov 5f150439e2 feat(poetry): Support Poetry V2 (#37563) 2025-08-16 19:59:19 +00:00
Michael Kriese 3211d56e21 refactor(zod): rename schema to match our best practices guide (#37499) 2025-08-14 10:35:03 +00:00
RahulGautamSingh 49fa1be464 feat(util): getEnv (#35161)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-05-06 18:37:28 +00:00
Rhys Arkins 0c2eaaf8bb feat: sharedVariableName (#33111)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2025-01-16 15:05:07 +00:00
Sigurd Spieckermann ff8c63ea04 fix(manager/poetry): fix schema for optional dependencies (#32096)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-10-30 19:19:44 +00:00
Mathieu Kniewallner fc697a36d9 refactor(manager/cargo): use zod to parse manifest/config (#31260)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
2024-10-29 06:19:33 +00:00
Sigurd Spieckermann e0fb1de479 fix(manager/poetry): set sourceName only if defined (#32162) 2024-10-27 13:48:21 +00:00
Sebastian Poxhofer 3681b2a945 chore: eslint to enforce for typed imports (#30844) 2024-08-19 13:15:27 +00:00
Norbert Szulc dbd17ed1d7 refactor(datasource/pypi): rename normalization function (#28584) 2024-04-22 15:37:37 +00:00
Norbert Szulc fdb907a2d1 refactor(manager/poetry): use common normalization function (#28185) 2024-03-31 20:50:56 +00:00
Rhys Arkins 6ed22b97ac fix(manager/poetry): limit fallback poetry constraint (#28022) 2024-03-19 14:54:34 +00:00
Johannes Feichtner 9e44136096 feat(manager/poetry): add support for git tag dependencies in non-GitHub repos (#27693) 2024-03-03 21:23:08 +00:00
Nam Vu 72fe67dd27 feat(manager/poetry): support git rev dependencies (#26367)
Co-authored-by: Sebastian Poxhofer <secustor@users.noreply.github.com>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2024-01-04 08:48:39 +00:00
Johannes Feichtner d2536a7cc2 feat(manager/poetry): add support for bumpVersion option (#26377) 2023-12-19 19:11:04 +00:00
Johannes Feichtner 24f8f0dd88 feat(manager/poetry): add support for explicit sources (#26337) 2023-12-17 05:45:33 +00:00
Sergei Zharinov b69416ce17 refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
Sergei Zharinov fd15b265ed refactor(poetry): More dependency parsing refactoring (#23967) 2023-09-02 08:09:01 +00:00
Sergei Zharinov 95d3a1db88 refactor(poetry): Use transforms for dependencies parsing (#23965) 2023-08-25 07:41:07 +00:00
Sergei Zharinov 847721e9aa refactor(manager/poetry): Use schema for lockfile parsing (#23973) 2023-08-21 21:06:44 +00:00
Joshua Tang cec6faeaf6 refactor(manager/poetry): use zod schema validation (#23830) 2023-08-18 10:23:32 +00:00