PACKAGE_JSON_NAME_REQUIRED
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.
Was this helpful?