Move CLI dependencies in their own package.json

This commit is contained in:
Chocobozzz 2019-05-24 15:48:48 +02:00 committed by Chocobozzz
parent ff747e7940
commit 7e9d3f259d
11 changed files with 3015 additions and 1413 deletions

16
scripts/setup/cli.sh Executable file
View file

@ -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"