nice-registry / nice-package

📦 Clean up messy package metadata from the npm registry
35 stars 7 forks source link

Validation is wrong.`description` is not mandatory for npm. #21

Open easingthemes opened 5 years ago

easingthemes commented 5 years ago

Only name and version are required fields. description is not mandatory. https://docs.npmjs.com/files/package.json#version

A lot of packages depending on this one are having wrong data, but because of huge npm registry it's hard to notice.

Related https://github.com/nice-registry/all-the-package-names/issues/12

zeke commented 5 years ago

Thanks for reporting and I'm sorry I haven't made time to look into https://github.com/nice-registry/all-the-package-names/issues/12

I will happily accept a pull request to nice-package and/or all-the-package-names that resolves this, if you have the time.

easingthemes commented 5 years ago

Thanks for quick response, and great packages. PR opened https://github.com/nice-registry/nice-package/pull/22