Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 2, 2023
1 parent 816d95c commit 0514412
Show file tree
Hide file tree
Showing 24 changed files with 108 additions and 105 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

### Official plugins

- @koishijs/plugin-actions
- @koishijs/plugin-admin
- @koishijs/plugin-analytics
- @koishijs/plugin-auth
- @koishijs/plugin-commands
Expand All @@ -25,6 +27,7 @@
- @koishijs/plugin-locales
- @koishijs/plugin-logger
- @koishijs/plugin-market
- @koishijs/plugin-oobe
- @koishijs/plugin-sandbox
- @koishijs/plugin-status

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
},
"devDependencies": {
"@koishijs/eslint-config": "^1.0.4",
"@koishijs/plugin-database-memory": "^2.4.0",
"@koishijs/plugin-help": "^2.3.3",
"@koishijs/plugin-database-memory": "^2.5.0",
"@koishijs/plugin-help": "^2.4.0",
"@koishijs/plugin-mock": "^2.6.5",
"@rollup/plugin-yaml": "^3.1.0",
"@sinonjs/fake-timers": "^6.0.1",
Expand All @@ -45,7 +45,7 @@
"eslint": "^8.52.0",
"eslint-plugin-mocha": "^10.2.0",
"jest-mock": "^28.1.3",
"koishi": "^4.15.5",
"koishi": "^4.15.7",
"mocha": "^9.2.2",
"rollup-plugin-node-polyfills": "^0.2.1",
"shx": "^0.3.4",
Expand All @@ -54,7 +54,7 @@
"yakumo-esbuild": "^0.3.26",
"yakumo-esbuild-yaml": "^0.3.1",
"yakumo-mocha": "^0.3.1",
"yakumo-publish": "^0.3.5",
"yakumo-publish": "^0.3.10",
"yakumo-publish-sync": "^0.3.3",
"yakumo-tsc": "^0.3.12",
"yakumo-upgrade": "^0.3.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/client",
"description": "Koishi Console Client",
"version": "5.19.1",
"version": "5.19.5",
"main": "client/index.ts",
"files": [
"app",
Expand Down Expand Up @@ -35,13 +35,13 @@
"build"
],
"dependencies": {
"@koishijs/components": "1.4.13",
"@koishijs/components": "1.4.16",
"@maikolib/vite-plugin-yaml": "^1.0.1",
"@satorijs/protocol": "^1.1.1",
"@satorijs/protocol": "^1.1.2",
"@vitejs/plugin-vue": "^4.4.0",
"@vueuse/core": "^10.5.0",
"cac": "^6.7.14",
"cordis": "^3.3.0",
"cordis": "^3.3.1",
"cosmokit": "^1.5.1",
"element-plus": "2.4.0",
"marked-vue": "^1.2.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/components",
"description": "Client components for Koishi",
"version": "1.4.13",
"version": "1.4.16",
"main": "client/index.ts",
"files": [
"client",
Expand Down Expand Up @@ -29,7 +29,7 @@
"vue": "^3"
},
"dependencies": {
"@satorijs/element": "^2.5.1",
"@satorijs/element": "^2.6.0",
"cosmokit": "^1.5.1",
"schemastery-vue": "^7.1.5"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/console",
"description": "Console Service for Koishi",
"version": "5.19.1",
"version": "5.19.5",
"main": "lib/index.js",
"module": "lib/index.mjs",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -31,6 +31,6 @@
"service"
],
"peerDependencies": {
"koishi": "^4.15.5"
"koishi": "^4.15.7"
}
}
4 changes: 2 additions & 2 deletions packages/market/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/market",
"description": "Market UI for Koishi",
"version": "4.1.7",
"version": "4.1.8",
"main": "client/index.ts",
"files": [
"client"
Expand Down Expand Up @@ -35,7 +35,7 @@
"vue-i18n": "^9"
},
"dependencies": {
"@koishijs/components": "^1.4.13",
"@koishijs/components": "^1.4.16",
"cosmokit": "^1.5.1",
"spark-md5": "^3.0.2"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/online/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
"online"
],
"devDependencies": {
"@koishijs/client": "^5.19.1",
"@koishijs/client": "^5.19.5",
"@koishijs/dns": "^1.0.1",
"@koishijs/fs": "^1.3.7",
"@koishijs/loader": "^4.2.5",
"@koishijs/loader": "^4.2.7",
"@koishijs/os": "^1.0.2",
"@koishijs/path": "^1.0.0",
"@koishijs/url": "^1.0.3"
Expand Down
10 changes: 5 additions & 5 deletions plugins/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-actions",
"description": "App-Level Action Commands for Koishi",
"version": "0.0.1",
"version": "0.0.2",
"main": "lib/index.cjs",
"types": "lib/index.d.ts",
"exports": {
Expand Down Expand Up @@ -53,13 +53,13 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.1",
"koishi": "^4.15.5"
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
},
"devDependencies": {
"@koishijs/client": "^5.19.1"
"@koishijs/client": "^5.19.5"
},
"dependencies": {
"@koishijs/console": "^5.19.1"
"@koishijs/console": "^5.19.5"
}
}
12 changes: 6 additions & 6 deletions plugins/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-admin",
"description": "Permission Manager for Koishi",
"version": "2.0.0-alpha.4",
"version": "2.0.0-alpha.5",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -50,23 +50,23 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.1",
"koishi": "^4.15.5"
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
},
"peerDependenciesMeta": {
"@koishijs/plugin-console": {
"optional": true
}
},
"devDependencies": {
"@koishijs/client": "^5.19.1",
"@koishijs/plugin-console": "^5.19.1",
"@koishijs/client": "^5.19.5",
"@koishijs/plugin-console": "^5.19.5",
"@koishijs/plugin-locales": "^2.5.1",
"@koishijs/plugin-mock": "^2.6.5",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
"@koishijs/console": "^5.19.1",
"@koishijs/console": "^5.19.5",
"throttle-debounce": "^3.0.1"
}
}
20 changes: 10 additions & 10 deletions plugins/admin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class Admin extends Service {
const item = await this.ctx.database.create('perm_track', { name })
item.dispose = this.track(item.permissions)
this.tracks.push(item)
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
return item.id
}

Expand All @@ -91,14 +91,14 @@ export class Admin extends Service {
if (item.name === name) return
item.name = name
await this.ctx.database.set('perm_track', id, { name })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}

async deleteTrack(id: number) {
const index = this.tracks.findIndex(track => track.id === id)
if (index < 0) throw new Error('track not found')
this.tracks.splice(index, 1)
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
await this.ctx.database.remove('perm_track', id)
}

Expand All @@ -109,15 +109,15 @@ export class Admin extends Service {
item.dispose!()
item.dispose = this.track(permissions)
await this.ctx.database.set('perm_track', id, { permissions })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}

async createGroup(name: string) {
const item = await this.ctx.database.create('group', { name })
item.count = 0
item.dispose = this.ctx.permissions.define('group.' + item.id, [])
this.groups.push(item)
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
return item.id
}

Expand All @@ -127,7 +127,7 @@ export class Admin extends Service {
if (item.name === name) return
item.name = name
await this.ctx.database.set('group', id, { name })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}

async deleteGroup(id: number) {
Expand All @@ -146,7 +146,7 @@ export class Admin extends Service {
})
await this.ctx.database.upsert('group', updates)
await this.ctx.database.remove('group', id)
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}

async updateGroup(id: number, permissions: string[]) {
Expand All @@ -156,7 +156,7 @@ export class Admin extends Service {
item.dispose!()
item.dispose = this.ctx.permissions.define('group.' + item.id, permissions)
await this.ctx.database.set('group', id, { permissions })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}

async addUser(id: number, platform: string, aid: string) {
Expand All @@ -168,7 +168,7 @@ export class Admin extends Service {
data.permissions.push('group.' + item.id)
item.count!++
await this.ctx.database.set('user', data.id, { permissions: data.permissions })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}
}

Expand All @@ -180,7 +180,7 @@ export class Admin extends Service {
if (remove(data.permissions, 'group.' + item.id)) {
item.count!--
await this.ctx.database.set('user', data.id, { permissions: data.permissions })
this.ctx.console?.admin?.refresh()
this.ctx.get('console.admin')?.refresh()
}
}
}
Expand Down
10 changes: 5 additions & 5 deletions plugins/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.1",
"koishi": "^4.15.5"
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
},
"devDependencies": {
"@koishijs/assets": "^1.0.3",
"@koishijs/client": "^5.19.1",
"@koishijs/client": "^5.19.5",
"echarts": "^5.4.3",
"koishi": "^4.15.5",
"koishi": "^4.15.7",
"vue-echarts": "^6.6.1"
},
"dependencies": {
"@koishijs/console": "^5.19.1"
"@koishijs/console": "^5.19.5"
}
}
8 changes: 4 additions & 4 deletions plugins/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.1",
"koishi": "^4.15.5"
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
},
"devDependencies": {
"@koishijs/client": "^5.19.1"
"@koishijs/client": "^5.19.5"
},
"dependencies": {
"@koishijs/console": "^5.19.1"
"@koishijs/console": "^5.19.5"
}
}
12 changes: 6 additions & 6 deletions plugins/commands/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,24 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.19.1",
"koishi": "^4.15.5"
"@koishijs/plugin-console": "^5.19.5",
"koishi": "^4.15.7"
},
"peerDependenciesMeta": {
"@koishijs/plugin-console": {
"optional": true
}
},
"devDependencies": {
"@koishijs/client": "^5.19.1",
"@koishijs/plugin-config": "^2.4.5",
"@koishijs/plugin-console": "^5.19.1",
"@koishijs/client": "^5.19.5",
"@koishijs/plugin-config": "^2.4.7",
"@koishijs/plugin-console": "^5.19.5",
"@koishijs/plugin-locales": "^2.5.1",
"@koishijs/plugin-mock": "^2.6.5",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
"@koishijs/console": "^5.19.1",
"@koishijs/console": "^5.19.5",
"throttle-debounce": "^3.0.1"
}
}
2 changes: 1 addition & 1 deletion plugins/config/client/components/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function getEnvInfo(name: string) {
setService(name, true)
}
for (const name of local.runtime?.optional ?? []) {
setService(name, true)
setService(name, false)
}

// check reusability
Expand Down
Loading

0 comments on commit 0514412

Please sign in to comment.