From 026bc2899df28509234445909c1e559230cf2acc Mon Sep 17 00:00:00 2001 From: Soitora Date: Sun, 9 Feb 2025 14:31:51 +0100 Subject: [PATCH] Update pnpm to v10 Supersedes #137 --- .github/workflows/deploy.yml | 2 +- CONTRIBUTING.md | 2 +- website/package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2f6aded9..40f81065 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -40,7 +40,7 @@ jobs: - name: Install pnpm uses: pnpm/action-setup@v3 with: - version: 8 + version: 10 run_install: false package_json_file: "website/package-lock.json" diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1718ce93..03f978e8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ Before submitting your contribution, please make sure to take a moment and read ## Development Setup -You will need [Node.js](http://nodejs.org) **version 20+**, and [pnpm](https://pnpm.io/installation) **version 8+**. +You will need [Node.js](http://nodejs.org) **version 20+**, and [pnpm](https://pnpm.io/installation) **version 10+**. After cloning the repo and entering the the directory, go to the `/website` folder and run: diff --git a/website/package.json b/website/package.json index 8e1b9032..0aa4c347 100644 --- a/website/package.json +++ b/website/package.json @@ -3,7 +3,7 @@ "type": "module", "version": "3.0.0", "private": true, - "packageManager": "pnpm@9.14.2", + "packageManager": "pnpm@10.2.1", "description": "Official website for the Mihon app.", "license": "MPL-2.0", "repository": { @@ -15,7 +15,7 @@ }, "engines": { "node": ">=20", - "pnpm": ">=8" + "pnpm": ">=10" }, "scripts": { "preinstall": "npx only-allow pnpm",