loopbackio / loopbackio/loopback-next
[CLI] `lb4` does not create app with uppercase letters
未关闭
@javiersantossanchez 已经在做这个了。
开始于 2020年10月12日。
CLI
developer-experience
feature
good first issue
- 主要语言
- TypeScript
- 星标
- 5.1k
- 派生
- 1.1k
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 27
描述
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
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。