Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
using -> inject
  • Loading branch information
shigma committed Dec 16, 2023
1 parent dd2fad0 commit d5de7a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Build
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "koishi-plugin-dataview",
"description": "View Database in Koishi Console",
"version": "2.6.0",
"version": "2.6.1",
"main": "lib/index.cjs",
"types": "lib/index.d.ts",
"exports": {
Expand Down Expand Up @@ -52,19 +52,19 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
"@koishijs/plugin-console": "^5.20.1",
"koishi": "^4.16.0"
},
"devDependencies": {
"@koishijs/client": "^5.19.5",
"@koishijs/plugin-console": "^5.19.5",
"@koishijs/client": "^5.20.1",
"@koishijs/plugin-console": "^5.20.1",
"@types/node": "^20.10.2",
"esbuild": "^0.18.20",
"esbuild-register": "^3.5.0",
"koishi": "^4.15.7",
"koishi": "^4.16.0",
"typescript": "^5.3.2"
},
"dependencies": {
"@koishijs/console": "^5.19.5"
"@koishijs/console": "^5.20.1"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface DatabaseInfo extends Driver.Stats {

class DatabaseProvider extends DataService<DatabaseInfo> {
static filter = false
static using = ['console', 'database']
static inject = ['console', 'database']

task: Promise<DatabaseInfo>

Expand Down

0 comments on commit d5de7a2

Please sign in to comment.