mirror of
https://github.com/react/react-native.git
synced 2026-09-28 13:23:09 +08:00
## Summary:
Bump minimum Metro version to 0.87.1, within the same semver range, to ensure upgraders get the same version as fresh projects would.
Mostly fixes, including a couple of `Platform` inlining corrections. It also replaces the `image-size` dependency to clear CVE alerts.
Metro release notes: https://github.com/react/metro/releases/tag/v0.87.1
## Changelog:
[General] [Changed] - Bump Metro minimum to 0.87.1
## Test Plan:
```
yarn install --frozen-lockfile --ignore-scripts
yarn flow-check
yarn test packages/metro-config packages/community-cli-plugin packages/dev-middleware
```
(cherry picked from commit 18a22b1d59)
@react-native/core-cli-utils
A reference implementation of React Native CLI tooling. This package provides composable, ordered Task objects for common CLI operations including Android Gradle builds, iOS Xcode/CocoaPods workflows, Metro bundling with Hermes support, and cache cleaning.
This is not published to npm. Framework authors can use this code as a starting point for their own CLI tooling, but should not depend on it as a versioned API.
Modules
android— Gradle-based Android build tasks (assemble, build, install)apple— Xcode/CocoaPods-based iOS tasks (bootstrap, build, install)app— Metro bundler tasks (watch mode, bundle mode, Hermes bytecode compilation)clean— Cache-cleaning tasks (Android/Gradle, Metro, npm, Watchman, Yarn, CocoaPods)version— Semver version requirements for platform toolchains (Android NDK/SDK, Xcode, Node, etc.)
Consumers
private/helloworld/— the primary consumer, using Android, iOS, and Metro modulespackages/rn-tester/— uses iOS bootstrap for CocoaPods setup