From 191df5508afd23db0cac56709fc9d949281b6b52 Mon Sep 17 00:00:00 2001 From: Bernhard Reiter Date: Mon, 16 Oct 2023 18:00:13 +0200 Subject: [PATCH] docs: add hints about minimal required nodejs * update playwright dependency. --- README.md | 5 +++++ package.json | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b114b1..bf2fdb0 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,11 @@ and thus maybe behind the latest developments. ### Install dependencies +Install current LTS version of NodeJS, e.g. see +https://github.com/nodesource/distributions/blob/master/README.md . +Upgrade to the latest version of npm if you can. +Development has been started with Node 18 and npm 10.2. + `npm install` `npx playwright install` diff --git a/package.json b/package.json index 6b75a1b..de02159 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,11 @@ "test:unit": "vitest", "coverage": "vitest run --coverage" }, + "engines": { + "node": "^18.18.2" + }, "devDependencies": { - "@playwright/test": "^1.28.1", + "@playwright/test": "^1.39.0", "@sveltejs/adapter-auto": "^2.0.0", "@sveltejs/adapter-static": "^2.0.2", "@sveltejs/kit": "^1.20.4",