chore(deps): use pnpm to manage Node.js packages

This commit is contained in:
2026-01-26 00:16:34 +08:00
parent 023888085b
commit 1b3bed501e
4 changed files with 1526 additions and 1902 deletions

View File

@@ -6,7 +6,7 @@ More technical information about this website can be found the website's [coloph
## Run Locally
Requirement: [Node.js](https://nodejs.org/).
Requirement: [Node.js](https://nodejs.org/) and [pnpm](https://pnpm.io/).
1. Clone this repository locally
```
@@ -14,10 +14,10 @@ Requirement: [Node.js](https://nodejs.org/).
```
1. Install dependencies
```
npm install
pnpm install
```
1. Run the project
```
npm run start
pnpm dev
```
1. Open http://localhost:8080/ in your browser

1897
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
"scripts": {
"build": "npx @11ty/eleventy",
"build-quiet": "npm run build -- --quiet",
"start": "npm run build-quiet -- --serve"
"dev": "npm run build-quiet -- --serve"
},
"type": "module",
"dependencies": {
@@ -22,8 +22,11 @@
"eleventy-plugin-embed-everything": "^1.21.1",
"eleventy-plugin-vento": "^5.3.0",
"eleventy-plugin-wordcount-extended": "^0.2.1",
"luxon": "^3.7.2",
"markdown-it": "^14.1.0",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.3.1",
"markdown-it-bracketed-spans": "^1.0.1"
"markdown-it-bracketed-spans": "^1.0.1",
"slugify": "^1.6.6"
}
}

1518
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff