@capgo/cli 7.88.9 → 7.89.4

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.88.9",
4
+ "version": "7.89.4",
5
5
  "description": "A CLI to upload to capgo servers",
6
6
  "author": "Martin martin@capgo.app",
7
7
  "license": "Apache 2.0",
@@ -71,13 +71,14 @@
71
71
  "test:credentials-validation": "bun test/test-credentials-validation.mjs",
72
72
  "test:build-zip-filter": "bun test/test-build-zip-filter.mjs",
73
73
  "test:checksum": "bun test/test-checksum-algorithm.mjs",
74
+ "test:ci-prompts": "bun test/test-ci-prompts.mjs",
74
75
  "test:esm-sdk": "node test/test-sdk-esm.mjs",
75
76
  "test:mcp": "node test/test-mcp.mjs",
76
77
  "test:version-detection": "node test/test-get-installed-version.mjs",
77
78
  "test:version-detection:setup": "./test/fixtures/setup-test-projects.sh",
78
79
  "test:platform-paths": "bun test/test-platform-paths.mjs",
79
80
  "test:payload-split": "bun test/test-payload-split.mjs",
80
- "test": "bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
81
+ "test": "bun run test:bundle && bun run test:functional && bun run test:semver && bun run test:version-edge-cases && bun run test:regex && bun run test:upload && bun run test:credentials && bun run test:credentials-validation && bun run test:build-zip-filter && bun run test:checksum && bun run test:ci-prompts && bun run test:esm-sdk && bun run test:mcp && bun run test:version-detection && bun run test:platform-paths && bun run test:payload-split"
81
82
  },
82
83
  "devDependencies": {
83
84
  "@antfu/eslint-config": "^7.0.0",
@@ -95,6 +96,7 @@
95
96
  "@types/node": "^25.0.0",
96
97
  "@types/node-forge": "^1.3.14",
97
98
  "@types/prettyjson": "^0.0.33",
99
+ "@types/qrcode": "^1.5.6",
98
100
  "@types/react": "^18.3.28",
99
101
  "@types/tmp": "^0.2.6",
100
102
  "@vercel/ncc": "^0.38.4",
@@ -121,6 +123,7 @@
121
123
  "ink-spinner": "^5.0.0",
122
124
  "jsonwebtoken": "^9.0.3",
123
125
  "node-forge": "^1.3.3",
126
+ "qrcode": "^1.5.4",
124
127
  "react": "^18.3.1"
125
128
  }
126
129
  }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Handle a custom_msg from the websocket stream.
3
+ * Known kinds get rich rendering; unknown kinds get a warning + raw dump.
4
+ */
5
+ export declare function handleCustomMsg(kind: string, data: Record<string, unknown>, log: (line: string) => void, warn: (line: string) => void): Promise<void>;
@@ -40,6 +40,8 @@ export interface BuildLogger {
40
40
  buildLog: (msg: string) => void;
41
41
  /** Called with upload progress percentage (0-100) */
42
42
  uploadProgress: (percent: number) => void;
43
+ /** Called with custom messages from the builder (QR codes, etc.) */
44
+ customMsg: (kind: string, data: Record<string, unknown>) => void | Promise<void>;
43
45
  }
44
46
  export type { BuildCredentials, BuildRequestOptions, BuildRequestResponse, BuildRequestResult } from '../schemas/build';
45
47
  /**
@@ -47,6 +49,7 @@ export type { BuildCredentials, BuildRequestOptions, BuildRequestResponse, Build
47
49
  */
48
50
  interface NativeDependencies {
49
51
  packages: Set<string>;
52
+ cordovaPackages: Set<string>;
50
53
  usesSPM: boolean;
51
54
  usesCocoaPods: boolean;
52
55
  }