react-nitro-hermes 0.0.1-alpha.15 → 0.0.1-alpha.16
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/README.md +8 -8
- package/bin/shermes +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -87,14 +87,14 @@ Commit the updated submodule pin, manifest, generated files, and header symlinks
|
|
|
87
87
|
together.
|
|
88
88
|
|
|
89
89
|
Rebuild the matching Static Hermes compiler and regenerate its native units after
|
|
90
|
-
an upgrade. For
|
|
90
|
+
an upgrade. For the layout bridge, run these commands from the repository root:
|
|
91
91
|
|
|
92
92
|
```sh
|
|
93
93
|
bun run --cwd packages/react-nitro-hermes build
|
|
94
|
-
bun run --cwd packages/react-nitro-
|
|
94
|
+
bun run --cwd packages/react-nitro-layout build
|
|
95
95
|
```
|
|
96
96
|
|
|
97
|
-
Commit changes to `packages/react-nitro-
|
|
97
|
+
Commit changes to `packages/react-nitro-layout/Generated/nitroLayout.c` with the Hermes
|
|
98
98
|
upgrade, then rebuild the app so that the generated C and VM use matching headers.
|
|
99
99
|
Recompile any persisted Hermes bytecode with the matching compiler as well.
|
|
100
100
|
|
|
@@ -114,10 +114,10 @@ bun run --cwd packages/react-nitro-hermes build
|
|
|
114
114
|
Both commands use `scripts/build-shermes.ts`, which configures and builds
|
|
115
115
|
`shermes` and `hermesc` in `.build/hermes-cmake/` inside this package. CMake
|
|
116
116
|
and Ninja reuse existing build outputs and rebuild changed inputs. The root
|
|
117
|
-
workspace build then runs the
|
|
118
|
-
`packages/bundler` uses `hermesc` to compile application bytecode. For
|
|
119
|
-
|
|
120
|
-
|
|
117
|
+
workspace build then runs the layout package build, which consumes `shermes`.
|
|
118
|
+
`packages/bundler` uses `hermesc` to compile application bytecode. For Release
|
|
119
|
+
builds it also uses `shermes` to compile React and the renderer to C for Xcode
|
|
120
|
+
or the Android NDK to build and link.
|
|
121
121
|
|
|
122
122
|
Build tooling can depend on the `react-nitro-hermes` workspace package and import
|
|
123
123
|
its paths without knowing where this package lives in the repository:
|
|
@@ -164,5 +164,5 @@ xcodebuild \
|
|
|
164
164
|
CODE_SIGNING_ALLOWED=NO build
|
|
165
165
|
```
|
|
166
166
|
|
|
167
|
-
On launch, the app evaluates JavaScript and displays
|
|
167
|
+
On launch, the app evaluates JavaScript and displays native row and
|
|
168
168
|
column layouts through the renderer.
|
package/bin/shermes
CHANGED
|
Binary file
|