From db0392d688e44f9abef09397d7313806ffc0b9ac Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Mon, 24 Jan 2022 13:25:00 +0100 Subject: [PATCH] Speed up setup by not installing optional packages (#605) Only downside is no db engines are included by default, removing compile time for packages like sqlite3. --- bundle/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/package.json b/bundle/package.json index 75827521..331e4ebe 100644 --- a/bundle/package.json +++ b/bundle/package.json @@ -4,7 +4,7 @@ "description": "", "main": "src/start.js", "scripts": { - "setup": "node scripts/install.js && npm install && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build", + "setup": "node scripts/install.js && npm install --no-optional && ts-patch install -s && patch-package --patch-dir ../api/patches/ && npm run build", "build": "node scripts/build.js", "start": "node scripts/build.js && node dist/bundle/src/start.js", "start:bundle": "node dist/bundle/src/start.js",