refactor: upgrade to pnpm 10 and update docs

Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
Sped0n
2025-11-12 04:48:07 +08:00
committed by Ryan
parent 304abf3b65
commit 4c91cd269e
5 changed files with 2828 additions and 2441 deletions

View File

@@ -61,7 +61,7 @@ jobs:
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v3 uses: pnpm/action-setup@v3
with: with:
version: 8 version: 10
- name: Get pnpm store directory - name: Get pnpm store directory
id: pnpm-cache id: pnpm-cache

View File

@@ -24,7 +24,7 @@ jobs:
- name: Setup pnpm - name: Setup pnpm
uses: pnpm/action-setup@v3 uses: pnpm/action-setup@v3
with: with:
version: 8 version: 10
- name: Get pnpm store directory - name: Get pnpm store directory
id: pnpm-cache id: pnpm-cache

13
docs.md
View File

@@ -32,17 +32,12 @@ _[Contents](#contents)_
hugo v0.152.2+extended+withdeploy darwin/arm64 BuildDate=unknown VendorInfo=nixpkgs hugo v0.152.2+extended+withdeploy darwin/arm64 BuildDate=unknown VendorInfo=nixpkgs
``` ```
- [Dart Sass](https://gohugo.io/functions/css/sass/#dart-sass) (**DO NOT INSTALL IT FROM NPM**, since it is doesn't support `--embedded`) - pnpm and Node.js
```bash ```bash
sass --embedded --version pnpm --version && node --version
{ 10.20.0
"protocolVersion": "2.4.0", v22.20.0
"compilerVersion": "1.70.0",
"implementationVersion": "1.70.0",
"implementationName": "dart-sass",
"id": 0
}
``` ```
## Installation ## Installation

View File

@@ -3,7 +3,7 @@
"version": "v1.0.0", "version": "v1.0.0",
"type": "module", "type": "module",
"description": "bridget theme source file", "description": "bridget theme source file",
"packageManager": "pnpm@8.10.2", "packageManager": "pnpm@10.20.0",
"private": true, "private": true,
"sideEffects": false, "sideEffects": false,
"scripts": { "scripts": {

5250
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff