logoalt Hacker News

elliotbnvlyesterday at 2:40 PM1 replyview on HN

The deps question is huge, let me know if you solve it.


Replies

CalebJohnyesterday at 4:13 PM

If I'm understanding the problem correctly, this should be solved by pnpm [1]. It stores packages in a global cache, and hardlinks to the local node_packages. So running install in a new worktree should be instant.

[1]: https://pnpm.io/motivation