Skip to content

Commit

Permalink
Update assets stated Node version requirements to 18, to match CI (#1737
Browse files Browse the repository at this point in the history
)
  • Loading branch information
DavidOliver authored Jul 14, 2023
1 parent 4128951 commit c4aaf30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All asset sources for `ExDoc` live in this directory. The built, ready-to-use versions are found in `formatters/{html,epub}/dist`.

To work on these assets you need to have [Node.js] and [npm] installed. (npm is usually installed along with Node.js.) The build process is currently tested in Node 16 LTS.
To work on these assets you need to have [Node.js] and [npm] installed. (npm is usually installed along with Node.js.) The build process is currently tested in Node 18 LTS.

Assets are built with [esbuild], which, along with the JavaScript linter and test-runner, is set as a dependency in the assets `package.json` and installed via [npm]:

Expand Down
4 changes: 2 additions & 2 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"test": "test"
},
"engines": {
"node": ">= 10.0.0",
"npm": ">= 5.6.0"
"node": ">= 18.0.0",
"npm": ">= 9.0.0"
},
"scripts": {
"lint": "npx eslint './js/**/*.js'",
Expand Down

0 comments on commit c4aaf30

Please sign in to comment.