Update 23-01-2020
This commit is contained in:
@@ -88,7 +88,14 @@ jquery MISSING 3.2.1 3.2.1
|
||||
livephotoskit 1.4.11 1.5.2 1.5.2
|
||||
```
|
||||
|
||||
`npm outdated` montre plusieurs choses:
|
||||
|
||||
1. Current: la version actuelle du module.
|
||||
2. Wanted: la dernière version qui satisfait le semver ranges decrit dans le package.json
|
||||
3. Latest: la toutedernière version du module disponible sur npm.
|
||||
|
||||
<u>Mettre-à-jour:</u>
|
||||
|
||||
```bash
|
||||
$ npm outdated | awk '{print $1}' | xargs npm update
|
||||
```
|
||||
@@ -105,6 +112,30 @@ Installer npm packages globalement => `/usr/local/lib/node_modules/`
|
||||
|
||||
|
||||
|
||||
#### npm verb outdated not updating @angular/cli because it's currently at the maximum version that matches its specified semver range:
|
||||
|
||||
[Stackoverflow](https://stackoverflow.com/questions/39758042/npm-update-does-not-do-anything) [semver range](https://docs.npmjs.com/misc/semver#advanced-range-syntax)
|
||||
|
||||
```bash
|
||||
$ npm update -g --verbose @angular/cli
|
||||
|
||||
npm verb outdated not updating rxjs because it's currently at the maximum version that matches its specified semver range
|
||||
```
|
||||
|
||||
|
||||
|
||||
#### Plus info sur une commande:
|
||||
|
||||
```bash
|
||||
# Mode verbose:
|
||||
$ npm update -g --verbose
|
||||
|
||||
# Exécute la commande sans rien installer:
|
||||
$ npm install -g --dry-run
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
#### Aller dans node_modules:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user