Long-requested Workspaces feature supports managing multiple packages from within a singular top-level, root package.

NPM CLI 7, an upgrade of the command line toolkit for the JavaScript package manager, is now generally available. The new version brings a Workspaces feature as well as changes to the lockfile format and enhanced performance.

NPM CLI 7 had been available on an opt-in basis since October, but has now been promoted to the status of “latest” version. Installation instructions can be found on GitHub.

The highlight of NPM CLI 7 is a Workspaces capability to manage multiple packages from within a single, top-level root package. This long-requested feature was motivated by a desire to support the management of multiple packages that may or may not be used together.

#node #npm #javascript #web-development

NPM CLI 7 Arrives with Workspaces
2.05 GEEK