@angular/language-server 17.0.0 → 17.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +11 -5
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -37,7 +37,8 @@ var require_cmdline_utils = __commonJS({
|
|
|
37
37
|
tsProbeLocations: parseStringArray(argv, "--tsProbeLocations"),
|
|
38
38
|
includeAutomaticOptionalChainCompletions: hasArgument(argv, "--includeAutomaticOptionalChainCompletions"),
|
|
39
39
|
includeCompletionsWithSnippetText: hasArgument(argv, "--includeCompletionsWithSnippetText"),
|
|
40
|
-
forceStrictTemplates: hasArgument(argv, "--forceStrictTemplates")
|
|
40
|
+
forceStrictTemplates: hasArgument(argv, "--forceStrictTemplates"),
|
|
41
|
+
disableBlockSyntax: hasArgument(argv, "--disableBlockSyntax")
|
|
41
42
|
};
|
|
42
43
|
}
|
|
43
44
|
exports2.parseCommandLine = parseCommandLine;
|
|
@@ -409,7 +410,8 @@ var require_cmdline_utils = __commonJS({
|
|
|
409
410
|
tsProbeLocations: parseStringArray(argv, "--tsProbeLocations"),
|
|
410
411
|
includeAutomaticOptionalChainCompletions: hasArgument(argv, "--includeAutomaticOptionalChainCompletions"),
|
|
411
412
|
includeCompletionsWithSnippetText: hasArgument(argv, "--includeCompletionsWithSnippetText"),
|
|
412
|
-
forceStrictTemplates: hasArgument(argv, "--forceStrictTemplates")
|
|
413
|
+
forceStrictTemplates: hasArgument(argv, "--forceStrictTemplates"),
|
|
414
|
+
disableBlockSyntax: hasArgument(argv, "--disableBlockSyntax")
|
|
413
415
|
};
|
|
414
416
|
}
|
|
415
417
|
exports2.parseCommandLine = parseCommandLine;
|
|
@@ -757,9 +759,9 @@ var require_server_host = __commonJS({
|
|
|
757
759
|
}
|
|
758
760
|
});
|
|
759
761
|
|
|
760
|
-
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.
|
|
762
|
+
// ../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.1/node_modules/@angular/language-service/api_bundle.js
|
|
761
763
|
var require_api_bundle = __commonJS({
|
|
762
|
-
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.
|
|
764
|
+
"../../../../../../../../execroot/__main__/bazel-out/darwin_arm64-fastbuild/bin/node_modules/.aspect_rules_js/@angular+language-service@17.0.1/node_modules/@angular/language-service/api_bundle.js"(exports2, module2) {
|
|
763
765
|
var __defProp2 = Object.defineProperty;
|
|
764
766
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
765
767
|
var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
@@ -191960,6 +191962,9 @@ var require_session = __commonJS({
|
|
|
191960
191962
|
if (options2.forceStrictTemplates) {
|
|
191961
191963
|
pluginConfig.forceStrictTemplates = true;
|
|
191962
191964
|
}
|
|
191965
|
+
if (options2.disableBlockSyntax) {
|
|
191966
|
+
pluginConfig.enableBlockSyntax = false;
|
|
191967
|
+
}
|
|
191963
191968
|
projSvc.configurePlugin({
|
|
191964
191969
|
pluginName: options2.ngPlugin,
|
|
191965
191970
|
configuration: pluginConfig
|
|
@@ -193156,7 +193161,8 @@ function main() {
|
|
|
193156
193161
|
logToConsole: options.logToConsole,
|
|
193157
193162
|
includeAutomaticOptionalChainCompletions: options.includeAutomaticOptionalChainCompletions,
|
|
193158
193163
|
includeCompletionsWithSnippetText: options.includeCompletionsWithSnippetText,
|
|
193159
|
-
forceStrictTemplates: isG3 || options.forceStrictTemplates
|
|
193164
|
+
forceStrictTemplates: isG3 || options.forceStrictTemplates,
|
|
193165
|
+
disableBlockSyntax: options.disableBlockSyntax
|
|
193160
193166
|
});
|
|
193161
193167
|
session.info(`Angular language server process ID: ${process.pid}`);
|
|
193162
193168
|
session.info(`Using ${ts.name} v${ts.version} from ${ts.resolvedPath}`);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/language-server",
|
|
3
3
|
"description": "LSP server for Angular Language Service",
|
|
4
|
-
"version": "17.0.
|
|
4
|
+
"version": "17.0.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/angular/vscode-ng-language-service.git"
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"ngserver": "./bin/ngserver"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@angular/language-service": "17.0.
|
|
18
|
+
"@angular/language-service": "17.0.1",
|
|
19
19
|
"vscode-html-languageservice": "^4.2.5",
|
|
20
20
|
"vscode-jsonrpc": "6.0.0",
|
|
21
21
|
"vscode-languageserver": "7.0.0",
|