build: Use prettier for markdown
Stop ignoring .md files in prettier and fix existing issues.
This commit is contained in:
+6
-1
@@ -1,21 +1,25 @@
|
||||
# Updating npm dependencies
|
||||
|
||||
- Check outdated packages
|
||||
|
||||
```sh
|
||||
npm outdated
|
||||
```
|
||||
|
||||
- Update local packages according to `package.json`
|
||||
|
||||
```sh
|
||||
npm update
|
||||
```
|
||||
|
||||
- Upgrade packages manually
|
||||
|
||||
```sh
|
||||
npm install --save[-dev] <package_name>@latest
|
||||
```
|
||||
|
||||
Alternatively, you can use [npm-check](https://github.com/dylang/npm-check) to perform an interactive upgrade:
|
||||
|
||||
```sh
|
||||
npm-check -u --skip-unused
|
||||
```
|
||||
@@ -28,13 +32,14 @@ reproducible dependency tree and avoid unwanted package updates.
|
||||
|
||||
If you use a previous npm version, it is recommended to use [npm shrinkwrap](https://docs.npmjs.com/cli/shrinkwrap) to
|
||||
lock down all your dependencies version:
|
||||
|
||||
```sh
|
||||
npm shrinkwrap --dev
|
||||
```
|
||||
|
||||
This will create a file `npm-shrinkwrap.json` alongside your `package.json` files.
|
||||
|
||||
> Do not forget to run shrinkwrap each time you manually update your dependencies!
|
||||
> Do not forget to run shrinkwrap each time you manually update your dependencies!
|
||||
|
||||
# Updating angular-cli
|
||||
|
||||
|
||||
Reference in New Issue
Block a user