Skip to content

Commit

Permalink
fixup! fix(docs): add npm update example
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Jul 2, 2021
1 parent 052a660 commit 21adc4f
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docs/content/commands/npm-update.md
Expand Up @@ -109,9 +109,11 @@ Suppose your app now also has a dependency on `dep2`

```json
{
"dependencies": {
"dep1": "^1.0.0",
"dep2": "1.0.0"
"name": "my-app",
"dependencies": {
"dep1": "^1.0.0",
"dep2": "1.0.0"
}
}
```

Expand All @@ -120,8 +122,9 @@ and `dep2` itself depends on this limited range of `dep1`
```json
{
"name": "dep2",
"dependencies": {
"dep1": "~1.1.1"
"dependencies": {
"dep1": "~1.1.1"
}
}
```

Expand Down

0 comments on commit 21adc4f

Please sign in to comment.