From 64b51ebc24dda4680229f791ebcfa9820bbf9eba Mon Sep 17 00:00:00 2001 From: Rob Hogan Date: Fri, 19 Jun 2026 07:05:56 -0700 Subject: [PATCH] Stop publishing `@react-native/core-cli-utils` Summary: 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. Differential Revision: D109153641 --- 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 c9e27b463674..ee0a07ed08ca 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",