chore: upgrade dependencies & update upgrade doc
parent
4f4d4e158b
commit
84596f7f03
32
package.json
32
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,6 +15,22 @@ toc: true
|
|||
|
||||
<!-- more -->
|
||||
|
||||
### 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.
|
||||
|
|
|
@ -19,6 +19,18 @@ toc: true
|
|||
|
||||
<!-- more -->
|
||||
|
||||
### 从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或者更新的版本。
|
||||
|
|
Loading…
Reference in New Issue