From 65cc2e5a6fdeaf31a4d643eb07ef8fd86671bda1 Mon Sep 17 00:00:00 2001 From: Simek Date: Mon, 5 Jan 2026 03:03:47 -0800 Subject: [PATCH] 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: Screenshot 2026-01-02 at 19 58 51 Reviewed By: cipolleschi Differential Revision: D90104112 Pulled By: cortinico fbshipit-source-id: a44115bf44725eaa8935568706981fe6a3826940 --- scripts/monorepo/print/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/monorepo/print/index.js b/scripts/monorepo/print/index.js index 7e31f3e98e6..18935139317 100644 --- a/scripts/monorepo/print/index.js +++ b/scripts/monorepo/print/index.js @@ -8,7 +8,7 @@ * @noflow */ -const {getPackages} = require('../../utils/monorepo'); +const {getPackages} = require('../../shared/monorepoUtils'); const {exit} = require('shelljs'); const yargs = require('yargs');