fix print-packages script (#55019)

Summary:
Running `print-packages` script from monorepo root results in a require error.

This PR updates the import path for `getPackages` utit to fix the script, which now output correct data.

## Changelog:

[INTERNAL] [FIXED] - Fix `print-packages` script

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

Test Plan: <img width="1344" height="602" alt="Screenshot 2026-01-02 at 19 58 51" src="https://github.com/user-attachments/assets/d6dd1ab5-e0da-4878-b622-7e5f5aa0865b" />

Reviewed By: cipolleschi

Differential Revision: D90104112

Pulled By: cortinico

fbshipit-source-id: a44115bf44725eaa8935568706981fe6a3826940
This commit is contained in:
Simek authored and meta-codesync[bot] committed 2026-01-05 03:03:47 -08:00
1 parent f36fd461e4
commit 65cc2e5a6f
1 file changed
+1 -1
+1 -1
View File
@@ -8,7 +8,7 @@
* @noflow
*/
const {getPackages} = require('../../utils/monorepo');
const {getPackages} = require('../../shared/monorepoUtils');
const {exit} = require('shelljs');
const yargs = require('yargs');