@capgo/cli 7.76.7 → 7.77.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 +24 -1
- package/dist/index.js +343 -338
- package/dist/package.json +1 -1
- package/dist/src/app/updateProbe.d.ts +43 -0
- package/dist/src/probe.d.ts +20 -0
- package/dist/src/schemas/sdk.d.ts +7 -0
- package/dist/src/sdk.d.ts +7 -2
- package/dist/src/sdk.js +274 -274
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -69,6 +69,7 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
69
69
|
- 🔹 [Build](#build)
|
|
70
70
|
- [Request](#build-request)
|
|
71
71
|
- [Credentials](#build-credentials)
|
|
72
|
+
- 🔹 [Probe](#probe)
|
|
72
73
|
- 🔹 [Mcp](#mcp)
|
|
73
74
|
|
|
74
75
|
## <a id="init"></a> 🚀 **Init**
|
|
@@ -212,7 +213,6 @@ npx @capgo/cli@latest bundle upload com.example.app --path ./dist --channel prod
|
|
|
212
213
|
| **--encrypted-checksum** | <code>string</code> | An encrypted checksum (signature). Used only when uploading an external bundle. |
|
|
213
214
|
| **--auto-set-bundle** | <code>boolean</code> | Set the bundle in capacitor.config.json |
|
|
214
215
|
| **--dry-upload** | <code>boolean</code> | Dry upload the bundle process, mean it will not upload the files but add the row in database (Used by Capgo for internal testing) |
|
|
215
|
-
| **--show-replication-progress** | <code>string</code> | Show Capgo global replication progress after upload (yes/false) so you can confirm rollout across all regions. If omitted, you'll be prompted interactively. |
|
|
216
216
|
| **--package-json** | <code>string</code> | Paths to package.json files for monorepos (comma-separated) |
|
|
217
217
|
| **--node-modules** | <code>string</code> | Paths to node_modules directories for monorepos (comma-separated) |
|
|
218
218
|
| **--encrypt-partial** | <code>boolean</code> | Encrypt delta update files (auto-enabled for updater > 6.14.4) |
|
|
@@ -1155,6 +1155,29 @@ Manage build credentials stored locally on your machine.
|
|
|
1155
1155
|
Android setup: https://capgo.app/docs/cli/cloud-build/android/
|
|
1156
1156
|
|
|
1157
1157
|
|
|
1158
|
+
## <a id="probe"></a> 🔹 **Probe**
|
|
1159
|
+
|
|
1160
|
+
```bash
|
|
1161
|
+
npx @capgo/cli@latest probe
|
|
1162
|
+
```
|
|
1163
|
+
|
|
1164
|
+
🔎 Probe the Capgo updates endpoint to check if an update is available for your app.
|
|
1165
|
+
Sends a single request to the updates endpoint using your project's capacitor config
|
|
1166
|
+
and reports whether an update would be delivered, or explains why not.
|
|
1167
|
+
|
|
1168
|
+
**Example:**
|
|
1169
|
+
|
|
1170
|
+
```bash
|
|
1171
|
+
npx @capgo/cli@latest probe --platform ios
|
|
1172
|
+
```
|
|
1173
|
+
|
|
1174
|
+
## <a id="options"></a> Options
|
|
1175
|
+
|
|
1176
|
+
| Param | Type | Description |
|
|
1177
|
+
| -------------- | ------------- | -------------------- |
|
|
1178
|
+
| **--platform** | <code>string</code> | Platform to probe: ios or android |
|
|
1179
|
+
|
|
1180
|
+
|
|
1158
1181
|
## <a id="mcp"></a> 🔹 **Mcp**
|
|
1159
1182
|
|
|
1160
1183
|
```bash
|