From c8fa29720fcf512b58066c459d584a3860de6c7f Mon Sep 17 00:00:00 2001 From: batrdn Date: Thu, 29 Feb 2024 18:40:41 +0100 Subject: [PATCH] fix: specify node and npm versions --- package-lock.json | 8 ++++++++ packages/core/package.json | 4 ++++ packages/mongoose/package.json | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/package-lock.json b/package-lock.json index 6a78df1..fc4e927 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10555,6 +10555,10 @@ }, "devDependencies": { "@types/micromatch": "^4.0.6" + }, + "engines": { + "node": ">=18.*", + "npm": ">=9.*" } }, "packages/mongoose": { @@ -10567,6 +10571,10 @@ "devDependencies": { "@testcontainers/mongodb": "^10.7.1" }, + "engines": { + "node": ">=18.*", + "npm": ">=9.*" + }, "peerDependencies": { "mongoose": ">=6" } diff --git a/packages/core/package.json b/packages/core/package.json index 109706d..0f5c490 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -2,6 +2,10 @@ "name": "@mocking-bird/core", "version": "1.0.0", "private": false, + "engines": { + "node": ">=18.*", + "npm": ">=9.*" + }, "scripts": { "typecheck": "tsc -p tsconfig.json --noEmit", "test": "nx test @mocking-bird/core" diff --git a/packages/mongoose/package.json b/packages/mongoose/package.json index 65833b9..40c110d 100644 --- a/packages/mongoose/package.json +++ b/packages/mongoose/package.json @@ -2,6 +2,10 @@ "name": "@mocking-bird/mongoose", "version": "1.0.0", "private": false, + "engines": { + "node": ">=18.*", + "npm": ">=9.*" + }, "scripts": { "typecheck": "tsc -p tsconfig.json --noEmit", "test": "nx test @mocking-bird/mongoose"