@capgo/cli 4.11.5 → 4.11.6

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/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [4.11.6](https://github.com/Cap-go/CLI/compare/v4.11.5...v4.11.6) (2024-06-28)
6
+
5
7
  ### [4.11.5](https://github.com/Cap-go/CLI/compare/v4.11.4...v4.11.5) (2024-06-23)
6
8
 
7
9
 
package/dist/index.js CHANGED
@@ -117833,7 +117833,7 @@ var {
117833
117833
  // package.json
117834
117834
  var package_default = {
117835
117835
  name: "@capgo/cli",
117836
- version: "4.11.5",
117836
+ version: "4.11.6",
117837
117837
  description: "A CLI to upload to capgo servers",
117838
117838
  author: "github.com/riderx",
117839
117839
  license: "Apache 2.0",
@@ -120233,6 +120233,9 @@ async function createKey(options, log = true) {
120233
120233
  CapacitorUpdater: {}
120234
120234
  };
120235
120235
  }
120236
+ if (!extConfig.plugins.CapacitorUpdater) {
120237
+ extConfig.plugins.CapacitorUpdater = {};
120238
+ }
120236
120239
  extConfig.plugins.CapacitorUpdater.privateKey = privateKey;
120237
120240
  (0, import_config2.writeConfig)(extConfig, config.app.extConfigFilePath);
120238
120241
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.11.5",
3
+ "version": "4.11.6",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "author": "github.com/riderx",
6
6
  "license": "Apache 2.0",
package/src/key.ts CHANGED
@@ -105,6 +105,11 @@ export async function createKey(options: Options, log = true) {
105
105
  CapacitorUpdater: {},
106
106
  }
107
107
  }
108
+
109
+ if (!extConfig.plugins.CapacitorUpdater) {
110
+ extConfig.plugins.CapacitorUpdater = {}
111
+ }
112
+
108
113
  extConfig.plugins.CapacitorUpdater.privateKey = privateKey
109
114
  // console.log('extConfig', extConfig)
110
115
  writeConfig(extConfig, config.app.extConfigFilePath)