diff --git a/docs/usage/node.md b/docs/usage/node.md index 22e2abbceeb241e91f5e91259660508b56731556..08c41a6acd6b1e493e46bc3976b2cbf4085db5b1 100644 --- a/docs/usage/node.md +++ b/docs/usage/node.md @@ -5,11 +5,12 @@ description: Node.js versions support in Renovate # Node.js Versions -Renovate can upgrade the [Node.js](https://nodejs.org/en/) runtime used by your project so that you're using the latest bug fixes, performance improvements, security mitigations, etc. that meet your project's unique needs. +Renovate can upgrade the [Node.js](https://nodejs.org/en/) runtime used by your project. +This way you're using the latest bug fixes, performance improvements, security mitigations, etc. ## File Support -Renovate is capable of managing the Node.js version in the following files: +Renovate can manage the Node.js version in the following files: - The [`engines`](https://docs.npmjs.com/files/package.json#engines) field in [`package.json`](https://docs.npmjs.com/files/package.json) - The [`volta`](https://docs.volta.sh/guide/understanding#managing-your-project) field in [`package.json`](https://docs.npmjs.com/files/package.json) @@ -22,8 +23,8 @@ Node.js renovation in `package.json > engines` and in `.nvmrc` is enabled by def To enable `.travis.yml` renovation, you must: -1. Enable Travis renovation explicitly by setting the following Renovate configuration: `"travis": { "enabled": true }` -2. Optionally, configure a support policy (As documented below) +1. Enable Travis renovation explicitly by setting the following Renovate configuration: `"travis": { "enabled": true }` +1. Optionally, configure a support policy (As documented below) When Renovate processes your project's repository it will look for the files listed above and submit a single pull request that upgrades all Node.js versions simultaneously. @@ -50,6 +51,7 @@ For example, to instruct Renovate to upgrade your project to the latest [Long-te "supportPolicy": ["lts_latest"] ``` -It's best to define this support policy inside the `node` configuration object so that it is applied to all Node.js-related files. +We recommend that you define this support policy inside the `node` configuration object. +This way, it is applied to all Node.js-related files. For additional language support see the [`supportPolicy` documentation](/configuration-options/#supportpolicy).