diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ab2fafea0..a069157bf 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,9 +21,6 @@ _Note: you must use the `--watchFolders` flag with the `start` command when test Because of a modular design of the CLI, we recommend developing using symbolic links to its packages. This way you can use it seamlessly in the tested project, as you'd use the locally installed CLI. Here's what you need to run in the terminal: -> [!NOTE] -> `@react-native-community/cli-plugin-metro` has been relocated as [`@react-native/community-cli-plugin`](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin). To make new contributions to this package, please open a PR in the [React Native repo](https://github.com/facebook/react-native) ([contributing guide](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#contributing)). - #### yarn v1 ```sh diff --git a/packages/cli-plugin-metro/README.md b/packages/cli-plugin-metro/README.md deleted file mode 100644 index 3b81d30b4..000000000 --- a/packages/cli-plugin-metro/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# @react-native-community/cli-plugin-metro - -> **[Removed]** -> -> This package is now relocated as [`@react-native/community-cli-plugin`](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin). -> -> To make new contributions to this package, please open a PR in the [React Native repo](https://github.com/facebook/react-native) ([contributing guide](https://github.com/facebook/react-native/tree/main/packages/community-cli-plugin#contributing)). diff --git a/packages/cli-plugin-metro/package.json b/packages/cli-plugin-metro/package.json deleted file mode 100644 index 6b31374e7..000000000 --- a/packages/cli-plugin-metro/package.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "name": "@react-native-community/cli-plugin-metro", - "version": "13.5.1-alpha.0", - "description": "[Removed since 12.0.0-alpha.12]", - "license": "MIT", - "publishConfig": { - "access": "public" - }, - "homepage": "https://github.com/react-native-community/cli/tree/main/packages/cli-plugin-metro", - "repository": { - "type": "git", - "url": "https://github.com/react-native-community/cli.git", - "directory": "packages/cli-plugin-metro" - } -} diff --git a/packages/cli/package.json b/packages/cli/package.json index 059bc68b6..a37908603 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -29,7 +29,6 @@ "@react-native-community/cli-debugger-ui": "13.5.1-alpha.0", "@react-native-community/cli-doctor": "13.5.1-alpha.0", "@react-native-community/cli-hermes": "13.5.1-alpha.0", - "@react-native-community/cli-plugin-metro": "13.5.1-alpha.0", "@react-native-community/cli-server-api": "13.5.1-alpha.0", "@react-native-community/cli-tools": "13.5.1-alpha.0", "@react-native-community/cli-types": "13.5.1-alpha.0", diff --git a/scripts/helpers.js b/scripts/helpers.js index c18b0546f..21ce12199 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -11,7 +11,6 @@ const chalk = require('chalk'); const stringLength = require('string-length'); const PACKAGES_DIR = path.resolve(__dirname, '../packages'); -const REMOVED_PACKAGES = new Set(['cli-plugin-metro']); const OK = chalk.reset.inverse.bold.green(' DONE '); @@ -19,11 +18,7 @@ function getPackages() { return fs .readdirSync(PACKAGES_DIR) .map((file) => path.resolve(PACKAGES_DIR, file)) - .filter( - (f) => - fs.lstatSync(path.resolve(f)).isDirectory() && - !REMOVED_PACKAGES.has(path.basename(f)), - ); + .filter((f) => fs.lstatSync(path.resolve(f)).isDirectory()); } function adjustToTerminalWidth(str) {