!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

187 Members
55 Servers

Load older messages


SenderMessageTime
11 Oct 2025
@pyrox:pyrox.devdish [Fox/It/She]the best way to do this would be a package-lock.json and a patch to make the minimal critical build steps use npm instead of pnpm cli03:29:23
@pyrox:pyrox.devdish [Fox/It/She]but thats a very involved patch and its really sad that they dont allow for this03:29:33
@c0ba1t:matrix.orgCobalt That is worse than expected, thank you for the explainer 03:35:47
@c0ba1t:matrix.orgCobaltAn alternative approach might be to write a translator between lockfile formats. But that's also quite a bit of extra work03:44:36
@magic_rb:matrix.redalder.orgmagic_rbLeave it to the JS people to make bootstrap impossible. JS folk seem to be living a fantasy land where nothing but npx matters and everything can be resolved with just one more package manager and web framework06:19:45
@magic_rb:matrix.redalder.orgmagic_rb * 06:20:07
@pyrox:pyrox.devdish [Fox/It/She]yeag06:33:27
@pyrox:pyrox.devdish [Fox/It/She]i've been researching with a friend and just06:33:46
@pyrox:pyrox.devdish [Fox/It/She]gods it gives me a headache06:33:52
@marie:marie.cologneMariesame thing applies to bun last time i looked at it09:50:22
@marie:marie.cologneMarie:/09:50:24
19 Oct 2025
@c0ba1t:matrix.orgCobalt

A minor question/inquiry about importNpmLock, when a dependency for <foo> is specified as "<name>": "https://example.com/some.tar.gz", then importNpmLock will resolve & fetch it successfully as a dependency with the packages BUT will keep it as https:// within the packages.<foo>.depdendencies.<name> as https://example.com/some.tar.gz.

Regardless of integrity or metadata tags at least in my tests this means it will try to use the cacache-based cache for the downloaded file instead of the resolved file in packages."https://example.com/some.tar.gz". This will however fail as the cache lookup will fail (as there's no downloaded artifact in the cache) and subsequently it will exit early (when being required to fetch the tar from the address).

06:46:41
@c0ba1t:matrix.orgCobaltAre dependencies like this not supported or is my understanding of this issue incomplete?06:47:25
@c0ba1t:matrix.orgCobalt Background: lexical.dev is, among other methods, distributed via a tar from GitHub releases as @lexical/monorepo. And one of our projects workspace members has a dependency on it with "@lexical/monorepo": "https://github.com/facebook/lexical/archive/refs/tags/v0.20.2.tar.gz". 06:49:41
@c0ba1t:matrix.orgCobalt *

A minor question/inquiry about importNpmLock, when a dependency for <foo> is specified as "<name>": "https://example.com/some.tar.gz", then importNpmLock will resolve & fetch it successfully as a dependency with the packages BUT will keep it as https:// within the packages.<foo>.depdendencies.<name> as https://example.com/some.tar.gz.

Regardless of integrity or metadata tags at least in my tests this means it will try to use the cacache-based cache for the downloaded file instead of the resolved file in packages."https://example.com/some.tar.gz". This will however fail as the cache lookup will fail (as there's no downloaded artifact in the cache) and subsequently it will exit early (when being required to fetch the tar from the address).

06:53:57
@c0ba1t:matrix.orgCobalt *

A minor question/inquiry about importNpmLock, when a dependency for <foo> is specified as "<name>": "https://example.com/some.tar.gz", then importNpmLock will resolve & fetch it successfully as a dependency with the packages BUT will keep it as https:// within the packages.<foo>.depdendencies.<name> as https://example.com/some.tar.gz.

Regardless of integrity or metadata tags at least in my tests this means it will try to use the cacache-based cache for the downloaded file instead of the resolved file in packages."https://example.com/some.tar.gz". This will however fail because the cache lookup fails (as there's no downloaded artifact in the cache) and subsequently it will exit early (when being required to fetch the tar from the address).

06:54:22
2 Nov 2025
@pyrox:pyrox.devdish [Fox/It/She] @Tomodachi94 (they/them) can I request reviews from you on nodePackages removal PRs? 22:44:40
@pyrox:pyrox.devdish [Fox/It/She]since i know you've helped me with them in the past, just trying to get some fairly large ones moved that I've already personally reviewed22:45:06
4 Nov 2025
@cafkafk:gitter.imcafkafk changed their profile picture.08:23:10
@pyrox:pyrox.devdish [Fox/It/She]nodePackages' node-packages.nix file is now under 2mb! That means that it also now displays in the github webui18:31:56
@pyrox:pyrox.devdish [Fox/It/She]but the important thing is that the file is being deleted slowly18:32:04
@pyrox:pyrox.devdish [Fox/It/She]and it'll be 1.8mib once #457963 is merged18:34:01
@pyrox:pyrox.devdish [Fox/It/She]* nodePackages' node-packages.nix file is now under 2mib! That means that it also now displays in the github webui18:34:06
@fugi:fugi.devLyn joined the room.20:36:17
5 Nov 2025
@sandro:supersandro.deSandro 🐧Ui, that's really nice 17:19:12
@sandro:supersandro.deSandro 🐧Love it17:19:14
@pyrox:pyrox.devdish [Fox/It/She]now 1.73 mib with several more PRs merged17:36:06
@pyrox:pyrox.devdish [Fox/It/She]also under 50k lines which is a cool milestone17:36:19
@pyrox:pyrox.devdish [Fox/It/She]also, once all of my in-flight PRs removing stuff from nodePackages are merged, I'm going to do a single update to the package set to clean it up, and see what it removes. I don't want to do more than one update of it per release cycle, to keep churn down, but doing one allows us to clear out any unused deps that got missed along the way.18:20:07
@pyrox:pyrox.devdish [Fox/It/She]also, if anyone else does work moving packages out, please request reviews from me. I'm glad to do em18:22:21

Show newer messages


Back to Room ListRoom Version: 6