@capgo/cli 7.26.2 → 7.27.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 +62 -0
- package/dist/index.js +267 -186
- package/dist/package.json +2 -1
- package/dist/src/api/channels.d.ts +22 -2
- package/dist/src/api/channels.d.ts.map +1 -1
- package/dist/src/build/credentials-command.d.ts +40 -0
- package/dist/src/build/credentials-command.d.ts.map +1 -0
- package/dist/src/build/credentials.d.ts +63 -0
- package/dist/src/build/credentials.d.ts.map +1 -0
- package/dist/src/build/request.d.ts +100 -0
- package/dist/src/build/request.d.ts.map +1 -0
- package/dist/src/bundle/partial.d.ts.map +1 -1
- package/dist/src/sdk.d.ts +110 -0
- package/dist/src/sdk.d.ts.map +1 -1
- package/dist/src/sdk.js +185 -181
- package/dist/src/types/supabase.types.d.ts +11 -1
- package/dist/src/types/supabase.types.d.ts.map +1 -1
- package/dist/src/utils.d.ts +11 -1
- package/dist/src/utils.d.ts.map +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -59,6 +59,9 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
59
59
|
- [Add](#organisation-add)
|
|
60
60
|
- [Set](#organisation-set)
|
|
61
61
|
- [Delete](#organisation-delete)
|
|
62
|
+
- 🔹 [Build](#build)
|
|
63
|
+
- [Request](#build-request)
|
|
64
|
+
- [Credentials](#build-credentials)
|
|
62
65
|
|
|
63
66
|
## <a id="init"></a> 🚀 **Init**
|
|
64
67
|
|
|
@@ -885,6 +888,65 @@ npx @capgo/cli@latest organisation delete ORG_ID
|
|
|
885
888
|
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
886
889
|
|
|
887
890
|
|
|
891
|
+
## <a id="build"></a> 🔹 **Build**
|
|
892
|
+
|
|
893
|
+
🏗️ Manage native iOS/Android builds through Capgo Cloud.
|
|
894
|
+
⚠️ This feature is currently in PRIVATE BETA and cannot be used by anyone at this time.
|
|
895
|
+
🔒 SECURITY GUARANTEE:
|
|
896
|
+
Build credentials are NEVER stored on Capgo servers.
|
|
897
|
+
They are used only during the build and auto-deleted after (max 24 hours).
|
|
898
|
+
Builds sent directly to app stores - Capgo keeps nothing.
|
|
899
|
+
📋 BEFORE BUILDING:
|
|
900
|
+
Save your credentials first:
|
|
901
|
+
npx @capgo/cli build credentials save --platform ios
|
|
902
|
+
npx @capgo/cli build credentials save --platform android
|
|
903
|
+
|
|
904
|
+
### <a id="build-request"></a> 🔹 **Request**
|
|
905
|
+
|
|
906
|
+
```bash
|
|
907
|
+
npx @capgo/cli@latest build request
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
Request a native build from Capgo Cloud.
|
|
911
|
+
This command will zip your project directory and upload it to Capgo for building.
|
|
912
|
+
The build will be processed and sent directly to app stores.
|
|
913
|
+
🔒 SECURITY: Credentials are never stored on Capgo servers. They are auto-deleted
|
|
914
|
+
after build completion. Builds sent directly to stores - Capgo keeps nothing.
|
|
915
|
+
📋 PREREQUISITE: Save credentials first with:
|
|
916
|
+
npx @capgo/cli build credentials save --platform <ios|android>
|
|
917
|
+
|
|
918
|
+
**Example:**
|
|
919
|
+
|
|
920
|
+
```bash
|
|
921
|
+
npx @capgo/cli@latest build request com.example.app --platform ios --path .
|
|
922
|
+
```
|
|
923
|
+
|
|
924
|
+
**Options:**
|
|
925
|
+
|
|
926
|
+
| Param | Type | Description |
|
|
927
|
+
| -------------- | ------------- | -------------------- |
|
|
928
|
+
| **--path** | <code>string</code> | Path to the project directory to build (default: current directory) |
|
|
929
|
+
| **--platform** | <code>string</code> | Target platform: ios or android (required) |
|
|
930
|
+
| **--build-mode** | <code>string</code> | Build mode: debug or release (default: release) |
|
|
931
|
+
| **--build-config** | <code>string</code> | Additional build configuration as JSON string |
|
|
932
|
+
| **-a,** | <code>string</code> | API key to link to your account |
|
|
933
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
934
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
935
|
+
|
|
936
|
+
### <a id="build-credentials"></a> 🔹 **Credentials**
|
|
937
|
+
|
|
938
|
+
```bash
|
|
939
|
+
npx @capgo/cli@latest build credentials
|
|
940
|
+
```
|
|
941
|
+
|
|
942
|
+
Manage build credentials stored locally on your machine.
|
|
943
|
+
🔒 SECURITY:
|
|
944
|
+
- Credentials saved to ~/.capgo/credentials.json (local machine only)
|
|
945
|
+
- When building, sent to Capgo but NEVER stored permanently
|
|
946
|
+
- Auto-deleted from Capgo after build (max 24 hours)
|
|
947
|
+
- Builds sent directly to app stores - Capgo keeps nothing
|
|
948
|
+
|
|
949
|
+
|
|
888
950
|
|
|
889
951
|
<!-- AUTO-GENERATED-DOCS-END -->
|
|
890
952
|
|