Update napcat-types dependency to version 0.0.2

Changed import paths in index.ts to match new napcat-types structure and updated package.json to use napcat-types@0.0.2 instead of workspace reference. Updated pnpm-lock.yaml accordingly.
This commit is contained in:
手瓜一十雪
2026-01-27 19:12:04 +08:00
parent e38014611f
commit 7e59203232
3 changed files with 21 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
import type { ActionMap } from 'napcat-types/dist/napcat-onebot/action/index';
import { EventType } from 'napcat-types/dist/napcat-onebot/event/index';
import type { PluginModule } from 'napcat-types/dist/napcat-onebot/network/plugin-manger';
import type { OB11Message, OB11PostSendMsg } from 'napcat-types/dist/napcat-onebot/types/index';
import type { ActionMap } from 'napcat-types/napcat-onebot/action/index';
import { EventType } from 'napcat-types/napcat-onebot/event/index';
import type { PluginModule } from 'napcat-types/napcat-onebot/network/plugin-manger';
import type { OB11Message, OB11PostSendMsg } from 'napcat-types/napcat-onebot/types/index';
let actions: ActionMap | undefined = undefined;
let startTime: number = Date.now();

View File

@@ -6,7 +6,7 @@
"description": "NapCat 内置插件",
"author": "NapNeko",
"dependencies": {
"napcat-types": "workspace:*"
"napcat-types": "0.0.2"
},
"devDependencies": {
"@types/node": "^22.0.1"