Skip to content

Commit eddb8f8

Browse files
build(mobile): consume a versioned Screens fork package
1 parent da8a34f commit eddb8f8

7 files changed

Lines changed: 32 additions & 675 deletions

File tree

743 KB
Binary file not shown.
-738 KB
Binary file not shown.

‎apps/mobile/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"react-native-nitro-modules": "0.35.9",
120120
"react-native-reanimated": "4.7.0",
121121
"react-native-safe-area-context": "~5.9.1",
122-
"react-native-screens": "file:deps/react-native-screens-cef9aff.tgz",
122+
"react-native-screens": "file:deps/react-native-screens-5.0.0-t3.2.tgz",
123123
"react-native-shiki-engine": "^0.3.12",
124124
"react-native-svg": "15.15.5",
125125
"react-native-webview": "14.0.1",
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Building the mobile Screens dependency
2+
3+
The mobile v5 stack uses a committed tarball from the
4+
[T3 Screens fork](https://github.com/juliusmarminge/react-native-screens/tree/t3/main).
5+
The fork owns the integration changes; the app does not patch this package.
6+
Each archive includes compiled JavaScript, declarations, native source and
7+
`t3-fork.json` recording its version, source commit and upstream base.
8+
9+
To reproduce the current archive with Node 24 and the repository's pinned Yarn:
10+
11+
```sh
12+
git clone --branch t3-v5.0.0-t3.2 https://github.com/juliusmarminge/react-native-screens.git /tmp/t3-screens-fork
13+
yarn --cwd /tmp/t3-screens-fork pack:t3 /absolute/path/to/t3code/apps/mobile/deps
14+
```
15+
16+
For an update, sync the fork's `main` with upstream, merge it and the required
17+
proposal branches into `t3/main`, increment the `5.0.0-t3.N` version, pin `t3Fork.upstreamCommit` to the
18+
integrated upstream SHA and commit.
19+
Run `pack:t3` from that clean checkout and tag the source as `t3-v<version>`.
20+
Replace the old archive, update `apps/mobile/package.json` and run `vp i` to
21+
regenerate the lockfile. Verify mobile types and affected navigation tests.
22+
Changes to native source also require rebuilding and testing the native client.

0 commit comments

Comments
 (0)