mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 12:38:11 +08:00
将 v6 中直接放在本地 app 的后台与微信能力迁移为 v8 插件组件,并把运行时基础能力沉淀到独立插件包。 主要内容: - 新增 think-library、system、worker、static、install 等基础插件包。 - 新增 account、payment、wechat-client、wechat-service、wemall、wuma 等业务插件包。 - 移除 v6 的 app/admin 与 app/wechat 本地应用实现,改由插件分发接管。 - 将 Helper 能力彻底并入 System,统一为 plugin\system\helper\* 命名空间。 - 同步插件迁移发布清单与根 route 占位,保证安装发布流程可复现。
60 lines
1.7 KiB
JSON
60 lines
1.7 KiB
JSON
{
|
|
"type": "think-admin-plugin",
|
|
"name": "zoujingli/think-plugs-static",
|
|
"version": "8.0.x-dev",
|
|
"license": "MIT",
|
|
"description": "Static Files for ThinkAdmin",
|
|
"authors": [
|
|
{
|
|
"name": "Anyon",
|
|
"email": "zoujingli@qq.com"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.1"
|
|
},
|
|
"extra": {
|
|
"think": {
|
|
"services": [
|
|
"plugin\\static\\Service"
|
|
]
|
|
},
|
|
"xadmin": {
|
|
"app": {
|
|
"name": "静态资源",
|
|
"description": "提供系统前端静态资源文件,包括样式、脚本和第三方组件。",
|
|
"code": "static",
|
|
"prefix": "static"
|
|
},
|
|
"publish": {
|
|
"copy": {
|
|
"stc/config": "config",
|
|
"stc/.env.example": ".env.example",
|
|
"stc/default/Index.php": "app/index/controller/Index.php",
|
|
"stc/public/router.php": "public/router.php",
|
|
"stc/public/robots.txt": "public/robots.txt",
|
|
"stc/public/.htaccess": "public/.htaccess",
|
|
"stc/public/static/extra/style.css": "public/static/extra/style.css",
|
|
"stc/public/static/extra/script.js": "public/static/extra/script.js",
|
|
"stc/think": "think",
|
|
"stc/public/index.php": "public/index.php",
|
|
"stc/public/static/plugs": "public/static/plugs",
|
|
"stc/public/static/theme": {
|
|
"to": "public/static/theme",
|
|
"exclude": [
|
|
"*.less",
|
|
"*.css.map",
|
|
"package.json"
|
|
]
|
|
},
|
|
"stc/public/static/system.js": "public/static/system.js",
|
|
"stc/public/static/login.js": "public/static/login.js"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"config": {
|
|
"sort-packages": true
|
|
}
|
|
}
|