@keymanapp/kmc-keyboard-info 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/font-family.d.ts +11 -13
- package/build/src/font-family.d.ts.map +1 -1
- package/build/src/imports/langtags.d.ts +3 -5
- package/build/src/imports/langtags.d.ts.map +1 -1
- package/build/src/index.d.ts +3 -5
- package/build/src/index.d.ts.map +1 -1
- package/build/src/keyboard-info-compiler-messages.d.ts +59 -61
- package/build/src/keyboard-info-compiler-messages.d.ts.map +1 -1
- package/build/src/keyboard-info-compiler.d.ts +55 -57
- package/build/src/keyboard-info-compiler.d.ts.map +1 -1
- package/build/src/keyboard-info-file.d.ts +70 -72
- package/build/src/keyboard-info-file.d.ts.map +1 -1
- package/build/src/min-keyman-version.d.ts +6 -8
- package/build/src/min-keyman-version.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
//# debugId=43c26f8e-f879-562b-91db-5e5a90a4e622
|
|
13
|
-
//# sourceMappingURL=font-family.d.ts.map
|
|
1
|
+
/**
|
|
2
|
+
* Extracts the font-family from an in-memory TTF or WOFF blob in `source`
|
|
3
|
+
* parameter.
|
|
4
|
+
*
|
|
5
|
+
* @param source In-memory TTF or WOFF font blob
|
|
6
|
+
*
|
|
7
|
+
* @returns If the file is invalid or cannot be parsed, returns `null`,
|
|
8
|
+
* otherwise returns the font family as a string.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getFontFamily(source: Uint8Array): Promise<string>;
|
|
11
|
+
//# sourceMappingURL=font-family.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"font-family.d.ts","sourceRoot":"","sources":["../../src/font-family.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,wBAAsB,aAAa,CAAC,MAAM,EAAE,UAAU,mBAcrD"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//# debugId=001b70f6-5d8a-5c94-b226-a426b0592af2
|
|
5
|
-
//# sourceMappingURL=langtags.d.ts.map
|
|
1
|
+
declare const _default: any[];
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=langtags.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"langtags.d.ts","sourceRoot":"","sources":["../../../src/imports/langtags.js"],"names":[],"mappings":""}
|
package/build/src/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
//# debugId=d9102375-dd60-5e53-bdd7-008a5a123110
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export { KeyboardInfoCompiler, KeyboardInfoCompilerOptions, KeyboardInfoSources, KeyboardInfoCompilerArtifacts, KeyboardInfoCompilerResult } from './keyboard-info-compiler.js';
|
|
2
|
+
export { KeyboardInfoCompilerMessages } from './keyboard-info-compiler-messages.js';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
package/build/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,6BAA6B,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAChL,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC"}
|
|
@@ -1,61 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
static
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
static
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
static
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
static
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
static
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
static
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
static
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
static
|
|
39
|
-
static
|
|
40
|
-
static
|
|
41
|
-
static
|
|
42
|
-
static
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
static
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
static
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
static
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
//# debugId=c0942ba2-a0c5-58b4-b41b-d6ccf9079460
|
|
61
|
-
//# sourceMappingURL=keyboard-info-compiler-messages.d.ts.map
|
|
1
|
+
export declare class KeyboardInfoCompilerMessages {
|
|
2
|
+
static Fatal_UnexpectedException: (o: {
|
|
3
|
+
e: any;
|
|
4
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
5
|
+
static FATAL_UnexpectedException: number;
|
|
6
|
+
static Error_FileDoesNotExist: (o: {
|
|
7
|
+
filename: string;
|
|
8
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
9
|
+
static ERROR_FileDoesNotExist: number;
|
|
10
|
+
static Error_FileIsNotValid: (o: {
|
|
11
|
+
filename: string;
|
|
12
|
+
e: any;
|
|
13
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
14
|
+
static ERROR_FileIsNotValid: number;
|
|
15
|
+
static Warn_MetadataFieldInconsistent: (o: {
|
|
16
|
+
field: string;
|
|
17
|
+
value: any;
|
|
18
|
+
expected: any;
|
|
19
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
20
|
+
static WARN_MetadataFieldInconsistent: number;
|
|
21
|
+
static Error_InvalidAuthorEmail: (o: {
|
|
22
|
+
email: string;
|
|
23
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
24
|
+
static ERROR_InvalidAuthorEmail: number;
|
|
25
|
+
static Error_LicenseFileDoesNotExist: (o: {
|
|
26
|
+
filename: string;
|
|
27
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
28
|
+
static ERROR_LicenseFileIsMissing: number;
|
|
29
|
+
static Error_LicenseFileIsDamaged: (o: {
|
|
30
|
+
filename: string;
|
|
31
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
32
|
+
static ERROR_LicenseFileIsDamaged: number;
|
|
33
|
+
static Error_LicenseIsNotValid: (o: {
|
|
34
|
+
filename: string;
|
|
35
|
+
message: string;
|
|
36
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
37
|
+
static ERROR_LicenseIsNotValid: number;
|
|
38
|
+
static Error_CannotBuildWithoutKmpFile: () => import("@keymanapp/common-types").CompilerEvent;
|
|
39
|
+
static ERROR_CannotBuildWithoutKmpFile: number;
|
|
40
|
+
static Error_NoLicenseFound: () => import("@keymanapp/common-types").CompilerEvent;
|
|
41
|
+
static ERROR_NoLicenseFound: number;
|
|
42
|
+
static Hint_OutputValidation: (o: {
|
|
43
|
+
message: any;
|
|
44
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
45
|
+
static HINT_OutputValidation: number;
|
|
46
|
+
static Warn_OutputValidation: (o: {
|
|
47
|
+
message: any;
|
|
48
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
49
|
+
static WARN_OutputValidation: number;
|
|
50
|
+
static Error_OutputValidation: (o: {
|
|
51
|
+
message: any;
|
|
52
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
53
|
+
static ERROR_OutputValidation: number;
|
|
54
|
+
static Error_FontFileCannotBeRead: (o: {
|
|
55
|
+
filename: string;
|
|
56
|
+
}) => import("@keymanapp/common-types").CompilerEvent;
|
|
57
|
+
static ERROR_FontFileCannotBeRead: number;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=keyboard-info-compiler-messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"keyboard-info-compiler-messages.d.ts","sourceRoot":"","sources":["../../src/keyboard-info-compiler-messages.ts"],"names":[],"mappings":"AASA,qBAAa,4BAA4B;IACvC,MAAM,CAAC,yBAAyB,MAAM;QAAC,CAAC,EAAE,GAAG,CAAA;KAAC,qDAAqE;IACnH,MAAM,CAAC,yBAAyB,SAAqB;IAErD,MAAM,CAAC,sBAAsB,MAAM;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC,qDAA0E;IAC/H,MAAM,CAAC,sBAAsB,SAAqB;IAElD,MAAM,CAAC,oBAAoB,MAAM;QAAC,QAAQ,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,GAAG,CAAA;KAAC,qDAC0B;IACrF,MAAM,CAAC,oBAAoB,SAAqB;IAEhD,MAAM,CAAC,8BAA8B,MAAM;QAAC,KAAK,EAAC,MAAM,CAAC;QAAC,KAAK,EAAC,GAAG,CAAC;QAAC,QAAQ,EAAC,GAAG,CAAA;KAAC,qDAC8B;IAChH,MAAM,CAAC,8BAA8B,SAAoB;IAEzD,MAAM,CAAC,wBAAwB,MAAM;QAAC,KAAK,EAAC,MAAM,CAAA;KAAC,qDACb;IACtC,MAAM,CAAC,wBAAwB,SAAqB;IAEpD,MAAM,CAAC,6BAA6B,MAAM;QAAC,QAAQ,EAAC,MAAM,CAAA;KAAC,qDACX;IAChD,MAAM,CAAC,0BAA0B,SAAqB;IAEtD,MAAM,CAAC,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
-
private
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
private
|
|
49
|
-
private
|
|
50
|
-
private
|
|
51
|
-
private
|
|
52
|
-
private
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
//# debugId=4c76221a-7884-5e01-84f5-a3614506805f
|
|
57
|
-
//# sourceMappingURL=keyboard-info-compiler.d.ts.map
|
|
1
|
+
/**
|
|
2
|
+
* Merges a source .keyboard_info file with metadata extracted from .kps file and
|
|
3
|
+
* compiled files to produce a comprehensive .keyboard_info file.
|
|
4
|
+
*/
|
|
5
|
+
import { KeyboardInfoFileLanguageFont } from "./keyboard-info-file.js";
|
|
6
|
+
import { CompilerCallbacks, KmpJsonFile, KeymanCompiler, CompilerOptions, KeymanCompilerResult, KeymanCompilerArtifacts, KeymanCompilerArtifact } from "@keymanapp/common-types";
|
|
7
|
+
export interface KeyboardInfoSources {
|
|
8
|
+
/** The path in the keymanapp/keyboards repo where this keyboard may be found */
|
|
9
|
+
sourcePath: string;
|
|
10
|
+
/** The compiled keyboard filename and relative path (.js only) */
|
|
11
|
+
jsFilename?: string;
|
|
12
|
+
/** The compiled package filename and relative path (.kmp) */
|
|
13
|
+
kmpFilename: string;
|
|
14
|
+
/** The source package filename and relative path (.kps) */
|
|
15
|
+
kpsFilename: string;
|
|
16
|
+
/** Last modification date for files in the project folder 'YYYY-MM-DDThh:mm:ssZ' */
|
|
17
|
+
lastCommitDate?: string;
|
|
18
|
+
/** Return an error if project does not meet requirements of keyboards repository */
|
|
19
|
+
forPublishing: boolean;
|
|
20
|
+
}
|
|
21
|
+
export interface KeyboardInfoCompilerOptions extends CompilerOptions {
|
|
22
|
+
sources: KeyboardInfoSources;
|
|
23
|
+
}
|
|
24
|
+
export interface KeyboardInfoCompilerArtifacts extends KeymanCompilerArtifacts {
|
|
25
|
+
keyboard_info: KeymanCompilerArtifact;
|
|
26
|
+
}
|
|
27
|
+
export interface KeyboardInfoCompilerResult extends KeymanCompilerResult {
|
|
28
|
+
artifacts: KeyboardInfoCompilerArtifacts;
|
|
29
|
+
}
|
|
30
|
+
export declare class KeyboardInfoCompiler implements KeymanCompiler {
|
|
31
|
+
private callbacks;
|
|
32
|
+
private options;
|
|
33
|
+
constructor();
|
|
34
|
+
init(callbacks: CompilerCallbacks, options: KeyboardInfoCompilerOptions): Promise<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* Builds a .keyboard_info file with metadata from the keyboard and package source file.
|
|
37
|
+
* This function is intended for use within the keyboards repository. While many of the
|
|
38
|
+
* parameters could be deduced from each other, they are specified here to reduce the
|
|
39
|
+
* number of places the filenames are constructed.
|
|
40
|
+
* For full documentation, see:
|
|
41
|
+
* https://help.keyman.com/developer/cloud/keyboard_info/
|
|
42
|
+
*
|
|
43
|
+
* @param sources Details on files from which to extract metadata
|
|
44
|
+
*/
|
|
45
|
+
run(inputFilename: string, outputFilename?: string): Promise<KeyboardInfoCompilerResult>;
|
|
46
|
+
write(artifacts: KeyboardInfoCompilerArtifacts): Promise<boolean>;
|
|
47
|
+
private mapKeymanTargetToPlatform;
|
|
48
|
+
private kmxFileVersionToString;
|
|
49
|
+
private isLicenseMIT;
|
|
50
|
+
private loadKmxFiles;
|
|
51
|
+
private loadJsFile;
|
|
52
|
+
private fillLanguages;
|
|
53
|
+
fontSourceToKeyboardInfoFont(kpsFilename: string, kmpJsonData: KmpJsonFile.KmpJsonFile, source: string[]): Promise<KeyboardInfoFileLanguageFont>;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=keyboard-info-compiler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"keyboard-info-compiler.d.ts","sourceRoot":"","sources":["../../src/ke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sB;IAI9B,OAAO,CAAC,YAAY;IA0BpB,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,UAAU;YAUJ,aAAa;IA0FrB,4BAA4B,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,WAAW,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,4BAA4B,CAAC;CAqCvJ"}
|
|
@@ -1,72 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
export type
|
|
3
|
-
export type
|
|
4
|
-
export type
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
*
|
|
56
|
-
* -
|
|
57
|
-
* -
|
|
58
|
-
* -
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
//# debugId=a279b63f-e6c0-51ec-b078-b923788db380
|
|
72
|
-
//# sourceMappingURL=keyboard-info-file.d.ts.map
|
|
1
|
+
export type KeyboardInfoFileEncodings = "ansi" | "unicode";
|
|
2
|
+
export type KeyboardInfoFileIncludes = "welcome" | "documentation" | "fonts" | "visualKeyboard";
|
|
3
|
+
export type KeyboardInfoFilePlatform = "windows" | "macos" | "desktopWeb" | "ios" | "android" | "mobileWeb" | "linux";
|
|
4
|
+
export type KeyboardInfoFilePlatformSupport = "dictionary" | "full" | "basic" | "none";
|
|
5
|
+
export interface KeyboardInfoFile {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string;
|
|
8
|
+
authorName?: string;
|
|
9
|
+
authorEmail?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
license?: "freeware" | "shareware" | "commercial" | "mit" | "other";
|
|
12
|
+
languages?: string[] | {
|
|
13
|
+
[bcp47: string]: KeyboardInfoFileLanguage;
|
|
14
|
+
};
|
|
15
|
+
lastModifiedDate?: string;
|
|
16
|
+
packageFilename?: string;
|
|
17
|
+
packageFileSize?: number;
|
|
18
|
+
jsFilename?: string;
|
|
19
|
+
jsFileSize?: number;
|
|
20
|
+
isRTL?: boolean;
|
|
21
|
+
encodings?: KeyboardInfoFileEncodings[];
|
|
22
|
+
packageIncludes?: KeyboardInfoFileIncludes[];
|
|
23
|
+
version?: string;
|
|
24
|
+
minKeymanVersion?: string;
|
|
25
|
+
helpLink?: string;
|
|
26
|
+
platformSupport?: {
|
|
27
|
+
[id in KeyboardInfoFilePlatform]?: KeyboardInfoFilePlatformSupport;
|
|
28
|
+
};
|
|
29
|
+
sourcePath?: string;
|
|
30
|
+
related?: {
|
|
31
|
+
[id: string]: KeyboardInfoFileRelated;
|
|
32
|
+
};
|
|
33
|
+
deprecated?: boolean;
|
|
34
|
+
}
|
|
35
|
+
export interface KeyboardInfoFileRelated {
|
|
36
|
+
deprecates?: boolean;
|
|
37
|
+
deprecatedBy?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export interface KeyboardInfoFileLanguage {
|
|
40
|
+
font?: KeyboardInfoFileLanguageFont;
|
|
41
|
+
oskFont?: KeyboardInfoFileLanguageFont;
|
|
42
|
+
examples?: KeyboardInfoFileExample[];
|
|
43
|
+
displayName?: string;
|
|
44
|
+
languageName?: string;
|
|
45
|
+
scriptName?: string;
|
|
46
|
+
regionName?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface KeyboardInfoFileLanguageFont {
|
|
49
|
+
family?: string;
|
|
50
|
+
source?: string[];
|
|
51
|
+
}
|
|
52
|
+
export interface KeyboardInfoFileExample {
|
|
53
|
+
/**
|
|
54
|
+
* A space-separated list of keys.
|
|
55
|
+
* - modifiers indicated with "+"
|
|
56
|
+
* - spacebar is "space"
|
|
57
|
+
* - plus key is "shift+=" or "plus" on US English (all other punctuation as per key cap).
|
|
58
|
+
* - Hardware modifiers are: "shift", "ctrl", "alt", "left-ctrl",
|
|
59
|
+
* "right-ctrl", "left-alt", "right-alt"
|
|
60
|
+
* - Key caps should generally be their character for desktop (Latin script
|
|
61
|
+
* case insensitive), or the actual key cap for touch
|
|
62
|
+
* - Caps Lock should be indicated with "caps-on", "caps-off"
|
|
63
|
+
*
|
|
64
|
+
* e.g. "shift+a b right-alt+c space plus z z z" represents something like: "Ab{AltGr+C} +zzz"
|
|
65
|
+
*/
|
|
66
|
+
keys?: string;
|
|
67
|
+
text?: string;
|
|
68
|
+
note?: string;
|
|
69
|
+
}
|
|
70
|
+
//# sourceMappingURL=keyboard-info-file.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"keyboard-info-file.d.ts","sourceRoot":"","sources":["../../src/keyboard-info-file.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,yBAAyB,GAAG,MAAM,GAAG,SAAS,CAAC;AAC3D,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,eAAe,GAAG,OAAO,GAAG,gBAAgB,CAAC;AAChG,MAAM,MAAM,wBAAwB,GAAG,SAAS,GAAG,OAAO,GAAG,YAAY,GAAG,KAAK,GAA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AAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,CAAC,EAAE,4BAA4B,CAAC;IACpC,OAAO,CAAC,EAAE,4BAA4B,CAAC;IACvC,QAAQ,CAAC,EAAE,uBAAuB,EAAE,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,4BAA4B;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACf"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
*
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
//# debugId=5a9db92b-2081-57fe-97cf-8a0940e17fc8
|
|
8
|
-
//# sourceMappingURL=min-keyman-version.d.ts.map
|
|
1
|
+
/**
|
|
2
|
+
* Minimum Keyman version that will be supplied for a .keyboard_info
|
|
3
|
+
* if a compiled keyboard does not list a minimum version itself.
|
|
4
|
+
*/
|
|
5
|
+
export declare const minKeymanVersion = "5.0";
|
|
6
|
+
//# sourceMappingURL=min-keyman-version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"
|
|
1
|
+
{"version":3,"file":"min-keyman-version.d.ts","sourceRoot":"","sources":["../../src/min-keyman-version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,gBAAgB,QAAQ,CAAC"}
|
package/package.json
CHANGED
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"url": "https://github.com/keymanapp/keyman/issues"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@keymanapp/common-types": "17.0.
|
|
27
|
-
"@keymanapp/developer-utils": "17.0.
|
|
28
|
-
"@keymanapp/kmc-package": "17.0.
|
|
26
|
+
"@keymanapp/common-types": "17.0.258-alpha",
|
|
27
|
+
"@keymanapp/developer-utils": "17.0.258-alpha",
|
|
28
|
+
"@keymanapp/kmc-package": "17.0.258-alpha",
|
|
29
29
|
"ttfmeta": "^1.1.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"type": "git",
|
|
50
50
|
"url": "git+https://github.com/keymanapp/keyman.git"
|
|
51
51
|
},
|
|
52
|
-
"version": "17.0.
|
|
52
|
+
"version": "17.0.258-alpha"
|
|
53
53
|
}
|