Skip to content
Snippets Groups Projects
Unverified Commit 920d27a6 authored by HonkingGoose's avatar HonkingGoose Committed by GitHub
Browse files

docs: bump npm version used in example (#12660)

parent 8e8315de
No related branches found
No related tags found
No related merge requests found
...@@ -24,12 +24,12 @@ When `binarySource=docker`, such as in the hosted WhiteSource Renovate App, Reno ...@@ -24,12 +24,12 @@ When `binarySource=docker`, such as in the hosted WhiteSource Renovate App, Reno
To control which version or constraint is installed, you should use the `engines.npm` property in your `package.json` file. To control which version or constraint is installed, you should use the `engines.npm` property in your `package.json` file.
Renovate bot will then use that version constraint for npm when it creates a pull request. Renovate bot will then use that version constraint for npm when it creates a pull request.
For example, if you want to use at least npm `6.14.11` and also allow newer versions of npm in the `6.x` range, you would put this in your `package.json` file: For example, if you want to use at least npm `8.1.0` and also allow newer versions of npm in the `8.x` range, you would put this in your `package.json` file:
```json ```json
{ {
"engines": { "engines": {
"npm": "^6.14.11" "npm": "^8.1.0"
} }
} }
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment