-
Couldn't load subscription status.
- Fork 11.9k
Closed
Closed
Copy link
Labels
area: @schematics/angularfeatureIssue that requests a new featureIssue that requests a new featurefreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenient
Milestone
Description
Versions
Angular CLI: 6.0.5
Node: 10.2.1
OS: win32 x64
Angular:
...
Package Version
@angular-devkit/architect 0.6.5
@angular-devkit/core 0.6.5
@angular-devkit/schematics 0.6.5
@schematics/angular 0.6.5
@schematics/update 0.6.5
rxjs 6.2.0
typescript 2.7.2
Windows 10
Repro steps
- ng new project.1
- ng new project_1
Observed behavior
<!-- Normally this includes a stack trace and some more information. -->
-------------------------------------------------------------
$ ng new project.1
Project name "project.1" is invalid.
-------------------------------------------------------------
$ ng new project_1
Schematic input does not validate against the Schema: {"name":"project_1","version":"6.0.5","newProjectRoot":"projects","skipInstall":false,"linkCli":false,"skipGit":false,"commit":null}
Errors:
Data path ".name" should match format "html-selector".
-------------------------------------------------------------
### Desired behavior
<!--
What would like to see implemented?
What is the usecase?
What did you expect to see?
-->
* Expect "." or "_" to be valid characters in a project name as was in the case in older versions of CLI.
### Mention any other details that might be useful (optional)
imgauravj, madhav5589, SuhasBharadwajK, gromney and deremakifwogan, sattha, DamienFlury, mdarefull, SuhasBharadwajK and 1 more
Metadata
Metadata
Assignees
Labels
area: @schematics/angularfeatureIssue that requests a new featureIssue that requests a new featurefreq1: lowOnly reported by a handful of users who observe it rarelyOnly reported by a handful of users who observe it rarelyseverity2: inconvenient