@capgo/cli 8.57.0 → 8.59.0

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/README.md CHANGED
@@ -70,6 +70,12 @@ For an app that is already configured, upload a new bundle with:
70
70
  npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel production
71
71
  ```
72
72
 
73
+ Cordova projects without `capacitor.config.*`:
74
+
75
+ ```bash
76
+ npx @capgo/cli@latest bundle upload com.example.app --mode cordova --path www --channel production
77
+ ```
78
+
73
79
  ## CI Upload Example
74
80
 
75
81
  ```bash
@@ -385,6 +391,7 @@ npx @capgo/cli@latest bundle upload
385
391
  Version must be > 0.0.0 and unique. Deleted versions cannot be reused for security.
386
392
  External option: Store only a URL link (useful for apps >200MB or privacy requirements).
387
393
  Capgo never inspects external content. Add encryption for trustless security.
394
+ Cordova example: npx @capgo/cli@latest bundle upload com.example.app --mode cordova --path www --channel production
388
395
 
389
396
  **Example:**
390
397
 
@@ -397,7 +404,8 @@ npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel prod
397
404
  | Param | Type | Description |
398
405
  | -------------- | ------------- | -------------------- |
399
406
  | **-a** | <code>string</code> | API key to link to your account |
400
- | **-p** | <code>string</code> | Path of the folder to upload, if not provided it will use the webDir set in capacitor.config |
407
+ | **--mode** | <code>string</code> | Project framework mode. Use cordova for Cordova apps without capacitor.config (webDir defaults to www) |
408
+ | **-p** | <code>string</code> | Path of the folder to upload, if not provided it will use the webDir set in capacitor.config (or www with --mode cordova) |
401
409
  | **-c** | <code>string</code> | Channel to link to. Use commas for multiple channels, for example production,beta |
402
410
  | **--rollout** | <code>string</code> | Set the uploaded bundle as this channel's rollout target at a percentage from 0 to 100 |
403
411
  | **--rollout-percentage-bps** | <code>string</code> | Set the uploaded bundle rollout percentage in basis points from 0 to 10000 |