From 980f194968791fbb9b760ae5fb4907e8b96fb948 Mon Sep 17 00:00:00 2001 From: Nikita Karamov Date: Wed, 3 Mar 2021 14:16:45 +0100 Subject: [PATCH] Add engines.node --- CHANGELOG.md | 2 ++ package.json | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a3ba32..1a68382 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - `.node-version` file for nodenv +- Added `engines.node` field to `package.json` + - this is required to ensure the correct environment for builds ### Security diff --git a/package.json b/package.json index 08dc8ac..5c391d6 100644 --- a/package.json +++ b/package.json @@ -24,5 +24,8 @@ "pug": "^3.0.1", "sass": "^1.26.11", "sirv-cli": "^1.0.10" + }, + "engines": { + "node": "^12" } }