Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package export: npm normalize #40

Open
tsafin opened this issue Jan 29, 2017 · 0 comments
Open

Package export: npm normalize #40

tsafin opened this issue Jan 29, 2017 · 0 comments

Comments

@tsafin
Copy link
Contributor

tsafin commented Jan 29, 2017

NPM complains if:

  • package name contains /, e.g. eduard93/Cache-MDX2JSON, we should rename it to something like eduard93~Cache-MDX2JSON;
  • .version is required, if package does not provide version in their metadata, then we should set "0.0.1" instead;
  • .version is triplet, if package provides pair (i.e. 0.8) then we should normalize it to 0.8.0. If there is symbol prefix like v0.8 then we should strip it off. It's ok to have symbol suffix in the version, i.e. 4.2.1a;
  • readme.md file is not filled from .readmeText;
@tsafin tsafin added this to the Useful version 0.2 milestone Jan 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant