Enable javascript in your browser for better experience. Need to know to enable it? Go here.
Published : Mar 29, 2022
NOT ON THE CURRENT EDITION
This blip is not on the current edition of the Radar. If it was on one of the last few editions, it is likely that it is still relevant. If the blip is older, it might no longer be relevant and our assessment might be different today. Unfortunately, we simply don't have the bandwidth to continuously review blips from previous editions of the Radar. Understand more
Mar 2022
Assess ?

在 node.js 的世界里,许多工具都支持多包开发,而 npm 7中加入了 npm工作区 来直接支持此特性。将相关联的包集中管理可以让开发更加便利,比如你可以在一个代码仓库中存储多个相关的库。应用 npm 工作区后,一旦你在顶级的 package.json 文件中添加配置,引入了一个或多个嵌套的 package.json 文件,像 npm install 这样的命令就可以跨多个包使用,依赖的源包会符号链接到根目录的 node_modules 路径下。其他的 npm 命令也可以作用于工作区,例如,你可以只用一条命令在多个包中执行 npm runnpm test 命令。这种开箱即用的灵活性减少了一些团队对于其他包管理器的需要。

Download the PDF

 

 

 

English | Português 

Sign up for the Technology Radar newsletter

 

 

Subscribe now

Visit our archive to read previous volumes