Struo
← Changelog

Graph-owned React Native dependency layouts

React Native dependency targets now use the JavaScript dependency graph instead of running a whole-workspace native installer. Packages are fetched by content hash, and a consumer can start once its selected workspace member's closure is ready, without waiting for unrelated members.

Set member to select an app within a workspace. React Native and Hermes identities follow the packages selected for that member. Dependency-owned source files are overlaid into consumers' private trees. Relative executable links avoid checkout-specific pnpm shims, and native installer bookkeeping is not a build product.

Approved dependency lifecycle hooks now produce separate package outputs after their own dependencies are ready. Script-disable settings remain authoritative, linked workspace sources are declared inputs, and acquired package trees stay immutable. Lifecycle execution remains uncached until its complete runtime inputs can be enforced.

This migration intentionally rejects unsupported native installation options rather than silently ignoring them. Root/workspace hooks, implicit node-gyp builds, local directory/Git dependencies and unsupported hoisting policies are not yet supported. Existing applications requiring those features should not migrate until their dependency contract is covered. See the React Native dependency reference.