From 2df70635455dfb4b9b3974ac86060fdcea377672 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:03:26 +0100 Subject: [PATCH 01/19] Update v13.1.3 + Fix --- .github/workflows/updater.sh | 2 +- conf/app.src | 5 ----- manifest.toml | 9 +++++++-- 3 files changed, 8 insertions(+), 8 deletions(-) delete mode 100644 conf/app.src diff --git a/.github/workflows/updater.sh b/.github/workflows/updater.sh index 194313e..e56315c 100755 --- a/.github/workflows/updater.sh +++ b/.github/workflows/updater.sh @@ -10,7 +10,7 @@ # automatic actions when a new upstream release is detected. # Remove this exit command when you are ready to run this Action -#exit 1 +exit 1 #================================================= # FETCHING LATEST RELEASE AND ITS ASSETS diff --git a/conf/app.src b/conf/app.src deleted file mode 100644 index 3c40761..0000000 --- a/conf/app.src +++ /dev/null @@ -1,5 +0,0 @@ -SOURCE_URL=https://codeberg.org/calckey/calckey/archive/v13.1.2.tar.gz -SOURCE_SUM=1CA6ACE1BAC1F9BFBA70FC55F828F8C6F3BCC042003A6FE8D9FB16DF0AD678EB -SOURCE_SUM_PRG=sha256sum -SOURCE_FORMAT=tar.gz -SOURCE_IN_SUBDIR=true diff --git a/manifest.toml b/manifest.toml index d3bc8e1..4871e25 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Calckey" description.en = "Fork of Misskey with better UI/UX, security, features" description.fr = "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités" -version = "13.1.2~ynh1" +version = "13.1.3~ynh1" maintainers = ["oufmilo"] @@ -16,7 +16,7 @@ demo = "https://i.calckey.cloud/" code = "https://codeberg.org/calckey/calckey" [integration] -yunohost = ">= 11.0.0" +yunohost = ">= 11.1.14" architectures = "all" multi_instance = false ldap = "not_relevant" @@ -38,6 +38,11 @@ ram.runtime = "50M" default = "visitors" [resources] + + [resources.sources.main] + url = "https://codeberg.org/calckey/calckey/archive/v13.1.3.tar.gz" + sha256 = "7AD69C20920573F046225332C6422DC0F0DAE473060B2480899DE83F02CA9AA4" + [resources.system_user] [resources.install_dir] From 2050c73bb6fd4a26a0cdc43e1aa7c1d71e6a533a Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:08:13 +0100 Subject: [PATCH 02/19] Fix --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 4871e25..34f36f2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -41,7 +41,7 @@ ram.runtime = "50M" [resources.sources.main] url = "https://codeberg.org/calckey/calckey/archive/v13.1.3.tar.gz" - sha256 = "7AD69C20920573F046225332C6422DC0F0DAE473060B2480899DE83F02CA9AA4" + sha256 = "7ad69c20920573f046225332c6422dc0f0dae473060b2480899de83f02ca9aa4" [resources.system_user] From 38feeb02c101fb1a181d2986f1f210d1eb2736bd Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:25:01 +0100 Subject: [PATCH 03/19] Fix install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 6be975a..5aed7c3 100644 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,7 @@ pushd "$install_dir" corepack enable corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init popd From 2c2df98ad376e149b2e9249bbd6826c2af56485c Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:36:02 +0100 Subject: [PATCH 04/19] Fix --- manifest.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifest.toml b/manifest.toml index 34f36f2..fbc86b7 100644 --- a/manifest.toml +++ b/manifest.toml @@ -22,8 +22,8 @@ multi_instance = false ldap = "not_relevant" sso = "not_relevant" disk = "50M" -ram.build = "50M" -ram.runtime = "50M" +ram.build = "2G" +ram.runtime = "2G" [install] [install.domain] @@ -40,8 +40,8 @@ ram.runtime = "50M" [resources] [resources.sources.main] - url = "https://codeberg.org/calckey/calckey/archive/v13.1.3.tar.gz" - sha256 = "7ad69c20920573f046225332c6422dc0f0dae473060b2480899de83f02ca9aa4" + url = "https://codeberg.org/calckey/calckey/archive/v13.1.3.tar.gz" + sha256 = "7ad69c20920573f046225332c6422dc0f0dae473060b2480899de83f02ca9aa4" [resources.system_user] From a3d907d2832114a42df8347414966c49f09581d9 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Wed, 15 Mar 2023 17:33:35 +0100 Subject: [PATCH 05/19] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index ffeb039..db1a267 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ # PHP APP SPECIFIC #================================================= -NODEJS_VERSION="19" +NODEJS_VERSION="18.15.0" # dependencies used by the app pkg_dependencies="ffmpeg postgresql build-essential" From 444fbbaf9e9364f74a38b935667af67dc82c9007 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Mar 2023 00:54:58 +0100 Subject: [PATCH 06/19] Fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 5aed7c3..ad131c1 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init popd From 6cb5d09ba1deae91bbb33f7c58814ecc2196c115 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:02:21 +0100 Subject: [PATCH 07/19] test --- manifest.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index fbc86b7..8707b8e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -40,8 +40,8 @@ ram.runtime = "2G" [resources] [resources.sources.main] - url = "https://codeberg.org/calckey/calckey/archive/v13.1.3.tar.gz" - sha256 = "7ad69c20920573f046225332c6422dc0f0dae473060b2480899de83f02ca9aa4" + url = "https://codeberg.org/calckey/calckey/archive/v13.1.4.1.tar.gz" + sha256 = "5BD66E8ADE6ABAF205DA6C4AD9A9389719C09CE0BBF672389E1B84AF48AFCBBC" [resources.system_user] From b529bd710b5d4325f0f5348cecb0f6037d1894a0 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:07:09 +0100 Subject: [PATCH 08/19] Update v13.1.4.1 --- manifest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 8707b8e..ed615c0 100644 --- a/manifest.toml +++ b/manifest.toml @@ -41,7 +41,7 @@ ram.runtime = "2G" [resources.sources.main] url = "https://codeberg.org/calckey/calckey/archive/v13.1.4.1.tar.gz" - sha256 = "5BD66E8ADE6ABAF205DA6C4AD9A9389719C09CE0BBF672389E1B84AF48AFCBBC" + sha256 = "5bd66e8ade6abaf205da6c4ad9a9389719c09ce0bbf672389e1b84af48afcbbc" [resources.system_user] From 7e233da15c5e04cf455e65ae9e2d43592fcd5d14 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:25:32 +0100 Subject: [PATCH 09/19] Fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index ad131c1..0499d93 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm -r install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init popd From c833911384bc680fdf5e951d7f46fbb2c2bc2463 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sun, 19 Mar 2023 16:30:45 +0100 Subject: [PATCH 10/19] Fix --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0499d93..bb3704b 100644 --- a/scripts/install +++ b/scripts/install @@ -70,8 +70,8 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm -r install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init popd From c5d0259c50b835ec49e29cc67b06e1abfd69850c Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 7 Apr 2023 20:02:57 +0200 Subject: [PATCH 11/19] Fix install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index bb3704b..6be975a 100644 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,7 @@ pushd "$install_dir" corepack enable corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production NODE_OPTIONS=--max_old_space_size=8192 pnpm build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init popd From 064f733466ef70ed94434529160c7217de77f09d Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 7 Apr 2023 20:44:02 +0200 Subject: [PATCH 12/19] Fix --- scripts/_common.sh | 2 +- scripts/install | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index db1a267..ffeb039 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -6,7 +6,7 @@ # PHP APP SPECIFIC #================================================= -NODEJS_VERSION="18.15.0" +NODEJS_VERSION="19" # dependencies used by the app pkg_dependencies="ffmpeg postgresql build-essential" diff --git a/scripts/install b/scripts/install index 6be975a..798a3c3 100644 --- a/scripts/install +++ b/scripts/install @@ -70,6 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate + npm install -g pnpm ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init From 451b72926c3b5a4c8cdbcc5110c624108ada9a14 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Fri, 7 Apr 2023 20:51:44 +0200 Subject: [PATCH 13/19] Fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 798a3c3..2856bd6 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - npm install -g pnpm + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production npm install -g pnpm ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init From a6aeac0db735c654b264fc989a6e1c2b53a66415 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 17:59:03 +0200 Subject: [PATCH 14/19] Fix install --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 2856bd6..4946c22 100644 --- a/scripts/install +++ b/scripts/install @@ -69,8 +69,7 @@ ynh_script_progression --message="Building app... This will take some time." --w pushd "$install_dir" ynh_use_nodejs corepack enable - corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production npm install -g pnpm + corepack prepare pnpm@8.1.1 --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init From f6a3d314965fe5f8f2277ae3402e0cf0bcd7dd15 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:09:08 +0200 Subject: [PATCH 15/19] Fix --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 4946c22..3578f2a 100644 --- a/scripts/install +++ b/scripts/install @@ -69,7 +69,8 @@ ynh_script_progression --message="Building app... This will take some time." --w pushd "$install_dir" ynh_use_nodejs corepack enable - corepack prepare pnpm@8.1.1 --activate + corepack prepare pnpm@latest --activate + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i -D @swc/cli @swc/core ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init From a8a8546a605031bded7047be1f2e52446d31016b Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:18:08 +0200 Subject: [PATCH 16/19] Fix --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 3578f2a..46c36e7 100644 --- a/scripts/install +++ b/scripts/install @@ -70,7 +70,7 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i -D @swc/cli @swc/core + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i -D @swc/cli @swc/core -w ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init From 384504dfc76bc29ade95583124aca5a44bfc3e70 Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 18:48:06 +0200 Subject: [PATCH 17/19] Fix --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 46c36e7..4db6cf5 100644 --- a/scripts/install +++ b/scripts/install @@ -70,10 +70,10 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm i -D @swc/cli @swc/core -w - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run init + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm i -D @swc/cli @swc/core -w + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm run init popd #================================================= From 9836b8fa057d7ac35c2467ee24d8fc1ee78c311d Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 19:19:07 +0200 Subject: [PATCH 18/19] Update v13.1.4.1 --- manifest.toml | 2 +- scripts/_common.sh | 3 --- scripts/install | 5 ++--- scripts/upgrade | 2 +- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index ed615c0..5abc9e2 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Calckey" description.en = "Fork of Misskey with better UI/UX, security, features" description.fr = "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités" -version = "13.1.3~ynh1" +version = "13.1.4.1~ynh1" maintainers = ["oufmilo"] diff --git a/scripts/_common.sh b/scripts/_common.sh index ffeb039..42e7239 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -8,9 +8,6 @@ NODEJS_VERSION="19" -# dependencies used by the app -pkg_dependencies="ffmpeg postgresql build-essential" - #================================================= # PERSONAL HELPERS #================================================= diff --git a/scripts/install b/scripts/install index 4db6cf5..b65e647 100644 --- a/scripts/install +++ b/scripts/install @@ -70,10 +70,9 @@ pushd "$install_dir" ynh_use_nodejs corepack enable corepack prepare pnpm@latest --activate - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm i -D @swc/cli @swc/core -w - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm install + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm build - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm run init + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init popd #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index aca8f7e..ceb3895 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ pushd "$install_dir" corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm clean-all ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run migrate popd From 8d744bb6967fa9088d6400ec2487b69ad57ebb7f Mon Sep 17 00:00:00 2001 From: oufmilo <44617467+oufmilo@users.noreply.github.com> Date: Sat, 8 Apr 2023 21:04:14 +0200 Subject: [PATCH 19/19] Fix isntall --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b65e647..4973de6 100644 --- a/scripts/install +++ b/scripts/install @@ -71,7 +71,7 @@ pushd "$install_dir" corepack enable corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run init popd diff --git a/scripts/upgrade b/scripts/upgrade index ceb3895..aca8f7e 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -103,7 +103,7 @@ pushd "$install_dir" corepack prepare pnpm@latest --activate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm clean-all ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm install - ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=development pnpm run build + ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm run build ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run migrate popd