From 84596f7f03b76734ab4f6e03be23b00ef7c95efc Mon Sep 17 00:00:00 2001 From: ppoffice Date: Sun, 4 Feb 2024 18:23:33 -0800 Subject: [PATCH] chore: upgrade dependencies & update upgrade doc --- package.json | 32 +++++++++++++--------------- source/_posts/en/Upgrade-Guide.md | 16 ++++++++++++++ source/_posts/zh-CN/Upgrade-Guide.md | 12 +++++++++++ 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/package.json b/package.json index 66f3b5c..44d53fc 100644 --- a/package.json +++ b/package.json @@ -3,26 +3,24 @@ "version": "0.0.0", "private": true, "hexo": { - "version": "6.3.0" + "version": "7.1.1" }, "dependencies": { "bulma-stylus": "0.8.0", - "hexo": "^6.0.0", - "hexo-algolia": "^1.3.1", - "hexo-deployer-git": "^3.0.0", - "hexo-filter-github-emojis": "^3.0.4", - "hexo-generator-archive": "^1.0.0", + "hexo": "^7.1.1", + "hexo-algolia": "^1.3.2", + "hexo-deployer-git": "^4.0.0", + "hexo-filter-github-emojis": "^3.0.5", + "hexo-generator-archive": "^2.0.0", "hexo-generator-feed": "^3.0.0", - "hexo-generator-index": "^2.0.0", - "hexo-generator-tag": "^1.0.0", - "hexo-pagination": "^2.0.0", - "hexo-renderer-inferno": "^0.1.3", - "hexo-renderer-marked": "^4.0.0", - "hexo-renderer-stylus": "^2.0.0", + "hexo-generator-index": "^3.0.0", + "hexo-generator-tag": "^2.0.0", + "hexo-pagination": "^3.0.0", + "hexo-renderer-inferno": "^1.0.2", + "hexo-renderer-marked": "^6.2.0", + "hexo-renderer-stylus": "^3.0.1", "hexo-server": "^3.0.0", - "hexo-theme-icarus": "^5.2.1" - }, - "resolutions": { - "stylus": "^0.54.8" + "hexo-tag-embed": "^1.0.0", + "hexo-theme-icarus": "^6.0.0" } -} \ No newline at end of file +} diff --git a/source/_posts/en/Upgrade-Guide.md b/source/_posts/en/Upgrade-Guide.md index 4886613..21a6c27 100644 --- a/source/_posts/en/Upgrade-Guide.md +++ b/source/_posts/en/Upgrade-Guide.md @@ -15,6 +15,22 @@ toc: true +### Upgrading from 5.x to 6.0 + +1. Upgrade Node.js to 14.0 or a newer version. + +2. Install Icarus 6.x either via source code dowload or NPM install. + You can find instructions in {% post_link en/Getting-Started %}. + If you plan to customize the theme by altering its source code, you are required to install + the theme from source code. + +3. Run `hexo clean` to clear cache files and let Icarus upgrade your theme configuration file for + you. + +4. Check out the [release notes](https://github.com/ppoffice/hexo-theme-icarus/releases) and the + [latest documentation](https://ppoffice.github.io/hexo-theme-icarus/categories/) for more + information of the new features. + ### Upgrading from 4.x to 5.0 1. Upgrade Node.js to 12.4.0 or a newer version. diff --git a/source/_posts/zh-CN/Upgrade-Guide.md b/source/_posts/zh-CN/Upgrade-Guide.md index c0d2fe7..8db0d62 100644 --- a/source/_posts/zh-CN/Upgrade-Guide.md +++ b/source/_posts/zh-CN/Upgrade-Guide.md @@ -19,6 +19,18 @@ toc: true +### 从5.x升级至6.x + +1. 将Node.js升级到14.0或者更新的版本。 + +2. 下载源代码或者从NPM安装Icarus 6.x。 + 你可以在{% post_link zh-CN/Getting-Started %}中找到安装指导。 + 如果你打算通过修改源代码的方式自定义主题,你必须从源代码安装主题。 + +3. 运行`hexo clean`来清理缓存并让Icarus为你升级主题配置文件。 + +4. 阅读[更新说明](https://github.com/ppoffice/hexo-theme-icarus/releases)和[最新文档](https://ppoffice.github.io/hexo-theme-icarus/categories/)来了解更多新功能的信息。 + ### 从4.x升级至5.x 1. 将Node.js升级到12.4.0或者更新的版本。