diff --git a/README.md b/README.md index 0f65d98..6afb824 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ An open source, modern and powerful wiki app built on Node.js, Git and Markdown **Wiki.js is still under development, all features not already implemented.** -**Shipped version:** 2.0.0-beta.15 +**Shipped version:** 2.0.0-beta.11 ## Licence diff --git a/manifest.json b/manifest.json index efac860..1aa8d07 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "An open source, modern and powerful wiki app built on Node.js, Git and Markdown for YunoHost.", "fr": "Un wiki moderne et open source propulsé Node.js, Git et Markdown pour YunoHost." }, - "version": "2.0.0-beta.15~ynh1", + "version": "2.0.0-beta.11~ynh1", "url": "https://wiki.js.org/", "license": "AGPL-3.0-or-later", "maintainer": { diff --git a/scripts/install b/scripts/install index ee20d52..e61e262 100644 --- a/scripts/install +++ b/scripts/install @@ -136,7 +136,7 @@ ynh_app_setting_set $app final_path $final_path git clone https://github.com/Requarks/wiki "$final_path" pushd $final_path - git checkout tags/2.0.0-beta.15 + git checkout tags/2.0.0-beta.11 popd #================================================= @@ -190,7 +190,11 @@ 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 + sudo -u $app env PATH=$PATH:$nodejs_path npm audit fix sudo -u $app env PATH=$PATH:$nodejs_path npm run build popd diff --git a/scripts/upgrade b/scripts/upgrade index 42da3b5..d5aa727 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -88,7 +88,7 @@ path_url=$(ynh_normalize_url_path $path_url) pushd $final_path git pull - git checkout tags/2.0.0-beta.15 + git checkout tags/2.0.0-beta.11 popd #=================================================