Stop publishing @react-native/core-cli-utils (#57288)

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

https://github.com/facebook/react-native/pull/56922 intended to prevent this package publishing to npm but didn't - we've been continuing to publish it in nightlies.

`scripts/shared/monorepoUtils.js` filters with `packageJson.private !== true || includePrivate`, i.e. the `private` field is load-bearing, not the path. All other packages in `private/` have `package.json#private: true`.

Changelog: [Internal] - the breaking change is already noted in https://github.com/react/react-native/pull/56922 , no release / cut since.

Reviewed By: cortinico

Differential Revision: D109153641

fbshipit-source-id: f86ed921dbc7a6b020c57e7d18e6cae5c57b5f1e
This commit is contained in:
Rob Hogan authored and meta-codesync[bot] committed 2026-06-19 09:40:30 -07:00
1 parent 29e5f954c7
commit 27e83d0a95
1 file changed
+1 -5
+1 -5
View File
@@ -1,13 +1,9 @@
{
"name": "@react-native/core-cli-utils",
"private": true,
"version": "0.0.0",
"description": "Reference implementation of React Native CLI tooling",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/react/react-native.git",
"directory": "private/core-cli-utils"
},
"main": "./src/index.js",
"exports": {
".": "./src/index.js",