|
1 | 1 | { |
2 | 2 | "extends": "../../tsconfig.json", |
3 | 3 | "compilerOptions": { |
| 4 | + "composite": true, |
| 5 | + "noEmit": true, |
| 6 | + "tsBuildInfoFile": "../../.tmp/examples-sdk.tsbuildinfo", |
4 | 7 | "paths": { |
5 | 8 | "agent-device": ["../../src/sdk/index.ts"], |
6 | 9 | "agent-device/io": ["../../src/sdk/io.ts"], |
|
21 | 24 | // prior build, workspace link, or publish step. Running an example for real |
22 | 25 | // still resolves `agent-device` as a self-referencing package (needs |
23 | 26 | // `pnpm build`), matching how a real consumer would import it. |
24 | | - "include": [".", "../../packages/command-registry/src/global.d.ts"] |
| 27 | + // |
| 28 | + // Composite under `tsc -b`, so every file its program loads through `paths` |
| 29 | + // must be listed here — hence the `../../src/**/*` include with the test and |
| 30 | + // fixture exclusions. The workspace packages those sources reach are project |
| 31 | + // references: their exports-map `.ts` targets resolve to the `dist-types` |
| 32 | + // declarations the graph emits instead of becoming unlisted foreign inputs. |
| 33 | + "include": [".", "../../src/**/*", "../../packages/command-registry/src/global.d.ts"], |
| 34 | + "exclude": ["../../src/**/*.test.ts", "../../src/**/__tests__/**", "../../src/**/*.fixtures.ts"], |
| 35 | + "references": [ |
| 36 | + { "path": "../../packages/ad-replay" }, |
| 37 | + { "path": "../../packages/ad-script" }, |
| 38 | + { "path": "../../packages/capture-kit" }, |
| 39 | + { "path": "../../packages/command-registry" }, |
| 40 | + { "path": "../../packages/contracts" }, |
| 41 | + { "path": "../../packages/device-selection" }, |
| 42 | + { "path": "../../packages/host-kit" }, |
| 43 | + { "path": "../../packages/kernel" }, |
| 44 | + { "path": "../../packages/maestro" }, |
| 45 | + { "path": "../../packages/managed-allocation" }, |
| 46 | + { "path": "../../packages/platform-android" }, |
| 47 | + { "path": "../../packages/platform-apple" }, |
| 48 | + { "path": "../../packages/platform-harmonyos" }, |
| 49 | + { "path": "../../packages/platform-linux" }, |
| 50 | + { "path": "../../packages/platform-vega" }, |
| 51 | + { "path": "../../packages/platform-web" }, |
| 52 | + { "path": "../../packages/provider-limrun" }, |
| 53 | + { "path": "../../packages/provider-webdriver" }, |
| 54 | + { "path": "../../packages/provision-kit" }, |
| 55 | + { "path": "../../packages/proxy" }, |
| 56 | + { "path": "../../packages/replay-port" }, |
| 57 | + { "path": "../../packages/replay-test" }, |
| 58 | + { "path": "../../packages/selectors" }, |
| 59 | + { "path": "../../packages/session-journal" }, |
| 60 | + { "path": "../../packages/xml" } |
| 61 | + ] |
25 | 62 | } |
0 commit comments