From a90485a9576b2f4c7f28153e2eb096d09f6d7d37 Mon Sep 17 00:00:00 2001 From: Lorenzo Sciandra Date: Mon, 21 Aug 2023 16:22:47 +0100 Subject: [PATCH] [LOCAL] skip un-semver packages in 71 branch --- scripts/monorepo/for-each-package.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/monorepo/for-each-package.js b/scripts/monorepo/for-each-package.js index 10991b5936da1d..9afd6373832559 100644 --- a/scripts/monorepo/for-each-package.js +++ b/scripts/monorepo/for-each-package.js @@ -13,7 +13,15 @@ const {readdirSync, readFileSync} = require('fs'); const ROOT_LOCATION = path.join(__dirname, '..', '..'); const PACKAGES_LOCATION = path.join(ROOT_LOCATION, 'packages'); -const PACKAGES_BLOCK_LIST = ['react-native']; +// in 71 some packages don't follow semver so we don't want to release further. (and ofc we want to exclude react-native itself) +const PACKAGES_BLOCK_LIST = [ + 'react-native', + 'assets', + 'eslint-config-react-native-community', + 'eslint-plugin-react-native-community', + 'normalize-color', + 'polyfills', +]; /** * Function, which returns an array of all directories inside specified location