Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: key error when running pnpm install #39

Merged
merged 4 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ It shall NOT be edited by hand.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Shipped version:** 2024.11.2~ynh1
**Shipped version:** 2024.11.2~ynh2

## Screenshots

Expand Down
2 changes: 1 addition & 1 deletion README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ No se debe editar a mano.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Versión actual:** 2024.11.2~ynh1
**Versión actual:** 2024.11.2~ynh2

## Capturas

Expand Down
2 changes: 1 addition & 1 deletion README_eu.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ EZ editatu eskuz.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Paketatutako bertsioa:** 2024.11.2~ynh1
**Paketatutako bertsioa:** 2024.11.2~ynh2

## Pantaila-argazkiak

Expand Down
2 changes: 1 addition & 1 deletion README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Il NE doit PAS être modifié à la main.
_Sharkey_ est un fork de Misskey qui suit les changements en amont lorsque c'est possible, avec des fonctionnalités supplémentaires !


**Version incluse :** 2024.11.2~ynh1
**Version incluse :** 2024.11.2~ynh2

## Captures d’écran

Expand Down
2 changes: 1 addition & 1 deletion README_gl.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ NON debe editarse manualmente.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Versión proporcionada:** 2024.11.2~ynh1
**Versión proporcionada:** 2024.11.2~ynh2

## Capturas de pantalla

Expand Down
2 changes: 1 addition & 1 deletion README_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Ini TIDAK boleh diedit dengan tangan.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Versi terkirim:** 2024.11.2~ynh1
**Versi terkirim:** 2024.11.2~ynh2

## Tangkapan Layar

Expand Down
2 changes: 1 addition & 1 deletion README_nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Hij mag NIET handmatig aangepast worden.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Geleverde versie:** 2024.11.2~ynh1
**Geleverde versie:** 2024.11.2~ynh2

## Schermafdrukken

Expand Down
2 changes: 1 addition & 1 deletion README_pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Nie powinno być ono edytowane ręcznie.
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Dostarczona wersja:** 2024.11.2~ynh1
**Dostarczona wersja:** 2024.11.2~ynh2

## Zrzuty ekranu

Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**Поставляемая версия:** 2024.11.2~ynh1
**Поставляемая версия:** 2024.11.2~ynh2

## Снимки экрана

Expand Down
2 changes: 1 addition & 1 deletion README_zh_Hans.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
_Sharkey_ is an Misskey fork following upstream changes when possible, with added features!


**分发版本:** 2024.11.2~ynh1
**分发版本:** 2024.11.2~ynh2

## 截图

Expand Down
2 changes: 1 addition & 1 deletion manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name = "Sharkey"
description.en = "Microblogging platform"
description.fr = "Platforme de Microblogging"

version = "2024.11.2~ynh1"
version = "2024.11.2~ynh2"

maintainers = ["oufmilo"]

Expand Down
1 change: 1 addition & 0 deletions scripts/install
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ ynh_config_add --template="default.yml" --destination="$install_dir/.config/defa
ynh_script_progression "Building $app..."

pushd "$install_dir"
ynh_hide_warnings npm install --global corepack@latest
ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NODE_OPTIONS="--max-old-space-size=3000" pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production NODE_OPTIONS="--max-old-space-size=3000" pnpm build
Expand Down
1 change: 1 addition & 0 deletions scripts/restore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ynh_script_progression "Reinstalling PNPM..."
# Define and install pnpm

pushd "$install_dir"
ynh_hide_warnings npm install --global corepack@latest
ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production pnpm build
Expand Down
1 change: 1 addition & 0 deletions scripts/upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ynh_nodejs_install
ynh_script_progression "Building app..."

pushd "$install_dir"
ynh_hide_warnings npm install --global corepack@latest
ynh_hide_warnings corepack enable && corepack prepare pnpm@latest --activate
ynh_hide_warnings ynh_exec_as_app COREPACK_ENABLE_DOWNLOAD_PROMPT=0 NODE_OPTIONS="--max-old-space-size=3000" pnpm install --frozen-lockfile
ynh_hide_warnings ynh_exec_as_app NODE_ENV=production NODE_OPTIONS="--max-old-space-size=3000" pnpm build
Expand Down