Validate package metadata against spec errors, do not include superfluous fields and do not allow type errors.
We can also add separate, optional functions to validate package metadata for warnings, we can pass it a list of policies that can be used, like (hexpm/public/private). We could handle the tarball size validation the same way to not be locked into hexpm specifics.
NOTE: Do not include maintainers in the package metadata.
Validate package metadata against spec errors, do not include superfluous fields and do not allow type errors.
We can also add separate, optional functions to validate package metadata for warnings, we can pass it a list of policies that can be used, like (hexpm/public/private). We could handle the tarball size validation the same way to not be locked into hexpm specifics.
NOTE: Do not include
maintainersin the package metadata.