@keymanapp/kmc 17.0.256-alpha → 17.0.258-alpha
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/src/commands/analyze.d.ts +3 -5
- package/build/src/commands/analyze.d.ts.map +1 -1
- package/build/src/commands/analyze.js +5 -4
- package/build/src/commands/analyze.js.map +1 -1
- package/build/src/commands/build.d.ts +13 -15
- package/build/src/commands/build.d.ts.map +1 -1
- package/build/src/commands/build.js +7 -6
- package/build/src/commands/build.js.map +1 -1
- package/build/src/commands/buildClasses/BuildActivity.d.ts +11 -13
- package/build/src/commands/buildClasses/BuildActivity.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildKeyboardInfo.d.ts +11 -13
- package/build/src/commands/buildClasses/BuildKeyboardInfo.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildKmnKeyboard.d.ts +10 -12
- package/build/src/commands/buildClasses/BuildKmnKeyboard.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildLdmlKeyboard.d.ts +10 -12
- package/build/src/commands/buildClasses/BuildLdmlKeyboard.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildModel.d.ts +10 -12
- package/build/src/commands/buildClasses/BuildModel.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildModelInfo.d.ts +21 -23
- package/build/src/commands/buildClasses/BuildModelInfo.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildPackage.d.ts +10 -12
- package/build/src/commands/buildClasses/BuildPackage.d.ts.map +1 -1
- package/build/src/commands/buildClasses/BuildProject.d.ts +11 -13
- package/build/src/commands/buildClasses/BuildProject.d.ts.map +1 -1
- package/build/src/commands/buildClasses/buildActivities.d.ts +7 -9
- package/build/src/commands/buildClasses/buildActivities.d.ts.map +1 -1
- package/build/src/commands/buildTestData/index.d.ts +2 -4
- package/build/src/commands/buildTestData/index.d.ts.map +1 -1
- package/build/src/commands/buildWindowsPackageInstaller/index.d.ts +2 -4
- package/build/src/commands/buildWindowsPackageInstaller/index.d.ts.map +1 -1
- package/build/src/commands/buildWindowsPackageInstaller/index.js +6 -5
- package/build/src/commands/buildWindowsPackageInstaller/index.js.map +1 -1
- package/build/src/kmc.d.ts +6 -8
- package/build/src/kmc.d.ts.map +1 -1
- package/build/src/kmc.js +7 -7
- package/build/src/kmc.js.map +1 -1
- package/build/src/kmlmc.d.ts +6 -8
- package/build/src/kmlmc.d.ts.map +1 -1
- package/build/src/kmlmp.d.ts +6 -8
- package/build/src/kmlmp.d.ts.map +1 -1
- package/build/src/messages/infrastructureMessages.d.ts +133 -135
- package/build/src/messages/infrastructureMessages.d.ts.map +1 -1
- package/build/src/messages/messageNamespaces.d.ts +4 -6
- package/build/src/messages/messageNamespaces.d.ts.map +1 -1
- package/build/src/util/NodeCompilerCallbacks.d.ts +44 -46
- package/build/src/util/NodeCompilerCallbacks.d.ts.map +1 -1
- package/build/src/util/TestKeymanSentry.d.ts +6 -8
- package/build/src/util/TestKeymanSentry.d.ts.map +1 -1
- package/build/src/util/baseOptions.d.ts +21 -23
- package/build/src/util/baseOptions.d.ts.map +1 -1
- package/build/src/util/calculateSourcePath.d.ts +11 -13
- package/build/src/util/calculateSourcePath.d.ts.map +1 -1
- package/build/src/util/calculateSourcePath.js +4 -4
- package/build/src/util/calculateSourcePath.js.map +1 -1
- package/build/src/util/extendedCompilerOptions.d.ts +50 -52
- package/build/src/util/extendedCompilerOptions.d.ts.map +1 -1
- package/build/src/util/fileLists.d.ts +16 -18
- package/build/src/util/fileLists.d.ts.map +1 -1
- package/build/src/util/getDeveloperBinPath.d.ts +9 -11
- package/build/src/util/getDeveloperBinPath.d.ts.map +1 -1
- package/build/src/util/getLastGitCommitDate.d.ts +8 -10
- package/build/src/util/getLastGitCommitDate.d.ts.map +1 -1
- package/build/src/util/projectLoader.d.ts +4 -6
- package/build/src/util/projectLoader.d.ts.map +1 -1
- package/build/src/util/projectRunner.d.ts +3 -5
- package/build/src/util/projectRunner.d.ts.map +1 -1
- package/build/src/util/sysexits.d.ts +10 -11
- package/build/src/util/sysexits.d.ts.map +1 -1
- package/build/src/util/sysexits.js +7 -3
- package/build/src/util/sysexits.js.map +1 -1
- package/build/unicode-license.txt +39 -0
- package/package.json +14 -13
package/build/src/kmc.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# debugId=9c390b5c-38d5-5a5e-ab87-0147c63c89bf
|
|
8
|
-
//# sourceMappingURL=kmc.d.ts.map
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* kmc - Keyman Next Generation Compiler
|
|
4
|
+
*/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=kmc.d.ts.map
|
package/build/src/kmc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"kmc.d.ts","sourceRoot":"","sources":["../../src/kmc.ts"],"names":[],"mappings":";AACA;;GAEG"}
|
package/build/src/kmc.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6669e390-dd00-5dae-a180-6fe9ca8ae7ec")}catch(e){}}();
|
|
3
3
|
/**
|
|
4
4
|
* kmc - Keyman Next Generation Compiler
|
|
5
5
|
*/
|
|
@@ -9,8 +9,11 @@ import { declareAnalyze } from './commands/analyze.js';
|
|
|
9
9
|
import { KeymanSentry, loadOptions } from '@keymanapp/developer-utils';
|
|
10
10
|
import KEYMAN_VERSION from "@keymanapp/keyman-version";
|
|
11
11
|
import { TestKeymanSentry } from './util/TestKeymanSentry.js';
|
|
12
|
+
import { exitProcess } from './util/sysexits.js';
|
|
12
13
|
await TestKeymanSentry.runTestIfCLRequested();
|
|
13
|
-
KeymanSentry.
|
|
14
|
+
if (KeymanSentry.isEnabled()) {
|
|
15
|
+
KeymanSentry.init();
|
|
16
|
+
}
|
|
14
17
|
try {
|
|
15
18
|
await run();
|
|
16
19
|
}
|
|
@@ -19,7 +22,7 @@ catch (e) {
|
|
|
19
22
|
}
|
|
20
23
|
// Ensure any messages reported to Sentry have had time to be uploaded before we
|
|
21
24
|
// exit. In most cases, this will be a no-op so should not affect performance.
|
|
22
|
-
await
|
|
25
|
+
await exitProcess(0);
|
|
23
26
|
async function run() {
|
|
24
27
|
await loadOptions();
|
|
25
28
|
/* Arguments */
|
|
@@ -36,9 +39,6 @@ async function run() {
|
|
|
36
39
|
// in launch
|
|
37
40
|
.addOption(new Option('--no-error-reporting', 'Disable error reporting to keyman.com (overriding user settings)'))
|
|
38
41
|
.addOption(new Option('--error-reporting', 'Enable error reporting to keyman.com (overriding user settings)'));
|
|
39
|
-
if (await KeymanSentry.isEnabled()) {
|
|
40
|
-
KeymanSentry.init();
|
|
41
|
-
}
|
|
42
42
|
declareBuild(program);
|
|
43
43
|
declareAnalyze(program);
|
|
44
44
|
/* Future commands:
|
|
@@ -53,5 +53,5 @@ async function run() {
|
|
|
53
53
|
await program.parseAsync(process.argv)
|
|
54
54
|
.catch(reason => console.error(reason));
|
|
55
55
|
}
|
|
56
|
-
//# debugId=
|
|
56
|
+
//# debugId=6669e390-dd00-5dae-a180-6fe9ca8ae7ec
|
|
57
57
|
//# sourceMappingURL=kmc.js.map
|
package/build/src/kmc.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"debug_id":"
|
|
1
|
+
{"debug_id":"6669e390-dd00-5dae-a180-6fe9ca8ae7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C;IACtB,cAAc,CAAC,OAAO,CAAC,CAAC;IAExB;;;;;;;;MAQE;IAEF,MAAM,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC;SACnC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AAC5C,CAAC","names":[],"sourceRoot":"","sources":["../../src/kmc.ts"],"version":3}
|
package/build/src/kmlmc.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# debugId=1dd302e5-928f-5a8e-8a9c-f0bd578b42a5
|
|
8
|
-
//# sourceMappingURL=kmlmc.d.ts.map
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* kmlmc - Keyman Lexical Model Compiler
|
|
4
|
+
*/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=kmlmc.d.ts.map
|
package/build/src/kmlmc.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"kmlmc.d.ts","sourceRoot":"","sources":["../../src/kmlmc.ts"],"names":[],"mappings":";AACA;;GAEG"}
|
package/build/src/kmlmp.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# debugId=844c70c6-7325-5034-840f-4e856b6585a5
|
|
8
|
-
//# sourceMappingURL=kmlmp.d.ts.map
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* kmlmp - Keyman Lexical Model Package Compiler
|
|
4
|
+
*/
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=kmlmp.d.ts.map
|
package/build/src/kmlmp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"kmlmp.d.ts","sourceRoot":"","sources":["../../src/kmlmp.ts"],"names":[],"mappings":";AACA;;GAEG"}
|
|
@@ -1,135 +1,133 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
static
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
static
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
static
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
static
|
|
27
|
-
static
|
|
28
|
-
static
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
static
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
static
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
static
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
static
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
static
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
static
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
static
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
static
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
static
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
static
|
|
98
|
-
static
|
|
99
|
-
static
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
static
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
static
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
static
|
|
113
|
-
static
|
|
114
|
-
static
|
|
115
|
-
static
|
|
116
|
-
static
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
static
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
static
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
static
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
//# debugId=c2598f7a-a793-5d39-811e-788740fff589
|
|
135
|
-
//# sourceMappingURL=infrastructureMessages.d.ts.map
|
|
1
|
+
export declare class InfrastructureMessages {
|
|
2
|
+
static Fatal_UnexpectedException: (o: {
|
|
3
|
+
e: any;
|
|
4
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
5
|
+
static FATAL_UnexpectedException: number;
|
|
6
|
+
static Info_BuildingFile: (o: {
|
|
7
|
+
filename: string;
|
|
8
|
+
relativeFilename: string;
|
|
9
|
+
}) => {
|
|
10
|
+
filename: string;
|
|
11
|
+
line?: number;
|
|
12
|
+
code: number;
|
|
13
|
+
message: string;
|
|
14
|
+
exceptionVar?: any;
|
|
15
|
+
};
|
|
16
|
+
static INFO_BuildingFile: number;
|
|
17
|
+
static Error_FileDoesNotExist: (o: {
|
|
18
|
+
filename: string;
|
|
19
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
20
|
+
static ERROR_FileDoesNotExist: number;
|
|
21
|
+
static Error_FileTypeNotRecognized: (o: {
|
|
22
|
+
filename: string;
|
|
23
|
+
extensions: string;
|
|
24
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
25
|
+
static ERROR_FileTypeNotRecognized: number;
|
|
26
|
+
static Error_OutFileNotValidForProjects: () => import("@keymanapp/common-types").CompilerEvent;
|
|
27
|
+
static ERROR_OutFileNotValidForProjects: number;
|
|
28
|
+
static Info_FileBuiltSuccessfully: (o: {
|
|
29
|
+
filename: string;
|
|
30
|
+
relativeFilename: string;
|
|
31
|
+
}) => {
|
|
32
|
+
filename: string;
|
|
33
|
+
line?: number;
|
|
34
|
+
code: number;
|
|
35
|
+
message: string;
|
|
36
|
+
exceptionVar?: any;
|
|
37
|
+
};
|
|
38
|
+
static INFO_FileBuiltSuccessfully: number;
|
|
39
|
+
static Info_FileNotBuiltSuccessfully: (o: {
|
|
40
|
+
filename: string;
|
|
41
|
+
relativeFilename: string;
|
|
42
|
+
}) => {
|
|
43
|
+
filename: string;
|
|
44
|
+
line?: number;
|
|
45
|
+
code: number;
|
|
46
|
+
message: string;
|
|
47
|
+
exceptionVar?: any;
|
|
48
|
+
};
|
|
49
|
+
static INFO_FileNotBuiltSuccessfully: number;
|
|
50
|
+
static Error_InvalidProjectFile: (o: {
|
|
51
|
+
message: string;
|
|
52
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
53
|
+
static ERROR_InvalidProjectFile: number;
|
|
54
|
+
static Hint_FilenameHasDifferingCase: (o: {
|
|
55
|
+
reference: string;
|
|
56
|
+
filename: string;
|
|
57
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
58
|
+
static HINT_FilenameHasDifferingCase: number;
|
|
59
|
+
static Error_UnknownFileFormat: (o: {
|
|
60
|
+
format: string;
|
|
61
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
62
|
+
static ERROR_UnknownFileFormat: number;
|
|
63
|
+
static Info_ProjectBuiltSuccessfully: (o: {
|
|
64
|
+
filename: string;
|
|
65
|
+
relativeFilename: string;
|
|
66
|
+
}) => {
|
|
67
|
+
filename: string;
|
|
68
|
+
line?: number;
|
|
69
|
+
code: number;
|
|
70
|
+
message: string;
|
|
71
|
+
exceptionVar?: any;
|
|
72
|
+
};
|
|
73
|
+
static INFO_ProjectBuiltSuccessfully: number;
|
|
74
|
+
static Info_ProjectNotBuiltSuccessfully: (o: {
|
|
75
|
+
filename: string;
|
|
76
|
+
relativeFilename: string;
|
|
77
|
+
}) => {
|
|
78
|
+
filename: string;
|
|
79
|
+
line?: number;
|
|
80
|
+
code: number;
|
|
81
|
+
message: string;
|
|
82
|
+
exceptionVar?: any;
|
|
83
|
+
};
|
|
84
|
+
static INFO_ProjectNotBuiltSuccessfully: number;
|
|
85
|
+
static Info_TooManyMessages: (o: {
|
|
86
|
+
count: number;
|
|
87
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
88
|
+
static INFO_TooManyMessages: number;
|
|
89
|
+
static Error_FileTypeNotFound: (o: {
|
|
90
|
+
ext: string;
|
|
91
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
92
|
+
static ERROR_FileTypeNotFound: number;
|
|
93
|
+
static Error_NotAProjectFile: (o: {
|
|
94
|
+
filename: string;
|
|
95
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
96
|
+
static ERROR_NotAProjectFile: number;
|
|
97
|
+
static Info_WarningsHaveFailedBuild: () => import("@keymanapp/common-types").CompilerEvent;
|
|
98
|
+
static INFO_WarningsHaveFailedBuild: number;
|
|
99
|
+
static Error_CannotCreateFolder: (o: {
|
|
100
|
+
folderName: string;
|
|
101
|
+
e: any;
|
|
102
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
103
|
+
static ERROR_CannotCreateFolder: number;
|
|
104
|
+
static Error_InvalidProjectFolder: (o: {
|
|
105
|
+
folderName: string;
|
|
106
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
107
|
+
static ERROR_InvalidProjectFolder: number;
|
|
108
|
+
static Error_UnsupportedProjectVersion: (o: {
|
|
109
|
+
version: string;
|
|
110
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
111
|
+
static ERROR_UnsupportedProjectVersion: number;
|
|
112
|
+
static Hint_ProjectIsVersion10: () => import("@keymanapp/common-types").CompilerEvent;
|
|
113
|
+
static HINT_ProjectIsVersion10: number;
|
|
114
|
+
static Error_OutFileCanOnlyBeSpecifiedWithSingleInfile: () => import("@keymanapp/common-types").CompilerEvent;
|
|
115
|
+
static ERROR_OutFileCanOnlyBeSpecifiedWithSingleInfile: number;
|
|
116
|
+
static Error_InvalidMessageFormat: (o: {
|
|
117
|
+
message: string;
|
|
118
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
119
|
+
static ERROR_InvalidMessageFormat: number;
|
|
120
|
+
static Error_MessageNamespaceNotFound: (o: {
|
|
121
|
+
code: number;
|
|
122
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
123
|
+
static ERROR_MessageNamespaceNotFound: number;
|
|
124
|
+
static Error_MessageCodeNotFound: (o: {
|
|
125
|
+
code: number;
|
|
126
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
127
|
+
static ERROR_MessageCodeNotFound: number;
|
|
128
|
+
static Error_MessageCannotBeCoerced: (o: {
|
|
129
|
+
code: number;
|
|
130
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
131
|
+
static ERROR_MessageCannotBeCoerced: number;
|
|
132
|
+
}
|
|
133
|
+
//# sourceMappingURL=infrastructureMessages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"infrastructureMessages.d.ts","sourceRoot":"","sources":["../../../src/messages/infrastructureMessages.ts"],"names":[],"mappings":"AASA,qBAAa,sBAAsB;IACjC,MAAM,CAAC,yBAAyB,MAAM;QAAC,CAAC,EAAE,GAAG,CAAA;KAAC,qDAAqE;IACnH,MAAM,CAAC,yBAAyB,SAAqB;IAGrD,MAAM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,MAAM;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,qDACwC;IACjG,MAAM,CAAC,8BAA8B,SAAqB;IAE1D,MAAM,CAAC,yBAAyB,MAAM;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,qDACiC;IACrF,MAAM,CAAC,yBAAyB,SAAqB;IAErD,MAAM,CAAC,4BAA4B,MAAM;QAAC,IAAI,EAAE,MAAM,CAAA;KAAC,qDACoE;IAC3H,MAAM,CAAC,4BAA4B,SAAqB;CACzD"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
//# debugId=38550428-ae65-56a1-9a50-aa2f4ee5635f
|
|
6
|
-
//# sourceMappingURL=messageNamespaces.d.ts.map
|
|
1
|
+
import { CompilerErrorNamespace } from '@keymanapp/common-types';
|
|
2
|
+
export declare const messageNamespaces: Record<CompilerErrorNamespace, any>;
|
|
3
|
+
export declare const messageNamespaceKeys: number[];
|
|
4
|
+
//# sourceMappingURL=messageNamespaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"messageNamespaces.d.ts","sourceRoot":"","sources":["../../../src/messages/messageNamespaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAWtF,eAAO,MAAM,iBAAiB,EAAE,MAAM,CAAC,sBAAsB,EAAE,GAAG,CAWjE,CAAC;AAIF,eAAO,MAAM,oBAAoB,UAA8D,CAAC"}
|
|
@@ -1,46 +1,44 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* @
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
get
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
private
|
|
31
|
-
private
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
*
|
|
35
|
-
* @
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
//# debugId=10fe0448-7a6b-5d3b-9ea9-5b89f15cfb3d
|
|
46
|
-
//# sourceMappingURL=NodeCompilerCallbacks.d.ts.map
|
|
1
|
+
import { CompilerCallbacks, CompilerEvent, CompilerPathCallbacks, CompilerFileSystemCallbacks, CompilerCallbackOptions } from '@keymanapp/common-types';
|
|
2
|
+
import chalk from 'chalk';
|
|
3
|
+
/**
|
|
4
|
+
* Concrete implementation for CLI use
|
|
5
|
+
*/
|
|
6
|
+
export declare class NodeCompilerCallbacks implements CompilerCallbacks {
|
|
7
|
+
private options;
|
|
8
|
+
messages: CompilerEvent[];
|
|
9
|
+
messageCount: number;
|
|
10
|
+
messageFilename: string;
|
|
11
|
+
constructor(options: CompilerCallbackOptions);
|
|
12
|
+
clear(): void;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if any message in the log is a Fatal, Error, or if we are
|
|
15
|
+
* treating warnings as errors, a Warning. The warning option will be taken
|
|
16
|
+
* from the CompilerOptions passed to the constructor, or the parameter, to
|
|
17
|
+
* allow for per-file overrides (as seen with projects, for example).
|
|
18
|
+
* @param compilerWarningsAsErrors
|
|
19
|
+
* @returns
|
|
20
|
+
*/
|
|
21
|
+
hasFailureMessage(compilerWarningsAsErrors?: boolean): boolean;
|
|
22
|
+
hasMessage(code: number): boolean;
|
|
23
|
+
private verifyFilenameConsistency;
|
|
24
|
+
loadFile(filename: string): Uint8Array;
|
|
25
|
+
fileSize(filename: string): number;
|
|
26
|
+
get path(): CompilerPathCallbacks;
|
|
27
|
+
get fs(): CompilerFileSystemCallbacks;
|
|
28
|
+
reportMessage(event: CompilerEvent): void;
|
|
29
|
+
private printMessage;
|
|
30
|
+
private printTsvMessage;
|
|
31
|
+
private printFormattedMessage;
|
|
32
|
+
/**
|
|
33
|
+
* We treat a few certain infrastructure messages with special colours
|
|
34
|
+
* @param event
|
|
35
|
+
* @returns
|
|
36
|
+
*/
|
|
37
|
+
messageSpecialColor(event: CompilerEvent): chalk.Chalk & {
|
|
38
|
+
supportsColor: chalk.ColorSupport;
|
|
39
|
+
};
|
|
40
|
+
debug(msg: string): void;
|
|
41
|
+
fileExists(filename: string): boolean;
|
|
42
|
+
resolveFilename(baseFilename: string, filename: string): string;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=NodeCompilerCallbacks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"NodeCompilerCallbacks.d.ts","sourceRoot":"","sources":["../../../src/util/NodeCompilerCallbacks.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAChC,qBAAqB,EAAE,2BAA2B,EAGlD,uBAAuB,EACD,MAAM,yBAAyB,CAAC;AAE/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B;;GAEG;AACH,qBAAa,qBAAsB,YAAW,iBAAiB;IAOjD,OAAO,CAAC,OAAO;IAJ3B,QAAQ,EAAE,aAAa,EAAE,CAAM;IAC/B,YAAY,SAAK;IACjB,eAAe,EAAE,MAAM,CAAM;gBAET,OAAO,EAAE,uBAAuB;IAIpD,KAAK;IAML;;;;;;;OAOG;IACH,iBAAiB,CAAC,wBAAwB,CAAC,EAAE,OAAO,GAAG,OAAO;IAQ9D,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIjC,OAAO,CAAC,yBAAyB;IA2BjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,UAAU;IAatC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM;IAIlC,IAAI,IAAI,IAAI,qBAAqB,CAEhC;IAED,IAAI,EAAE,IAAI,2BAA2B,CAEpC;IAED,aAAa,CAAC,KAAK,EAAE,aAAa,GAAG,IAAI;IAkDzC,OAAO,CAAC,YAAY;IAQpB,OAAO,CAAC,eAAe;IAUvB,OAAO,CAAC,qBAAqB;IAqB7B;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,aAAa;;;IAcxC,KAAK,CAAC,GAAG,EAAE,MAAM;IAMjB,UAAU,CAAC,QAAQ,EAAE,MAAM;IAI3B,eAAe,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM;CAmBvD"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
static
|
|
4
|
-
static
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# debugId=9e28df32-26ff-5584-af69-25b3a9e97a95
|
|
8
|
-
//# sourceMappingURL=TestKeymanSentry.d.ts.map
|
|
1
|
+
export declare class TestKeymanSentry {
|
|
2
|
+
static isTestCL(): boolean;
|
|
3
|
+
static runTestIfCLRequested(): Promise<void>;
|
|
4
|
+
static test(): Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=TestKeymanSentry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"TestKeymanSentry.d.ts","sourceRoot":"","sources":["../../../src/util/TestKeymanSentry.ts"],"names":[],"mappings":"AAMA,qBAAa,gBAAgB;IAC3B,MAAM,CAAC,QAAQ;WAQF,oBAAoB;WAQpB,IAAI;CA2BlB"}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
static
|
|
18
|
-
static
|
|
19
|
-
static
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
//# debugId=7fa204f3-7f8b-56cb-8ce2-078b8da1293b
|
|
23
|
-
//# sourceMappingURL=baseOptions.d.ts.map
|
|
1
|
+
import { CompilerLogFormat, CompilerLogLevel } from "@keymanapp/common-types";
|
|
2
|
+
import { Command } from "commander";
|
|
3
|
+
/**
|
|
4
|
+
* Abstract interface for compiler options
|
|
5
|
+
*/
|
|
6
|
+
export interface CommandLineBaseOptions {
|
|
7
|
+
logLevel?: CompilerLogLevel;
|
|
8
|
+
logFormat?: CompilerLogFormat;
|
|
9
|
+
color?: boolean;
|
|
10
|
+
outFile?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* These options map to CompilerBaseOptions
|
|
14
|
+
*/
|
|
15
|
+
export declare class BaseOptions {
|
|
16
|
+
static addLogLevel(program: Command): Command;
|
|
17
|
+
static addLogFormat(program: Command): Command;
|
|
18
|
+
static addOutFile(program: Command): Command;
|
|
19
|
+
static addAll(program: Command): Command;
|
|
20
|
+
}
|
|
21
|
+
//# sourceMappingURL=baseOptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"baseOptions.d.ts","sourceRoot":"","sources":["../../../src/util/baseOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqD,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAU,MAAM,WAAW,CAAC;AAE5C;;GAEG;AAEH,MAAM,WAAW,sBAAsB;IAErC,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAGhB,OAAO,CAAC,EAAC,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,qBAAa,WAAW;WACR,WAAW,CAAC,OAAO,EAAE,OAAO;WAI5B,YAAY,CAAC,OAAO,EAAE,OAAO;WAI7B,UAAU,CAAC,OAAO,EAAE,OAAO;WAI3B,MAAM,CAAC,OAAO,EAAE,OAAO;CAOtC"}
|