PACKAGE_JSON_PRIVATE_REQUIRED
Conformance is available on Enterprise plans
This check ensures that every has the field set to true or false. This field ensures that the workspace is not accidentally published to npm. In a monorepo, this should be the default to prevent packages from being accidentally published and can be explicitly set to to indicate that the package can be published.
- PACKAGE_JSON_NAME_REQUIRED
- PACKAGE_JSON_DESCRIPTION_REQUIRED
- PACKAGE_JSON_TYPE_REQUIRED
- PACKAGE_JSON_SIDE_EFFECTS_REQUIRED
Packages should set to unless the package is intended to be published in which case it can be explicitly set to .
Was this helpful?