pnpm 的2021年
· 7 min read
又到了一年年末,这一年对 pnpm 来说是美好的一年,让我们来看看它的进展如何。
🌐 It is the end of the year and it was a good year for pnpm, so let's see how it went.
又到了一年年末,这一年对 pnpm 来说是美好的一年,让我们来看看它的进展如何。
🌐 It is the end of the year and it was a good year for pnpm, so let's see how it went.
有很多方法可以创建一个 node_modules 目录。你的目标必须是创建最严格的那个,但如果那不可能,也有方法可以创建一个宽松的 node_modules。
🌐 There are many ways to create a node_modules directory. Your goal must be to create the most strict one but if that is not possible, there are options to make a loose node_modules as well.
pnpm 的新用户经常问我关于 pnpm 创建的 node_modules 奇怪结构的问题。为什么它不是平铺的?所有的子依赖都在哪里?
🌐 New users of pnpm frequently ask me about the weird structure of node_modules that pnpm creates. Why is it not flat? Where are all the sub-dependencies?