From 27e83d0a959a2e7ef9af8b0379f0ef763b2cd4d9 Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Fri, 19 Jun 2026 09:40:30 -0700 Subject: [PATCH] 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 --- private/core-cli-utils/package.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/private/core-cli-utils/package.json b/private/core-cli-utils/package.json index c9e27b46367..ee0a07ed08c 100644 --- a/private/core-cli-utils/package.json +++ b/private/core-cli-utils/package.json @@ -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",