community-cli-plugin: Use TerminalReporter type from metro, replace deep imports (#51092)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51092

`TerminalReporter` is re-exported from `metro` (since [0.76.7](https://github.com/facebook/metro/releases/tag/v0.76.7)), so we can update these deep imports to use public exports.

Changelog: [Internal]

Reviewed By: huntie

Differential Revision: D74141704

fbshipit-source-id: 22cd3209868ed9ab260e199f9099ef98335feaeb
This commit is contained in:
Rob Hogan
2025-05-04 09:57:57 -07:00
committed by Facebook GitHub Bot
parent 5eed872463
commit 93f22e79d4
5 changed files with 8 additions and 6 deletions
@@ -9,7 +9,7 @@
* @oncall react_native
*/
import type TerminalReporter from 'metro/src/lib/TerminalReporter';
import type {TerminalReporter} from 'metro';
type LoggerFn = (...message: $ReadOnlyArray<string>) => void;