Skip to content

Commit

Permalink
chore: rename assets-jsdelivr to assets-git
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 27, 2021
1 parent c220e2b commit fbc9cd0
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Koishi 完全基于 TypeScript 开发,拥有顶级的类型支持,丰富的

### 静态资源存储

- [assets-jsdelivr](https://koishi.js.org/plugins/assets/jsdelivr.html): 使用 jsDelivr 和 GitHub 存储静态资源
- [assets-git](https://koishi.js.org/plugins/assets/git.html): 使用 git 仓库存储静态资源
- [assets-local](https://koishi.js.org/plugins/assets/local.html): 使用本地文件系统存储静态资源
- [assets-remote](https://koishi.js.org/plugins/assets/remote.html): 使用远程 Koishi 服务器存储静态资源
- [assets-s3](https://koishi.js.org/plugins/assets/s3.html): 使用 S3 存储静态资源
Expand Down
2 changes: 1 addition & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ module.exports = {
text: '资源存储支持',
isGroup: true,
children: [
'/plugins/assets/jsdelivr.md',
'/plugins/assets/git.md',
'/plugins/assets/local.md',
'/plugins/assets/remote.md',
'/plugins/assets/s3.md',
Expand Down
4 changes: 2 additions & 2 deletions docs/api/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ sidebarDepth: 2
- create-koishi:可结合 npm init 或 yarn create 使用,用于快速搭建项目
- @koishijs/plugin-database:一个内存数据库实现,支持输出到本地文件
- @koishijs/plugin-ink:使用机器人展示视觉小说(计划中)
- @koishijs/plugin-jsdelivr:使用 jsdelivr 和 GitHub 存放资源文件(计划中)
- @koishijs/plugin-git:使用 git 仓库存放资源文件
- @koishijs/plugin-minecraft:在 Minecraft 中使用机器人
- @koishijs/plugin-s3:使用 s3 云存储存放资源文件(计划中)
- @koishijs/plugin-s3:使用 s3 云存储存放资源文件

### 移除的包

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/service/assets.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ sidebarDepth: 2

### 实现此服务的插件

- [@koishijs/plugin-assets-git](../../plugins/assets/git.md)
- [@koishijs/plugin-assets-local](../../plugins/assets/local.md)
- [@koishijs/plugin-assets-remote](../../plugins/assets/local.md)
- [@koishijs/plugin-assets-jsdelivr](../../plugins/assets/jsdelivr.md)
- [@koishijs/plugin-assets-s3](../../plugins/assets/s3.md)
- [koishi-plugin-assets-smms](https://github.com/koishijs/koishi-plugin-assets-smms)

Expand Down
6 changes: 6 additions & 0 deletions docs/plugins/assets/git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: 资源存储:Git
sidebarDepth: 2
---

# @koishijs/plugin-git
6 changes: 0 additions & 6 deletions docs/plugins/assets/jsdelivr.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/plugins/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Koishi 官方提供了许多插件。为了更好地模块化开发,它们被

## 资源存储支持

- [@koishijs/plugin-assets-jsdelivr](./assets/jsdelivr.md)
- [@koishijs/plugin-assets-git](./assets/git.md)
- [@koishijs/plugin-assets-local](./assets/local.md)
- [@koishijs/plugin-assets-remote](./assets/remote.md)
- [@koishijs/plugin-assets-s3](./assets/s3.md)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@koishijs/plugin-assets-jsdelivr",
"description": "A github-jsdelivr assets provider for Koishi",
"name": "@koishijs/plugin-assets-git",
"description": "A git assets provider for Koishi",
"version": "1.0.0-rc.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
Expand All @@ -16,7 +16,7 @@
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
},
"homepage": "https://koishi.js.org/plugins/other/jsdelivr",
"homepage": "https://koishi.js.org/plugins/other/git",
"keywords": [
"bot",
"qqbot",
Expand All @@ -27,6 +27,7 @@
"plugin",
"github",
"assets",
"git",
"jsdelivr",
"required:database",
"service:assets"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit fbc9cd0

Please sign in to comment.