-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved language used in markdown code blocks. (#6419)
* Improved language used in code blocks.
- Loading branch information
Showing
16 changed files
with
129 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -130,13 +130,13 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You may also optionally update the global command-line utility for scoped package support: | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -187,13 +187,13 @@ npm install -g [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You may also optionally update the global command-line utility for offline Yarn cache support: | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -322,13 +322,13 @@ npm install -g [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You may also optionally update the global command-line utility for more efficient installs (thanks [@n3tr](https://github.com/n3tr)): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -494,7 +494,7 @@ Thanks to [@Timer](https://github.com/timer) for cutting this release. | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -519,13 +519,13 @@ Thanks to [@fson](https://github.com/fson) for cutting this release. | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You may also optionally update the global command-line utility: | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -621,13 +621,13 @@ npm install -g [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You may also optionally update the global command-line utility: | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -662,13 +662,13 @@ npm install -g [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
You can optionally update the global CLI too: | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
|
@@ -751,7 +751,7 @@ npm install -g [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -767,7 +767,7 @@ Thanks to [@fson](https://github.com/fson) for cutting this release. | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -917,13 +917,13 @@ Thanks to [@fson](https://github.com/fson) for cutting this release. | |
|
||
You may optionally update the global command (it’s not required, but it adds Yarn support for new projects): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -969,13 +969,13 @@ Thanks to [@fson](https://github.com/fson) for cutting this release. | |
|
||
You may optionally update the global command (it’s not required): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -984,7 +984,7 @@ npm install --save-dev --save-exact [email protected] | |
#### Updating Snapshots | ||
|
||
Jest 16 includes [improvements to snapshot testing and changes to the snapshot format](https://facebook.github.io/jest/blog/2016/10/03/jest-16.html#snapshot-updates). If your project uses snapshot testing, you'll need to update the snapshot files. To update the snapshots, run: | ||
``` | ||
```sh | ||
npm test -- -u | ||
``` | ||
|
||
|
@@ -1002,7 +1002,7 @@ npm test -- -u | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1020,7 +1020,7 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1040,7 +1040,7 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1077,7 +1077,7 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1095,7 +1095,7 @@ You can no longer reference any files from `./src` in `index.html`. Instead, `pu | |
|
||
For example, instead of: | ||
|
||
```js | ||
```html | ||
<link rel="shortcut icon" href="./src/favicon.ico"> | ||
``` | ||
|
||
|
@@ -1120,7 +1120,7 @@ It contained no changes to the code. | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1153,13 +1153,13 @@ npm install --save-dev --save-exact [email protected] | |
|
||
You may optionally update the global command (it’s not required): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1174,7 +1174,7 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1191,7 +1191,7 @@ npm install --save-dev --save-exact [email protected] | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1215,7 +1215,7 @@ If you referenced some other files from `index.html`, please file an issue to di | |
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1239,13 +1239,13 @@ npm install --save-dev --save-exact [email protected] | |
|
||
You may optionally update the global command (it’s not required): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
@@ -1357,13 +1357,13 @@ Newly created projects will use `0.2.1` automatically. You **don’t** need to u | |
|
||
You may optionally update the global command (it’s not required): | ||
|
||
``` | ||
```sh | ||
npm install -g [email protected] | ||
``` | ||
|
||
Inside any created project that has not been ejected, run: | ||
|
||
``` | ||
```sh | ||
npm install --save-dev --save-exact [email protected] | ||
``` | ||
|
||
|
Oops, something went wrong.