Commit Graph

7 Commits

Author SHA1 Message Date
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 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
Trevor Allen c7eabc09c5 fix(nix): fix flake lock refresh (#37222)
* fix(nix): flake lock refresh

* fix(nix): handle nixpkgs upgrades with not explicit ref correct

* Remove fileMatch hack

* Force lock file updates for nix

* Support new lockable channel

as requested by @Mic92

* Fix lints

* Remove hack and set rangeStrategy instead

* Fix tests

* Add example comments

* Use codeBlock, inline fixtures

* Add test back which went missing while merging

* Simplify code

* Fix tests

* Fix undefined being displayed in dashboard

* revert: Fix undefined being displayed in dashboard

* fix(nix): use lockedVersion, fake confirmations and conditionally set currentValue

* test(nix): check for lockedVersion instead of currentDigest, remove rangeStrategy

* fix: only replace digest

* fix: make sure flake.nix contains new digest

* fix: replace deprecated update-input with flake update

* fix: update tests

* fix: only set lockedVersion for lockable tarballs, cleanup

* fix: don't use special versioning

* fix: get nixpkgs currentValue in tarballs

* test: fill in code coverage gaps

* test: fill in more code coverage gaps

* fix: use correct extract type

* test: improve code coverage

* test: explicitly check flakeLocked and flakeOriginal to see what isn't being covered

* fix: check both original and locked inputs for bad types

* test: add missing root

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: Joshua Spence <josh@spence.com.au>

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: Joshua Spence <josh@spence.com.au>

* fix: explicitly set log messages

* Update lib/modules/manager/nix/extract.ts

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

* Update lib/modules/manager/nix/extract.ts

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

* Update lib/modules/manager/nix/extract.ts

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

---------

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Joshua Spence <josh@spence.com.au>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-11-03 22:03:37 +00:00
Daniel Frankcom 0a2bbbcb61 fix(nix): add file input type to Nix schema (#37877) 2025-09-12 17:04:23 +00:00
Tharaka De Silva 58e2e93509 fix(nix): add path input type to Nix schema (#35379) 2025-04-15 14:02:55 +00:00
Sandro 441a30f8e0 feat(nix): rework to work with all flake inputs (#31921)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-authored-by: Mathieu Fenniak <biziqe@mathieu.fenniak.net>
2025-01-31 07:56:17 +00:00