Skip to content

Commit b60d2b2

Browse files
committed
chore(gates): wire the React Native package and single entrypoint
1 parent 7e58886 commit b60d2b2

11 files changed

Lines changed: 84 additions & 6 deletions

File tree

‎.fallowrc.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"packages/proxy/src/index.ts",
2424
"packages/proxy/tsdown.config.ts",
2525
"src/bin.ts",
26-
"src/client/companion-tunnel.ts",
26+
"packages/react-native/src/companion/companion-tunnel.ts",
2727
"src/daemon.ts",
2828
"packages/capture-kit/src/png-worker.ts",
2929
"scripts/patch-xcuitest-runner-icon.ts",

‎examples/sdk/tsconfig.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
{ "path": "../../packages/provider-webdriver" },
5757
{ "path": "../../packages/provision-kit" },
5858
{ "path": "../../packages/proxy" },
59+
{ "path": "../../packages/react-native" },
5960
{ "path": "../../packages/replay-port" },
6061
{ "path": "../../packages/replay-test" },
6162
{ "path": "../../packages/selectors" },

‎fallow-baselines/health.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"count": 1
2121
}
2222
},
23-
"src/client/client-companion-tunnel-worker.ts": {
23+
"packages/react-native/src/companion/client-companion-tunnel-worker.ts": {
2424
"complexity_high": {
2525
"count": 1
2626
}
@@ -118,6 +118,6 @@
118118
"packages/platform-android/src/ui-hierarchy.ts:high impact",
119119
"packages/platform-android/src/sdk.ts:high impact",
120120
"src/daemon-client/daemon-client-lifecycle.ts:complexity",
121-
"src/client/client-companion-tunnel-worker.ts:complexity"
121+
"packages/react-native/src/companion/client-companion-tunnel-worker.ts:complexity"
122122
]
123123
}

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@
309309
"@agent-device/provider-webdriver": "workspace:*",
310310
"@agent-device/provision-kit": "workspace:*",
311311
"@agent-device/proxy": "workspace:*",
312+
"@agent-device/react-native": "workspace:*",
312313
"@agent-device/replay-port": "workspace:*",
313314
"@agent-device/replay-test": "workspace:*",
314315
"@agent-device/selectors": "workspace:*",

‎packages/react-native/package.json‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"name": "@agent-device/react-native",
3+
"version": "0.0.0",
4+
"private": true,
5+
"type": "module",
6+
"description": "React Native development runtime: Metro preparation, companion tunnelling, component inspection, and render profiling. Internal workspace package bundled into agent-device.",
7+
"dependencies": {
8+
"@agent-device/contracts": "workspace:*",
9+
"@agent-device/daemon-contracts": "workspace:*",
10+
"@agent-device/host-kit": "workspace:*",
11+
"@agent-device/kernel": "workspace:*"
12+
},
13+
"exports": {
14+
".": {
15+
"types": "./src/index.ts",
16+
"default": "./src/index.ts"
17+
}
18+
},
19+
"devDependencies": {
20+
"@agent-device/test-kit": "workspace:*"
21+
}
22+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"extends": "../../tsconfig.json",
3+
"compilerOptions": {
4+
"composite": true,
5+
"noEmit": false,
6+
"emitDeclarationOnly": true,
7+
"declaration": true,
8+
"declarationDir": "./dist-types",
9+
"rootDir": "./src",
10+
"tsBuildInfoFile": "./dist-types/index.tsbuildinfo"
11+
},
12+
"include": ["src"],
13+
"references": [
14+
{
15+
"path": "../contracts"
16+
},
17+
{
18+
"path": "../daemon-contracts"
19+
},
20+
{
21+
"path": "../host-kit"
22+
},
23+
{
24+
"path": "../kernel"
25+
},
26+
{
27+
"path": "../test-kit"
28+
}
29+
]
30+
}

‎pnpm-lock.yaml‎

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎scripts/layering/model.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ const TARGET_DAG_RANK = new Map([
6565
['mcp', 3],
6666
['client', 4],
6767
['daemon-server', 4],
68-
['metro', 4],
6968
['platform-runtime', 4],
7069
['remote', 4],
7170
['plugins', 4],
@@ -113,6 +112,7 @@ export const UNRANKED_ZONES: ReadonlySet<string> = new Set([
113112
'provider-limrun',
114113
'provider-testmu',
115114
'proxy',
115+
'react-native',
116116
'xml',
117117
]);
118118

‎tsconfig.typecheck.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
{ "path": "packages/provider-webdriver" },
2828
{ "path": "packages/provision-kit" },
2929
{ "path": "packages/proxy" },
30+
{ "path": "packages/react-native" },
3031
{ "path": "packages/replay-port" },
3132
{ "path": "packages/replay-test" },
3233
{ "path": "packages/selectors" },

‎tsdown.config.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export default defineConfig({
109109
finders: 'src/sdk/finders.ts',
110110
'ai-sdk': 'src/ai-sdk/index.ts',
111111
'internal/bin': 'src/bin.ts',
112-
'internal/companion-tunnel': 'src/client/companion-tunnel.ts',
112+
'internal/companion-tunnel': 'packages/react-native/src/companion/companion-tunnel.ts',
113113
'internal/daemon': 'src/daemon.ts',
114114
'internal/run-script-http-child': 'packages/maestro/src/daemon-port/run-script-http-child.ts',
115115
'internal/png-worker': 'packages/capture-kit/src/png-worker.ts',

0 commit comments

Comments
 (0)