mioku-plugin-mc 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { definePlugin, type MiokiContext } from "mioki";
2
- import type { ConfigService } from "../../src/services/config/tpyes";
2
+ import type { ConfigService } from "mioku";
3
3
  import { createConfigHandler } from "./utils/config-handler";
4
4
  import { createServerManager } from "./utils/server-manager";
5
5
  import { parseMcCommand } from "./utils/command-router";
package/package.json CHANGED
@@ -1,11 +1,16 @@
1
1
  {
2
2
  "name": "mioku-plugin-mc",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
4
4
  "description": "Minecraft与QQ群消息互通插件,支持服务器状态监控与RCON命令",
5
5
  "main": "index.ts",
6
+ "type": "module",
6
7
  "keywords": [
7
8
  "mioku"
8
9
  ],
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/mioku-lab/mioku-plugin-mc.git"
13
+ },
9
14
  "mioku": {
10
15
  "services": [
11
16
  "config"
@@ -41,5 +46,13 @@
41
46
  },
42
47
  "dependencies": {
43
48
  "@cikeyqi/queqiao-node-sdk": "^0.1.3"
49
+ },
50
+ "peerDependencies": {
51
+ "mioku": "^0.8.0",
52
+ "mioki": "^0.16.0"
53
+ },
54
+ "devDependencies": {
55
+ "mioku": "workspace:*",
56
+ "mioki": "^0.16.0"
44
57
  }
45
58
  }
@@ -1,4 +1,4 @@
1
- import type { ConfigService } from "../../../src/services/config/tpyes";
1
+ import type { ConfigService } from "mioku";
2
2
  import { DEFAULT_CONFIG, normalizeConfig, type McConfig } from "../types";
3
3
 
4
4
  export function createConfigHandler(configService: ConfigService | undefined) {