1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wikijs_ynh.git synced 2024-09-03 20:36:09 +02:00

activating yarn

This commit is contained in:
yalh76 2019-02-03 08:28:45 +01:00
parent 9fd8edc2e3
commit cb156914b6

View file

@ -190,12 +190,13 @@ chown -R "$app":"$app" "$final_path"
pushd $final_path pushd $final_path
ynh_use_nodejs ynh_use_nodejs
sudo -u $app env PATH=$PATH:$nodejs_path npm install "acorn@^6.0.0" --save #sudo -u $app env PATH=$PATH:$nodejs_path npm install "acorn@^6.0.0" --save
sudo -u $app env PATH=$PATH:$nodejs_path npm install "babel-core@>=6.0.20" --save #sudo -u $app env PATH=$PATH:$nodejs_path npm install "babel-core@>=6.0.20" --save
sudo -u $app env PATH=$PATH:$nodejs_path npm install "graphql@^0.13.0" --save #sudo -u $app env PATH=$PATH:$nodejs_path npm install "graphql@^0.13.0" --save
sudo -u $app env PATH=$PATH:$nodejs_path npm install "eslint@>=5.0.0" --save #sudo -u $app env PATH=$PATH:$nodejs_path npm install "eslint@>=5.0.0" --save
sudo -u $app env PATH=$PATH:$nodejs_path npm install #sudo -u $app env PATH=$PATH:$nodejs_path npm install
sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix #sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix
sudo -u $app env PATH=$PATH:$nodejs_path yarn install
sudo -u $app env PATH=$PATH:$nodejs_path npm run build sudo -u $app env PATH=$PATH:$nodejs_path npm run build
popd popd