@keymanapp/kmc-copy 19.0.145-alpha → 19.0.151-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.
@@ -48,61 +48,61 @@ export class CopierMessages {
48
48
  static Info_DryRun = (o) => m(this.INFO_DryRun, `Dry run requested. No changes have been saved`);
49
49
  // 0x0011 unused
50
50
  static ERROR_CannotDownloadFolderFromGitHub = SevError | 0x0012;
51
- static Error_CannotDownloadFolderFromGitHub = (o) => m(this.ERROR_CannotDownloadFolderFromGitHub, `The folder '${def(o.ref)}' could not be downloaded: ${def(o.message)} ${def(o.cause)}`, `
52
- An error was encountered attempting to download a folder from GitHub API. Check
53
- the provided error details for the cause.
51
+ static Error_CannotDownloadFolderFromGitHub = (o) => m(this.ERROR_CannotDownloadFolderFromGitHub, `The folder '${def(o.ref)}' could not be downloaded: ${def(o.message)} ${def(o.cause)}`, `
52
+ An error was encountered attempting to download a folder from GitHub API. Check
53
+ the provided error details for the cause.
54
54
  `);
55
55
  static ERROR_FolderDownloadedFromGitHubIsNotAValidFolder = SevError | 0x0013;
56
- static Error_FolderDownloadedFromGitHubIsNotAValidFolder = (o) => m(this.ERROR_FolderDownloadedFromGitHubIsNotAValidFolder, `The path '${def(o.ref)}' does not appear to be a folder on GitHub`, `
57
- The provided path may be a file or may not exist. Check the reference
58
- before trying again.
56
+ static Error_FolderDownloadedFromGitHubIsNotAValidFolder = (o) => m(this.ERROR_FolderDownloadedFromGitHubIsNotAValidFolder, `The path '${def(o.ref)}' does not appear to be a folder on GitHub`, `
57
+ The provided path may be a file or may not exist. Check the reference
58
+ before trying again.
59
59
  `);
60
60
  static WARN_CannotDownloadFileFromGitHub = SevWarn | 0x0014;
61
- static Warn_CannotDownloadFileFromGitHub = (o) => m(this.WARN_CannotDownloadFileFromGitHub, `The file '${def(o.ref)}' could not be downloaded: ${def(o.message)} ${def(o.cause)}`, `
62
- An error was encountered attempting to download a file from GitHub. Check the
63
- provided error details for the cause.
61
+ static Warn_CannotDownloadFileFromGitHub = (o) => m(this.WARN_CannotDownloadFileFromGitHub, `The file '${def(o.ref)}' could not be downloaded: ${def(o.message)} ${def(o.cause)}`, `
62
+ An error was encountered attempting to download a file from GitHub. Check the
63
+ provided error details for the cause.
64
64
  `);
65
65
  static ERROR_InvalidCloudKeyboardId = SevError | 0x0015;
66
- static Error_InvalidCloudKeyboardId = (o) => m(this.ERROR_InvalidCloudKeyboardId, `The keyboard identifier '${def(o.id)}' is not a valid keyboard identifier`, `
67
- Keyboard identifiers on Keyman Cloud can only use the characters
68
- \`a\`-\`z\`, \`0\`-\`9\`, and \`_\`.
66
+ static Error_InvalidCloudKeyboardId = (o) => m(this.ERROR_InvalidCloudKeyboardId, `The keyboard identifier '${def(o.id)}' is not a valid keyboard identifier`, `
67
+ Keyboard identifiers on Keyman Cloud can only use the characters
68
+ \`a\`-\`z\`, \`0\`-\`9\`, and \`_\`.
69
69
  `);
70
70
  static ERROR_CouldNotRetrieveFromCloud = SevError | 0x0016;
71
71
  static Error_CouldNotRetrieveFromCloud = (o) => m(this.ERROR_CouldNotRetrieveFromCloud, `Details for keyboard or model identified by '${def(o.id)}' could not be ` +
72
- `downloaded: ${def(o.message)} ${def(o.cause)}`, `
73
- An error was encountered attempting to retrieve keyboard or model details from
74
- Keyman Cloud API. Check the provided error details for the cause.
72
+ `downloaded: ${def(o.message)} ${def(o.cause)}`, `
73
+ An error was encountered attempting to retrieve keyboard or model details from
74
+ Keyman Cloud API. Check the provided error details for the cause.
75
75
  `);
76
76
  static ERROR_KeymanCloudReturnedInvalidData = SevError | 0x0017;
77
- static Error_KeymanCloudReturnedInvalidData = (o) => m(this.ERROR_KeymanCloudReturnedInvalidData, `Keyman Cloud API returned invalid data for keyboard or model identified by '${def(o.id)}'`, `
78
- There may be a network error or a server error. Retry your request later or
79
- contact Keyman Support for assistance.
77
+ static Error_KeymanCloudReturnedInvalidData = (o) => m(this.ERROR_KeymanCloudReturnedInvalidData, `Keyman Cloud API returned invalid data for keyboard or model identified by '${def(o.id)}'`, `
78
+ There may be a network error or a server error. Retry your request later or
79
+ contact Keyman Support for assistance.
80
80
  `);
81
81
  static ERROR_CloudDoesNotHaveSource = SevError | 0x0018;
82
- static Error_CloudDoesNotHaveSource = (o) => m(this.ERROR_CloudDoesNotHaveSource, `The keyboard or model identified by '${def(o.id)}' does not have source available`, `
83
- Legacy keyboards in Keyman Cloud do not have source available. Check the Keyman
84
- keyboard catalog at https://keyman.com/keyboards for further details. Some new
85
- keyboards or models may be available as binary-only.
82
+ static Error_CloudDoesNotHaveSource = (o) => m(this.ERROR_CloudDoesNotHaveSource, `The keyboard or model identified by '${def(o.id)}' does not have source available`, `
83
+ Legacy keyboards in Keyman Cloud do not have source available. Check the Keyman
84
+ keyboard catalog at https://keyman.com/keyboards for further details. Some new
85
+ keyboards or models may be available as binary-only.
86
86
  `);
87
87
  static ERROR_CannotDownloadRepoFromGitHub = SevError | 0x0019;
88
- static Error_CannotDownloadRepoFromGitHub = (o) => m(this.ERROR_CannotDownloadRepoFromGitHub, `The repository at '${def(o.ref)}' could not be accessed: ${def(o.message)} ${def(o.cause)}`, `
89
- An error was encountered attempting to download details about a repository
90
- from GitHub API. Check the provided error details for the cause.
88
+ static Error_CannotDownloadRepoFromGitHub = (o) => m(this.ERROR_CannotDownloadRepoFromGitHub, `The repository at '${def(o.ref)}' could not be accessed: ${def(o.message)} ${def(o.cause)}`, `
89
+ An error was encountered attempting to download details about a repository
90
+ from GitHub API. Check the provided error details for the cause.
91
91
  `);
92
92
  //------------------------------------------------------------------------------|
93
93
  // max length of detail message lines (checked by verifyCompilerMessagesObject) |
94
94
  //------------------------------------------------------------------------------|
95
95
  static ERROR_CouldNotFindDefaultBranchOnGitHub = SevError | 0x001A;
96
- static Error_CouldNotFindDefaultBranchOnGitHub = (o) => m(this.ERROR_CouldNotFindDefaultBranchOnGitHub, `The default branch could not be found for the GitHub repository '${def(o.ref)}'`, `
97
- The repository may be private, or you may have a typo in the owner or
98
- repository name.
96
+ static Error_CouldNotFindDefaultBranchOnGitHub = (o) => m(this.ERROR_CouldNotFindDefaultBranchOnGitHub, `The default branch could not be found for the GitHub repository '${def(o.ref)}'`, `
97
+ The repository may be private, or you may have a typo in the owner or
98
+ repository name.
99
99
  `);
100
100
  static INFO_CannotDownloadBinaryFileFromGitHub = SevInfo | 0x001B;
101
101
  static Info_CannotDownloadBinaryFileFromGitHub = (o) => m(this.INFO_CannotDownloadBinaryFileFromGitHub, `The Keyman binary file '${def(o.ref)}' could not be downloaded: ${def(o.message)} ` +
102
- `${def(o.cause)}. This is not normally a problem`, `
103
- In most repositories, Keyman binary files such as .kmx, .kmp, .js are not
104
- included. This is not normally a problem, as the files can be built from the
105
- source. Check the provided error details for more details.
102
+ `${def(o.cause)}. This is not normally a problem`, `
103
+ In most repositories, Keyman binary files such as .kmx, .kmp, .js are not
104
+ included. This is not normally a problem, as the files can be built from the
105
+ source. Check the provided error details for more details.
106
106
  `);
107
107
  static VERBOSE_DownloadingFile = SevVerbose | 0x001C;
108
108
  static Verbose_DownloadingFile = (o) => m(this.VERBOSE_DownloadingFile, `Downloading '${def(o.filename)}' from '${def(o.url)}'`);
package/package.json CHANGED
@@ -1,64 +1,65 @@
1
- {
2
- "name": "@keymanapp/kmc-copy",
3
- "description": "Keyman Developer copy module",
4
- "keywords": [
5
- "keyboard",
6
- "keyman",
7
- "ldml",
8
- "unicode"
9
- ],
10
- "type": "module",
11
- "exports": {
12
- ".": "./build/src/main.js"
13
- },
14
- "files": [
15
- "/build/src/"
16
- ],
17
- "scripts": {
18
- "build": "gosh ./build.sh build",
19
- "lint": "eslint .",
20
- "test": "gosh ./build.sh test"
21
- },
22
- "author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
23
- "license": "MIT",
24
- "bugs": {
25
- "url": "https://github.com/keymanapp/keyman/issues"
26
- },
27
- "dependencies": {
28
- "@keymanapp/common-types": "19.0.145-alpha",
29
- "@keymanapp/developer-utils": "19.0.145-alpha",
30
- "@keymanapp/keyman-version": "19.0.145-alpha"
31
- },
32
- "devDependencies": {
33
- "@keymanapp/developer-test-helpers": "19.0.145-alpha",
34
- "@keymanapp/resources-gosh": "19.0.145-alpha",
35
- "@types/node": "^20.4.1",
36
- "@types/semver": "^7.3.12",
37
- "c8": "^7.12.0",
38
- "chalk": "^2.4.2",
39
- "typescript": "^5.4.5"
40
- },
41
- "mocha": {
42
- "spec": "build/test/**/*.tests.js",
43
- "require": [
44
- "source-map-support/register"
45
- ]
46
- },
47
- "c8": {
48
- "all": true,
49
- "src": [
50
- "src/"
51
- ],
52
- "exclude-after-remap": true,
53
- "exclude": [
54
- "test/",
55
- "src/template/",
56
- "src/main.ts"
57
- ]
58
- },
59
- "repository": {
60
- "type": "git",
61
- "url": "git+https://github.com/keymanapp/keyman.git"
62
- },
63
- "version": "19.0.145-alpha"
64
- }
1
+ {
2
+ "name": "@keymanapp/kmc-copy",
3
+ "description": "Keyman Developer copy module",
4
+ "keywords": [
5
+ "keyboard",
6
+ "keyman",
7
+ "ldml",
8
+ "unicode"
9
+ ],
10
+ "type": "module",
11
+ "exports": {
12
+ ".": "./build/src/main.js"
13
+ },
14
+ "files": [
15
+ "/build/src/"
16
+ ],
17
+ "scripts": {
18
+ "build": "gosh ./build.sh build",
19
+ "lint": "eslint .",
20
+ "test": "gosh ./build.sh test"
21
+ },
22
+ "author": "Marc Durdin <marc@keyman.com> (https://github.com/mcdurdin)",
23
+ "license": "MIT",
24
+ "bugs": {
25
+ "url": "https://github.com/keymanapp/keyman/issues"
26
+ },
27
+ "dependencies": {
28
+ "@keymanapp/common-types": "19.0.151-alpha",
29
+ "@keymanapp/developer-utils": "19.0.151-alpha",
30
+ "@keymanapp/keyman-version": "19.0.151-alpha"
31
+ },
32
+ "devDependencies": {
33
+ "@keymanapp/developer-test-helpers": "19.0.151-alpha",
34
+ "@keymanapp/resources-gosh": "19.0.151-alpha",
35
+ "@types/node": "^20.4.1",
36
+ "@types/semver": "^7.3.12",
37
+ "c8": "^7.12.0",
38
+ "chalk": "^2.4.2",
39
+ "typescript": "^5.4.5"
40
+ },
41
+ "mocha": {
42
+ "spec": "build/test/**/*.tests.js",
43
+ "require": [
44
+ "source-map-support/register"
45
+ ]
46
+ },
47
+ "c8": {
48
+ "all": true,
49
+ "src": [
50
+ "src/"
51
+ ],
52
+ "exclude-after-remap": true,
53
+ "exclude": [
54
+ "test/",
55
+ "src/template/",
56
+ "src/main.ts"
57
+ ]
58
+ },
59
+ "repository": {
60
+ "type": "git",
61
+ "url": "git+https://github.com/keymanapp/keyman.git",
62
+ "directory": "developer/src/kmc-copy"
63
+ },
64
+ "version": "19.0.151-alpha"
65
+ }