🎉 Migrate to use yarn.

This commit is contained in:
Andrey Antukh 2020-07-03 15:41:00 +02:00 committed by Hirunatan
parent e99ec58054
commit 1d30ea4923
10 changed files with 7812 additions and 9683 deletions

View file

@ -123,8 +123,8 @@ RUN set -ex; \
git clone https://github.com/creationix/nvm.git .nvm; \
bash -c "source .nvm/nvm.sh && nvm install $NODE_VERSION"; \
bash -c "source .nvm/nvm.sh && nvm alias default $NODE_VERSION"; \
bash -c "source .nvm/nvm.sh && nvm use default";
bash -c "source .nvm/nvm.sh && nvm use default"; \
bash -c "source .nvm/nvm.sh && npm install -g yarn";
EXPOSE 3447
EXPOSE 3448

View file

@ -5,12 +5,10 @@ source ~/.zshrc
echo "[start-tmux.sh] Installing node dependencies"
pushd ~/uxbox/frontend/
rm -rf node_modules;
npm ci;
yarn install
popd
pushd ~/uxbox/exporter/
rm -rf node_modules;
npm ci;
yarn install
popd
tmux -2 new-session -d -s uxbox