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:
parent
9fd8edc2e3
commit
cb156914b6
1 changed files with 7 additions and 6 deletions
|
@ -190,12 +190,13 @@ chown -R "$app":"$app" "$final_path"
|
|||
|
||||
pushd $final_path
|
||||
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 "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 "eslint@>=5.0.0" --save
|
||||
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 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 "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
|
||||
#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
|
||||
popd
|
||||
|
||||
|
|
Loading…
Reference in a new issue