mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Update developer docs for upgrading Node.js (#96422)
This commit is contained in:
parent
02ba7c4543
commit
5d54e2990b
1 changed files with 6 additions and 2 deletions
|
@ -14,10 +14,14 @@ Theses files must be updated when upgrading Node.js:
|
|||
- {kib-repo}blob/{branch}/.node-version[`.node-version`]
|
||||
- {kib-repo}blob/{branch}/.nvmrc[`.nvmrc`]
|
||||
- {kib-repo}blob/{branch}/package.json[`package.json`] - The version is specified in the `engines.node` field.
|
||||
- {kib-repo}blob/{branch}/WORKSPACE.bazel[`WORKSPACE.bazel`] - The version is specified in the `node_version` property.
|
||||
Besides this property, the list of files under `node_repositories` must be updated along with their respective SHA256 hashes.
|
||||
These can be found on the https://nodejs.org[nodejs.org] website.
|
||||
Example for Node.js v14.16.1: https://nodejs.org/dist/v14.16.1/SHASUMS256.txt.asc
|
||||
|
||||
See PR {kib-repo}pull/86593[#86593] for an example of how the Node.js version has been upgraded previously.
|
||||
See PR {kib-repo}pull/96382[#96382] for an example of how the Node.js version has been upgraded previously.
|
||||
|
||||
In the 6.8 branch, the `.ci/Dockerfile` file does not exist, so when upgrading Node.js in that branch, just skip that file.
|
||||
In the 6.8 branch, neither the `.ci/Dockerfile` file nor the `WORKSPACE.bazel` file exists, so when upgrading Node.js in that branch, just skip those files.
|
||||
|
||||
=== Backporting
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue