angular.json styleext option was replaced with style

Bug #1995211 reported by Jane Sandberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
3.9
Fix Released
Low
Unassigned

Bug Description

When I tried to run the Angular generator to create a new component, I got the following error:

````
Schematic input does not validate against the Schema: {"prefix":"eg","styleext":"css","path":"src/app/staff/cat","module":"z3950","name":"z3950-services","project":"eg"}
Errors:

  Data path "" must NOT have additional properties(styleext).
````

Looks like this changed with version 9 of ng-cli: https://github.com/angular/angular-cli/releases/tag/v9.0.0 (it's the second item under "breaking changes").

"styleext" in angular.json should now be "style".

Branch coming up!

Revision history for this message
Jane Sandberg (sandbergja) wrote :
tags: added: pullrequest
Revision history for this message
Galen Charlton (gmc) wrote :

Straightforward, so I've tested and pushed down to rel_3_9. (Leaving it at just master was probably sufficient, since one really ought to be starting from the main branch if one is adding a new component, but just in case anybody's IDE would care while working in back branches...)

Thanks, Jane!

Changed in evergreen:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 3.10.1
status: Confirmed → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.