diff --git a/packages/cli/lib/project-generator.js b/packages/cli/lib/project-generator.js index 65285cb6007d..0e95de5bf76d 100644 --- a/packages/cli/lib/project-generator.js +++ b/packages/cli/lib/project-generator.js @@ -141,6 +141,8 @@ module.exports = class ProjectGenerator extends BaseGenerator { when: this.projectInfo.name == null, default: this.options.name || utils.toFileName(path.basename(process.cwd())), + filter: value => value.toLowerCase(), + transformer: value => value.toLowerCase(), validate: utils.validate, }, {