@supernovaio/cli-next 2.0.7 → 2.0.9

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.
@@ -5,4 +5,11 @@ export declare enum Environment {
5
5
  production = "production",
6
6
  staging = "staging"
7
7
  }
8
+ export declare enum ErrorCode {
9
+ designSystemDescriptionFailed = "ERR_DESIGN_SYSTEM_DESCRIPTION_FAILED",
10
+ documentationPublishingFailed = "ERR_DOCUMENTATION_PUBLISHING_FAILED",
11
+ exportFailed = "ERR_EXPORT_FAILED",
12
+ tokenSyncFailed = "ERR_TOKEN_SYNC_FAILED",
13
+ workspaceDescriptionFailed = "ERR_WORKSPACE_DESCRIPTION_FAILED"
14
+ }
8
15
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AA+BA,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AA+BA,oBAAY,WAAW;IACrB,IAAI,SAAS;IACb,WAAW,gBAAgB;IAC3B,KAAK,UAAU;IACf,UAAU,eAAe;IACzB,OAAO,YAAY;CACpB;AAED,oBAAY,SAAS;IACnB,6BAA6B,yCAAyC;IACtE,6BAA6B,wCAAwC;IACrE,YAAY,sBAAsB;IAClC,eAAe,0BAA0B;IACzC,0BAA0B,qCAAqC;CAChE"}
@@ -6,4 +6,12 @@ export var Environment;
6
6
  Environment["production"] = "production";
7
7
  Environment["staging"] = "staging";
8
8
  })(Environment || (Environment = {}));
9
+ export var ErrorCode;
10
+ (function (ErrorCode) {
11
+ ErrorCode["designSystemDescriptionFailed"] = "ERR_DESIGN_SYSTEM_DESCRIPTION_FAILED";
12
+ ErrorCode["documentationPublishingFailed"] = "ERR_DOCUMENTATION_PUBLISHING_FAILED";
13
+ ErrorCode["exportFailed"] = "ERR_EXPORT_FAILED";
14
+ ErrorCode["tokenSyncFailed"] = "ERR_TOKEN_SYNC_FAILED";
15
+ ErrorCode["workspaceDescriptionFailed"] = "ERR_WORKSPACE_DESCRIPTION_FAILED";
16
+ })(ErrorCode || (ErrorCode = {}));
9
17
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AA+BA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,0CAA2B,CAAA;IAC3B,8BAAe,CAAA;IACf,wCAAyB,CAAA;IACzB,kCAAmB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB","sourcesContent":["// //\n// // types.ts\n// // Supernova CLI\n// //\n// // Created by Jiri Trecak.\n// // Copyright © Supernova.io. All rights reserved.\n// //\n\n// // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---\n// // MARK: - Imports\n\n// // eslint-disable-next-line n/no-extraneous-import\n// import * as pulsar from \"@supernova-studio/pulsar-language\"\n\n// // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---\n// // MARK: - Types\n\n// export interface ExportConfiguration {\n// accessToken: string\n// apiUrl: string\n// apiVersion?: string\n// brandId?: string\n// debugMode?: boolean\n// designSystemId: string\n// designSystemVersionId: string\n// exportPath: string\n// logger: pulsar.PLLogger\n// proxyUrl?: string\n// themeId?: string\n// }\n\nexport enum Environment {\n demo = \"demo\",\n development = \"development\",\n local = \"local\",\n production = \"production\",\n staging = \"staging\",\n}\n\n// export enum ErrorCode {\n// designSystemDescriptionFailed = \"ERR_DESIGN_SYSTEM_DESCRIPTION_FAILED\",\n// documentationPublishingFailed = \"ERR_DOCUMENTATION_PUBLISHING_FAILED\",\n// exportFailed = \"ERR_EXPORT_FAILED\",\n// tokenSyncFailed = \"ERR_TOKEN_SYNC_FAILED\",\n// workspaceDescriptionFailed = \"ERR_WORKSPACE_DESCRIPTION_FAILED\",\n// }\n"]}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types/types.ts"],"names":[],"mappings":"AA+BA,MAAM,CAAN,IAAY,WAMX;AAND,WAAY,WAAW;IACrB,4BAAa,CAAA;IACb,0CAA2B,CAAA;IAC3B,8BAAe,CAAA;IACf,wCAAyB,CAAA;IACzB,kCAAmB,CAAA;AACrB,CAAC,EANW,WAAW,KAAX,WAAW,QAMtB;AAED,MAAM,CAAN,IAAY,SAMX;AAND,WAAY,SAAS;IACnB,mFAAsE,CAAA;IACtE,kFAAqE,CAAA;IACrE,+CAAkC,CAAA;IAClC,sDAAyC,CAAA;IACzC,4EAA+D,CAAA;AACjE,CAAC,EANW,SAAS,KAAT,SAAS,QAMpB","sourcesContent":["// //\n// // types.ts\n// // Supernova CLI\n// //\n// // Created by Jiri Trecak.\n// // Copyright © Supernova.io. All rights reserved.\n// //\n\n// // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---\n// // MARK: - Imports\n\n// // eslint-disable-next-line n/no-extraneous-import\n// import * as pulsar from \"@supernova-studio/pulsar-language\"\n\n// // --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---\n// // MARK: - Types\n\n// export interface ExportConfiguration {\n// accessToken: string\n// apiUrl: string\n// apiVersion?: string\n// brandId?: string\n// debugMode?: boolean\n// designSystemId: string\n// designSystemVersionId: string\n// exportPath: string\n// logger: pulsar.PLLogger\n// proxyUrl?: string\n// themeId?: string\n// }\n\nexport enum Environment {\n demo = \"demo\",\n development = \"development\",\n local = \"local\",\n production = \"production\",\n staging = \"staging\",\n}\n\nexport enum ErrorCode {\n designSystemDescriptionFailed = \"ERR_DESIGN_SYSTEM_DESCRIPTION_FAILED\",\n documentationPublishingFailed = \"ERR_DOCUMENTATION_PUBLISHING_FAILED\",\n exportFailed = \"ERR_EXPORT_FAILED\",\n tokenSyncFailed = \"ERR_TOKEN_SYNC_FAILED\",\n workspaceDescriptionFailed = \"ERR_WORKSPACE_DESCRIPTION_FAILED\",\n}\n"]}
@@ -530,5 +530,5 @@
530
530
  ]
531
531
  }
532
532
  },
533
- "version": "2.0.7"
533
+ "version": "2.0.9"
534
534
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@supernovaio/cli-next",
3
3
  "description": "Supernova.io Command Line Interface",
4
- "version": "2.0.7",
4
+ "version": "2.0.9",
5
5
  "author": "Supernova.io",
6
6
  "bin": {
7
- "supernova": "./bin/run"
7
+ "supernova-next": "./bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/Supernova-Studio/cli/issues",
10
10
  "dependencies": {
@@ -92,8 +92,8 @@
92
92
  "types": "dist/index.d.ts",
93
93
  "type": "module",
94
94
  "oclif": {
95
- "bin": "supernova",
96
- "dirname": "supernova",
95
+ "bin": "supernova-next",
96
+ "dirname": "supernova-next",
97
97
  "commands": "./dist/commands",
98
98
  "plugins": [
99
99
  "@oclif/plugin-help",