@ones-open/cli 0.0.12-21205.1 → 0.0.12

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.
@@ -15,6 +15,10 @@ export declare enum ErrorCode {
15
15
  HOSTED_TOKEN_REQUEST_FAILED = "E13",
16
16
  HOSTED_TOKEN_EMPTY = "E14",
17
17
  INCORRECT_DEV_COMMAND = "E15",
18
- INCORRECT_BUILD_COMMAND = "E16"
18
+ INCORRECT_BUILD_COMMAND = "E16",
19
+ INCORRECT_SPECS_BASE_URL = "E17",
20
+ INCORRECT_SPECS_CHECKSUM = "E18",
21
+ SPECS_FETCH_FAILED = "E19",
22
+ SPECS_CHECKSUM_MISMATCH = "E20"
19
23
  }
20
24
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/common/error/enums.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS;IACnB,aAAa,QAAgC;IAC7C,aAAa,QAAgC;IAC7C,kBAAkB,QAAqC;IACvD,oBAAoB,QAAuC;IAC3D,gBAAgB,QAAQ;IACxB,YAAY,QAAQ;IACpB,kBAAkB,QAAQ;IAC1B,cAAc,QAAQ;IACtB,4BAA4B,QAAQ;IACpC,6BAA6B,QAAQ;IACrC,sBAAsB,QAAQ;IAC9B,oBAAoB,QAAQ;IAC5B,gBAAgB,QAAQ;IACxB,2BAA2B,QAAQ;IACnC,kBAAkB,QAAQ;IAC1B,qBAAqB,QAAQ;IAC7B,uBAAuB,QAAQ;CAChC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/common/error/enums.ts"],"names":[],"mappings":"AAEA,oBAAY,SAAS;IACnB,aAAa,QAAgC;IAC7C,aAAa,QAAgC;IAC7C,kBAAkB,QAAqC;IACvD,oBAAoB,QAAuC;IAC3D,gBAAgB,QAAQ;IACxB,YAAY,QAAQ;IACpB,kBAAkB,QAAQ;IAC1B,cAAc,QAAQ;IACtB,4BAA4B,QAAQ;IACpC,6BAA6B,QAAQ;IACrC,sBAAsB,QAAQ;IAC9B,oBAAoB,QAAQ;IAC5B,gBAAgB,QAAQ;IACxB,2BAA2B,QAAQ;IACnC,kBAAkB,QAAQ;IAC1B,qBAAqB,QAAQ;IAC7B,uBAAuB,QAAQ;IAC/B,wBAAwB,QAAQ;IAChC,wBAAwB,QAAQ;IAChC,kBAAkB,QAAQ;IAC1B,uBAAuB,QAAQ;CAChC"}
@@ -14,6 +14,13 @@ declare const _default: {
14
14
  readonly 'desc.logout': "Log out of your ONES account";
15
15
  readonly 'desc.whoami': "Display the account information of the logged in user";
16
16
  readonly 'desc.app': "Manage app installations";
17
+ readonly 'desc.specs': "Manage ONES app specs resources to build your ONES App";
18
+ readonly 'desc.specs.fetch': "Fetch ONES app specs (download, checksum verify, and extract by default)";
19
+ readonly 'desc.specs.fetch.baseUrl': "Specify the base URL for specs resources";
20
+ readonly 'desc.specs.fetch.dir': "Specify the base directory (specs saved to <dir>/.ones/ones-app-specs)";
21
+ readonly 'desc.specs.fetch.noExtract': "Download only, do not extract archive automatically";
22
+ readonly 'desc.specs.fetch.json': "Output result in JSON format";
23
+ readonly 'desc.specs.fetch.force': "Force fetch even when local checksum is already up to date";
17
24
  readonly 'desc.install': "Install your ONES App";
18
25
  readonly 'desc.enable': "Enable your ONES App";
19
26
  readonly 'desc.disable': "Disable your ONES App";
@@ -40,6 +47,13 @@ declare const _default: {
40
47
  readonly 'error.hostedToken.requestFailed': "Failed to request hosted token";
41
48
  readonly 'error.hostedToken.empty': "Hosted token is empty";
42
49
  readonly 'error.legacy.create.missingProjectPath': "Project path is required";
50
+ readonly 'error.specs.fetch.incorrectBaseURL': "Incorrect specs base URL";
51
+ readonly 'error.specs.fetch.fetchChecksumFailed': "Failed to fetch checksum file from \"{url}\"";
52
+ readonly 'error.specs.fetch.incorrectChecksum': "Invalid checksum content. Please provide a correct base URL that serves \"ones-app-specs.sha256\" in format \"<sha256> <zip-file>\". Received: \"{preview}\"";
53
+ readonly 'error.specs.fetch.downloadFailed': "Failed to download specs archive from \"{url}\"";
54
+ readonly 'error.specs.fetch.extractFailed': "Failed to extract archive \"{file}\": {reason}";
55
+ readonly 'error.specs.fetch.cleanupFailed': "Failed to cleanup archive \"{file}\": {reason}";
56
+ readonly 'error.specs.fetch.verifyChecksumFailed': "SHA256 verification failed, expected \"{expected}\" but got \"{actual}\"";
43
57
  };
44
58
  export default _default;
45
59
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/locales/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2CU"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/common/locales/en/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,wBA2DU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-open/cli",
3
- "version": "0.0.12-21205.1+20e72999",
3
+ "version": "0.0.12",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -65,7 +65,7 @@
65
65
  "chalk": "^5.0.1",
66
66
  "commander": "~9.4.0",
67
67
  "cosmiconfig": "^8.3.6",
68
- "create-ones-app": "0.0.12-21205.1+20e72999",
68
+ "create-ones-app": "0.0.12",
69
69
  "env-paths": "3.0.0",
70
70
  "execa": "^6.1.0",
71
71
  "fs-extra": "^11.3.0",
@@ -79,5 +79,5 @@
79
79
  "ws": "^8.18.3",
80
80
  "zod": "^3.22.2"
81
81
  },
82
- "gitHead": "20e72999688c8cfe49b50959a24812348ad56c8d"
82
+ "gitHead": "291916cc0340fe91aafacd9930285f4a670682fb"
83
83
  }