From ef5c4a458eb8c58ce73cf56669c6f45fbdf29894 Mon Sep 17 00:00:00 2001 From: Tobias Krug Date: Wed, 22 Apr 2026 15:57:15 +0200 Subject: [PATCH 1/2] docs: use Corepack instead of `npm i -g yarn` in theme setup Updated instructions for theme setup to include enabling Corepack. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dc04ea77..fd50cea3 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ A curated list of plugins for the [Pelican Panel](https://pelican.dev). ### Additional setup for themes -For themes you have to install Node.js 22+ and Yarn beforehand. Example: +For themes you have to install Node.js 22+ and enable Corepack (which ships with Node.js and provides Yarn). Example: ```bash curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash - sudo apt install -y nodejs -npm i -g yarn +sudo corepack enable ``` ## Plugins From 90b214d95fdc5ab020e53ab7b040f19e695eebc0 Mon Sep 17 00:00:00 2001 From: Boy132 Date: Thu, 30 Apr 2026 12:03:30 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Boy132 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fd50cea3..b70b4c0b 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,17 @@ A curated list of plugins for the [Pelican Panel](https://pelican.dev). ### Additional setup for themes -For themes you have to install Node.js 22+ and enable Corepack (which ships with Node.js and provides Yarn). Example: +For themes you have to install Node.js 22+. You also need Yarn, either installed directly or provided via Corepack. Example: ```bash curl -sL https://deb.nodesource.com/setup_22.x | sudo -E bash - sudo apt install -y nodejs +// Yarn via corepack (recommended) sudo corepack enable + +// Install yarn globally +npm i -g yarn ``` ## Plugins