From 8d7247600ac99b34677ae9eda0c49dd1fe4364a5 Mon Sep 17 00:00:00 2001 From: benjaminparisel Date: Thu, 4 Apr 2024 16:54:46 +0200 Subject: [PATCH] chore: Break script when node version is not supported --- .npmrc | 1 + package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..4fd0219 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 147a887..4ee4ff7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -59,7 +59,7 @@ "vinyl-fs": "~3.0.3" }, "engines": { - "node": ">= 8.0.0" + "node": "18" } }, "node_modules/@algolia/autocomplete-core": { diff --git a/package.json b/package.json index 5e4d0d3..b0d0faf 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "url": "https://github.com/bonitasoft/bonita-documentation-theme" }, "engines": { - "node": ">= 8.0.0" + "node": "18" }, "browserslist": [ "last 2 versions"