Skip to content

Commit 000d47a

Browse files
mouadennacirialan-agius4
authored andcommitted
fix(@schematics/angular): remove Native value from viewEncapsulation option
(cherry picked from commit ee4918d)
1 parent bd5c279 commit 000d47a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/schematics/angular/application/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"viewEncapsulation": {
3535
"description": "The view encapsulation strategy to use in the new app.",
36-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
36+
"enum": ["Emulated", "None", "ShadowDom"],
3737
"type": "string",
3838
"x-user-analytics": 11
3939
},

packages/schematics/angular/component/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
},
5050
"viewEncapsulation": {
5151
"description": "The view encapsulation strategy to use in the new component.",
52-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
52+
"enum": ["Emulated", "None", "ShadowDom"],
5353
"type": "string",
5454
"alias": "v",
5555
"x-user-analytics": 11

packages/schematics/angular/ng-new/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
},
7878
"viewEncapsulation": {
7979
"description": "The view encapsulation strategy to use in the initial project.",
80-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
80+
"enum": ["Emulated", "None", "ShadowDom"],
8181
"type": "string",
8282
"x-user-analytics": 11
8383
},

0 commit comments

Comments
 (0)