Skip to content

Commit

Permalink
Merge branch 'global-pkg' of https://github.com/Medallyon/npm-upgrade
Browse files Browse the repository at this point in the history
…into global-pkg
  • Loading branch information
medallyon committed Nov 26, 2021
2 parents 72278e7 + c5da769 commit a245640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ If you want to check only a group of deps use these options:
-o, --optional Check only "optionalDependencies"
```

Alternatively, you can use the `-g` (`--global`) flag to upgrade your global packages. **Note** that this flag is mutually exclusive and `npm-upgrade` will only recognise the global flag if supplied with others. Also **Note** that this option will automatically attempt to upgrade your global packages using `npm install <package>@<new-version>`.
Alternatively, you can use the `-g` (`--global`) flag to upgrade your global packages. **Note** that this flag is mutually exclusive and `npm-upgrade` will only recognise the global flag if supplied with others. Also **Note** that this option will automatically attempt to upgrade your global packages using `npm install -g <package>@<new-version>`.

#### Ignoring module
Sometimes you just want to ignore newer versions of some dependency for some reason. For example, you use `jquery v2` because of the old IE support and don't want `npm-upgrade` to suggest you updating it to `v3`. Or you use `some-funky-module@6.6.5` and know that the new version `6.6.6` contains a bug that breaks your app.
Expand Down

0 comments on commit a245640

Please sign in to comment.