From 30c05ed763674c288118cacb4ba89d061e1dd238 Mon Sep 17 00:00:00 2001 From: Janosch Maier Date: Tue, 30 Nov 2021 23:31:56 +0100 Subject: [PATCH] Set node version to 16 --- CONTRIBUTING.md | 2 +- package-lock.json | 4 ++-- package.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2bcd85df8..ef7d94c7d 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -62,7 +62,7 @@ you'll want to get the source, build it, and run it locally. ## Installing Prerequisites -You'll need git and a recent version of Node.JS (any v17.1.0+ is recommended +You'll need git and a recent version of Node.JS (currently v16.X is recommended with npm v8.1.2+). [nvm](https://github.com/creationix/nvm) is also highly recommended. Based on your platform, you'll also need: diff --git a/package-lock.json b/package-lock.json index ca51f62e6..50ed3cee5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -90,8 +90,8 @@ "underscore": "^1.13.1" }, "engines": { - "node": ">=11", - "npm": ">=7" + "node": "^16", + "npm": ">=8" } }, "node_modules/@babel/code-frame": { diff --git a/package.json b/package.json index 56385e24e..3325e492a 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "url": "git+https://github.com/Foundry376/Mailspring.git" }, "engines": { - "node": ">=11", - "npm": ">=7" + "node": "^16", + "npm": ">=8" }, "dependencies": { "@types/better-sqlite3": "^5.4.0",