mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Back to normal with swap
This commit is contained in:
parent
48495904a7
commit
6ebb61d73e
3 changed files with 1 additions and 12 deletions
|
@ -217,7 +217,6 @@ ynh_add_nginx_config
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
export NODE_OPTIONS=--max_old_space_size=1024
|
|
||||||
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||||
|
|
|
@ -135,7 +135,6 @@ ynh_script_progression --message="Building Yarn dependencies... This can be very
|
||||||
|
|
||||||
pushd "$final_path"
|
pushd "$final_path"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
export NODE_OPTIONS=--max_old_space_size=1024
|
|
||||||
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
ynh_script_progression --message="Fetching Yarn production dependencies... This can be very long, be patient !" --weight=18
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install --frozen-lockfile --network-timeout 1000000000 2>&1
|
||||||
ynh_script_progression --message="Cleaning cache... " --weight=3
|
ynh_script_progression --message="Cleaning cache... " --weight=3
|
||||||
|
|
|
@ -113,18 +113,9 @@ index 352d1993a..5e3c24636 100644
|
||||||
version "0.4.1"
|
version "0.4.1"
|
||||||
resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff"
|
resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.4.1.tgz#b5418ef0439de5425fc4995042dced14fb2a84ff"
|
||||||
diff --git a/package.json b/package.json
|
diff --git a/package.json b/package.json
|
||||||
index 787991dc1..b5b717014 100644
|
index 787991dc1..7d610c010 100644
|
||||||
--- a/package.json
|
--- a/package.json
|
||||||
+++ b/package.json
|
+++ b/package.json
|
||||||
@@ -8,7 +8,7 @@
|
|
||||||
"copy:i18n": "mkdir -p ./build/shared/i18n && cp -R ./shared/i18n/locales ./build/shared/i18n",
|
|
||||||
"build:i18n": "i18next --silent '{shared,app,server,plugins}/**/*.{ts,tsx}' && yarn copy:i18n",
|
|
||||||
"build:server": "./build.sh",
|
|
||||||
- "build": "yarn clean && yarn vite:build && yarn build:i18n && yarn build:server",
|
|
||||||
+ "build": "yarn clean && NODE_OPTIONS='--max-old-space-size=1900' yarn vite:build && yarn build:i18n && NODE_OPTIONS='--max-old-space-size=1900' yarn build:server",
|
|
||||||
"start": "node ./build/server/index.js",
|
|
||||||
"dev": "NODE_ENV=development yarn concurrently -n api,collaboration -c \"blue,magenta\" \"node --inspect=0.0.0.0 build/server/index.js --services=collaboration,websockets,admin,web,worker\"",
|
|
||||||
"dev:backend": "nodemon --exec \"yarn build:server && yarn dev\" -e js,ts,tsx --ignore build/ --ignore app/ --ignore shared/editor",
|
|
||||||
@@ -150,6 +150,7 @@
|
@@ -150,6 +150,7 @@
|
||||||
"passport": "^0.6.0",
|
"passport": "^0.6.0",
|
||||||
"passport-google-oauth2": "^0.2.0",
|
"passport-google-oauth2": "^0.2.0",
|
||||||
|
|
Loading…
Reference in a new issue