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

Fails for package names with uppercase characters #10

Closed
sdvg opened this issue Mar 4, 2019 · 3 comments
Closed

Fails for package names with uppercase characters #10

sdvg opened this issue Mar 4, 2019 · 3 comments

Comments

@sdvg
Copy link

sdvg commented Mar 4, 2019

Example: ngVue gets transformed to ngvue which doesn't exist.

What's the reason for doing name.toLowerCase() in index.js?

@LitoMore
Copy link
Sponsor

@sdvg NPM modules are no longer allowed to have capital letters in their names.

See: https://github.com/npm/validate-npm-package-name/blob/master/index.js#L67

@sdvg
Copy link
Author

sdvg commented Apr 13, 2019

@LitoMore Thanks, I didn't know this.
But I still think it would be nice if this module worked with all npm packages, even old ones.

@sindresorhus
Copy link
Owner

#17 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants