From 3f86010bcdbe492e627cadd0f816da2a8097a13f Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 20 May 2021 13:17:19 -0700 Subject: [PATCH] feat: add configuration for workspace trust Our extension does not support untrusted workspaces because it executes ngcc from `node_modules`. See https://github.com/microsoft/vscode/issues/120251 for a description of workspace trust and how to determine if an extension should support untrusted workspaces. Fixes #1322 --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index eb43a351c8..0df4afc098 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,12 @@ "engines": { "vscode": "^1.56.0" }, + "capabilities": { + "untrustedWorkspaces": { + "supported": false, + "description": "This extension requires workspace trust because it needs to execute ngcc from the node_modules in the workspace." + } + }, "categories": [ "Programming Languages" ],