loopbackio / loopbackio/loopback-next
[CLI] `lb4` does not create app with uppercase letters
@javiersantossanchez がすでに取り組んでいます。
2020年10月12日 から。
- 主要言語
- TypeScript
- スター
- 5.1k
- フォーク
- 1.1k
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 27
説明
## Description / Steps to reproduce / Feature proposal
```sh
$ 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](http://loopback.io/doc/en/contrib/Reporting-issues.html) for more tips on writing good issues_
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。