Update napcat-types usage and config in plugin

Changed napcat-plugin-builtin to use workspace reference for napcat-types instead of a fixed version. Updated tsconfig to use bundler module resolution and improved Vite config plugin resolution. Enhanced napcat-types package.json exports for better type support.
This commit is contained in:
手瓜一十雪 committed 2026-01-27 20:22:40 +08:00
1 parent 25714244dc
commit 15a983d392
7 files changed
+55 -17

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@
"dist/**/*"
],
"scripts": {
"build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json --outDir dist && node ./scripts/copy-dist.mjs",
"build": "tsc --project tsconfig.json && tsc-alias --project tsconfig.json --outDir dist && node ./scripts/post-build.mjs && node ./scripts/copy-dist.mjs",
"test": "pnpm -s exec tsc --project tsconfig.json --noEmit",
"publish": "cd dist && npm publish"
},