chore(deps): switch back to Node.js as the JavaScript runtime

This commit is contained in:
2026-03-21 21:34:48 +08:00
parent 9fe24beccb
commit 4efd2ed139
6 changed files with 2495 additions and 1798 deletions
+3 -3
View File
@@ -6,7 +6,7 @@ More technical information about this blog can be found on the [colophon page](h
## Run Locally
Requirement: [pnpm](https://pnpm.io/).
Requirement: [Node.js](https://nodejs.org/).
1. Clone this repository locally
```
@@ -14,11 +14,11 @@ Requirement: [pnpm](https://pnpm.io/).
```
1. Install dependencies
```
pnpm install
npm install
```
1. Run the project
```
pnpm dev
npm run dev
```
1. Open http://localhost:8080/ in your browser
+2485
View File
File diff suppressed because it is too large Load Diff
+3 -4
View File
@@ -8,9 +8,9 @@
},
"type": "module",
"scripts": {
"build": "pnpm exec eleventy",
"build-quiet": "pnpm build --quiet",
"dev": "pnpm build-quiet --serve"
"build": "npx @11ty/eleventy",
"build-quiet": "npm run build -- --quiet",
"dev": "npm run build-quiet -- --serve"
},
"dependencies": {
"@11ty/eleventy": "^3.1.5",
@@ -19,7 +19,6 @@
"eleventy-plugin-vento": "^5.4.2",
"limax": "^4.2.3",
"luxon": "^3.7.2",
"markdown-it": "^14.1.1",
"markdown-it-anchor": "^9.2.0",
"markdown-it-attrs": "^4.3.1",
"markdown-it-bracketed-spans": "^1.0.1",
-1787
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -2,12 +2,12 @@
title: Colophon
desc: How this blog is built.
tags: ["footernav_en"]
updated: 2026-02-18T12:15:51+0800
updated: 2026-03-21T21:32:03+0800
---
## Technology
* Built with the static site generator [Eleventy](https://www.11ty.dev/) v{{ eleventy.version }}.
* JavaScript package manager: [pnpm](https://pnpm.io/).
* JavaScript runtime: [Node.js](https://nodejs.org/).
* Templating languages: [Vento](https://vento.js.org/) and Markdown.
* Tested browsers: Mozilla Firefox, Vivaldi and Lynx.
* Source code available on [my Gitea instance](https://git.helenchong.dev/helenchong/helenchong-blog), [SourceTube](https://source.tube/helenchong/helenchong-blog), [Codeberg](https://codeberg.org/helenchong/helenchong-blog) and [GitHub](https://github.com/helenclx/helenchong-blog).
+2 -2
View File
@@ -2,12 +2,12 @@
title: 网站建立
desc: 本部落格是如何建立的。
tags: ["footernav_zh"]
updated: 2026-02-18T12:16:02+0800
updated: 2026-03-21T21:34:15+0800
---
## 科技
* 使用静态网页生成器 [Eleventy](https://www.11ty.dev/) 版本 {{ eleventy.version }} 构建。
* JavaScript 软件包管理器[pnpm](https://pnpm.io/)。
* JavaScript 运行环境[Node.js](https://nodejs.org/)。
* 模板语言:[Vento](https://vento.js.org/) 和 Markdown。
* 测试浏览器:Mozilla Firefox、Vivaldi 和 Lynx。
* 源代码可在[我的 Gitea 实例](https://git.helenchong.dev/helenchong/helenchong-blog)、[SourceTube](https://source.tube/helenchong/helenchong-blog)、[Codeberg](https://codeberg.org/helenchong/helenchong-blog) 或 [GitHub](https://github.com/helenclx/helenchong-blog) 上获取。