release: WRNexusJS 0.8.0
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-02 23:18:51 +05:30
parent 87507edf59
commit 586a6db8ff
625 changed files with 243608 additions and 11210 deletions
+14 -3
View File
@@ -73,9 +73,20 @@ try {
manifest.activationEvents?.includes("onLanguage:wrn")
? ok("extension activates for the wrn language")
: bad("extension activates for the wrn language");
manifest.activationEvents?.includes("onStartupFinished")
? ok("extension can repair legacy associations at startup")
: bad("extension can repair legacy associations at startup");
manifest.activationEvents?.length === 1 && manifest.activationEvents[0] === "onLanguage:wrn"
? ok("extension activates only when a WRN document is used")
: bad("extension avoids workspace-wide startup activation");
const extensionSource = readFileSync(join(root, "src/extension.js"), "utf8");
!extensionSource.includes('createFileSystemWatcher("**/*.wrn")')
? ok("language client avoids an unrestricted workspace watcher")
: bad("language client avoids an unrestricted workspace watcher");
manifest.contributes?.configuration?.properties?.["wrnexus.languageServer.enable"]?.default ===
true
? ok("shared language server is enabled by default")
: bad("shared language server is enabled by default");
readFileSync(join(root, "src/language-server.cjs"), "utf8").includes("WRNexus Language Server")
? ok("bundled language server exists")
: bad("bundled language server exists");
language?.firstLine
? ok("first-line language detection is configured")
: bad("first-line language detection is configured");