diff --git a/.node-version b/.node-version index 87ec8842b1..a9d087399d 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -18.18.2 +18.19.0 diff --git a/demos/using-dev-build/package.json b/demos/using-dev-build/package.json index 3dceab425d..fdf9d60704 100644 --- a/demos/using-dev-build/package.json +++ b/demos/using-dev-build/package.json @@ -4,12 +4,13 @@ "private": true, "type": "module", "scripts": { + "opts": "NODE_OPTIONS='--loader ts-node/esm --experimental-specifier-resolution=node' \"$@\"", "wdio": "wdio run ./wdio.conf.ts", - "test": "ts-node --esm ./test.ts", + "test": "npm run opts -- ./test.ts", "format": "prettier --write --plugin-search-dir=. .", "build": "tsc --noEmit && vite build", "dev": "vite", - "proxy": "ts-node --esm ./test.ts --no-run" + "proxy": "npm run opts -- ./test.ts --no-run" }, "devDependencies": { "@wdio/cli": "^8.22.1", diff --git a/package.json b/package.json index 79ddc49a66..382477b441 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "zod": "^3.22.3" }, "engines": { - "npm": ">=9.0.0 <10.0.0", + "npm": ">=10.0.0 <11.0.0", "node": ">=18.0.0 <19.0.0" } }