All Versions
4
Latest Version
Avg Release Cycle
245 days
Latest Release
1817 days ago
Changelog History
Changelog History
-
v0.8.0 Changes
December 22, 2019β Added
- π¦ Preliminary support for local packages
To support local packages (see commit for 0.6.0 in yarn-lock), we have to add a new package function to the nix output.
For now it will only add the path directly, which has the drawback that the nix expression is now required to be in the right position (for relative paths). It should be changed to be user-defined later (i.e. the user passes a function which takes the string of the local path and returns a derivation to the package tarball).
We donβt use the tarball hash from the lockfile yet to verify the integrity when importing into the nix store.
π Changed
- β¬οΈ Bumped
hnix
to0.6.*
- Small breaking change, because the pretty print library changed to
prettyprint
.
- Small breaking change, because the pretty print library changed to
- π Bumped
yarn-lock
to0.6.2
π Fixed
- nix-lib: Allow creating a scoped directory if it exists
-
v0.7.0 Changes
June 14, 2018β 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
-
v0.6.0 Changes
May 31, 2018π¦ First bigger packaging project: the
pulp
package manager. It is accessible in the newyarn2nix-packages
repository.β Added
npmjs.org
registry shortener for nix output- π Extensive usage documentation for
nix-lib
- Give every binary in
node_modules/.bin
the executable flag - π Pin
nixpkgs
tounstable
(makes deterministicnix-build
possible)
π Changed
- π
nix-lib
usage has changed considerably; see./README.md
- The templates now include
devDependencies
- π Bump
yarn-lock
to0.4.1
- β¬οΈ Bump
tasty
to1.1
(nothing changed) - β¬οΈ Bump
hnix
to0.5
(some signatures/functions changed)
π Fixed
- π¦ Correctly generate npm registry paths containing
/
in package names - π¦ Ignore multiple
package.json
fields if they are mistyped/wrong- There seem to be no checks on the registry side
- We print warnings instead (which are checked in the test suite)
- Correctly substitute
nix-prefetch-git
to use the store path - Donβt substitute the
node_modules
link farm derivation - π¨ Errors are printed to
stderr
β Removed
- π Dependency on
either
,EitherT
was removed and replaced byExceptT
romtransformers
-
v0.5.0 Changes
December 16, 2017β Added
- π First working release
0.5.0
to signify that itβs not alpha, but not ready for upstream either