From 7e9d3f259d5dac0d17ca4f3d6844e8cfbb7e33d1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 May 2019 15:48:48 +0200 Subject: Move CLI dependencies in their own package.json --- scripts/setup/cli.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 scripts/setup/cli.sh (limited to 'scripts/setup') diff --git a/scripts/setup/cli.sh b/scripts/setup/cli.sh new file mode 100755 index 000000000..94ca3c441 --- /dev/null +++ b/scripts/setup/cli.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +set -eu + +NOCLIENT=1 yarn install --pure-lockfile + +rm -rf ./dist/server/tools/ + +( + cd ./server/tools + yarn install --pure-lockfile +) + +npm run tsc -- --build ./server/tools/tsconfig.json + +cp -r "./server/tools/node_modules" "./dist/server/tools" -- cgit v1.2.3