@elaraai/east-codex-plugin 1.0.102 → 1.0.103
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/.build/daemon/lsp.js
CHANGED
|
@@ -3475,11 +3475,15 @@ function findNearestTsconfig(fromPath) {
|
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
3477
|
function loadTypeScript(projectDir) {
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3478
|
+
for (const from of [join3(projectDir, "_.js"), import.meta.url]) {
|
|
3479
|
+
try {
|
|
3480
|
+
const found = createRequire2(from)("typescript");
|
|
3481
|
+
if (typeof found.createLanguageService === "function")
|
|
3482
|
+
return found;
|
|
3483
|
+
} catch {
|
|
3484
|
+
}
|
|
3482
3485
|
}
|
|
3486
|
+
throw new Error(`East diagnostics need TypeScript's compiler API, which no \`typescript\` found from ${projectDir} carries (TypeScript 7's has none): install it as "typescript": "npm:@typescript/typescript6", beside "typescript-7": "npm:typescript@7" for tsc`);
|
|
3483
3487
|
}
|
|
3484
3488
|
function toCategory(t, category) {
|
|
3485
3489
|
if (category === t.DiagnosticCategory.Error)
|
package/.build/daemon/server.js
CHANGED
|
@@ -3479,11 +3479,15 @@ function findNearestTsconfig(fromPath) {
|
|
|
3479
3479
|
}
|
|
3480
3480
|
}
|
|
3481
3481
|
function loadTypeScript(projectDir) {
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3482
|
+
for (const from of [join3(projectDir, "_.js"), import.meta.url]) {
|
|
3483
|
+
try {
|
|
3484
|
+
const found = createRequire2(from)("typescript");
|
|
3485
|
+
if (typeof found.createLanguageService === "function")
|
|
3486
|
+
return found;
|
|
3487
|
+
} catch {
|
|
3488
|
+
}
|
|
3486
3489
|
}
|
|
3490
|
+
throw new Error(`East diagnostics need TypeScript's compiler API, which no \`typescript\` found from ${projectDir} carries (TypeScript 7's has none): install it as "typescript": "npm:@typescript/typescript6", beside "typescript-7": "npm:typescript@7" for tsc`);
|
|
3487
3491
|
}
|
|
3488
3492
|
function toCategory(t, category) {
|
|
3489
3493
|
if (category === t.DiagnosticCategory.Error)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "east-codex-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.103",
|
|
4
4
|
"description": "East programming language ecosystem - a statically typed, expression-based language for business logic, data processing, UI definitions, and durable execution",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Elara AI",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elaraai/east-codex-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.103",
|
|
4
4
|
"description": "East programming language ecosystem - a statically typed, expression-based language for business logic, data processing, UI definitions, and durable execution",
|
|
5
5
|
"license": "AGPL-3.0-or-later",
|
|
6
6
|
"type": "module",
|