Skip to content

Commit

Permalink
Update remaining references to old website domain
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal]

Reviewed By: motiz88

Differential Revision: D52833213

fbshipit-source-id: 55c88493258d09951689222088c4edb5ca3b45b6
  • Loading branch information
huntie authored and facebook-github-bot committed Jan 17, 2024
1 parent a7f8955 commit 614ad14
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -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/`.

Expand Down
10 changes: 5 additions & 5 deletions docs/Configuration.md
Expand Up @@ -213,7 +213,7 @@ Type: `Array<string>`
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']`.
Expand All @@ -223,7 +223,7 @@ Type: `Array<string>`
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
Expand Down Expand Up @@ -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<string>`
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`
Expand All @@ -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`
Expand Down
2 changes: 1 addition & 1 deletion 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/).
2 changes: 1 addition & 1 deletion 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)
2 changes: 1 addition & 1 deletion 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).

Expand Down
2 changes: 1 addition & 1 deletion 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
2 changes: 1 addition & 1 deletion 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)
11 changes: 5 additions & 6 deletions website/src/pages/help/index.js
Expand Up @@ -19,18 +19,17 @@ const supportLinks = [
content: (
<ul>
<li>
Learn how to <a href="/metro/docs/getting-started">get started</a>{' '}
with Metro.
Learn how to <a href="/docs/getting-started">get started</a> with
Metro.
</li>
<li>
<a href="/metro/docs/troubleshooting">Troubleshoot</a> problems with
Metro.
<a href="/docs/troubleshooting">Troubleshoot</a> problems with Metro.
</li>
<li>
Learn how to <a href="/metro/docs/configuration">configure Metro</a>.
Learn how to <a href="/docs/configuration">configure Metro</a>.
</li>
<li>
Look at the full <a href="/metro/docs/api">API Reference</a>.
Look at the full <a href="/docs/api">API Reference</a>.
</li>
</ul>
),
Expand Down

0 comments on commit 614ad14

Please sign in to comment.