@capgo/cli 4.0.7 → 4.0.8

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,13 @@
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.0.8](https://github.com/Cap-go/CLI/compare/v4.0.7...v4.0.8) (2024-02-19)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * prevent usage of default appId ([8fa2002](https://github.com/Cap-go/CLI/commit/8fa2002f2913f84e52390bcf9cf147a954573867))
11
+
5
12
  ### [4.0.7](https://github.com/Cap-go/CLI/compare/v4.0.6...v4.0.7) (2024-02-18)
6
13
 
7
14
 
package/dist/index.js CHANGED
@@ -61661,7 +61661,7 @@ var import_get_latest_version = __toESM(require_src3());
61661
61661
  // package.json
61662
61662
  var package_default = {
61663
61663
  name: "@capgo/cli",
61664
- version: "4.0.7",
61664
+ version: "4.0.8",
61665
61665
  description: "A CLI to upload to capgo servers",
61666
61666
  main: "dist/index.js",
61667
61667
  bin: {
@@ -62944,6 +62944,9 @@ var checkAppExistsAndHasPermissionErr = async (supabase, apikey, appid, shouldEx
62944
62944
  }
62945
62945
  if (res && !perm) {
62946
62946
  f2.error(`App ${appid} exist and you don't have permission to access it`);
62947
+ if (appid === "io.ionic.starter") {
62948
+ f2.info("Modify your appid in your capacitor.config.json file to something unique, this is a default appid for ionic starter app");
62949
+ }
62947
62950
  program.error("");
62948
62951
  }
62949
62952
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
4
4
  "description": "A CLI to upload to capgo servers",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/api/app.ts CHANGED
@@ -26,6 +26,9 @@ export const checkAppExistsAndHasPermissionErr = async (supabase: SupabaseClient
26
26
  }
27
27
  if (res && !perm) {
28
28
  p.log.error(`App ${appid} exist and you don't have permission to access it`);
29
+ if (appid === 'io.ionic.starter') {
30
+ p.log.info('Modify your appid in your capacitor.config.json file to something unique, this is a default appid for ionic starter app');
31
+ }
29
32
  program.error('');
30
33
  }
31
34
  }