Skip to content

[CLI] lb4 does not create app with uppercase letters #1663

@hacksparrow

Description

@hacksparrow

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions