feat: 插件骨架(里程碑 1)

- Gradle 工程:devtools 0.8.0 + 平台 BOM 2.26.0,JDK 21 toolchain
- plugin.yaml:operation-audit,requires >=2.26.0
- OperationAuditPlugin 入口(@Component)
- ui 子项目:Vue 3 + Vite 6 + @halo-dev/components 2.26.0,占位页 + 菜单注册,npm 构建(legacy-peer-deps 对齐 pnpm 行为)
- ./gradlew build 通过,jar 内含 plugin.yaml / console 前端产物 / 组件索引
This commit is contained in:
2026-11-21 16:07:37 +08:00
parent a14cd433b6
commit 5e6ee00268
19 changed files with 2677 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
import { definePlugin } from '@halo-dev/console-shared'
import { markRaw } from 'vue'
import { IconEye } from '@halo-dev/components'
import HomeView from '@/views/HomeView.vue'
export default definePlugin({
components: {},
routes: [
{
path: '/operation-audit',
name: 'OperationAudit',
component: HomeView,
meta: {
title: '操作审计',
searchable: true,
menu: {
name: '操作审计',
group: 'plugin',
icon: markRaw(IconEye),
priority: 0,
},
},
},
],
extensionPoints: {},
})