Skip to content

Commit

Permalink
build: 升级到 node.js 18.16 & vitepress 1.0.0-rc.44
Browse files Browse the repository at this point in the history
  • Loading branch information
Octobug committed Mar 2, 2024
1 parent d33baeb commit 892373a
Show file tree
Hide file tree
Showing 4 changed files with 472 additions and 344 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18.16
3 changes: 2 additions & 1 deletion .vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import gtagConfig from './gtag'
import { tokenize } from './search'

const urlBase = process.env.URL_BASE || undefined
const year = new Date().getFullYear()

export default {
base: urlBase,
Expand Down Expand Up @@ -61,7 +62,7 @@ export default {
},
footer: {
message: '🇨🇳 🇬🇧 Second-language Acquisition',
copyright: '© 2023-present <a href="https://github.com/2ndLA" target="_blank">2ndLA Team</a>. <a href="https://github.com/2ndLA/English/blob/main/LICENSE" target="_blank">CC BY-NC-SA 4.0</a>.'
copyright: `© 2023-${year} <a href="https://github.com/2ndLA" target="_blank">2ndLA Team</a>. <a href="https://github.com/2ndLA/English/blob/main/LICENSE" target="_blank">CC BY-NC-SA 4.0</a>.`
},
lastUpdated: {
text: '更新于',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.3",
"markdown-it-task-checkbox": "^1.0.6",
"vitepress": "^1.0.0-rc.20"
"vitepress": "^1.0.0-rc.44"
}
}

0 comments on commit 892373a

Please sign in to comment.