@capgo/cli 8.25.1 → 8.25.3
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 +23 -0
- package/dist/index.js +497 -495
- package/dist/package.json +3 -2
- package/dist/src/build/ios-marketing-version.d.ts +20 -0
- package/dist/src/schemas/build.d.ts +1 -0
- package/dist/src/sdk.js +231 -231
- package/dist/src/support/support-upload.d.ts +1 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -155,6 +155,7 @@ Join the [discord](https://discord.gg/VnYRvBfgA6) to get help.
|
|
|
155
155
|
- [Needed](#build-needed)
|
|
156
156
|
- [Init](#build-init)
|
|
157
157
|
- [Request](#build-request)
|
|
158
|
+
- [Sync-ios-version](#build-sync-ios-version)
|
|
158
159
|
- [Prescan](#build-prescan)
|
|
159
160
|
- [Last-output](#build-last-output)
|
|
160
161
|
- [Credentials](#build-credentials)
|
|
@@ -1424,6 +1425,7 @@ npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
|
1424
1425
|
| **--output-record** | <code>string</code> | After a successful build, write a JSON record (jobId, status, outputUrl, qrCodeAscii, qrCodePngPath, finishedAt) to <path>. A PNG QR code is also written next to it as <path>.qr.png. Read fields back with `build last-output`. |
|
|
1425
1426
|
| **--skip-build-number-bump** | <code>boolean</code> | Skip automatic build number/version code incrementing. Uses whatever version is already in the project files. |
|
|
1426
1427
|
| **--no-skip-build-number-bump** | <code>boolean</code> | Override saved credentials to re-enable automatic build number incrementing for this build only. |
|
|
1428
|
+
| **--sync-ios-version** | <code>boolean</code> | iOS: sync Xcode MARKETING_VERSION from package.json before uploading the project. |
|
|
1427
1429
|
| **--ai-analytics** | <code>boolean</code> | On build failure, send logs to Capgo AI for diagnosis. In interactive terminals this skips the upfront confirmation; in CI this auto-uploads and prints the analysis to stderr. |
|
|
1428
1430
|
| **--no-prescan** | <code>boolean</code> | Skip the automatic pre-build scan |
|
|
1429
1431
|
| **--prescan-ignore-fatal** | <code>boolean</code> | Run the pre-build scan but never block the build (report only) |
|
|
@@ -1435,6 +1437,27 @@ npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
|
1435
1437
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
1436
1438
|
| **--verbose** | <code>boolean</code> | Enable verbose output with detailed logging |
|
|
1437
1439
|
|
|
1440
|
+
### <a id="build-sync-ios-version"></a> 🔹 **Sync-ios-version**
|
|
1441
|
+
|
|
1442
|
+
```bash
|
|
1443
|
+
npx @capgo/cli@latest build sync-ios-version
|
|
1444
|
+
```
|
|
1445
|
+
|
|
1446
|
+
Sync the local iOS Xcode MARKETING_VERSION from package.json.
|
|
1447
|
+
|
|
1448
|
+
**Example:**
|
|
1449
|
+
|
|
1450
|
+
```bash
|
|
1451
|
+
npx @capgo/cli@latest build sync-ios-version --path .
|
|
1452
|
+
```
|
|
1453
|
+
|
|
1454
|
+
**Options:**
|
|
1455
|
+
|
|
1456
|
+
| Param | Type | Description |
|
|
1457
|
+
| -------------- | ------------- | -------------------- |
|
|
1458
|
+
| **--path** | <code>string</code> | Path to the project directory (default: current directory) |
|
|
1459
|
+
| **--check** | <code>boolean</code> | Check only; exit non-zero when MARKETING_VERSION is out of sync |
|
|
1460
|
+
|
|
1438
1461
|
### <a id="build-prescan"></a> 🔹 **Prescan**
|
|
1439
1462
|
|
|
1440
1463
|
```bash
|