loopbackio / loopbackio/loopback-next
[CLI] `lb4` does not create app with uppercase letters
Aperta
@javiersantossanchez ci sta già lavorando.
Dal 12/10/2020.
CLI
developer-experience
feature
good first issue
- Lingua principale
- TypeScript
- Stelle
- 5.1k
- Fork
- 1.1k
- Merge medio
- 2g 21h
- PR unite (30g)
- 27
Descrizione
Description / Steps to reproduce / Feature proposal
$ lb4 myLB4app
> Generation is aborted: Invalid npm package name: myLB4app
This is likely due to the package.json's name format restriction. We should use the user-submitted name for everything (directory name etc.), except for the name property in package.json; for that, CLI should do the hyphenation and lowercasing for the user.
Thoughts?
Current Behavior
lb4 refuses to create an app if it contains uppercase letters.
Expected Behavior
Should allow creation of apps with uppercase and lowercase letters.
See Reporting Issues for more tips on writing good issues
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.