summary refs log tree commit diff
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-01-24 13:25:00 +0100
committerGitHub <noreply@github.com>2022-01-24 15:25:00 +0300
commitdb0392d688e44f9abef09397d7313806ffc0b9ac (patch)
tree792a3a9aa3ccc9f72c5b6557e4d39f4551f31fde
parentMerge pull request #606 from MaddyUnderStars/hotfix/node-fetch (diff)
downloadserver-db0392d688e44f9abef09397d7313806ffc0b9ac.tar.xz
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.
-rw-r--r--bundle/package.json2
1 files changed, 1 insertions, 1 deletions
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",