@capgo/cli 7.71.0 → 7.71.2
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 -0
- package/dist/index.js +211 -207
- package/dist/package.json +1 -1
- package/dist/src/bundle/compatibility.d.ts +2 -0
- package/dist/src/bundle/releaseType.d.ts +20 -0
- package/dist/src/sdk.js +98 -98
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
29
29
|
- 📦 [Bundle](#bundle)
|
|
30
30
|
- [Upload](#bundle-upload)
|
|
31
31
|
- [Compatibility](#bundle-compatibility)
|
|
32
|
+
- [ReleaseType](#bundle-releaseType)
|
|
32
33
|
- [Delete](#bundle-delete)
|
|
33
34
|
- [List](#bundle-list)
|
|
34
35
|
- [Cleanup](#bundle-cleanup)
|
|
@@ -247,6 +248,31 @@ npx @capgo/cli@latest bundle compatibility com.example.app --channel production
|
|
|
247
248
|
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
248
249
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
249
250
|
|
|
251
|
+
### <a id="bundle-releaseType"></a> 🔹 **ReleaseType**
|
|
252
|
+
|
|
253
|
+
```bash
|
|
254
|
+
npx @capgo/cli@latest bundle releaseType
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
🧭 Print "native" or "OTA" based on compatibility with a channel's latest metadata.
|
|
258
|
+
|
|
259
|
+
**Example:**
|
|
260
|
+
|
|
261
|
+
```bash
|
|
262
|
+
npx @capgo/cli@latest bundle releaseType com.example.app --channel production
|
|
263
|
+
```
|
|
264
|
+
|
|
265
|
+
**Options:**
|
|
266
|
+
|
|
267
|
+
| Param | Type | Description |
|
|
268
|
+
| -------------- | ------------- | -------------------- |
|
|
269
|
+
| **-a,** | <code>string</code> | API key to link to your account |
|
|
270
|
+
| **-c,** | <code>string</code> | Channel to compare against |
|
|
271
|
+
| **--package-json** | <code>string</code> | Paths to package.json files for monorepos (comma-separated) |
|
|
272
|
+
| **--node-modules** | <code>string</code> | Paths to node_modules directories for monorepos (comma-separated) |
|
|
273
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
274
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
275
|
+
|
|
250
276
|
### <a id="bundle-delete"></a> 🗑️ **Delete**
|
|
251
277
|
|
|
252
278
|
**Alias:** `d`
|