Skip to main content

pnpm 的2021年

· 7 min read
Zoltan Kochan
Lead maintainer of pnpm

又到了一年年末,这一年对 pnpm 来说是美好的一年,让我们来看看它的进展如何。

🌐 It is the end of the year and it was a good year for pnpm, so let's see how it went.

使用 pnpm 的 Node-Modules 配置选项

· 4 min read
Zoltan Kochan
Lead maintainer of pnpm

有很多方法可以创建一个 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.

平铺的 node_modules 并不是唯一的方式

· 6 min read
Zoltan Kochan
Lead maintainer of pnpm

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?