Another day, another 4 hours lost to javascript tooling. Question for anyone using pnpm: https://stackoverflow.com/questions/79594121/how-to-properly-manage-pnpm-link-overrides

Reply to this note

Please Login to reply.

Discussion

When I was working on nostr-editor I have found this a huge mess and I eventually gave up. I was actually trying to link directly in the "dependencies" instead of overrides, then I tried with the pnpm link command, both kinda worked but then broke for some reason, there was also issues with tiptap versions which i didn't bother to try to understand, I think I would avoid this and try some other approach.

daggum. Have you tried any of these new hipster things like bun?

Bun is great, but never used their bun link, I'm currently playing with ocaml + melange, linking things with dune is a no brainer 🤣

Wow, OK, totally ditching js? Are you using ocaml for nosotros or something else?

I don't think the ocaml tooling is 100% ready for the web, but is certainly a lot better than I expected, a rewrite just for the sake of a rewrite is not really worth it, I am just exploring new tech for my own mental health 🤣, certainly will use ocaml for new projects and experiments that doesn't require much responsibility as I am still learning.

just ask claude

Those are beginner numbers. Try C++ and Windows 🙄

use npm for link and unlink.. unsure it even touched my lock file..

both npm and npx link resulted in multiple instances of certain libraries being in my bundle because of diamond dependencies 🤮