From a2f11895c2a80d677fdcd34d70d379cc381c438c Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Sat, 14 Oct 2023 13:12:46 -0700 Subject: [PATCH] Skip publishing of normalize-colors (#40977) Summary: CircleCI is red because verdaccio fails to publish `normalize-colors`. For some old dependencies, normalize-colors has been published on the official npmjs with the version we needs. In order to mitigate the RN red ci, we can consume them directly from NPMJS. As a followup, we created a task to investigate it next week. ## Changelog: [Internal] - Skip publishing or normalize colors Pull Request resolved: https://github.com/facebook/react-native/pull/40977 Test Plan: Tested locally, running verdaccio and simulating CI. It worked. CircleCI is green Reviewed By: robhogan Differential Revision: D50300449 Pulled By: cipolleschi fbshipit-source-id: 2259b450deff15a117d1de4690bcfe8a9ba7d115 --- scripts/template/initialize.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/template/initialize.js b/scripts/template/initialize.js index 2638cac3d4c..32f26dc3f8f 100644 --- a/scripts/template/initialize.js +++ b/scripts/template/initialize.js @@ -66,6 +66,11 @@ async function install() { return; } + // TODO: Fix normalize-colors publishing in Verdaccio + if (packageManifest.name === '@react-native/normalize-colors') { + return; + } + execSync( 'npm publish --registry http://localhost:4873 --access public', {