@artel/artc 0.9.26069-pre-release → 0.9.26071-pre-release
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/Cli.js +3 -3
- package/build/api/Api.js +6 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +7 -5
- package/build/{chunk-UOE6Z7CK.js → chunk-2WHUJJKM.js} +290 -213
- package/build/{chunk-OTDTWBJA.js → chunk-CALIV63X.js} +170 -117
- package/build/{chunk-2MYUOUPT.js → chunk-OMQRGP7A.js} +2 -2
- package/build/types/emitter/Emitter.d.ts +14 -3
- package/build/types/emitter/IrBuilderA.d.ts +5 -4
- package/build/types/emitter/IrBuilderM.d.ts +5 -5
- package/build/types/parser/a/Scanner.d.ts +1 -0
- package/build/types/project/Compilation.d.ts +6 -4
- package/build/types/project/CompilationLoader.d.ts +2 -2
- package/build/types/project/PackageContent.d.ts +6 -0
- package/build/types/project/SourcePackage.d.ts +20 -13
- package/build/types/services/LanguageServer.d.ts +2 -2
- package/build/types/services/workspace/CompilationController.d.ts +2 -2
- package/build/types/services/workspace/Workspace.d.ts +2 -2
- package/build/types/tree/m/Nodes.d.ts +1 -1
- package/package.json +1 -1
package/build/Cli.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
CommandLineCompiler
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-OMQRGP7A.js";
|
|
5
|
+
import "./chunk-2WHUJJKM.js";
|
|
6
6
|
import {
|
|
7
7
|
__async
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CALIV63X.js";
|
|
9
9
|
|
|
10
10
|
// source/Cli.ts
|
|
11
11
|
function main() {
|
package/build/api/Api.js
CHANGED
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
Emitter,
|
|
7
7
|
EmitterPackage,
|
|
8
8
|
ImportEmitKind,
|
|
9
|
+
NotEmittedPackageInfo,
|
|
9
10
|
SourceMapMode
|
|
10
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-2WHUJJKM.js";
|
|
11
12
|
import {
|
|
12
13
|
AccessKind,
|
|
13
14
|
AccessedFunction_entity,
|
|
@@ -169,6 +170,7 @@ import {
|
|
|
169
170
|
PackageMemberLookup,
|
|
170
171
|
PackageMemberLookupContext,
|
|
171
172
|
PackageName,
|
|
173
|
+
PackageRole,
|
|
172
174
|
Parser,
|
|
173
175
|
PerformanceMeasurement,
|
|
174
176
|
PerformanceMeasurementStage,
|
|
@@ -326,7 +328,7 @@ import {
|
|
|
326
328
|
withoutQuotes,
|
|
327
329
|
withoutTemplateQuotes,
|
|
328
330
|
yieldTask
|
|
329
|
-
} from "../chunk-
|
|
331
|
+
} from "../chunk-CALIV63X.js";
|
|
330
332
|
export {
|
|
331
333
|
AccessKind,
|
|
332
334
|
AccessedFunction_entity,
|
|
@@ -472,6 +474,7 @@ export {
|
|
|
472
474
|
NameTranslationPackageConfiguration,
|
|
473
475
|
NameTranslationPackageM,
|
|
474
476
|
NodeModulesDirectoryName,
|
|
477
|
+
NotEmittedPackageInfo,
|
|
475
478
|
OperatorKind,
|
|
476
479
|
Option,
|
|
477
480
|
OriginalAliasedType,
|
|
@@ -491,6 +494,7 @@ export {
|
|
|
491
494
|
PackageMemberLookup,
|
|
492
495
|
PackageMemberLookupContext,
|
|
493
496
|
PackageName,
|
|
497
|
+
PackageRole,
|
|
494
498
|
Parser,
|
|
495
499
|
PerformanceMeasurement,
|
|
496
500
|
PerformanceMeasurementStage,
|
package/build/api/ApiNodeJS.js
CHANGED
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
PhysicalFileSystem,
|
|
7
7
|
PhysicalTypeScriptLibrariesProvider,
|
|
8
8
|
PrintingDiagnosticAcceptor
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-OMQRGP7A.js";
|
|
10
|
+
import "../chunk-2WHUJJKM.js";
|
|
11
|
+
import "../chunk-CALIV63X.js";
|
|
12
12
|
export {
|
|
13
13
|
CommandLineCompiler,
|
|
14
14
|
FileSystemUri,
|
package/build/api/ApiServices.js
CHANGED
|
@@ -140,13 +140,14 @@ import {
|
|
|
140
140
|
modifierKindsInSortOrder,
|
|
141
141
|
operatorKinds,
|
|
142
142
|
operatorKinds2,
|
|
143
|
+
packageContentsWithRole,
|
|
143
144
|
setUserLocale,
|
|
144
145
|
sortModifiers,
|
|
145
146
|
tokenKindByOperatorKind,
|
|
146
147
|
traverseTreeAsync,
|
|
147
148
|
traverseTreeAsync2,
|
|
148
149
|
yieldTask
|
|
149
|
-
} from "../chunk-
|
|
150
|
+
} from "../chunk-CALIV63X.js";
|
|
150
151
|
|
|
151
152
|
// source/services/common/Types.ts
|
|
152
153
|
import * as ls from "vscode-languageserver";
|
|
@@ -11916,7 +11917,8 @@ var CompilationController = class extends RxObject2 {
|
|
|
11916
11917
|
}
|
|
11917
11918
|
const taskController = new TaskController(50, new GenericCancellationToken(() => currentTransaction.isCanceled));
|
|
11918
11919
|
try {
|
|
11919
|
-
|
|
11920
|
+
const userPackages = compilationState.analyzer.compilation.getUserPackages();
|
|
11921
|
+
for (const package_ of userPackages) {
|
|
11920
11922
|
for (const sourceFile of package_.sourceFiles) {
|
|
11921
11923
|
if (this.isLastReportedSourceFileDiagnosticsUpToDate(sourceFile.uri, compilationState.version)) {
|
|
11922
11924
|
continue;
|
|
@@ -13394,7 +13396,7 @@ var _Workspace = class _Workspace extends RxObject6 {
|
|
|
13394
13396
|
const pkg = state.analyzer.compilation.getPackageByUri(uri);
|
|
13395
13397
|
if (onlyUserPackages) {
|
|
13396
13398
|
const checkedPackage = sourceFile?.package ?? pkg;
|
|
13397
|
-
if (checkedPackage !== void 0 &&
|
|
13399
|
+
if (checkedPackage !== void 0 && checkedPackage.role !== 0 /* User */) {
|
|
13398
13400
|
continue;
|
|
13399
13401
|
}
|
|
13400
13402
|
}
|
|
@@ -13781,7 +13783,7 @@ var SourceGenerationService = class extends RxObject7 {
|
|
|
13781
13783
|
trackedSourceFiles: this.trackedSourceFiles,
|
|
13782
13784
|
mainPackageConfigurationIfMissing: packageConfiguration,
|
|
13783
13785
|
getTreatRootAsPackageIfConfigIsMissing: () => true,
|
|
13784
|
-
additionalPackageContents: standardPackageContents
|
|
13786
|
+
additionalPackageContents: packageContentsWithRole(standardPackageContents, 2 /* StandardLibrary */)
|
|
13785
13787
|
};
|
|
13786
13788
|
const controller = new CompilationController(controllerConfig);
|
|
13787
13789
|
controller.isConfigurationsProcessingEnabled = true;
|
|
@@ -14403,7 +14405,7 @@ var WorkspaceItemsService = class {
|
|
|
14403
14405
|
const result = new Array();
|
|
14404
14406
|
const packageUris = /* @__PURE__ */ new Set();
|
|
14405
14407
|
for (const compilation of compilations) {
|
|
14406
|
-
for (const pkg of compilation.
|
|
14408
|
+
for (const pkg of compilation.packages) {
|
|
14407
14409
|
if (packageUris.has(pkg.uri.toString())) {
|
|
14408
14410
|
continue;
|
|
14409
14411
|
}
|