mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-04 14:41:14 +00:00
Introduces a plugin router registry for registering plugin-specific API routes, static resources, and extension pages. Updates the plugin manager and context to expose the router, and implements backend and frontend support for serving and displaying plugin extension pages in the WebUI. Also adds a demo extension page and static resource to the builtin plugin.
18 lines
350 B
JSON
18 lines
350 B
JSON
{
|
|
"name": "napcat-plugin-builtin",
|
|
"plugin": "内置插件",
|
|
"version": "1.0.0",
|
|
"type": "module",
|
|
"main": "index.mjs",
|
|
"description": "NapCat 内置插件",
|
|
"author": "NapNeko",
|
|
"dependencies": {
|
|
"napcat-types": "0.0.14"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^22.0.1"
|
|
},
|
|
"scripts": {
|
|
"build": "vite build"
|
|
}
|
|
} |