Commit 366de907 authored by nanahira's avatar nanahira

bump jest

parent 44037ba2
webpack.config.js
dist/*
build/*
*.js
This diff is collapsed.
{
"name": "koishi-thirdeye",
"version": "11.1.3",
"version": "11.1.4",
"description": "装饰器形式的 Koishi 插件开发框架",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
......@@ -30,7 +30,7 @@
"license": "MIT",
"devDependencies": {
"@koishijs/plugin-adapter-onebot": "^4.2.4",
"@types/jest": "^27.0.3",
"@types/jest": "^29.2.0",
"@types/node": "^16.11.9",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.33.0",
......@@ -38,11 +38,11 @@
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^27.4.3",
"jest": "^29.2.2",
"prettier": "^2.4.1",
"rimraf": "^3.0.2",
"supertest": "^6.1.6",
"ts-jest": "^27.0.7",
"ts-jest": "^29.0.3",
"typescript": "^4.8.2"
},
"dependencies": {
......@@ -59,7 +59,8 @@
"rootDir": "tests",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
"^.+\\.(t|j)s$": "ts-jest",
"^.*axios/axios\\.js$": "babel-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
......@@ -68,6 +69,6 @@
"testEnvironment": "node"
},
"peerDependencies": {
"koishi": "^4.9.4"
"koishi": "^4.9.7"
}
}
......@@ -25,6 +25,8 @@ declare module 'satori-decorators' {
}
}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
export class KoishiRegistrar extends SatoriRegistrar<Context> {
decorateCommandTransformer<A extends any[]>(
transformer: CommandTransformer<A>,
......
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