Skip to content

Commit 13b16c4

Browse files
Deploy website - based on 1784e1a
1 parent 3e7afc9 commit 13b16c4

File tree

167 files changed

+1251
-206389
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+1251
-206389
lines changed

404.html

+7-10
Large diffs are not rendered by default.

_src/LocalDevelopment.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ Our recommended workflow is to use [`yarn link`][1] to register local `metro` pa
2323
From inside our `metro` clone, `yarn link` is responsible for registering local package folders to be linked to elsewhere.
2424

2525
We recommend using `npm exec --workspaces` to register all packages in the `metro` repo — these can be individually linked into the target project later.
26-
27-
npm exec --workspaces -- yarn link
28-
26+
```sh
27+
npm exec --workspaces -- yarn link
28+
```
2929
2. **Use `yarn link` to replace Metro packages in your target project**
3030

3131
From inside our target project folder, `yarn link <package-name>` can be used to apply our registered `metro` packages for that project only.
@@ -59,7 +59,9 @@ Our recommended workflow is to use [`yarn link`][1] to register local `metro` pa
5959

6060
Now we should be able to run Metro within our target project. Remember to restart this command after any code changes you make to `metro` or to the target project's `metro.config.js` file.
6161
62-
yarn react-native start
62+
```sh
63+
yarn react-native start
64+
```
6365
6466
4. **(Optional) Clean up with `yarn unlink`**
6567
@@ -70,7 +72,7 @@ Our recommended workflow is to use [`yarn link`][1] to register local `metro` pa
7072
Metro uses the [debug](https://www.npmjs.com/package/debug) package to write logs under named debug scopes (for example: `Metro:WatchmanWatcher`). Set the `DEBUG` environment variable before starting Metro to enable logs matching the supplied pattern.
7173
7274
The snippet below provides a pattern matching all Metro-defined messages.
73-
74-
DEBUG='Metro:*' yarn metro serve
75-
75+
```sh
76+
DEBUG='Metro:*' yarn metro serve
77+
```
7678
[1]: https://classic.yarnpkg.com/en/docs/cli/link

assets/css/styles.1ad1ff84.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/styles.ae95a5a6.css

-1
This file was deleted.

assets/js/0058b4c6.74230173.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/1008.cfb2bb98.js

-1
This file was deleted.

0 commit comments

Comments
 (0)