Skip to content

Commit

Permalink
chore: update package keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Feb 10, 2022
1 parent 3795a1d commit 164df0b
Show file tree
Hide file tree
Showing 35 changed files with 66 additions and 35 deletions.
2 changes: 1 addition & 1 deletion packages/cli/src/loader.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { resolve, extname, dirname, isAbsolute } from 'path'
import { readdirSync, readFileSync, writeFileSync } from 'fs'
import { App, Dict, Logger, interpolate, Modules, unwrapExports, valueMap, isNullable } from 'koishi'
import { App, Dict, Logger, interpolate, Modules, unwrapExports, valueMap } from 'koishi'
import * as yaml from 'js-yaml'

declare module 'koishi' {
Expand Down
3 changes: 2 additions & 1 deletion plugins/a11y/bind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"plugin",
"bind"
"bind",
"required:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/a11y/callme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"plugin",
"callme"
"callme",
"required:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/a11y/rate-limit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"plugin",
"rate-limit"
"rate-limit",
"required:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/a11y/sudo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"plugin",
"sudo"
"sudo",
"required:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/adapter/discord/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"bot",
"discord",
"chatbot",
"koishi"
"koishi",
"impl:adapter"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/adapter/kaiheila/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"bot",
"kaiheila",
"chatbot",
"koishi"
"koishi",
"impl:adapter"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/adapter/onebot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"onebot",
"coolq",
"chatbot",
"koishi"
"koishi",
"impl:adapter"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/adapter/qqguild/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"bot",
"qqbot",
"qqguild",
"koishi"
"koishi",
"impl:adapter"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/adapter/telegram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"bot",
"telegram",
"chatbot",
"koishi"
"koishi",
"impl:adapter"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/assets/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"git",
"jsdelivr",
"required:database",
"service:assets"
"impl:assets"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/assets/local/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"plugin",
"assets",
"server",
"service:assets"
"impl:assets"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/assets/remote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"plugin",
"assets",
"server",
"service:assets"
"impl:assets"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/assets/s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"plugin",
"assets",
"server",
"service:assets"
"impl:assets"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/cache/lru/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"cache",
"lru"
"lru",
"impl:cache"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion plugins/cache/redis/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"coolq",
"chatbot",
"koishi",
"service:cache",
"impl:cache",
"lru"
],
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion plugins/common/broadcast/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"plugin",
"broadcast"
"broadcast",
"optional:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/database/level/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"plugin",
"database",
"server",
"leveldb"
"leveldb",
"impl:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/database/memory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"koishi",
"plugin",
"database",
"server"
"server",
"impl:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/database/mongo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"chatbot",
"koishi",
"database",
"mysql"
"mysql",
"impl:database"
],
"devDependencies": {
"@koishijs/database-tests": "^1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/database/mysql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"chatbot",
"koishi",
"database",
"mysql"
"mysql",
"impl:database"
],
"devDependencies": {
"@koishijs/database-tests": "^1.0.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/database/sqlite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"koishi",
"plugin",
"database",
"sqlite"
"sqlite",
"impl:database"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/eval/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"plugin",
"eval",
"runner",
"code"
"code",
"impl:worker"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/chat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"koishi",
"plugin",
"chat",
"server"
"server",
"optional:console"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"chatbot",
"koishi",
"plugin",
"command"
"command",
"optional:console"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"chatbot",
"koishi",
"plugin",
"webui"
"webui",
"impl:console"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
4 changes: 3 additions & 1 deletion plugins/frontend/dataview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"chatbot",
"koishi",
"plugin",
"database"
"database",
"required:console",
"required:database"
],
"peerDependencies": {
"@koishijs/plugin-console": "^2.1.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/insight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"chatbot",
"koishi",
"plugin",
"insight"
"insight",
"required:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^2.1.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"chatbot",
"koishi",
"plugin",
"logs"
"logs",
"optional:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^2.1.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"manager",
"market",
"manager",
"server"
"server",
"required:console"
],
"peerDependencies": {
"@koishijs/cli": "^4.1.2",
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"test",
"tester",
"unit",
"mock"
"mock",
"impl:mock"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down
3 changes: 2 additions & 1 deletion plugins/frontend/status/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"koishi",
"plugin",
"status",
"server"
"server",
"required:console"
],
"peerDependencies": {
"@koishijs/plugin-console": "^2.1.0",
Expand Down
3 changes: 2 additions & 1 deletion plugins/github/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"github",
"webhook",
"required:database",
"optional:assets"
"optional:assets",
"impl:github"
],
"devDependencies": {
"@types/marked": "^4.0.1",
Expand Down
3 changes: 2 additions & 1 deletion plugins/puppeteer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"koishi",
"plugin",
"screenshot",
"puppeteer"
"puppeteer",
"impl:puppeteer"
],
"devDependencies": {
"@types/pngjs": "^6.0.1"
Expand Down
4 changes: 3 additions & 1 deletion plugins/teach/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
"dialogue",
"conversation",
"required:database",
"optional:assets"
"optional:assets",
"optional:console",
"impl:teach"
],
"peerDependencies": {
"koishi": "^4.1.2"
Expand Down

0 comments on commit 164df0b

Please sign in to comment.