@capgo/cli 8.57.0 → 8.58.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 +9 -1
- package/dist/index.js +718 -716
- package/dist/notify-app-ready-worker.js +52 -52
- package/dist/onboarding-worker.js +83 -83
- package/dist/package.json +3 -2
- package/dist/src/bundle/upload-config.d.ts +14 -0
- package/dist/src/cordova/project.d.ts +9 -0
- package/dist/src/framework/mode.d.ts +2 -0
- package/dist/src/mcp/tool-schemas.d.ts +3 -0
- package/dist/src/schemas/bundle.d.ts +3 -0
- package/dist/src/schemas/sdk.d.ts +3 -0
- package/dist/src/sdk.js +335 -334
- package/dist/src/utils.d.ts +1 -0
- package/dist/updater-installed-worker.js +75 -75
- package/package.json +3 -2
- package/skills/release-management/SKILL.md +2 -0
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
|
-
|
|
|
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 |
|