loopbackio / loopbackio/loopback-next
[CLI] `lb4` does not create app with uppercase letters
@javiersantossanchez đang làm issue này rồi.
Từ ngày 12/10/2020.
- Ngôn ngữ chính
- TypeScript
- Star
- 5.1k
- Fork
- 1.1k
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 27
Mô tả
## 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_
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.