1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/calckey_ynh.git synced 2024-09-03 18:16:18 +02:00

Merge pull request #12 from lapineige/master

Upgrade to Calckey 13.1.1
This commit is contained in:
oufmilo 2023-02-05 11:13:18 +01:00 committed by GitHub
commit 2efaee74e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://codeberg.org/calckey/calckey/archive/v13.1.1.tar.gz SOURCE_URL=https://codeberg.org/calckey/calckey/archive/v13.1.1.tar.gz
SOURCE_SUM=934d839d7c5af858f064481da2060ef1875839a6a13e0fa8043651f48b5bc175 SOURCE_SUM=934d839d7c5af858f064481da2060ef1875839a6a13e0fa8043651f48b5bc175
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -6,7 +6,7 @@
"en": "Fork of Misskey with better UI/UX, security, features", "en": "Fork of Misskey with better UI/UX, security, features",
"fr": "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités" "fr": "Un fork de Misskey avec une meilleure interface utilisateur, la sécurité, les fonctionnalités"
}, },
"version": "13.0.5~ynh1", "version": "13.1.1~ynh1",
"url": "https://i.calckey.cloud/", "url": "https://i.calckey.cloud/",
"upstream": { "upstream": {
"license": "AGPL-3.0", "license": "AGPL-3.0",

8
scripts/install Executable file → Normal file
View file

@ -68,7 +68,7 @@ ynh_app_setting_set --app=$app --key=port --value=$port
#================================================= #=================================================
# INSTALL DEPENDENCIES # INSTALL DEPENDENCIES
#================================================= #=================================================
ynh_script_progression --message="Installing dependencies..." --weight=3 ynh_script_progression --message="Installing dependencies... This might take some time." --weight=3
ynh_install_nodejs --nodejs_version=$NODEJS_VERSION ynh_install_nodejs --nodejs_version=$NODEJS_VERSION
@ -128,14 +128,14 @@ ynh_add_config --template="../conf/default.yml" --destination="$final_path/.conf
#================================================= #=================================================
# BUILD APP # BUILD APP
#================================================= #=================================================
ynh_script_progression --message="Building app..." --weight=20 ynh_script_progression --message="Building app... This will take some time." --weight=15
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs ynh_use_nodejs
corepack enable corepack enable
corepack prepare pnpm@latest --activate 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 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 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=production pnpm run init
popd popd

1
scripts/restore Executable file → Normal file
View file

@ -85,6 +85,7 @@ pushd "$final_path"
corepack enable corepack enable
corepack prepare pnpm@latest --activate 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 pnpm install
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH NODE_ENV=production pnpm build
popd popd
#================================================= #=================================================

View file

@ -135,13 +135,12 @@ ynh_add_nginx_config
ynh_script_progression --message="Building app..." ynh_script_progression --message="Building app..."
pushd "$final_path" pushd "$final_path"
ynh_use_nodejs
corepack enable corepack enable
corepack prepare pnpm@latest --activate 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 clean-all
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm i 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=production pnpm run build
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm migrate ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run migrate
popd popd
#================================================= #=================================================