Skip to content

Commit

Permalink
fix(@angular/cli): scoped project names
Browse files Browse the repository at this point in the history
change projects.patternProperties to npm.name.pattern

Closes #14797
  • Loading branch information
Eusen authored and vikerman committed Oct 28, 2019
1 parent 3cc2499 commit 31a35ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/lib/config/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"projects": {
"type": "object",
"patternProperties": {
"^[a-zA-Z][.0-9a-zA-Z]*(-[.0-9a-zA-Z]*)*$": {
"^(?:@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$": {
"$ref": "#/definitions/project"
}
},
Expand Down

0 comments on commit 31a35ae

Please sign in to comment.