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

yarn init allows invalid package name #7427

Open
KonradLinkowski opened this issue Jul 22, 2019 · 0 comments
Open

yarn init allows invalid package name #7427

KonradLinkowski opened this issue Jul 22, 2019 · 0 comments

Comments

@KonradLinkowski
Copy link

Do you want to request a feature or report a bug?
Bug report

What is the current behavior?
yarn init allows package name to be in camelCase.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
Package name should not contain uppercase letters.
Package name should match regex:
^(?:@[a-z0-9-~][a-z0-9-._~]*/)?[a-z0-9-~][a-z0-9-._~]*$
Please mention your node.js, yarn and operating system version.

  • node.js: v10.14.1
  • yarn 1.17.3
  • operating system: Windows 10
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

No branches or pull requests

1 participant