build: Use prettier for markdown

Stop ignoring .md files in prettier and fix existing issues.
This commit is contained in:
Ralph Hopman
2024-12-18 17:09:22 +01:00
committed by Adam Saghy
parent 5d3271dec7
commit e3fbf8b81d
21 changed files with 269 additions and 197 deletions
+6 -1
View File
@@ -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