From abd6333da8dc97ed0c95a731a498a87191614170 Mon Sep 17 00:00:00 2001 From: M1000fr Date: Tue, 26 Nov 2024 19:31:12 +0100 Subject: [PATCH] ref: only use yarn ! --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index dd02a03..2cd2950 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,8 @@ "start:dev": "nest start --watch", "start:debug": "nest start --debug --watch", "start:prod": "node dist/main", - "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix" + "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix", + "preinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('You must use Yarn to install, not NPM')\"" }, "dependencies": { "@apollo/server": "^4.11.2",