- 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 前端产物 / 组件索引
14 lines
362 B
YAML
14 lines
362 B
YAML
apiVersion: plugin.halo.run/v1alpha1
|
|
kind: Plugin
|
|
metadata:
|
|
name: operation-audit
|
|
spec:
|
|
enabled: true
|
|
requires: ">=2.26.0"
|
|
author:
|
|
name: Guichumo
|
|
displayName: "操作审计"
|
|
description: "记录后台写操作与登录事件,回答谁、在什么时候、对什么资源、做了什么操作、结果如何。"
|
|
license:
|
|
- name: "GPL-3.0"
|