| 29 Apr 2025 |
Sandro 🐧 | Pnpm has its own lock file and fetcher | 11:57:24 |
Sandro 🐧 | (that is a pnpm lock file, or is pnp yet another package manager?) | 11:58:27 |
Cobalt | yarn PNP is yarn plug-n-plug iirc, it's a special-ish way for yarn to handle deps. An alternative to traditional node_modules | 12:52:52 |
Cobalt | https://yarnpkg.com/features/pnp | 12:53:41 |
Cobalt | Though @c3n21:matrix.org, it might helpful if you could clarify if yarn PNP or pmpn was referred to here. | 12:55:39 |
c3n21 | Yes it is yarn pnp, I should have mentioned that I'm packaging v6.1.2 which only uses yarn | 15:30:47 |
Cobalt | Have you tried the yarn deps fetcher then? https://nixos.org/manual/nixpkgs/stable/#javascript-yarn
If this project requires more elaborate packaging than `npm install` it is usually easier to put into it's own package instead of the `nodePackages` set. Following the nixpkgs manual for JavaScript projects should help you there. | 15:44:52 |