Commit 2689bf40 authored by nanahira's avatar nanahira

bump for strict thirdeye check

parent fe01a0b1
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
"version": "2.1.1", "version": "2.1.1",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.1.4", "koishi-thirdeye": "^10.1.6",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"pg": "^8.7.3", "pg": "^8.7.3",
"typeorm": "0.2.45" "typeorm": "0.2.45"
...@@ -5387,9 +5387,9 @@ ...@@ -5387,9 +5387,9 @@
} }
}, },
"node_modules/koishi-decorators": { "node_modules/koishi-decorators": {
"version": "2.0.3", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.0.3.tgz", "resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.0.4.tgz",
"integrity": "sha512-rAC3bJVdeIQmydUbOWy+SWqtczUJfUHSIQggR5+bVI9oKMxNuTfbik3xD/FnCMF84Z9aCklOz5MJOLPbaUs1pw==", "integrity": "sha512-FVXURJqWIr9bxgDFMOsaSeg6VrolyBdBhZ+vnNhi8lKOU5liO0v8Nkvvno87C0L+llhoqhxmzFbRZQUy1ik9SA==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -5403,13 +5403,13 @@ ...@@ -5403,13 +5403,13 @@
} }
}, },
"node_modules/koishi-thirdeye": { "node_modules/koishi-thirdeye": {
"version": "10.1.4", "version": "10.1.6",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.1.4.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.1.6.tgz",
"integrity": "sha512-uOCBw/SsAqW3HtKU/iozJTogJXnvDbP98n/20+CaLoAe+xK05z6QToRR6hEk0CLsAYgSivkXbUsEKTBHKT4i/g==", "integrity": "sha512-iQtkDUpEd99F3vQ3+ShqQaA/MCNpp0lAMujUMnBlFa9C2hcG9yJvKYjtB477VWII/dLbIGSXv4KzKsTQvpmmxQ==",
"dependencies": { "dependencies": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
"koishi-decorators": "^2.0.3", "koishi-decorators": "^2.0.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"minato-decorators": "^2.0.6", "minato-decorators": "^2.0.6",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
...@@ -12386,9 +12386,9 @@ ...@@ -12386,9 +12386,9 @@
} }
}, },
"koishi-decorators": { "koishi-decorators": {
"version": "2.0.3", "version": "2.0.4",
"resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.0.3.tgz", "resolved": "https://registry.npmjs.org/koishi-decorators/-/koishi-decorators-2.0.4.tgz",
"integrity": "sha512-rAC3bJVdeIQmydUbOWy+SWqtczUJfUHSIQggR5+bVI9oKMxNuTfbik3xD/FnCMF84Z9aCklOz5MJOLPbaUs1pw==", "integrity": "sha512-FVXURJqWIr9bxgDFMOsaSeg6VrolyBdBhZ+vnNhi8lKOU5liO0v8Nkvvno87C0L+llhoqhxmzFbRZQUy1ik9SA==",
"requires": { "requires": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
...@@ -12399,13 +12399,13 @@ ...@@ -12399,13 +12399,13 @@
} }
}, },
"koishi-thirdeye": { "koishi-thirdeye": {
"version": "10.1.4", "version": "10.1.6",
"resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.1.4.tgz", "resolved": "https://registry.npmjs.org/koishi-thirdeye/-/koishi-thirdeye-10.1.6.tgz",
"integrity": "sha512-uOCBw/SsAqW3HtKU/iozJTogJXnvDbP98n/20+CaLoAe+xK05z6QToRR6hEk0CLsAYgSivkXbUsEKTBHKT4i/g==", "integrity": "sha512-iQtkDUpEd99F3vQ3+ShqQaA/MCNpp0lAMujUMnBlFa9C2hcG9yJvKYjtB477VWII/dLbIGSXv4KzKsTQvpmmxQ==",
"requires": { "requires": {
"@types/koa": "^2.13.4", "@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11", "@types/koa__router": "^8.0.11",
"koishi-decorators": "^2.0.3", "koishi-decorators": "^2.0.4",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"minato-decorators": "^2.0.6", "minato-decorators": "^2.0.6",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
}, },
"homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-typeorm", "homepage": "https://code.mycard.moe/3rdeye/koishi-plugin-typeorm",
"dependencies": { "dependencies": {
"koishi-thirdeye": "^10.1.4", "koishi-thirdeye": "^10.1.6",
"mysql": "^2.18.1", "mysql": "^2.18.1",
"pg": "^8.7.3", "pg": "^8.7.3",
"typeorm": "0.2.45" "typeorm": "0.2.45"
......
...@@ -10,6 +10,7 @@ import { ...@@ -10,6 +10,7 @@ import {
Caller, Caller,
Provide, Provide,
LifecycleEvents, LifecycleEvents,
StarterPlugin,
} from 'koishi-thirdeye'; } from 'koishi-thirdeye';
import { Connection, ConnectionOptions } from 'typeorm'; import { Connection, ConnectionOptions } from 'typeorm';
import { Context } from 'koishi'; import { Context } from 'koishi';
...@@ -31,9 +32,9 @@ declare module 'koishi' { ...@@ -31,9 +32,9 @@ declare module 'koishi' {
} }
@Provide('typeorm', { immediate: true }) @Provide('typeorm', { immediate: true })
@DefinePlugin({ name: 'typeorm', schema: TypeORMPluginConfig }) @DefinePlugin()
export default class TypeORMPlugin export default class TypeORMPlugin
extends BasePlugin<TypeORMPluginConfigLike> extends StarterPlugin(TypeORMPluginConfig)
implements LifecycleEvents implements LifecycleEvents
{ {
private registryMap = new Map<string, ConnectionEntry>(); private registryMap = new Map<string, ConnectionEntry>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment