From 60ff4a21eb70e49789f6a2ad9764076e97aeaa47 Mon Sep 17 00:00:00 2001 From: Shigma Date: Wed, 5 Jun 2024 15:41:17 +0800 Subject: [PATCH] chore: bump versions, fix tsconfig --- package.json | 12 ++++++------ tsconfig.json | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 2e1b12a..cdca978 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "koishi-plugin-novelai", "description": "Generate images by diffusion models", - "version": "1.23.0", + "version": "1.23.4", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ @@ -63,7 +63,7 @@ "generate" ], "peerDependencies": { - "koishi": "^4.17.4" + "koishi": "^4.17.8" }, "devDependencies": { "@cordisjs/vitepress": "^3.2.7", @@ -71,15 +71,15 @@ "@koishijs/translator": "^1.1.1", "@types/adm-zip": "^0.5.5", "@types/libsodium-wrappers-sumo": "^0.7.8", - "@types/node": "^20.12.7", + "@types/node": "^20.14.1", "atsc": "^1.2.2", - "koishi": "^4.17.4", - "sass": "^1.75.0", + "koishi": "^4.17.8", + "sass": "^1.77.4", "typescript": "^5.4.5", "vitepress": "1.0.0-rc.40" }, "dependencies": { - "adm-zip": "^0.5.12", + "adm-zip": "^0.5.13", "image-size": "^1.1.1", "libsodium-wrappers-sumo": "^0.7.13" } diff --git a/tsconfig.json b/tsconfig.json index 2997a64..0eb1ded 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,13 +3,14 @@ "rootDir": "src", "outDir": "lib", "target": "es2022", - "module": "commonjs", + "module": "esnext", "declaration": true, + "emitDeclarationOnly": true, "composite": true, "incremental": true, "skipLibCheck": true, "esModuleInterop": true, - "moduleResolution": "node" + "moduleResolution": "bundler" }, "include": [ "src"