mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-12-18 20:30:08 +08:00
* fix * Refactor PacketApi status checks and fix typos Replaced all usages of PacketApi.available with PacketApi.packetStatus for more accurate status checking. Fixed a typo in getFullQQVesion to getFullQQVersion. Updated plugin_onmessage to fetch and parse messages for a user. These changes improve reliability and consistency in API status handling. * Fix typo in getFullQQVersion method name Corrected the method name from getFullQQVesion to getFullQQVersion in multiple locations to ensure consistency and prevent potential runtime errors. * Remove performance CLI and demo, fix typos, update proto Deleted the performance CLI and demo files. Fixed a typo in getFullQQVesion to getFullQQVersion across multiple files. Changed the 'time' field type from UINT32 to UINT64 in Oidb.0x9067_202 proto. Commented out performanceMonitorPlugin in vite.config.ts. Removed an unimplemented log statement in NodeIKernelBuddyListener. * Comment out default plugin adapter registration The default registration of OB11PluginAdapter in NapCatOneBot11Adapter was commented out, likely to prevent automatic plugin loading or to allow for more flexible plugin management. Also, removed an unnecessary blank line in the plugin_onmessage function. * fix * Add shell-analysis mode with performance monitoring Introduces a new .env.shell-analysis file and a dev:shell-analysis npm script for building in shell-analysis mode. Updates vite.config.ts to support the new mode, enabling the performance monitor plugin with an updated exclude list. Also extends the plugin's exclude patterns to filter out 'packet' files. * Delete performance-api.ts * Add commented export for performance-monitor Added a commented-out export statement for '@/common/performance-monitor' in napcat.ts, possibly for future use or reference. No functional changes to the file.
76 lines
2.5 KiB
JSON
76 lines
2.5 KiB
JSON
{
|
|
"name": "napcat",
|
|
"private": true,
|
|
"type": "module",
|
|
"version": "4.8.95",
|
|
"scripts": {
|
|
"build:universal": "npm run build:webui && vite build --mode universal || exit 1",
|
|
"build:framework": "npm run build:webui && vite build --mode framework || exit 1",
|
|
"build:shell": "npm run build:webui && vite build --mode shell || exit 1",
|
|
"build:webui": "cd napcat.webui && npm run build",
|
|
"dev:universal": "vite build --mode universal",
|
|
"dev:framework": "vite build --mode framework",
|
|
"dev:shell": "vite build --mode shell",
|
|
"dev:shell-analysis": "vite build --mode shell-analysis",
|
|
"dev:webui": "cd napcat.webui && npm run dev",
|
|
"lint": "eslint --fix src/**/*.{js,ts,vue}",
|
|
"depend": "cd dist && npm install --omit=dev",
|
|
"dev:depend": "npm i && cd napcat.webui && npm i"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.28.0",
|
|
"@babel/generator": "^7.28.0",
|
|
"@babel/parser": "^7.28.0",
|
|
"@babel/preset-typescript": "^7.24.7",
|
|
"@babel/traverse": "^7.28.0",
|
|
"@babel/types": "^7.28.2",
|
|
"@eslint/compat": "^1.3.1",
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.31.0",
|
|
"@homebridge/node-pty-prebuilt-multiarch": "^0.12.0-beta.5",
|
|
"@log4js-node/log4js-api": "^1.0.2",
|
|
"@napneko/nap-proto-core": "^0.0.4",
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
"@rollup/plugin-typescript": "^12.1.4",
|
|
"@sinclair/typebox": "^0.34.9",
|
|
"@types/cors": "^2.8.17",
|
|
"@types/express": "^5.0.0",
|
|
"@types/multer": "^1.4.12",
|
|
"@types/node": "^22.0.1",
|
|
"@types/on-finished": "^2.3.4",
|
|
"@types/qrcode-terminal": "^0.12.2",
|
|
"@types/react-color": "^3.0.13",
|
|
"@types/type-is": "^1.6.7",
|
|
"@types/ws": "^8.5.12",
|
|
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
"@typescript-eslint/parser": "^8.37.0",
|
|
"ajv": "^8.13.0",
|
|
"async-mutex": "^0.5.0",
|
|
"commander": "^13.0.0",
|
|
"compressing": "^1.10.1",
|
|
"cors": "^2.8.5",
|
|
"esbuild": "0.25.5",
|
|
"eslint": "^9.14.0",
|
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"express-rate-limit": "^7.5.0",
|
|
"fast-xml-parser": "^4.3.6",
|
|
"file-type": "^21.0.0",
|
|
"globals": "^16.0.0",
|
|
"json5": "^2.2.3",
|
|
"multer": "^2.0.1",
|
|
"napcat.protobuf": "^1.1.4",
|
|
"typescript": "^5.3.3",
|
|
"typescript-eslint": "^8.35.1",
|
|
"vite": "^6.0.1",
|
|
"vite-plugin-cp": "^6.0.0",
|
|
"vite-tsconfig-paths": "^5.1.0",
|
|
"winston": "^3.17.0"
|
|
},
|
|
"dependencies": {
|
|
"express": "^5.0.0",
|
|
"silk-wasm": "^3.6.1",
|
|
"ws": "^8.18.0"
|
|
}
|
|
}
|