@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/dist/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/cli",
3
3
  "type": "module",
4
- "version": "7.94.1",
4
+ "version": "7.94.3",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -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";