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
+13
View File
@@ -0,0 +1,13 @@
import { viteConfig } from '@halo-dev/ui-plugin-bundler-kit/vite'
import { fileURLToPath, URL } from 'url'
// 官方 ui-plugin-bundler-kit 负责外部化 vue / @halo-dev/* 依赖并输出 console/main.js
export default viteConfig({
vite: {
resolve: {
alias: {
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
},
})