@capgo/cli 7.97.4 → 7.98.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 +28 -1
- package/dist/index.js +372 -368
- package/dist/package.json +3 -2
- package/dist/src/build/needed.d.ts +28 -0
- package/dist/src/build/request.d.ts +1 -0
- package/dist/src/schemas/build.d.ts +10 -0
- package/dist/src/sdk.js +1 -1
- package/package.json +3 -2
- package/skills/native-builds/SKILL.md +11 -0
- package/skills/usage/SKILL.md +1 -0
package/README.md
CHANGED
|
@@ -71,6 +71,7 @@ Follow the documentation here: https://capacitorjs.com/docs/getting-started/
|
|
|
71
71
|
- [Set](#organisation-set)
|
|
72
72
|
- [Delete](#organisation-delete)
|
|
73
73
|
- 🔹 [Build](#build)
|
|
74
|
+
- [Needed](#build-needed)
|
|
74
75
|
- [Init](#build-init)
|
|
75
76
|
- [Request](#build-request)
|
|
76
77
|
- [Credentials](#build-credentials)
|
|
@@ -1146,7 +1147,7 @@ npx @capgo/cli@latest organisation delete
|
|
|
1146
1147
|
## <a id="build"></a> 🔹 **Build**
|
|
1147
1148
|
|
|
1148
1149
|
🏗️ Manage native iOS/Android builds through Capgo Cloud.
|
|
1149
|
-
⚠️
|
|
1150
|
+
⚠️ Native cloud build requests are currently in LIMITED BETA. Access is restricted.
|
|
1150
1151
|
🔒 SECURITY GUARANTEE:
|
|
1151
1152
|
Build credentials are NEVER stored on Capgo servers.
|
|
1152
1153
|
They are used only during the build and auto-deleted after.
|
|
@@ -1156,6 +1157,32 @@ npx @capgo/cli@latest organisation delete
|
|
|
1156
1157
|
npx @capgo/cli build credentials save --appId <your-app-id> --platform ios
|
|
1157
1158
|
npx @capgo/cli build credentials save --appId <your-app-id> --platform android
|
|
1158
1159
|
|
|
1160
|
+
### <a id="build-needed"></a> 🔹 **Needed**
|
|
1161
|
+
|
|
1162
|
+
```bash
|
|
1163
|
+
npx @capgo/cli@latest build needed
|
|
1164
|
+
```
|
|
1165
|
+
|
|
1166
|
+
🧭 Print "yes" and exit with code 1 if a native build is required; otherwise print "no" and exit with code 0. Command failures exit with code 2.
|
|
1167
|
+
|
|
1168
|
+
**Example:**
|
|
1169
|
+
|
|
1170
|
+
```bash
|
|
1171
|
+
npx @capgo/cli@latest build needed com.example.app --channel production --verbose
|
|
1172
|
+
```
|
|
1173
|
+
|
|
1174
|
+
**Options:**
|
|
1175
|
+
|
|
1176
|
+
| Param | Type | Description |
|
|
1177
|
+
| -------------- | ------------- | -------------------- |
|
|
1178
|
+
| **-a** | <code>string</code> | API key to link to your account |
|
|
1179
|
+
| **-c** | <code>string</code> | Channel to compare against. Defaults to CapacitorUpdater.defaultChannel or the public default channel |
|
|
1180
|
+
| **--package-json** | <code>string</code> | Paths to package.json files for monorepos (comma-separated) |
|
|
1181
|
+
| **--node-modules** | <code>string</code> | Paths to node_modules directories for monorepos (comma-separated) |
|
|
1182
|
+
| **--verbose** | <code>boolean</code> | Enable verbose output with detailed logging |
|
|
1183
|
+
| **--supa-host** | <code>string</code> | Custom Supabase host URL (for self-hosting or Capgo development) |
|
|
1184
|
+
| **--supa-anon** | <code>string</code> | Custom Supabase anon key (for self-hosting) |
|
|
1185
|
+
|
|
1159
1186
|
### <a id="build-init"></a> 🚀 **Init**
|
|
1160
1187
|
|
|
1161
1188
|
**Alias:** `onboarding`
|