yarnpnp2nix: More efficient way of packaging NodeJS applications

This page summarizes the projects mentioned and recommended in the original post on /r/NixOS

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • yarnpnp2nix

    A performance focused and space efficient way of packaging NodeJS applications with Nix

  • Just wanted to share something I've been working on in case it's helpful to anyone here - https://github.com/madjam002/yarnpnp2nix

  • crane

    A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.

  • I imagine/hope you've seen this, but over in Rust-land I do something similar using https://github.com/ipetkov/crane. I've been on the lookout for something precisely like this for a while. I don't know much about the newer versions of yarn but imagined such a thing was possible. I am looking forward to trying this out, especially if the above is eventually addressed.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • dream2nix

    Simplified nix packaging for various programming language ecosystems [maintainer=@DavHau]

  • I'm not 100% sure, but looking at the docs [here](https://nix-community.github.io/dream2nix/subsystems/node.html#granular-pure-default) and the implementation [here](https://github.com/nix-community/dream2nix/tree/main/src/subsystems/nodejs/builders/granular-nodejs) it seems as it builds dependencies separately and symlinks (see `install-deps.py` those into a `node_modules` tree. I don't know much about Yarn's PNP (was doing more backend/devex last few years), but it sounds vaguely similar in that each package should be built once as a separate derivation and then symlinked to a big `node_modules`-as-a-symlink-tree derivation?

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • NixOS: Declarative Builds and Deployments

    13 projects | news.ycombinator.com | 14 Jan 2024
  • Transitioning to Rust as a company

    8 projects | /r/rust | 2 Jun 2023
  • Lanzaboote vs. bootspec-secureboot

    4 projects | /r/NixOS | 11 Mar 2023
  • Has anyone packaged Rust programs as nix packages?

    3 projects | /r/rust | 8 Mar 2023
  • How to setup devShell for rust development with bevy?

    2 projects | /r/NixOS | 14 Nov 2022