@capgo/cli 8.37.3 → 8.39.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 +5 -3
- package/dist/index.js +678 -665
- package/dist/package.json +4 -2
- package/dist/src/build/android-version.d.ts +12 -0
- package/dist/src/build/ios-marketing-version.d.ts +1 -0
- package/dist/src/init/browser-login.d.ts +27 -0
- package/dist/src/init/command.d.ts +1 -0
- package/dist/src/init/prompts.d.ts +1 -0
- package/dist/src/init/runtime.d.ts +2 -1
- package/dist/src/login.d.ts +13 -0
- package/dist/src/schemas/build.d.ts +1 -0
- package/dist/src/sdk.js +360 -349
- package/dist/src/utils.d.ts +1 -7
- package/package.json +4 -2
- package/skills/native-builds/SKILL.md +1 -0
package/README.md
CHANGED
|
@@ -1465,7 +1465,8 @@ npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
|
1465
1465
|
| **--no-skip-build-number-bump** | <code>boolean</code> | Override saved credentials to re-enable automatic build number incrementing for this build only. |
|
|
1466
1466
|
| **--skip-marketing-version-bump** | <code>boolean</code> | Skip automatic marketing version (CFBundleShortVersionString / versionName) bump when the app is already released. |
|
|
1467
1467
|
| **--no-skip-marketing-version-bump** | <code>boolean</code> | Override saved credentials to re-enable automatic marketing version bump for this build only. |
|
|
1468
|
-
| **--sync-ios-version** | <code>boolean</code> | iOS: sync
|
|
1468
|
+
| **--sync-ios-version** | <code>boolean</code> | iOS: sync the app version from package.json before uploading the project. Updates MARKETING_VERSION or CFBundleShortVersionString based on the Xcode Info.plist configuration. |
|
|
1469
|
+
| **--sync-android-version** | <code>boolean</code> | Android: sync versionName in android/app/build.gradle from package.json before uploading the project. Fails unless versionName is a standalone quoted string literal. |
|
|
1469
1470
|
| **--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. |
|
|
1470
1471
|
| **--no-prescan** | <code>boolean</code> | Skip the automatic pre-build scan |
|
|
1471
1472
|
| **--prescan-ignore-fatal** | <code>boolean</code> | Run the pre-build scan but never block the build (report only) |
|
|
@@ -1485,7 +1486,8 @@ npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
|
1485
1486
|
npx @capgo/cli@latest build sync-ios-version
|
|
1486
1487
|
```
|
|
1487
1488
|
|
|
1488
|
-
Sync the local iOS
|
|
1489
|
+
Sync the local iOS app version from package.json.
|
|
1490
|
+
Updates MARKETING_VERSION or CFBundleShortVersionString based on the Xcode Info.plist configuration.
|
|
1489
1491
|
|
|
1490
1492
|
**Example:**
|
|
1491
1493
|
|
|
@@ -1498,7 +1500,7 @@ npx @capgo/cli@latest build sync-ios-version --path .
|
|
|
1498
1500
|
| Param | Type | Description |
|
|
1499
1501
|
| -------------- | ------------- | -------------------- |
|
|
1500
1502
|
| **--path** | <code>string</code> | Path to the project directory (default: current directory) |
|
|
1501
|
-
| **--check** | <code>boolean</code> | Check only; exit non-zero when MARKETING_VERSION is out of sync |
|
|
1503
|
+
| **--check** | <code>boolean</code> | Check only; exit non-zero when MARKETING_VERSION or CFBundleShortVersionString is out of sync |
|
|
1502
1504
|
|
|
1503
1505
|
### <a id="build-prescan"></a> 🔹 **Prescan**
|
|
1504
1506
|
|