Skip to content

Commit 7b424ca

Browse files
committed
Bump standardized Node.js version to 22
npm package-based tools are used for various development and maintenance operations for this project and the templates. In order to ensure these operations work as expected, the a specific major version of Node.js is configured for use by the infrastructure systems and collaborators. For the sake of stability, a version of Node.js that has LTS status should be used. Previously, Node.js 16 was used. This version is EOL. The current active LTS version is 22, so that is the new standard version of Node.js for use in this project and the projects where the templates are installed.
1 parent e2c148b commit 7b424ca

12 files changed

+12
-12
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"js-yaml": "^4.1.0"
1616
},
1717
"engines": {
18-
"node": "16.x"
18+
"node": "22.x"
1919
}
2020
}

workflow-templates/check-action-metadata-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Add the following to [`/.gitignore`](https://git-scm.com/docs/gitignore):
4646
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
4747

4848
```text
49-
npm pkg set engines.node=16.x
49+
npm pkg set engines.node=22.x
5050
```
5151

5252
### Readme badge

workflow-templates/check-javascript-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Add the following to [`/.gitignore`](https://git-scm.com/docs/gitignore):
5252
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
5353

5454
```text
55-
npm pkg set engines.node=16.x
55+
npm pkg set engines.node=22.x
5656
```
5757

5858
### Readme badge

workflow-templates/check-markdown-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Commit the resulting changes to the `package.json` and `package-lock.json` files
4949
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
5050

5151
```text
52-
npm pkg set engines.node=16.x
52+
npm pkg set engines.node=22.x
5353
```
5454

5555
#### Taskfile

workflow-templates/check-npm-dependencies-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ ignore: |
9797
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
9898
9999
```text
100-
npm pkg set engines.node=16.x
100+
npm pkg set engines.node=22.x
101101
```
102102

103103
### Documentation

workflow-templates/check-npm-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Install the [check-npm-task.yml](check-npm-task.yml) GitHub Actions workflow to
2626
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
2727

2828
```text
29-
npm pkg set engines.node=16.x
29+
npm pkg set engines.node=22.x
3030
```
3131

3232
If the project contains **npm**-managed projects (i.e., a folder containing a `package.json` file) in paths other than the root of the repository, run the command again from each of those paths.

workflow-templates/check-prettier-formatting-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Commit the resulting changes to the `package.json` and `package-lock.json` files
4646
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
4747

4848
```text
49-
npm pkg set engines.node=16.x
49+
npm pkg set engines.node=22.x
5050
```
5151

5252
#### Prettier

workflow-templates/check-taskfiles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Commit the resulting changes to the `package.json` and `package-lock.json` files
2727
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
2828

2929
```text
30-
npm pkg set engines.node=16.x
30+
npm pkg set engines.node=22.x
3131
```
3232

3333
#### Workflow

workflow-templates/check-toc-task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Commit the resulting changes to the `package.json` and `package-lock.json` files
3838
Configure the version of [**Node.js**](https://nodejs.org) used for development of the project by running the following command from a terminal in the project repository folder:
3939

4040
```text
41-
npm pkg set engines.node=16.x
41+
npm pkg set engines.node=22.x
4242
```
4343

4444
#### Workflow

0 commit comments

Comments
 (0)