yarn2nix v0.7.0 Release Notes
Release Date: 2018-06-14 // almost 6 years ago-
β Added
- π Support for scoped npm packages
- These are used mostly for Typescript annotations, but have been cropping up in other cases as well
- The support is first-class and scoped packages are already recognized by the
yarn.lock
parser; as such every corner case should be supported (if not itβs a bug or missed type signature change)
π Changed
nix-lib
buildNodeDeps
now takes an overlay instead of a path; for the generated files this meanspkgs.callPackage ./npm-deps.nix {}
instead of just./npm-deps.nix
- Because of scoped package support, the package names are now mostly an attributeset of
{ scope: String, name: String }
where an empty string forscope
means (360) no scope - One exception is the
key
argument of_buildNodePackage
, which accepts a string as well if the package is not scoped, to save on bytes in the generated nix deps file
- π Support for scoped npm packages