Cache locked JavaScript installs without React Native
javascript_build can now use a
javascript_dependencies
target for a CLI or library whose lockfile has no React Native dependency.
Struo runs the package manager's frozen install and caches the installed tree
for package builds. React Native targets still validate the locked React Native
and Hermes versions. Existing React Native pnpm installs incur a one-time cache
miss because the install launcher now uses .cjs so it also works in ESM
packages.