Skip to content

Commit ee4918d

Browse files
mouadennacirialan-agius4
authored andcommitted
fix(@schematics/angular): remove Native value from viewEncapsulation option
1 parent 6cc8c26 commit ee4918d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/schematics/angular/application/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"viewEncapsulation": {
3636
"description": "The view encapsulation strategy to use in the new app.",
37-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
37+
"enum": ["Emulated", "None", "ShadowDom"],
3838
"type": "string",
3939
"x-user-analytics": 11
4040
},

packages/schematics/angular/component/schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
},
5151
"viewEncapsulation": {
5252
"description": "The view encapsulation strategy to use in the new component.",
53-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
53+
"enum": ["Emulated", "None", "ShadowDom"],
5454
"type": "string",
5555
"alias": "v",
5656
"x-user-analytics": 11

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
},
7979
"viewEncapsulation": {
8080
"description": "The view encapsulation strategy to use in the initial project.",
81-
"enum": ["Emulated", "Native", "None", "ShadowDom"],
81+
"enum": ["Emulated", "None", "ShadowDom"],
8282
"type": "string",
8383
"x-user-analytics": 11
8484
},

0 commit comments

Comments
 (0)