Reorganise shared script utils (#52473)

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

Shared utils that were located in the root of `scripts/` are now colocated closer to their dependencies or moved to `scripts/shared/` — simplifying the root directory layout.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D77873875

fbshipit-source-id: e04dba41a1ef811d32793931033fdfa93afad0cd
This commit is contained in:
Alex Hunt
2025-07-08 06:10:36 -07:00
committed by Facebook GitHub Bot
parent 6dfe59e1df
commit fc5e33b582
45 changed files with 141 additions and 153 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
* @format
*/
const {PACKAGES_DIR} = require('../consts');
const {PACKAGES_DIR} = require('../shared/consts');
// $FlowFixMe[untyped-import]: TODO type ansi-styles
const ansiStyles = require('ansi-styles');
const {execSync, spawnSync} = require('child_process');