@azerothjs/language-server 0.4.0-beta.3 → 0.5.0-beta.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/README.md +25 -24
- package/dist/tsc.d.ts +1 -1
- package/dist/tsc.d.ts.map +1 -1
- package/dist/tsc.js +47 -17
- package/dist/tsc.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -39,49 +39,50 @@ back any other host without this package.
|
|
|
39
39
|
| `tsc-cli.ts` | Executable entry point (`azeroth-tsc`); runs one check and sets the exit code. |
|
|
40
40
|
| `index.ts` | Library entry point; exports `startServer` and `runTsc`. |
|
|
41
41
|
|
|
42
|
-
### `azeroth-tsc` (command-line type checking)
|
|
42
|
+
### `azeroth-tsc` (combined command-line type checking)
|
|
43
43
|
|
|
44
44
|
`tsc` cannot parse `.azeroth`, so this package ships `azeroth-tsc`, the `vue-tsc`
|
|
45
|
-
equivalent. It
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
equivalent. It builds ONE TypeScript program containing BOTH the project's real
|
|
46
|
+
`.ts` files AND every `.azeroth` file (compiled to its virtual TypeScript module
|
|
47
|
+
by the language service). Because both live in the same program:
|
|
48
|
+
|
|
49
|
+
- a `.ts` file importing `'./x.component.azeroth'` resolves the component's REAL
|
|
50
|
+
default, named, and type exports - no `declare module '*.azeroth'` shim;
|
|
51
|
+
- `.azeroth` <-> `.azeroth` and `.azeroth` <-> `.ts` imports resolve both ways;
|
|
52
|
+
- `.azeroth` internals (including typed component tags) are checked;
|
|
53
|
+
- diagnostics map back to original `.ts`/`.azeroth` positions.
|
|
54
|
+
|
|
55
|
+
It is a `--noEmit` gate (the Vite plugin / compiler owns code emit) that
|
|
56
|
+
REPLACES `tsc`:
|
|
50
57
|
|
|
51
58
|
```sh
|
|
52
|
-
npx azeroth-tsc # check
|
|
59
|
+
npx azeroth-tsc # check the whole project (.ts + .azeroth)
|
|
53
60
|
npx azeroth-tsc -p tsconfig.json
|
|
54
|
-
npx azeroth-tsc --watch # re-check on
|
|
61
|
+
npx azeroth-tsc --watch # re-check on change (alias: -w)
|
|
55
62
|
```
|
|
56
63
|
|
|
57
64
|
#### Build wiring
|
|
58
65
|
|
|
59
|
-
|
|
60
|
-
|
|
66
|
+
One checker covers the whole project, so the canonical consumer build is just
|
|
67
|
+
the checker plus the bundler:
|
|
61
68
|
|
|
62
69
|
```jsonc
|
|
63
70
|
// package.json
|
|
64
71
|
{
|
|
65
72
|
"scripts": {
|
|
66
|
-
"build": "
|
|
67
|
-
"typecheck": "
|
|
73
|
+
"build": "azeroth-tsc && vite build",
|
|
74
|
+
"typecheck": "azeroth-tsc",
|
|
68
75
|
"dev:check": "azeroth-tsc --watch"
|
|
69
76
|
}
|
|
70
77
|
}
|
|
71
78
|
```
|
|
72
79
|
|
|
73
|
-
With
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
Today `tsc` and `azeroth-tsc` are two passes. A single `vue-tsc`-style binary
|
|
80
|
-
that builds one program over `.ts` + `.azeroth` together (so a `.ts` barrel
|
|
81
|
-
importing `.azeroth` is checked in the same run, without the editor plugin) is a
|
|
82
|
-
tracked follow-up; the building block - presenting each `.azeroth` as its virtual
|
|
83
|
-
TypeScript twin - is already shared by the language service and the
|
|
84
|
-
typescript-plugin.
|
|
80
|
+
With Vite installed, the consumer needs no `declare module '*.azeroth'` shim and
|
|
81
|
+
no `vite-env.d.ts` / `"types": ["vite/client"]` entry: `import.meta.env`,
|
|
82
|
+
`*.png` / `?url` asset imports, and cross-file `.azeroth` types all resolve.
|
|
83
|
+
`@azerothjs/typescript-plugin` gives the editor's TypeScript server the same
|
|
84
|
+
`.ts` -> `.azeroth` resolution live; `azeroth-tsc` is the matching CI/pre-commit
|
|
85
|
+
gate.
|
|
85
86
|
|
|
86
87
|
### Settings
|
|
87
88
|
|
package/dist/tsc.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export interface TscWatcher {
|
|
|
18
18
|
}
|
|
19
19
|
/** Outcome of a check run. */
|
|
20
20
|
export interface TscResult {
|
|
21
|
-
/** Number of `.azeroth`
|
|
21
|
+
/** Number of files checked (`.azeroth` + `.ts`). */
|
|
22
22
|
fileCount: number;
|
|
23
23
|
/** Number of error-severity diagnostics found. */
|
|
24
24
|
errorCount: number;
|
package/dist/tsc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsc.d.ts","sourceRoot":"","sources":["../src/tsc.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tsc.d.ts","sourceRoot":"","sources":["../src/tsc.ts"],"names":[],"mappings":"AAkBA,8CAA8C;AAC9C,MAAM,WAAW,UAAU;IAEvB,+DAA+D;IAC/D,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mEAAmE;IACnE,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,mDAAmD;IACnD,KAAK,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CAClC;AAED,+BAA+B;AAC/B,MAAM,WAAW,UAAU;IAEvB,iEAAiE;IACjE,OAAO,EAAE,MAAM,SAAS,CAAC;IAEzB,2DAA2D;IAC3D,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,8BAA8B;AAC9B,MAAM,WAAW,SAAS;IAEtB,oDAAoD;IACpD,SAAS,EAAE,MAAM,CAAC;IAElB,kDAAkD;IAClD,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,2EAA2E;AAC3E,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,UAAU,CAwBpD;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,MAAM,CAAC,OAAO,GAAE,UAAe,GAAG,SAAS,CAa1D;AAwGD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,UAAe,GAAG,UAAU,CAgF7D"}
|
package/dist/tsc.js
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
// azeroth-tsc: a
|
|
2
|
-
// equivalent for this framework. `tsc` itself cannot parse `.azeroth` markup,
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
1
|
+
// azeroth-tsc: a combined `.ts` + `.azeroth` type-checker, the vue-tsc
|
|
2
|
+
// equivalent for this framework. `tsc` itself cannot parse `.azeroth` markup, so
|
|
3
|
+
// this driver builds ONE TypeScript program containing both the project's real
|
|
4
|
+
// `.ts` files AND every `.azeroth` file (compiled to a virtual TS module by the
|
|
5
|
+
// language service). Because both live in the same program:
|
|
6
|
+
// - a `.ts` file importing `'./x.component.azeroth'` resolves the component's
|
|
7
|
+
// REAL default/named/type exports (no `declare module '*.azeroth'` shim);
|
|
8
|
+
// - `.azeroth` <-> `.azeroth` and `.azeroth` <-> `.ts` imports resolve both ways;
|
|
9
|
+
// - `.azeroth` internals are still checked.
|
|
10
|
+
// Diagnostics map back to original `.ts`/`.azeroth` positions and print in the
|
|
11
|
+
// familiar `tsc` format. It does not emit `.js` (the Vite plugin / compiler does
|
|
12
|
+
// that) - like `tsc --noEmit`, it is a gate that REPLACES `tsc && azeroth-tsc`.
|
|
10
13
|
import path from 'node:path';
|
|
11
14
|
import { watch as fsWatch } from 'node:fs';
|
|
12
15
|
import ts from 'typescript';
|
|
@@ -47,7 +50,10 @@ export function runTsc(options = {}) {
|
|
|
47
50
|
const write = options.write ?? ((text) => {
|
|
48
51
|
process.stdout.write(text);
|
|
49
52
|
});
|
|
50
|
-
|
|
53
|
+
// rootProjectFiles: pull the project's real `.ts` files into the same
|
|
54
|
+
// program as the `.azeroth` virtual modules, so the `.ts` side is checked and
|
|
55
|
+
// the `.ts` -> `.azeroth` import boundary resolves real types.
|
|
56
|
+
const service = new AzerothLanguageService(cwd, options.project, { rootProjectFiles: true });
|
|
51
57
|
return checkPass(service, cwd, write, new Set());
|
|
52
58
|
}
|
|
53
59
|
/**
|
|
@@ -67,6 +73,7 @@ function checkPass(service, cwd, write, open) {
|
|
|
67
73
|
}
|
|
68
74
|
const seen = new Set();
|
|
69
75
|
let errorCount = 0;
|
|
76
|
+
// 1) The `.azeroth` files: diagnostics map back to original markup positions.
|
|
70
77
|
for (const file of files) {
|
|
71
78
|
const source = ts.sys.readFile(file);
|
|
72
79
|
if (source === undefined) {
|
|
@@ -85,6 +92,20 @@ function checkPass(service, cwd, write, open) {
|
|
|
85
92
|
write(formatDiagnostic(cwd, file, diag, isError) + '\n');
|
|
86
93
|
}
|
|
87
94
|
}
|
|
95
|
+
// 2) The project's real `.ts` files (from tsconfig), checked in the
|
|
96
|
+
// same program - this is what lets a `.ts` barrel importing a `.azeroth`
|
|
97
|
+
// component type-check against real types, so the consumer can delete its
|
|
98
|
+
// `declare module '*.azeroth'` shim.
|
|
99
|
+
const tsFiles = service.getProjectTsFiles();
|
|
100
|
+
for (const file of tsFiles) {
|
|
101
|
+
for (const diag of service.getTsDiagnostics(file)) {
|
|
102
|
+
const isError = diag.severity === DiagnosticSeverity.Error;
|
|
103
|
+
if (isError) {
|
|
104
|
+
errorCount++;
|
|
105
|
+
}
|
|
106
|
+
write(formatDiagnostic(cwd, file, diag, isError) + '\n');
|
|
107
|
+
}
|
|
108
|
+
}
|
|
88
109
|
// Drop documents whose files vanished since the previous pass.
|
|
89
110
|
for (const uri of open) {
|
|
90
111
|
if (!seen.has(uri)) {
|
|
@@ -95,13 +116,14 @@ function checkPass(service, cwd, write, open) {
|
|
|
95
116
|
for (const uri of seen) {
|
|
96
117
|
open.add(uri);
|
|
97
118
|
}
|
|
119
|
+
const total = files.length + tsFiles.length;
|
|
98
120
|
if (errorCount === 0) {
|
|
99
|
-
write(`Checked ${files.length} .azeroth
|
|
121
|
+
write(`Checked ${total} file(s) (${files.length} .azeroth, ${tsFiles.length} .ts); no type errors.\n`);
|
|
100
122
|
}
|
|
101
123
|
else {
|
|
102
|
-
write(`\nFound ${errorCount} error(s)
|
|
124
|
+
write(`\nFound ${errorCount} error(s) across ${total} file(s) (${files.length} .azeroth, ${tsFiles.length} .ts).\n`);
|
|
103
125
|
}
|
|
104
|
-
return { fileCount:
|
|
126
|
+
return { fileCount: total, errorCount };
|
|
105
127
|
}
|
|
106
128
|
/**
|
|
107
129
|
* Runs an initial check, then re-checks whenever a `.azeroth` file under `cwd`
|
|
@@ -127,11 +149,17 @@ export function watchTsc(options = {}) {
|
|
|
127
149
|
// `.azeroth` files are parsed once and reused across passes via the document
|
|
128
150
|
// registry, instead of building a fresh program on every change. `open`
|
|
129
151
|
// tracks the open document set so deleted files are closed between passes.
|
|
130
|
-
const service = new AzerothLanguageService(cwd, options.project);
|
|
152
|
+
const service = new AzerothLanguageService(cwd, options.project, { rootProjectFiles: true });
|
|
131
153
|
const open = new Set();
|
|
132
154
|
const recheck = () => {
|
|
133
|
-
write('\n[azeroth-tsc] checking
|
|
155
|
+
write('\n[azeroth-tsc] checking...\n');
|
|
134
156
|
try {
|
|
157
|
+
// Re-scan + bump the project version so on-disk edits to BOTH
|
|
158
|
+
// `.ts` and `.azeroth` files are re-read this pass (the first pass
|
|
159
|
+
// skips it - the constructor just discovered).
|
|
160
|
+
if (open.size > 0) {
|
|
161
|
+
service.refreshWorkspace();
|
|
162
|
+
}
|
|
135
163
|
return checkPass(service, cwd, write, open);
|
|
136
164
|
}
|
|
137
165
|
catch (error) {
|
|
@@ -147,8 +175,10 @@ export function watchTsc(options = {}) {
|
|
|
147
175
|
let watcher;
|
|
148
176
|
try {
|
|
149
177
|
watcher = fsWatch(cwd, { recursive: true }, (_event, fileName) => {
|
|
150
|
-
// Recursive watch reports every file; only react to
|
|
151
|
-
|
|
178
|
+
// Recursive watch reports every file; only react to source the
|
|
179
|
+
// combined checker covers. AzerothJS projects are `.ts` + `.azeroth`
|
|
180
|
+
// (the `.azeroth` language replaces `.tsx`), so those two extensions.
|
|
181
|
+
if (fileName && !/\.(?:azeroth|ts)$/.test(String(fileName))) {
|
|
152
182
|
return;
|
|
153
183
|
}
|
|
154
184
|
if (debounce) {
|
package/dist/tsc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tsc.js","sourceRoot":"","sources":["../src/tsc.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"tsc.js","sourceRoot":"","sources":["../src/tsc.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,iFAAiF;AACjF,+EAA+E;AAC/E,gFAAgF;AAChF,4DAA4D;AAC5D,gFAAgF;AAChF,8EAA8E;AAC9E,oFAAoF;AACpF,8CAA8C;AAC9C,+EAA+E;AAC/E,iFAAiF;AACjF,gFAAgF;AAEhF,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,KAAK,IAAI,OAAO,EAAkB,MAAM,SAAS,CAAC;AAC3D,OAAO,EAAE,MAAM,YAAY,CAAC;AAC5B,OAAO,EAAE,sBAAsB,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAsCpG,2EAA2E;AAC3E,MAAM,UAAU,SAAS,CAAC,IAAc;IAEpC,MAAM,OAAO,GAAe,EAAE,CAAC;IAC/B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EACpC,CAAC;QACG,MAAM,GAAG,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACpB,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,IAAI,EACvC,CAAC;YACG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QAChC,CAAC;aACI,IAAI,GAAG,CAAC,UAAU,CAAC,YAAY,CAAC,EACrC,CAAC;YACG,OAAO,CAAC,OAAO,GAAG,GAAG,CAAC,KAAK,CA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M,IAAI,GAAG,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAO,IAAI,CAAC,IAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACtE,OAAO,GAAI,GAAI,IAAK,IAAK,IAAK,MAAO,MAAO,QAAS,GAAI,IAAK,KAAM,IAAI,CAAC,OAAQ,EAAE,CAAC;AACxF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azerothjs/language-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-beta.1",
|
|
4
4
|
"description": "AzerothJS language server — a Language Server Protocol front-end for .azeroth files",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
],
|
|
29
29
|
"dependencies":
|
|
30
30
|
{
|
|
31
|
-
"@azerothjs/language-service": "0.
|
|
31
|
+
"@azerothjs/language-service": "0.5.0-beta.1",
|
|
32
32
|
"typescript": ">=5",
|
|
33
33
|
"vscode-languageserver": "^9",
|
|
34
34
|
"vscode-languageserver-textdocument": "^1"
|