Validates a package before publishing to the registry.
Checks required fields, validates package.json completeness, and reports readiness for publishing.
Summary
Functions
Checks if a package is ready for publishing.
Checks recommended fields and returns warnings.
Checks required fields are present.
Validates that the package name is not taken (for new packages).
Returns a readiness summary.
Checks if the version has already been published.
Functions
Checks if a package is ready for publishing.
Checks recommended fields and returns warnings.
Checks required fields are present.
Validates that the package name is not taken (for new packages).
@spec summary(map()) :: %{ ready: boolean(), errors: [String.t()], warnings: [String.t()], name: String.t() | nil, version: String.t() | nil }
Returns a readiness summary.
Checks if the version has already been published.