Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Commit 7f7b53a

Browse files
authored
feat: add configuration for workspace trust (#1378)
Our extension does not support untrusted workspaces because it executes ngcc from `node_modules`. See microsoft/vscode#120251 for a description of workspace trust and how to determine if an extension should support untrusted workspaces. Fixes #1322
1 parent c4310e2 commit 7f7b53a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
"engines": {
1414
"vscode": "^1.56.0"
1515
},
16+
"capabilities": {
17+
"untrustedWorkspaces": {
18+
"supported": false,
19+
"description": "This extension requires workspace trust because it needs to execute ngcc from the node_modules in the workspace."
20+
}
21+
},
1622
"categories": [
1723
"Programming Languages"
1824
],

0 commit comments

Comments
 (0)