NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.08k stars 14.13k forks source link

prefetch-npm-deps: refactor lockfile fixup #320738

Open NyCodeGHG opened 4 months ago

NyCodeGHG commented 4 months ago

Description of changes

Refactor the lockfile fixup to utilize serde based structs for deserializing the lockfile. In the future this would also enable re-serializing the lockfile to do overrides.

This needs a check to make sure this does not break any existing FODs, i don't think it would, but better be sure.

Things done


Add a :+1: reaction to pull requests you find important.