From c4aaf3002c49a8a5fe70d7a0f7e49001d7b90038 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Fri, 14 Jul 2023 14:01:28 +0200 Subject: [PATCH] Update assets stated Node version requirements to 18, to match CI (#1737) --- assets/README.md | 2 +- assets/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/README.md b/assets/README.md index 2e5fcf6df..c0a2a18b0 100644 --- a/assets/README.md +++ b/assets/README.md @@ -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]: diff --git a/assets/package.json b/assets/package.json index 002701cbf..09ea7c104 100644 --- a/assets/package.json +++ b/assets/package.json @@ -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'",