@capgo/cli 7.76.8 → 7.78.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 +26 -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/build.d.ts +12 -0
- package/dist/src/schemas/sdk.d.ts +9 -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) |
|
|
@@ -1125,6 +1125,8 @@ npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
|
1125
1125
|
| **--apple-key-content** | <code>string</code> | iOS: Base64-encoded App Store Connect API key (.p8) |
|
|
1126
1126
|
| **--apple-profile-name** | <code>string</code> | iOS: Provisioning profile name |
|
|
1127
1127
|
| **--app-store-connect-team-id** | <code>string</code> | iOS: App Store Connect Team ID |
|
|
1128
|
+
| **--ios-scheme** | <code>string</code> | iOS: Xcode scheme to build (default: App) |
|
|
1129
|
+
| **--ios-target** | <code>string</code> | iOS: Xcode target for reading build settings (default: same as scheme) |
|
|
1128
1130
|
| **--android-keystore-file** | <code>string</code> | Android: Base64-encoded keystore file |
|
|
1129
1131
|
| **--keystore-key-alias** | <code>string</code> | Android: Keystore key alias |
|
|
1130
1132
|
| **--keystore-key-password** | <code>string</code> | Android: Keystore key password |
|
|
@@ -1155,6 +1157,29 @@ Manage build credentials stored locally on your machine.
|
|
|
1155
1157
|
Android setup: https://capgo.app/docs/cli/cloud-build/android/
|
|
1156
1158
|
|
|
1157
1159
|
|
|
1160
|
+
## <a id="probe"></a> 🔹 **Probe**
|
|
1161
|
+
|
|
1162
|
+
```bash
|
|
1163
|
+
npx @capgo/cli@latest probe
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
🔎 Probe the Capgo updates endpoint to check if an update is available for your app.
|
|
1167
|
+
Sends a single request to the updates endpoint using your project's capacitor config
|
|
1168
|
+
and reports whether an update would be delivered, or explains why not.
|
|
1169
|
+
|
|
1170
|
+
**Example:**
|
|
1171
|
+
|
|
1172
|
+
```bash
|
|
1173
|
+
npx @capgo/cli@latest probe --platform ios
|
|
1174
|
+
```
|
|
1175
|
+
|
|
1176
|
+
## <a id="options"></a> Options
|
|
1177
|
+
|
|
1178
|
+
| Param | Type | Description |
|
|
1179
|
+
| -------------- | ------------- | -------------------- |
|
|
1180
|
+
| **--platform** | <code>string</code> | Platform to probe: ios or android |
|
|
1181
|
+
|
|
1182
|
+
|
|
1158
1183
|
## <a id="mcp"></a> 🔹 **Mcp**
|
|
1159
1184
|
|
|
1160
1185
|
```bash
|