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
@@ -9,7 +9,7 @@
* @oncall react_native
*/
require('../../babel-register').registerForScript();
require('../../shared/babelRegister').registerForScript();
const {diffApiSnapshot} = require('./diffApiSnapshot');
const fs = require('fs');