Replace nap-proto-core with napcat-protobuf package

Switched all imports from '@napneko/nap-proto-core' to the new 'napcat-protobuf' package across napcat-core and related packages. Updated dependencies and references to support the new package structure, improving maintainability and workspace integration.
This commit is contained in:
手瓜一十雪 committed 2025-11-14 16:19:26 +08:00
1 parent a703bbfef7
commit 4f850cd4dc
98 files changed
+363 -109

No files matched your search

+2 -1
View File
@@ -5,7 +5,8 @@
"type": "module",
"main": "index.ts",
"scripts": {
"build": "vite build"
"build": "vite build",
"typecheck": "tsc --noEmit --skipLibCheck -p tsconfig.json"
},
"exports": {
".": {
+6
View File
@@ -35,6 +35,12 @@
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"@/napcat-onebot/*": ["../napcat-onebot/*"],
"@/napcat-core/*": ["../napcat-core/*"],
"@/napcat-common/*": ["../napcat-common/src/*"],
"@/napcat-webui-backend/*": ["../napcat-webui-backend/src/*"]
},
"skipLibCheck": true,
"skipDefaultLibCheck": true
},