Home / Companies / LogRocket / Blog / Post Details
Content Deep Dive

What’s new in npm v7

Blog post from LogRocket

Post Details
Company
Date Published
Author
Joel Olawanle
Word Count
1,318
Language
-
Hacker News Points
-
Summary

On October 13th, 2020, the npm CLI team released [email protected], introducing significant updates such as workspaces, automatic peer dependency installation, and a new package-lock format. Workspaces allow for better management of multiple packages within a single root package, while the new peer dependency algorithm ensures proper installation without manual management. The package-lock v2 format facilitates reproducible builds and offers compatibility with yarn.lock. Additionally, [email protected] brings some breaking changes, including a revamped npx command now integrated into npm, modifications to the npm audit output, and adjustments to npm's internal module requirements. These changes mark the first major release since npm's acquisition by GitHub, reflecting an ongoing effort to enhance the developer experience.