Skip to main content

pnpm 10.30

· One min read
Zoltan Kochan
Lead maintainer of pnpm

pnpm 10.30 重新设计了 pnpm why,以显示反向依赖树,使得理解为什么安装某个包变得更容易。

🌐 pnpm 10.30 redesigns pnpm why to show a reverse dependency tree, making it much easier to understand why a package is installed.

小幅更改

🌐 Minor Changes

pnpm why中的反向依赖树

🌐 Reverse Dependency Tree in pnpm why

pnpm why 现在显示反向依赖树。被搜索的软件包出现在根节点,其依赖作为分支,向上回溯到工作区根。这取代了之前的正向树输出,后者对于深层嵌套的依赖来说噪音大且难以阅读。

补丁更改

🌐 Patch Changes

  • Optimize pnpm why and pnpm list performance in workspaces with many importers by sharing the dependency graph and materialization cache across all importers instead of rebuilding them independently for each one #10596.