Skip to content

Commit

Permalink
chore: bump versions
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Nov 13, 2023
1 parent 1064e8a commit 9afb8d0
Show file tree
Hide file tree
Showing 30 changed files with 96 additions and 100 deletions.
16 changes: 6 additions & 10 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: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Lint
Expand All @@ -25,11 +23,9 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 18
uses: actions/setup-node@v4
- name: Install
run: yarn
- name: Build
Expand All @@ -45,9 +41,9 @@ jobs:

steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
},
"devDependencies": {
"@koishijs/eslint-config": "^1.0.4",
"@koishijs/plugin-database-memory": "^2.3.6",
"@koishijs/plugin-database-memory": "^2.4.0",
"@koishijs/plugin-help": "^2.3.3",
"@koishijs/plugin-mock": "^2.6.4",
"@rollup/plugin-yaml": "^3.1.0",
Expand All @@ -45,7 +45,7 @@
"eslint": "^8.52.0",
"eslint-plugin-mocha": "^10.2.0",
"jest-mock": "^28.1.3",
"koishi": "^4.15.4",
"koishi": "^4.15.5",
"mocha": "^9.2.2",
"rollup-plugin-node-polyfills": "^0.2.1",
"shx": "^0.3.4",
Expand Down
6 changes: 3 additions & 3 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.18.3",
"version": "5.18.6",
"main": "client/index.ts",
"files": [
"app",
Expand Down Expand Up @@ -35,13 +35,13 @@
"build"
],
"dependencies": {
"@koishijs/components": "1.4.10",
"@koishijs/components": "1.4.11",
"@maikolib/vite-plugin-yaml": "^1.0.1",
"@satorijs/protocol": "^1.1.1",
"@vitejs/plugin-vue": "^4.4.0",
"@vueuse/core": "^10.5.0",
"cac": "^6.7.14",
"cordis": "^3.2.3",
"cordis": "^3.2.4",
"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.10",
"version": "1.4.11",
"main": "client/index.ts",
"files": [
"client",
Expand Down Expand Up @@ -31,6 +31,6 @@
"dependencies": {
"@satorijs/element": "^2.5.1",
"cosmokit": "^1.5.1",
"schemastery-vue": "^7.1.2"
"schemastery-vue": "^7.1.3"
}
}
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.18.3",
"version": "5.18.6",
"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.4"
"koishi": "^4.15.5"
}
}
2 changes: 1 addition & 1 deletion packages/market/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"vue-i18n": "^9"
},
"dependencies": {
"@koishijs/components": "^1.4.10",
"@koishijs/components": "^1.4.11",
"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.18.3",
"@koishijs/client": "^5.18.6",
"@koishijs/dns": "^1.0.1",
"@koishijs/fs": "^1.3.7",
"@koishijs/loader": "^4.2.4",
"@koishijs/loader": "^4.2.5",
"@koishijs/os": "^1.0.2",
"@koishijs/path": "^1.0.0",
"@koishijs/url": "^1.0.3"
Expand Down
10 changes: 5 additions & 5 deletions plugins/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,23 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"peerDependenciesMeta": {
"@koishijs/plugin-console": {
"optional": true
}
},
"devDependencies": {
"@koishijs/client": "^5.18.3",
"@koishijs/plugin-console": "^5.18.3",
"@koishijs/client": "^5.18.6",
"@koishijs/plugin-console": "^5.18.6",
"@koishijs/plugin-locales": "^2.5.1",
"@koishijs/plugin-mock": "^2.6.4",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
"@koishijs/console": "^5.18.3",
"@koishijs/console": "^5.18.6",
"throttle-debounce": "^3.0.1"
}
}
2 changes: 1 addition & 1 deletion plugins/admin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export class Admin extends Service {
}

export namespace Admin {
export const inject = ['database'] as const
export const inject = ['database']

export interface Config {}

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.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"devDependencies": {
"@koishijs/assets": "^1.0.3",
"@koishijs/client": "^5.18.3",
"@koishijs/client": "^5.18.6",
"echarts": "^5.4.3",
"koishi": "^4.15.4",
"koishi": "^4.15.5",
"vue-echarts": "^6.6.1"
},
"dependencies": {
"@koishijs/console": "^5.18.3"
"@koishijs/console": "^5.18.6"
}
}
2 changes: 1 addition & 1 deletion plugins/analytics/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export * from './stats'

export const filter = false
export const name = 'status'
export const inject = ['console'] as const
export const inject = ['console']

export interface Config extends MetaProvider.Config, StatisticsProvider.Config {}

Expand Down
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.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"devDependencies": {
"@koishijs/client": "^5.18.3"
"@koishijs/client": "^5.18.6"
},
"dependencies": {
"@koishijs/console": "^5.18.3"
"@koishijs/console": "^5.18.6"
}
}
2 changes: 1 addition & 1 deletion plugins/auth/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function toHash(password: string) {
}

class AuthService extends Service {
static inject = ['console', 'database'] as const
static inject = ['console', 'database']

constructor(ctx: Context, private config: AuthService.Config) {
super(ctx, 'auth')
Expand Down
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.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"peerDependenciesMeta": {
"@koishijs/plugin-console": {
"optional": true
}
},
"devDependencies": {
"@koishijs/client": "^5.18.3",
"@koishijs/plugin-console": "^5.18.3",
"@koishijs/plugin-locales": "^2.5.1",
"@koishijs/client": "^5.18.6",
"@koishijs/plugin-config": "^2.4.5",
"@koishijs/plugin-console": "^5.18.6",
"@koishijs/plugin-locales": "^2.5.1",
"@koishijs/plugin-mock": "^2.6.4",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
"@koishijs/console": "^5.18.3",
"@koishijs/console": "^5.18.6",
"throttle-debounce": "^3.0.1"
}
}
8 changes: 4 additions & 4 deletions plugins/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,16 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"devDependencies": {
"@koishijs/client": "^5.18.3",
"@koishijs/client": "^5.18.6",
"@koishijs/plugin-hmr": "^1.2.4",
"@types/throttle-debounce": "^2.1.0"
},
"dependencies": {
"@koishijs/console": "^5.18.3",
"@koishijs/console": "^5.18.6",
"@koishijs/registry": "^6.0.4",
"throttle-debounce": "^3.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/config/src/browser/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ConfigWriter, ServiceProvider } from '../shared'
export * from '../shared'

export const name = 'config'
export const inject = ['console', 'loader'] as const
export const inject = ['console', 'loader']

export interface Config {}

Expand Down
2 changes: 1 addition & 1 deletion plugins/config/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { ConfigWriter, ServiceProvider } from '../shared'
export * from '../shared'

export const name = 'config'
export const inject = ['console'] as const
export const inject = ['console']

export interface Config {}

Expand Down
12 changes: 6 additions & 6 deletions plugins/console/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-console",
"description": "Web User Interface for Koishi",
"version": "5.18.3",
"version": "5.18.6",
"main": "lib/node/index.js",
"types": "lib/index.d.ts",
"exports": {
Expand Down Expand Up @@ -52,19 +52,19 @@
}
},
"peerDependencies": {
"koishi": "^4.15.4"
"koishi": "^4.15.5"
},
"devDependencies": {
"@koishijs/client": "^5.18.3",
"@koishijs/loader": "^4.2.4",
"@koishijs/plugin-router-proxy": "^1.0.0",
"@koishijs/client": "^5.18.6",
"@koishijs/loader": "^4.2.5",
"@koishijs/plugin-server-proxy": "^1.0.0",
"@maikolib/vite-plugin-yaml": "^1.0.1",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-vue": "^4.4.0",
"vite": "^4.5.0"
},
"dependencies": {
"@koishijs/console": "^5.18.3",
"@koishijs/console": "^5.18.6",
"open": "^8.4.2",
"uuid": "^8.3.2",
"ws": "^8.14.2"
Expand Down
4 changes: 2 additions & 2 deletions plugins/console/src/node/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Console, Entry } from '@koishijs/console'
import { ViteDevServer } from 'vite'
import { extname, resolve } from 'path'
import { createReadStream, existsSync, promises as fsp, Stats } from 'fs'
import {} from '@koishijs/plugin-router-proxy'
import {} from '@koishijs/plugin-server-proxy'
import open from 'open'

declare module 'koishi' {
Expand Down Expand Up @@ -60,7 +60,7 @@ class NodeConsole extends Console {
global.uiPath = uiPath
global.heartbeat = heartbeat
global.endpoint = selfUrl + apiPath
const proxy = this.ctx.get('router.proxy')
const proxy = this.ctx.get('server.proxy')
if (proxy) global.proxyBase = proxy.config.path + '/'
return global
}
Expand Down
8 changes: 4 additions & 4 deletions plugins/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@
"client": "./build/client"
},
"peerDependencies": {
"@koishijs/plugin-console": "^5.18.3",
"koishi": "^4.15.4"
"@koishijs/plugin-console": "^5.18.6",
"koishi": "^4.15.5"
},
"devDependencies": {
"@koishijs/client": "^5.18.3",
"@koishijs/client": "^5.18.6",
"@types/throttle-debounce": "^2.1.0",
"monaco-editor": "~0.44.0"
},
"dependencies": {
"@koishijs/console": "^5.18.3",
"@koishijs/console": "^5.18.6",
"anymatch": "^3.1.3",
"chardet": "^2.0.0",
"chokidar": "^3.5.3",
Expand Down
Loading

0 comments on commit 9afb8d0

Please sign in to comment.