Skip to content

Commit

Permalink
refa: update links in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Aug 5, 2022
1 parent ac5f353 commit b52aa6c
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 68 deletions.
12 changes: 6 additions & 6 deletions packages/auth/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-auth",
"description": "Console User Authentication",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/auth"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/auth"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/auth.html",
"keywords": [
Expand All @@ -45,10 +45,10 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/plugin-console": "^4.3.2",
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1"
"@koishijs/client": "^4.3.2"
}
}
12 changes: 6 additions & 6 deletions packages/chat/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-chat",
"description": "Display and respond to messages for Koishi",
"version": "3.1.0",
"version": "3.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -12,11 +12,11 @@
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/chat"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/chat"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/chat.html",
"keywords": [
Expand Down Expand Up @@ -45,7 +45,7 @@
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/plugin-console": "^4.3.1"
"@koishijs/client": "^4.3.2",
"@koishijs/plugin-console": "^4.3.2"
}
}
8 changes: 4 additions & 4 deletions packages/client/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/client",
"description": "Koishi Console Client",
"version": "4.3.1",
"version": "4.3.2",
"main": "client/index.ts",
"files": [
"app",
Expand All @@ -17,11 +17,11 @@
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/client"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/client"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org",
"keywords": [
Expand Down
6 changes: 3 additions & 3 deletions packages/commands/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-commands",
"description": "Override Command Config for Koishi",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand Down Expand Up @@ -39,8 +39,8 @@
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/client": "^4.3.2",
"@koishijs/plugin-console": "^4.3.2",
"@koishijs/plugin-mock": "^2.0.0",
"@types/throttle-debounce": "^2.1.0"
},
Expand Down
14 changes: 8 additions & 6 deletions packages/console/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-console",
"description": "Web User Interface for Koishi",
"version": "4.3.1",
"version": "4.3.2",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -13,19 +13,21 @@
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/console"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/console"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/",
"keywords": [
"bot",
"chatbot",
"koishi",
"plugin",
"webui"
"frontend",
"webui",
"console"
],
"koishi": {
"description": {
Expand All @@ -42,7 +44,7 @@
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/client": "^4.3.2",
"@types/uuid": "^8.3.4"
},
"dependencies": {
Expand Down
12 changes: 6 additions & 6 deletions packages/dataview/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-dataview",
"description": "View Database in Koishi Console",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/dataview"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/dataview"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/dataview.html",
"keywords": [
Expand All @@ -42,10 +42,10 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/plugin-console": "^4.3.2",
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1"
"@koishijs/client": "^4.3.2"
}
}
12 changes: 6 additions & 6 deletions packages/insight/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-insight",
"description": "Show plugin dependency graph for Koishi",
"version": "3.1.0",
"version": "3.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/insight"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/insight"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/insight.html",
"keywords": [
Expand All @@ -41,12 +41,12 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/plugin-console": "^4.3.2",
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/cli": "^4.8.3",
"@koishijs/client": "^4.3.1",
"@koishijs/client": "^4.3.2",
"@types/d3-force": "^3.0.3",
"@types/throttle-debounce": "^2.1.0"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/logger/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-logger",
"description": "Dump log files for Koishi",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/logger"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/logger"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/logger.html",
"keywords": [
Expand All @@ -41,11 +41,11 @@
}
},
"peerDependencies": {
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/plugin-console": "^4.3.2",
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/client": "^4.3.2",
"@koishijs/cli": "^4.8.3",
"ansi_up": "^5.1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/market/client/market/index.vue
Expand Up @@ -98,7 +98,7 @@ const packages = computed(() => {
return Object.values(store.market.data)
.filter(data => words.every(word => validate(data, word)))
.filter(item => config.showInstalled || !store.packages[item.name])
.sort((a, b) => b.popularity - a.popularity)
.sort((a, b) => b.score - a.score)
})
</script>
Expand Down
14 changes: 7 additions & 7 deletions packages/market/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-market",
"description": "Manage your bots and plugins with console",
"version": "1.1.2",
"version": "1.1.3",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -12,11 +12,11 @@
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/market"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/market"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/market.html",
"keywords": [
Expand All @@ -41,16 +41,16 @@
},
"peerDependencies": {
"@koishijs/cli": "^4.8.3",
"@koishijs/plugin-console": "^4.3.1",
"@koishijs/plugin-console": "^4.3.2",
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/client": "^4.3.2",
"@types/cross-spawn": "^6.0.2",
"@types/which-pm-runs": "^1.0.0"
},
"dependencies": {
"@koishijs/registry": "^2.2.1",
"@koishijs/registry": "^2.2.3",
"cross-spawn": "^7.0.3",
"ns-require": "^1.1.4",
"semver": "^7.3.7",
Expand Down
12 changes: 6 additions & 6 deletions packages/sandbox/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/plugin-sandbox",
"description": "Test Your Virtual Bot in Console",
"version": "2.1.0",
"version": "2.1.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
Expand All @@ -15,11 +15,11 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/koishijs/koishi.git",
"directory": "plugins/frontend/sandbox"
"url": "git+https://github.com/koishijs/console.git",
"directory": "packages/sandbox"
},
"bugs": {
"url": "https://github.com/koishijs/koishi/issues"
"url": "https://github.com/koishijs/console/issues"
},
"homepage": "https://koishi.js.org/plugins/console/sandbox.html",
"keywords": [
Expand Down Expand Up @@ -47,7 +47,7 @@
"koishi": "^4.8.3"
},
"devDependencies": {
"@koishijs/client": "^4.3.1",
"@koishijs/plugin-console": "^4.3.1"
"@koishijs/client": "^4.3.2",
"@koishijs/plugin-console": "^4.3.2"
}
}
4 changes: 2 additions & 2 deletions packages/scripts/package.json
@@ -1,7 +1,7 @@
{
"name": "@koishijs/scripts",
"description": "Workspace Scripts for Koishi",
"version": "3.1.0",
"version": "3.2.0",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"engines": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"koishi"
],
"peerDependencies": {
"@koishijs/client": "^4.3.1"
"@koishijs/client": "^4.3.2"
},
"devDependencies": {
"@types/cross-spawn": "^6.0.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts/template/client/tsconfig.json
Expand Up @@ -11,4 +11,4 @@
"include": [
"."
]
}
}
6 changes: 5 additions & 1 deletion packages/scripts/template/src/index.console.ts
@@ -1,9 +1,13 @@
import { Context } from 'koishi'
import { Context, Schema } from 'koishi'
import { resolve } from 'path'
import {} from '@koishijs/plugin-console'

export const name = '{{name}}'

export interface Config {}

export const Config: Schema<Config> = Schema.object({})

export function apply(ctx: Context) {
ctx.using(['console'], (ctx) => {
ctx.console.addEntry({
Expand Down

0 comments on commit b52aa6c

Please sign in to comment.