@capgo/cli 7.94.1 → 7.94.3
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 +1 -0
- package/dist/index.js +340 -340
- package/dist/package.json +1 -1
- package/dist/src/build/request.d.ts +4 -1
- package/dist/src/schemas/build.d.ts +1 -0
- package/dist/src/schemas/sdk.d.ts +1 -0
- package/dist/src/sdk.js +211 -211
- package/package.json +1 -1
- package/skills/native-builds/SKILL.md +1 -0
package/dist/package.json
CHANGED
|
@@ -53,6 +53,9 @@ interface NativeDependencies {
|
|
|
53
53
|
usesSPM: boolean;
|
|
54
54
|
usesCocoaPods: boolean;
|
|
55
55
|
}
|
|
56
|
+
interface ZipDirectoryOptions {
|
|
57
|
+
nodeModules?: string;
|
|
58
|
+
}
|
|
56
59
|
/**
|
|
57
60
|
* Check if a file path should be included in the zip
|
|
58
61
|
*/
|
|
@@ -63,7 +66,7 @@ export declare function shouldIncludeFile(filePath: string, platform: 'ios' | 'a
|
|
|
63
66
|
* - node_modules with native code (from Podfile/settings.gradle)
|
|
64
67
|
* - capacitor.config.*, package.json, package-lock.json
|
|
65
68
|
*/
|
|
66
|
-
export declare function zipDirectory(projectDir: string, outputPath: string, platform: 'ios' | 'android', capConfig: any): Promise<void>;
|
|
69
|
+
export declare function zipDirectory(projectDir: string, outputPath: string, platform: 'ios' | 'android', capConfig: any, options?: ZipDirectoryOptions): Promise<void>;
|
|
67
70
|
/**
|
|
68
71
|
* Request a native build from Capgo's cloud build service
|
|
69
72
|
*
|
|
@@ -20,6 +20,7 @@ export declare const buildRequestOptionsSchema: z.ZodObject<{
|
|
|
20
20
|
supaHost: z.ZodOptional<z.ZodString>;
|
|
21
21
|
supaAnon: z.ZodOptional<z.ZodString>;
|
|
22
22
|
path: z.ZodOptional<z.ZodString>;
|
|
23
|
+
nodeModules: z.ZodOptional<z.ZodString>;
|
|
23
24
|
platform: z.ZodEnum<{
|
|
24
25
|
android: "android";
|
|
25
26
|
ios: "ios";
|
|
@@ -258,6 +258,7 @@ export type ZipBundleOptions = z.infer<typeof zipBundleOptionsSchema>;
|
|
|
258
258
|
export declare const requestBuildOptionsSchema: z.ZodObject<{
|
|
259
259
|
appId: z.ZodString;
|
|
260
260
|
path: z.ZodOptional<z.ZodString>;
|
|
261
|
+
nodeModules: z.ZodOptional<z.ZodString>;
|
|
261
262
|
platform: z.ZodEnum<{
|
|
262
263
|
android: "android";
|
|
263
264
|
ios: "ios";
|