@capgo/cli 8.88.0 → 8.90.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 +868 -856
- package/dist/notify-app-ready-worker.js +166 -160
- package/dist/onboarding-worker.js +622 -340
- package/dist/package.json +5 -4
- package/dist/src/app/todo.d.ts +9 -1
- package/dist/src/build/build-env.d.ts +8 -0
- package/dist/src/build/output-record.d.ts +5 -0
- package/dist/src/onboarding/background-check.d.ts +1 -0
- package/dist/src/onboarding/background-workers.d.ts +3 -0
- package/dist/src/onboarding/background.d.ts +3 -2
- package/dist/src/onboarding/setup-diagnostics.d.ts +6 -0
- package/dist/src/onboarding/setup-notice-evaluation.d.ts +4 -0
- package/dist/src/onboarding/setup-notice-policy.d.ts +3 -0
- package/dist/src/onboarding/setup-notices.d.ts +25 -0
- package/dist/src/onboarding/trial-notice-state.d.ts +2 -0
- package/dist/src/schemas/build.d.ts +2 -1
- package/dist/src/schemas/onboarding.d.ts +2 -2
- package/dist/src/schemas/sdk.d.ts +2 -2
- package/dist/src/sdk.js +409 -408
- package/dist/src/utils.d.ts +16 -14
- package/dist/updater-installed-worker.js +142 -136
- package/package.json +5 -4
- package/skills/usage/SKILL.md +5 -1
package/README.md
CHANGED
|
@@ -1712,10 +1712,11 @@ Examples:
|
|
|
1712
1712
|
| **--ios-testflight-groups** | <code>string</code> | iOS: optional comma-separated TestFlight external group names or IDs for external beta distribution. |
|
|
1713
1713
|
| **--ios-automatic-release** | <code>boolean</code> | iOS: automatically release the App Store version after Apple approval. Default is manual release. |
|
|
1714
1714
|
| **--no-ios-automatic-release** | <code>boolean</code> | iOS: keep the App Store version waiting for manual release after Apple approval. |
|
|
1715
|
-
| **--output-upload** | <code>boolean</code> | Upload the finished IPA/APK/AAB to Capgo storage and print a time-limited download link (and QR). Use with --no-playstore-upload (Android) or --ios-distribution ad_hoc (iOS) when you only need the artifact and are not publishing to the store yet. Precedence: CLI > env > saved credentials |
|
|
1715
|
+
| **--output-upload** | <code>boolean</code> | Upload the finished IPA/APK/AAB to Capgo storage and print a time-limited download link (and QR), plus a link to the debug symbols (iOS dSYMs, Android mapping.txt) for crash reporters. Use with --no-playstore-upload (Android) or --ios-distribution ad_hoc (iOS) when you only need the artifact and are not publishing to the store yet. Precedence: CLI > env > saved credentials |
|
|
1716
1716
|
| **--no-output-upload** | <code>boolean</code> | Do not upload the finished IPA/APK/AAB to Capgo storage (no download link). Store upload still happens when Play/TestFlight credentials are configured. Precedence: CLI > env > saved credentials |
|
|
1717
1717
|
| **--output-retention** | <code>string</code> | Override output link TTL for this build only (1h to 7d). Examples: 1h, 6h, 2d. Precedence: CLI > env > saved credentials |
|
|
1718
|
-
| **--
|
|
1718
|
+
| **--build-env** | <code>string</code> | Pass an env var to the cloud build (repeatable). KEY alone takes the value from your environment, so CI secrets stay off the command line. Sent like other build credentials, never logged; Gradle and Xcode build phases see it (e.g. SENTRY_AUTH_TOKEN for the Sentry Gradle plugin). Also read from CAPGO_BUILD_ENV (comma-separated names). |
|
|
1719
|
+
| **--output-record** | <code>string</code> | After a successful build, write a JSON record (jobId, status, outputUrl, symbolsUrl, qrCodeAscii, qrCodePngPath, finishedAt) to <path>. symbolsUrl is the iOS dSYMs zip or Android mapping.txt download link (with --output-upload) for crash reporters like Sentry. A PNG QR code is also written next to it as <path>.qr.png. Read fields back with `build last-output`. |
|
|
1719
1720
|
| **--skip-build-number-bump** | <code>boolean</code> | Skip automatic build number/version code incrementing. Uses whatever version is already in the project files. |
|
|
1720
1721
|
| **--no-skip-build-number-bump** | <code>boolean</code> | Override saved credentials to re-enable automatic build number incrementing for this build only. |
|
|
1721
1722
|
| **--skip-marketing-version-bump** | <code>boolean</code> | Skip automatic marketing version (CFBundleShortVersionString / versionName) bump when the app is already released. |
|
|
@@ -1806,6 +1807,7 @@ to a PR or issue.
|
|
|
1806
1807
|
Examples:
|
|
1807
1808
|
npx @capgo/cli@latest build last-output --path /tmp/build.json
|
|
1808
1809
|
npx @capgo/cli@latest build last-output --path /tmp/build.json --field outputUrl
|
|
1810
|
+
npx @capgo/cli@latest build last-output --path /tmp/build.json --field symbolsUrl
|
|
1809
1811
|
npx @capgo/cli@latest build last-output --path /tmp/build.json --qr
|
|
1810
1812
|
|
|
1811
1813
|
**Options:**
|
|
@@ -1813,7 +1815,7 @@ Examples:
|
|
|
1813
1815
|
| Param | Type | Description |
|
|
1814
1816
|
| -------------- | ------------- | -------------------- |
|
|
1815
1817
|
| **--path** | <code>string</code> | Path to the JSON record written by --output-record (required) |
|
|
1816
|
-
| **--field** | <code>string</code> | Print a single field (one of: jobId, appId, platform, buildMode, status, outputUrl, qrCodeAscii, qrCodePngPath, finishedAt, schemaVersion) |
|
|
1818
|
+
| **--field** | <code>string</code> | Print a single field (one of: jobId, appId, platform, buildMode, status, outputUrl, symbolsUrl, qrCodeAscii, qrCodePngPath, finishedAt, schemaVersion) |
|
|
1817
1819
|
| **--qr** | <code>boolean</code> | Print the rendered ASCII QR code (shortcut for --field qrCodeAscii) |
|
|
1818
1820
|
|
|
1819
1821
|
### <a id="build-credentials"></a> 🔹 **Credentials**
|