PACKAGE_JSON_NAME_REQUIRED
Requires that every package.json file has the name field set to ensure each workspace has a unique identifier.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.
- PACKAGE_JSON_DESCRIPTION_REQUIRED
- PACKAGE_JSON_PRIVATE_REQUIRED
- PACKAGE_JSON_TYPE_REQUIRED
- PACKAGE_JSON_SIDE_EFFECTS_REQUIRED
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 March 4, 2025
Was this helpful?