From 872e9c195129d67ed826451953f6052d3693fec3 Mon Sep 17 00:00:00 2001 From: deegiimurun Date: Fri, 7 Apr 2023 03:43:17 +0800 Subject: [PATCH] forcing node version via .npmrc, ignoring intellij .idea folder --- .gitignore | 1 + .npmrc | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 0501aee59..7a2b193c3 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ dist compiled release test/.userData +.idea .vscode .parcel-cache *.tsbuildinfo diff --git a/.npmrc b/.npmrc index 67f1b0d52..8c90480d2 100644 --- a/.npmrc +++ b/.npmrc @@ -3,3 +3,7 @@ # to build native dependencies so for the time being we provide the "--ignore-scripts" # CLI parameter on install instead ignore-scripts = false + +# If set to true, then npm will stubbornly refuse to install (or even consider installing) +# any package that claims to not be compatible with the current Node.js version. +engine-strict=true