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

fix(cli): Change to lowercase the project name type by the user #6536

Conversation

javiersantossanchez
Copy link

For the project generator, when the user uses a project name with uppercase letters, the project can not be created because NPM packages have validation to no allow create packages with uppercase letters.
The prompt was updated to add a function to transform the values typed by the user to the lowercase version and use this value as the project name.

Fixes #1663
#1663

Checklist

  • DCO (Developer Certificate of Origin) signed in all commits
  • npm test passes on your machine
  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style guide
  • API Documentation in code was updated
  • Documentation in /docs/site was updated
  • Affected artifact templates in packages/cli were updated
  • Affected example projects in examples/* were updated

For the project generator, when the user use a project name with uppercase letters, the project can not be create because NPM packages has a validation to no allow create packages with uppercase letters.
The prompt was update to add a function to transform the values typed by the user to lowecase version and use this value as the project name.
For the project generator, when the user use a project name with uppercase letters, the project can not be create because NPM packages has a validation to no allow create packages with uppercase letters.
The prompt was update to add a function to transform the values typed by the user to lowecase version and use this value as the project name.

Signed-off-by: javier santos <[email protected]>
…erator' into fix-use-uppercase-on-project-generator
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 this pull request may close these issues.

[CLI] lb4 does not create app with uppercase letters
1 participant