GeezerVison is showing github.com — build(mobile): consume a versioned Screens fork package · pingdotgg/t3code@2e01d2a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboard Collapse file
Copy file name to clipboardExpand all lines: apps/mobile/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
119 | 119 | "react-native-nitro-modules": "0.35.9", |
120 | 120 | "react-native-reanimated": "4.7.0", |
121 | 121 | "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", |
123 | 123 | "react-native-shiki-engine": "^0.3.12", |
124 | 124 | "react-native-svg": "15.15.5", |
125 | 125 | "react-native-webview": "14.0.1", |
|
Collapse file
Copy file name to clipboard +22Lines changed: 22 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
| 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. |