Update Hexo and Node.js version

This commit is contained in:
Mimi 2026-10-27 21:05:45 +08:00
parent 4fdb961088
commit 63cb371ff8
4 changed files with 15 additions and 6 deletions

View File

@ -19,7 +19,7 @@
[![NPM version](https://img.shields.io/npm/v/hexo-theme-next?color=red&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![NPM Downloads](https://img.shields.io/npm/dm/hexo-theme-next?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=7.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=8.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![License](https://img.shields.io/badge/license-%20AGPL-orange?style=for-the-badge&logo=gnu)](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/linter.yml?branch=master&label=test&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/tester.yml?branch=master&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ATester)
@ -36,7 +36,9 @@
## Installation
If you're using Hexo 5.0 or later, the simplest way to install is through npm:
Requires Hexo 8.0.0 or later and Node.js `^22.13.0 || >=24.0.0`.
The simplest way to install is through npm:
```sh
cd hexo-site

View File

@ -19,7 +19,7 @@
[![NPM version](https://img.shields.io/npm/v/hexo-theme-next?color=red&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![NPM Downloads](https://img.shields.io/npm/dm/hexo-theme-next?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=7.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=8.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![License](https://img.shields.io/badge/license-%20AGPL-orange?style=for-the-badge&logo=gnu)](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/linter.yml?branch=master&label=test&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/tester.yml?branch=master&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ATester)
@ -36,7 +36,9 @@
## Установка
If you're using Hexo 5.0 or later, the simplest way to install is through npm:
Требуются Hexo 8.0.0 или новее и Node.js `^22.13.0 || >=24.0.0`.
Самый простой способ установки — через npm:
```sh
cd hexo-site

View File

@ -19,7 +19,7 @@
[![NPM version](https://img.shields.io/npm/v/hexo-theme-next?color=red&logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![NPM Downloads](https://img.shields.io/npm/dm/hexo-theme-next?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/hexo-theme-next)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=7.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![Required Hexo version](https://img.shields.io/badge/hexo-%3E=8.0.0-blue?style=for-the-badge&logo=hexo)](https://hexo.io)
[![License](https://img.shields.io/badge/license-%20AGPL-orange?style=for-the-badge&logo=gnu)](https://github.com/next-theme/hexo-theme-next/blob/master/LICENSE.md)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/linter.yml?branch=master&label=test&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ALinter)
[![Build Status](https://img.shields.io/github/actions/workflow/status/next-theme/hexo-theme-next/tester.yml?branch=master&logo=github&style=for-the-badge)](https://github.com/next-theme/hexo-theme-next/actions?query=workflow%3ATester)
@ -36,7 +36,9 @@
## 安装
如果你在使用 Hexo 5.0 或更新版本,最简单的安装方式是通过 npm:
需要 Hexo 8.0.0 或更新版本,以及 Node.js `^22.13.0 || >=24.0.0`。
最简单的安装方式是通过 npm:
```sh
cd hexo-site

View File

@ -34,6 +34,9 @@
"url": "https://github.com/next-theme/hexo-theme-next/issues"
},
"homepage": "https://theme-next.js.org",
"engines": {
"node": "^22.13.0 || >=24.0.0"
},
"devDependencies": {
"@next-theme/eslint-config": "0.0.5",
"c8": "12.0.0",