From ee4918db40b0b30d58e1119a0291954234d4f797 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 e1281ce738..ee83586bed 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 a2fb71678e..6218ecd435 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 71ac500eb2..48d78d2f72 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 },