@typespec/compiler 0.46.0-dev.3 → 0.46.0-dev.4
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/dist/cmd/runner.js
CHANGED
|
@@ -20,7 +20,7 @@ export async function runScript(relativePath, backupPath) {
|
|
|
20
20
|
await import(scriptUrl);
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
|
-
throw new Error("Couldn't resolve TypeSpec compiler root. This is unexpected. Please file an issue at https://github.com/
|
|
23
|
+
throw new Error("Couldn't resolve TypeSpec compiler root. This is unexpected. Please file an issue at https://github.com/microsoft/typespec.");
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
function checkFileExists(file) {
|
package/dist/manifest.js
CHANGED
|
@@ -26,7 +26,7 @@ export const TypeSpecLanguageConfiguration = {
|
|
|
26
26
|
{ open: "(", close: ")" },
|
|
27
27
|
{ open: '"', close: '"' },
|
|
28
28
|
],
|
|
29
|
-
// From https://github.com/
|
|
29
|
+
// From https://github.com/microsoft/vscode/blob/main/extensions/javascript/javascript-language-configuration.json
|
|
30
30
|
indentationRules: {
|
|
31
31
|
decreaseIndentPattern: {
|
|
32
32
|
pattern: "^((?!.*?/\\*).*\\*/)?\\s*[\\}\\]].*$",
|
package/dist/server/serverlib.js
CHANGED
|
@@ -363,7 +363,7 @@ export function createServer(host) {
|
|
|
363
363
|
document = location.file.document;
|
|
364
364
|
}
|
|
365
365
|
else {
|
|
366
|
-
// https://github.com/
|
|
366
|
+
// https://github.com/microsoft/language-server-protocol/issues/256
|
|
367
367
|
//
|
|
368
368
|
// LSP does not currently allow sending a diagnostic with no location so
|
|
369
369
|
// we report diagnostics with no location on the document that changed to
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typespec/compiler",
|
|
3
|
-
"version": "0.46.0-dev.
|
|
3
|
+
"version": "0.46.0-dev.4",
|
|
4
4
|
"description": "TypeSpec Compiler Preview",
|
|
5
5
|
"author": "Microsoft Corporation",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://microsoft.github.io/typespec",
|
|
8
|
-
"readme": "https://github.com/
|
|
8
|
+
"readme": "https://github.com/microsoft/typespec/blob/master/README.md",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/
|
|
11
|
+
"url": "git+https://github.com/microsoft/typespec.git"
|
|
12
12
|
},
|
|
13
13
|
"bugs": {
|
|
14
|
-
"url": "https://github.com/
|
|
14
|
+
"url": "https://github.com/microsoft/typespec/issues"
|
|
15
15
|
},
|
|
16
16
|
"keywords": [
|
|
17
17
|
"typespec",
|