pnpm 10.20
此版本为 pnpm help 命令添加了 --all 标志,用于打印所有命令。
此版本为 pnpm help 命令添加了 --all 标志,用于打印所有命令。
这个版本为两个设置添加了版本控制功能:[[only BuiltDependencies] 和 [minimumReleaseAgeExclude`]。
Added network performance monitoring to pnpm by implementing warnings for slow network requests, including both metadata fetches and tarball downloads.
Added configuration options for warning thresholds: fetchWarnTimeoutMs and fetchMinSpeedKiBps.
Warning messages are displayed when requests exceed time thresholds or fall below speed minimums
Related PR: #10025.
minimumReleaseAge configuration #10030.cleanupUnusedCatalogs configuration when removing dependent packages.scriptShell is set to false #8748.pnpm dlx should not fail when minimumReleaseAge is set #10037.minimumReleaseAgeExclude 设置现在支持模式。
Added the cleanupUnusedCatalogs configuration. 当设置为 true 时,pnpm 将在安装过程中移除未使用的目录条目 #9793。
在 devEngines.runtime (在 package.json中) 中声明 Node.js, Deno 或 Bun ,并让 pnpm 自动下载并固定它。
又是一年年底。 真是艰难的一年。 你们应该知道,我住在乌克兰,由于俄罗斯对我们发动战争,指挥这个项目比往年都难。 尽管如此,今年对pnpm来说是很好的一年。 我们有了很多新用户、贡献者,并且我们实现了许多很棒的功能。

(上图由 Midjourney 生成。 这只老虎象征虎年)
现在是年底,对 pnpm 来说是个好年头,所以让我们看看它的进展情况。
创建 node_modules 目录结构有多种方式。 你一定想要创建最严格的结构,当然如果你当前的项目尚无法支持,你可以配置为不严格的。