From 614ad14a85b22958129ee94e04376b096f03ccb1 Mon Sep 17 00:00:00 2001 From: Alex Hunt Date: Wed, 17 Jan 2024 09:00:17 -0800 Subject: [PATCH] Update remaining references to old website domain Summary: Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D52833213 fbshipit-source-id: 55c88493258d09951689222088c4edb5ca3b45b6 --- README.md | 4 ++-- docs/Configuration.md | 10 +++++----- packages/metro-config/README.md | 2 +- packages/metro-core/README.md | 2 +- packages/metro-file-map/README.md | 2 +- packages/metro-resolver/README.md | 2 +- packages/metro-source-map/README.md | 2 +- website/src/pages/help/index.js | 11 +++++------ 8 files changed, 17 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 86ad6671e8..eefda3a36f 100644 --- a/README.md +++ b/README.md @@ -16,11 +16,11 @@ Metro is included with React Native — see the [React Native docs](https://reactnative.dev/docs/getting-started) to quickly get started ⏱️. -To add Metro to an existing project, see our [Getting Started guide](https://facebook.github.io/metro/docs/getting-started). +To add Metro to an existing project, see our [Getting Started guide](https://metrobundler.dev/docs/getting-started). ## Documentation -All available documentation, including on [configuring Metro](https://facebook.github.io/metro/docs/configuration), can be found on the [Metro website](https://facebook.github.io/metro/docs/getting-started). +All available documentation, including on [configuring Metro](https://metrobundler.dev/docs/configuration), can be found on the [Metro website](https://metrobundler.dev/docs/getting-started). Source code for documentation is located in this repository under `docs/`. diff --git a/docs/Configuration.md b/docs/Configuration.md index e3a1a5754a..ba0a82521b 100644 --- a/docs/Configuration.md +++ b/docs/Configuration.md @@ -213,7 +213,7 @@ Type: `Array` The list of source file extensions to include in the bundle. For example, including `'ts'` allows Metro to include `.ts` files in the bundle. -The order of these extensions defines the order to match files on disk. For more information, see [Module Resolution](https://facebook.github.io/metro/docs/resolution). +The order of these extensions defines the order to match files on disk. For more information, see [Module Resolution](https://metrobundler.dev/docs/resolution). Defaults to `['js', 'jsx', 'json', 'ts', 'tsx']`. @@ -223,7 +223,7 @@ Type: `Array` The list of fields in `package.json` that Metro will treat as describing a package's entry points. The default is `['browser', 'main']`, so the resolver will use the `browser` field if it exists and `main` otherwise. -Metro's default resolver processes each of these fields according to the [`browser` field spec](https://github.com/defunctzombie/package-browser-field-spec), including the ability to [replace](https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced) and [ignore](https://github.com/defunctzombie/package-browser-field-spec#ignore-a-module) specific files. For more information, see [Module Resolution](https://facebook.github.io/metro/docs/resolution). +Metro's default resolver processes each of these fields according to the [`browser` field spec](https://github.com/defunctzombie/package-browser-field-spec), including the ability to [replace](https://github.com/defunctzombie/package-browser-field-spec#replace-specific-files---advanced) and [ignore](https://github.com/defunctzombie/package-browser-field-spec#ignore-a-module) specific files. For more information, see [Module Resolution](https://metrobundler.dev/docs/resolution). :::note @@ -253,13 +253,13 @@ Whether to automatically resolve references to first-party packages (e.g. worksp Type: `{[string]: string}` -A mapping of package names to directories that is consulted after the standard lookup through `node_modules` as well as any [`nodeModulesPaths`](#nodemodulespaths). For more information, see [Module Resolution](https://facebook.github.io/metro/docs/resolution). +A mapping of package names to directories that is consulted after the standard lookup through `node_modules` as well as any [`nodeModulesPaths`](#nodemodulespaths). For more information, see [Module Resolution](https://metrobundler.dev/docs/resolution). #### `nodeModulesPaths` Type: `Array` -A list of paths to check for modules after looking through all `node_modules` directories. This is useful if third-party dependencies are installed in a different location outside of the direct path of source files. For more information, see [Module Resolution](https://facebook.github.io/metro/docs/resolution). +A list of paths to check for modules after looking through all `node_modules` directories. This is useful if third-party dependencies are installed in a different location outside of the direct path of source files. For more information, see [Module Resolution](https://metrobundler.dev/docs/resolution). #### `resolveRequest` @@ -282,7 +282,7 @@ resolveRequest: (context, moduleName, platform) => { } ``` -For more information on customizing the resolver, see [Module Resolution](https://facebook.github.io/metro/docs/resolution). +For more information on customizing the resolver, see [Module Resolution](https://metrobundler.dev/docs/resolution). #### `useWatchman` diff --git a/packages/metro-config/README.md b/packages/metro-config/README.md index 8420c27de0..6c4284d13f 100644 --- a/packages/metro-config/README.md +++ b/packages/metro-config/README.md @@ -1,3 +1,3 @@ # Metro Config -🚇 Config resolver and transformer for [Metro](https://facebook.github.io/metro/). +🚇 Config resolver and transformer for [Metro](https://metrobundler.dev/). diff --git a/packages/metro-core/README.md b/packages/metro-core/README.md index 67271c95ea..b7309957a6 100644 --- a/packages/metro-core/README.md +++ b/packages/metro-core/README.md @@ -1,5 +1,5 @@ # Metro -🚇 This package contains core files for [Metro](https://facebook.github.io/metro/). +🚇 This package contains core files for [Metro](https://metrobundler.dev/). (TODO) diff --git a/packages/metro-file-map/README.md b/packages/metro-file-map/README.md index ecc3302442..8fffa18f91 100644 --- a/packages/metro-file-map/README.md +++ b/packages/metro-file-map/README.md @@ -1,6 +1,6 @@ # \[Experimental\] Metro File Map -🚇 File system crawling, watching and mapping for [Metro](https://facebook.github.io/metro/). +🚇 File system crawling, watching and mapping for [Metro](https://metrobundler.dev/). Originally a fork of [`jest-haste-map`](https://github.com/facebook/jest/tree/main/packages/jest-haste-map). diff --git a/packages/metro-resolver/README.md b/packages/metro-resolver/README.md index 74676c4872..0b8789678c 100644 --- a/packages/metro-resolver/README.md +++ b/packages/metro-resolver/README.md @@ -1,3 +1,3 @@ # metro-resolver -🚇 [Metro](https://facebook.github.io/metro/) resolution logic +🚇 [Metro](https://metrobundler.dev/) resolution logic diff --git a/packages/metro-source-map/README.md b/packages/metro-source-map/README.md index 081a05e46f..08f16f8f6b 100644 --- a/packages/metro-source-map/README.md +++ b/packages/metro-source-map/README.md @@ -1,5 +1,5 @@ # Metro -🚇 The source map generator for [Metro](https://facebook.github.io/metro/). +🚇 The source map generator for [Metro](https://metrobundler.dev/). (TODO) diff --git a/website/src/pages/help/index.js b/website/src/pages/help/index.js index 534caa41ca..2d95dcaff1 100644 --- a/website/src/pages/help/index.js +++ b/website/src/pages/help/index.js @@ -19,18 +19,17 @@ const supportLinks = [ content: ( ),