From e1702f44c99ee38696d40f90f6c804ab5428bd0c Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Wed, 6 Mar 2024 03:21:44 -0800 Subject: [PATCH] Do not publish src/**/__tests__ folder for react-native (#43261) Summary: We should not be publishing the `__tests__` folder to the npm package. Fixes https://github.com/facebook/react-native/issues/43242 ## Changelog: [INTERNAL] [CHANGED] - Do not publish src/**/__tests__ for react-native Pull Request resolved: https://github.com/facebook/react-native/pull/43261 Test Plan: Nothing to test Reviewed By: cipolleschi Differential Revision: D54540896 Pulled By: cortinico fbshipit-source-id: 10b557a911b9b17d64c4697724825248a597feae --- packages/react-native/src/.npmignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 packages/react-native/src/.npmignore diff --git a/packages/react-native/src/.npmignore b/packages/react-native/src/.npmignore new file mode 100644 index 00000000000000..c912533dd7d2dd --- /dev/null +++ b/packages/react-native/src/.npmignore @@ -0,0 +1 @@ +__tests__