forked from mCaptcha/website
25 lines
790 B
Markdown
25 lines
790 B
Markdown
|
---
|
||
|
title: "How to Update"
|
||
|
description: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure."
|
||
|
lead: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure."
|
||
|
date: 2020-11-12T13:26:54+01:00
|
||
|
lastmod: 2020-11-12T13:26:54+01:00
|
||
|
draft: false
|
||
|
images: []
|
||
|
menu:
|
||
|
docs:
|
||
|
parent: "help"
|
||
|
weight: 610
|
||
|
toc: true
|
||
|
---
|
||
|
|
||
|
{{< alert icon="💡" text="Learn more about <a href=\"https://docs.npmjs.com/about-semantic-versioning\">semantic versioning</a> and <a href=\"https://docs.npmjs.com/cli/v6/using-npm/semver#advanced-range-syntax\">advanced range syntax</a>." >}}
|
||
|
|
||
|
## Update npm packages
|
||
|
|
||
|
Bump the versions in the `devDependencies` section of `./package.json` to your liking, and run:
|
||
|
|
||
|
```bash
|
||
|
npm update
|
||
|
```
|