PACKAGE_JSON_NAME_REQUIRED

Requires that every package.json file has the name field set to ensure each workspace has a unique identifier.
Table of Contents

Conformance is available on Enterprise plans

This check ensures that every package.json has a name field. This field is important because it used to identify the workspace in the monorepo.

See the Node.js docs for more information.

Add the name field to the package.json file that contains a unique name for this package. The name should be understandable by someone viewing or using the package as to what it does.

Last updated on July 23, 2024