Commit 10c7d125 authored by nanahira's avatar nanahira

bump

parent 57bcb730
...@@ -47,6 +47,6 @@ deploy_npm: ...@@ -47,6 +47,6 @@ deploy_npm:
script: script:
- apt update;apt -y install coreutils - apt update;apt -y install coreutils
- echo $NPMRC | base64 --decode > ~/.npmrc - echo $NPMRC | base64 --decode > ~/.npmrc
- npm publish . || true - npm publish . --access public && curl -X PUT "https://registry-direct.npmmirror.com/$(cat package.json | jq '.name' | sed 's/\"//g')/sync?sync_upstream=true" || true
only: only:
- master - master
This diff is collapsed.
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
"peerDependencies": { "peerDependencies": {
"@nestjs/common": "^9.0.3 || ^8.0.0", "@nestjs/common": "^9.0.3 || ^8.0.0",
"@nestjs/core": "^9.0.3 || ^8.0.0", "@nestjs/core": "^9.0.3 || ^8.0.0",
"koishi": "^4.8.1", "koishi": "^4.8.4",
"rxjs": "^7.5.5" "rxjs": "^7.5.5"
}, },
"devDependencies": { "devDependencies": {
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
"@types/ws": "^8.5.3", "@types/ws": "^8.5.3",
"koa": "^2.13.4", "koa": "^2.13.4",
"koa-bodyparser": "^4.3.0", "koa-bodyparser": "^4.3.0",
"koishi-thirdeye": "^11.0.4", "koishi-thirdeye": "^11.0.9",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"typed-reflector": "^1.0.11", "typed-reflector": "^1.0.11",
"ws": "^8.7.0" "ws": "^8.7.0"
......
...@@ -92,6 +92,9 @@ export class KoishiService ...@@ -92,6 +92,9 @@ export class KoishiService
} }
async onModuleDestroy() { async onModuleDestroy() {
if (this.forkedProvider) {
return;
}
await this.stop(); await this.stop();
} }
......
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