From 6aaae80fdf5b04be7bf6d0f99a2fc76795f745bb Mon Sep 17 00:00:00 2001 From: Mouad Ennaciri Date: Mon, 15 Mar 2021 22:11:54 +0100 Subject: [PATCH] fix(@schematics/angular): remove Native value from viewEncapsulation option --- packages/schematics/angular/application/schema.json | 2 +- packages/schematics/angular/component/schema.json | 2 +- packages/schematics/angular/ng-new/schema.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/schematics/angular/application/schema.json b/packages/schematics/angular/application/schema.json index e1281ce738d7..ee83586bed2e 100644 --- a/packages/schematics/angular/application/schema.json +++ b/packages/schematics/angular/application/schema.json @@ -34,7 +34,7 @@ }, "viewEncapsulation": { "description": "The view encapsulation strategy to use in the new app.", - "enum": ["Emulated", "Native", "None", "ShadowDom"], + "enum": ["Emulated", "None", "ShadowDom"], "type": "string", "x-user-analytics": 11 }, diff --git a/packages/schematics/angular/component/schema.json b/packages/schematics/angular/component/schema.json index a2fb71678e40..6218ecd4352a 100644 --- a/packages/schematics/angular/component/schema.json +++ b/packages/schematics/angular/component/schema.json @@ -50,7 +50,7 @@ }, "viewEncapsulation": { "description": "The view encapsulation strategy to use in the new component.", - "enum": ["Emulated", "Native", "None", "ShadowDom"], + "enum": ["Emulated", "None", "ShadowDom"], "type": "string", "alias": "v", "x-user-analytics": 11 diff --git a/packages/schematics/angular/ng-new/schema.json b/packages/schematics/angular/ng-new/schema.json index 71ac500eb25b..48d78d2f7281 100644 --- a/packages/schematics/angular/ng-new/schema.json +++ b/packages/schematics/angular/ng-new/schema.json @@ -78,7 +78,7 @@ }, "viewEncapsulation": { "description": "The view encapsulation strategy to use in the initial project.", - "enum": ["Emulated", "Native", "None", "ShadowDom"], + "enum": ["Emulated", "None", "ShadowDom"], "type": "string", "x-user-analytics": 11 },