Skip to content

Commit

Permalink
chore: update deps, fix peerDep mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Jul 19, 2024
1 parent 501ebfd commit 49225f1
Show file tree
Hide file tree
Showing 14 changed files with 40 additions and 25 deletions.
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,15 @@
},
"devDependencies": {
"@cordisjs/eslint-config": "^1.1.1",
"@types/chai": "^4.3.14",
"@types/mocha": "^9.1.1",
"@types/node": "^20.11.30",
"@types/node": "^20.14.11",
"c8": "^7.14.0",
"chai": "^4.4.1",
"esbuild": "^0.18.20",
"esbuild": "^0.23.0",
"esbuild-register": "^3.5.0",
"eslint": "^8.57.0",
"mocha": "^9.2.2",
"shx": "^0.3.4",
"typescript": "^5.4.3",
"typescript": "^5.5.3",
"yakumo": "^1.0.0-beta.16",
"yakumo-esbuild": "^1.0.0-beta.6",
"yakumo-mocha": "^1.0.0-beta.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@
"@maikolib/vite-plugin-yaml": "^1.0.1",
"@satorijs/protocol": "^1.4.1",
"@vitejs/plugin-vue": "^4.6.2",
"@vueuse/core": "^10.9.0",
"@vueuse/core": "^10.11.0",
"cac": "^6.7.14",
"cordis": "^3.17.5",
"cordis": "^3.17.6",
"cosmokit": "^1.6.2",
"element-plus": "2.7.7",
"marked-vue": "^1.3.0",
"ns-require": "^1.1.4",
"sass": "^1.77.4",
"unocss": "^0.60.4",
"vite": "^5.3.4",
"vue": "^3.4.27",
"vue": "^3.4.32",
"vue-i18n": "^9.13.1",
"vue-router": "^4.3.2"
},
Expand Down
5 changes: 5 additions & 0 deletions packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"webui",
"component"
],
"devDependencies": {
"@vueuse/core": "^10.11.0",
"element-plus": "^2.7.7",
"vue": "^3.4.32"
},
"peerDependencies": {
"vue": "^3"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
"utilities"
],
"devDependencies": {
"chai-shape": "^1.0.0"
"@types/chai": "^4.3.16",
"chai": "^5.1.1",
"chai-shape": "^1.1.0"
},
"dependencies": {
"cosmokit": "^1.6.2"
Expand Down
4 changes: 4 additions & 0 deletions packages/element/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,10 @@ namespace Element {
}))).flat(1)
return typeof source === 'string' ? children.join('') : children
}

export function text(content: string) {
return Element('text', { content })
}
}

export default Element
Expand Down
2 changes: 1 addition & 1 deletion plugins/insight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"peerDependencies": {
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.5"
"cordis": "^3.17.6"
},
"devDependencies": {
"@cordisjs/client": "^0.1.11",
Expand Down
2 changes: 1 addition & 1 deletion plugins/insight/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Context, EffectScope, ForkScope, Plugin, Schema, ScopeStatus } from 'cordis'
import { camelize, capitalize } from 'cosmokit'
import {} from '@cordisjs/plugin-webui'
import {} from '@cordisjs/loader'
import {} from 'cordis/loader'
import assert from 'node:assert'

export interface Data {
Expand Down
6 changes: 4 additions & 2 deletions plugins/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@
},
"peerDependencies": {
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.5"
"cordis": "^3.17.6"
},
"devDependencies": {
"@cordisjs/client": "^0.1.11",
"@cordisjs/plugin-manager": "^0.3.1",
"ansi_up": "^6.0.2"
"@cordisjs/plugin-webui": "^0.1.11",
"ansi_up": "^6.0.2",
"cordis": "^3.17.6"
},
"dependencies": {
"cosmokit": "^1.6.2"
Expand Down
7 changes: 4 additions & 3 deletions plugins/manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@
},
"peerDependencies": {
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.5"
"cordis": "^3.17.6"
},
"devDependencies": {
"@cordisjs/client": "^0.1.11",
"@cordisjs/loader": "^0.12.5",
"@cordisjs/plugin-hmr": "^0.2.4"
"@cordisjs/plugin-hmr": "^0.2.5",
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.6"
},
"dependencies": {
"@cordisjs/registry": "^7.1.3",
Expand Down
4 changes: 2 additions & 2 deletions plugins/manager/src/shared.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Context, Inject, MainScope, Plugin, Schema, ScopeStatus, Service } from 'cordis'
import { Dict, pick } from 'cosmokit'
import { EntryOptions } from '@cordisjs/loader'
import { EntryOptions } from 'cordis/loader'
import { Entry as ClientEntry } from '@cordisjs/plugin-webui'
import { LocalObject } from '@cordisjs/registry'
import {} from '@cordisjs/plugin-hmr'

declare module '@cordisjs/loader' {
declare module 'cordis/loader' {
interface EntryOptions {
label?: string | null
collapse?: boolean | null
Expand Down
6 changes: 4 additions & 2 deletions plugins/notifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,13 @@
},
"peerDependencies": {
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.5"
"cordis": "^3.17.6"
},
"devDependencies": {
"@cordisjs/client": "^0.1.11",
"@cordisjs/plugin-manager": "^0.3.1"
"@cordisjs/plugin-manager": "^0.3.1",
"@cordisjs/plugin-webui": "^0.1.11",
"cordis": "^3.17.6"
},
"dependencies": {
"@cordisjs/element": "^0.1.0",
Expand Down
2 changes: 1 addition & 1 deletion plugins/notifier/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Context, Schema, Service } from 'cordis'
import { Dict, isNullable, remove } from 'cosmokit'
import { h } from '@cordisjs/element'
import {} from '@cordisjs/loader'
import {} from 'cordis/loader'
import type { Entry } from '@cordisjs/plugin-webui'

declare module 'cordis' {
Expand Down
7 changes: 4 additions & 3 deletions plugins/webui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
},
"peerDependencies": {
"@cordisjs/client": "^0.1.11",
"cordis": "^3.17.5"
"cordis": "^3.17.6"
},
"peerDependenciesMeta": {
"@cordisjs/client": {
Expand All @@ -61,13 +61,14 @@
},
"devDependencies": {
"@cordisjs/client": "^0.1.11",
"@cordisjs/loader": "^0.12.5",
"@cordisjs/plugin-server": "^0.2.3",
"@maikolib/vite-plugin-yaml": "^1.0.1",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-vue": "^4.6.2",
"cordis": "^3.17.6",
"unocss": "^0.58.6",
"vite": "^5.3.4"
"vite": "^5.3.4",
"vue": "^3.4.32"
},
"dependencies": {
"cosmokit": "^1.6.2",
Expand Down
2 changes: 1 addition & 1 deletion plugins/webui/src/browser.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Schema } from 'cordis'
import { makeArray } from 'cosmokit'
import { Entry, Events, WebUI } from './shared/index.ts'
import {} from '@cordisjs/loader'
import {} from 'cordis/loader'

export * from './shared/index.ts'

Expand Down

0 comments on commit 49225f1

Please sign in to comment.