Skip to content

Commit

Permalink
chore: 框架升级到最新版本
Browse files Browse the repository at this point in the history
  • Loading branch information
jaluik committed Jan 2, 2025
1 parent 8dab8da commit af2b877
Show file tree
Hide file tree
Showing 9 changed files with 5,134 additions and 3,291 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v1
with:
node-version: '16.x'
node-version: '18.x'

- name: Build project
run: yarn && yarn build
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
11 changes: 0 additions & 11 deletions blog/2019-05-28-hola.md

This file was deleted.

17 changes: 0 additions & 17 deletions blog/2019-05-29-hello-world.md

This file was deleted.

13 changes: 0 additions & 13 deletions blog/2019-05-30-welcome.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/operations/gitActionsDeploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
region: ap-shanghai
```
你需要把{你的分支}替换为你希望触发自动打包的分支
你需要把你的分支替换为你希望触发自动打包的分支
需要特别关注的地方在于最后一个 steps, with 里面配置的是腾讯云 COS 里面的鉴权相关的配置。
Expand Down
10 changes: 0 additions & 10 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ module.exports = {
{
hashed: true,
language: ['en', 'zh'],
translations: {
search_placeholder: '搜索',
see_all_results: '查看所有结果',
no_results: '暂无结果。',
search_results_for: '搜索"{{ keyword }}"',
search_the_documentation: '搜索文档',
count_documents_found: '找到{{ count }}',
count_documents_found_plural: '找到{{ count }}个结果',
no_documents_were_found: '暂无结果。',
},
},
],
],
Expand Down
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,24 +13,24 @@
"dev": "docusaurus start"
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@easyops-cn/docusaurus-search-local": "^0.23.0",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "^3.6.3",
"@docusaurus/preset-classic": "^3.6.3",
"@easyops-cn/docusaurus-search-local": "^0.46.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.1.1",
"docusaurus-plugin-sass": "^0.2.2",
"nodejieba": "^2.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.2.0",
"@docusaurus/module-type-aliases": "^3.6.3",
"@tsconfig/docusaurus": "^1.0.5",
"@types/react": "^17.0.3",
"@types/react": "^18.2.29",
"@types/react-helmet": "^6.1.0",
"@types/react-router-dom": "^5.1.7",
"sass": "^1.49.9",
"typescript": "^4.2.3"
"typescript": "~5.2.2"
},
"browserslist": {
"production": [
Expand All @@ -44,5 +44,8 @@
"last 1 safari version"
]
},
"engines": {
"node": ">=18.0"
},
"description": "jaluik blog"
}
Loading

0 comments on commit af2b877

Please sign in to comment.