Skip to content

Commit

Permalink
update, fix koishijs/koishi#1398
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jun 4, 2024
1 parent c6b4a72 commit f2b6ce0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@
},
"devDependencies": {
"@cordisjs/vitepress": "^3.2.7",
"@intlify/unplugin-vue-i18n": "^1.5.0",
"@koishijs/components": "^1.5.10",
"@koishijs/core": "^4.17.2",
"@intlify/unplugin-vue-i18n": "^1.6.0",
"@koishijs/components": "^1.5.13",
"@koishijs/core": "^4.17.8",
"@koishijs/dns": "^1.0.1",
"@koishijs/market": "^4.2.5",
"@koishijs/registry": "^7.0.3",
"@types/node": "^20.10.2",
"@types/node": "^20.11.30",
"@types/spark-md5": "^3.0.4",
"@vueuse/core": "^10.6.1",
"@vueuse/core": "^10.9.0",
"cross-env": "^7.0.3",
"element-plus": "2.4.0",
"element-plus": "2.7.3",
"esbuild-register": "^3.5.0",
"koishi": "^4.17.2",
"koishi": "^4.17.8",
"markdown-it-mathjax3": "^4.3.2",
"marked-vue": "^1.3.0",
"typescript": "^5.3.2",
"vitepress": "1.0.0-rc.40",
"vue-i18n": "^9.8.0"
"typescript": "^5.4.3",
"vitepress": "1.2.2",
"vue-i18n": "^9.10.2"
}
}
6 changes: 3 additions & 3 deletions zh-CN/cookbook/practice/online.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,16 +169,16 @@ ctx.console.addEntry(process.env.KOISHI_BASE ? [

如果你想在本地测试插件是否能在 k-on! 中运行,可以参考以下流程:

1. 克隆 koishijs/webui 和 koishijs/ponyfills 仓库。
1. 克隆 koishijs/webui 和 cordiverse/ponyfills 仓库。

::: tabs code
```npm
npm run clone koishijs/webui
npm run clone koishijs/ponyfills
npm run clone cordiverse/ponyfills
```
```yarn
yarn clone koishijs/webui
yarn clone koishijs/ponyfills
yarn clone cordiverse/ponyfills
```
:::

Expand Down
1 change: 1 addition & 0 deletions zh-CN/guide/basic/command.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ ctx.command('test [arg:number]')
- channel: `string` 频道,格式为 `{platform}:{id}`
- integer: `number` 整数
- posint: `number` 正整数
- natural: `number` 正整数
- date: `Date` 日期
- image: `Dict` 图片

Expand Down
2 changes: 1 addition & 1 deletion zh-CN/guide/console/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ ctx.settings({
schema: Schema.object({
wallpaper: Schema.object({
image: Schema.string().description('要使用的背景图片。'),
opacity: Schema.number().description('前景的透明度'),
opacity: Schema.number().description('前景的不透明度'),
}).description('壁纸设置'),
}),
})
Expand Down

0 comments on commit f2b6ce0

Please sign in to comment.