| Dimension | Shared | Only in A | Only in B | Overlap |
|---|---|---|---|---|
| Sections | 0 | 1 | 5 | 0% |
| Commands | 0 | 0 | 9 | 0% |
| Section tags | 0 | 0 | 4 | 0% |
What each file covers
Sections
0 shared · 1 only in A · 5 only in B- − Plugin BOM Guidelines
- + Frontend Guidelines
- + Structure
- + Commands
- + Conventions
- + Boundaries
Commands
0 shared · 0 only in A · 9 only in B- + pnpm -C ui install
- + pnpm -C ui dev
- + pnpm -C ui build
- + pnpm -C ui typecheck
- + pnpm -C ui lint
- + pnpm -C ui format
- + pnpm -C ui format:check
- + pnpm -C ui test:unit
- + ./gradlew generateOpenApiDocs && pnpm -C ui api-client:gen
Section tags
0 shared · 0 only in A · 4 only in B- + test
- + lint-format
- + code-style
- + architecture
Line diff
halo-dev/halo · platform/plugin/AGENTS.md
@@ −1 @@
1# Plugin BOM Guidelines
2
3`platform/plugin/` is a BOM constraining plugin-facing dependencies.
4
5- Combine changes here with the matching `api/` contract changes, since plugins compile against both.
6- Verify compatibility with the plugin ecosystem before upgrading or adding constraints.
7- Changes affecting the plugin API require approval, as with `api/` changes.
8
9
halo-dev/halo · ui/AGENTS.md
@@ +1 @@
1# Frontend Guidelines
2
3`ui/` is the Vue 3 + TypeScript + TailwindCSS frontend, managed with pnpm workspaces.
4
5## Structure
6
7- `ui/src/` — console application.
8- `ui/uc-src/` — user center application.
9- `ui/packages/` — shared workspace packages (`@halo-dev/api-client`, `@halo-dev/components`, `@halo-dev/console-shared`, `@halo-dev/editor`, `@halo-dev/shared`, `@halo-dev/ui-plugin-bundler-kit`).
10- Unit tests: `*.spec.ts` files, usually under `__tests__/` next to the code they cover.
11
12## Commands
13
14Run from the repo root:
15
16- `pnpm -C ui install` / `pnpm -C ui dev` — install dependencies / run the dev server.
17- `pnpm -C ui build` — production build.
18- `pnpm -C ui typecheck` — `vue-tsc` type checking.
19- `pnpm -C ui lint` — ESLint (fails on any warning).
20- `pnpm -C ui format` / `pnpm -C ui format:check` — Prettier formatting.
21- `pnpm -C ui test:unit` — Vitest unit tests.
22- `./gradlew generateOpenApiDocs && pnpm -C ui api-client:gen` — regenerate `ui/packages/api-client` after backend contract changes.
23
24## Conventions
25
26- Follow existing component and composable patterns; match surrounding code rather than introducing new stylistic islands.
27- Never hand-edit `ui/packages/api-client/src/` — it is generated; regenerate it instead.
28- Keep dependency versions in `ui/package.json`; never hard-code versions.
29- Payload or UX changes usually ship together with the backend change that defines the contract.
30
31## Boundaries
32
33- New npm dependencies require approval.
34
@@ −1 +1 @@
1−# Plugin BOM Guidelines
1+# Frontend Guidelines
22
3−`platform/plugin/` is a BOM constraining plugin-facing dependencies.
3+`ui/` is the Vue 3 + TypeScript + TailwindCSS frontend, managed with pnpm workspaces.
44
5−- Combine changes here with the matching `api/` contract changes, since plugins compile against both.
6−- Verify compatibility with the plugin ecosystem before upgrading or adding constraints.
7−- Changes affecting the plugin API require approval, as with `api/` changes.
5+## Structure
86
7+- `ui/src/` — console application.
8+- `ui/uc-src/` — user center application.
9+- `ui/packages/` — shared workspace packages (`@halo-dev/api-client`, `@halo-dev/components`, `@halo-dev/console-shared`, `@halo-dev/editor`, `@halo-dev/shared`, `@halo-dev/ui-plugin-bundler-kit`).
10+- Unit tests: `*.spec.ts` files, usually under `__tests__/` next to the code they cover.
11+
12+## Commands
13+
14+Run from the repo root:
15+
16+- `pnpm -C ui install` / `pnpm -C ui dev` — install dependencies / run the dev server.
17+- `pnpm -C ui build` — production build.
18+- `pnpm -C ui typecheck` — `vue-tsc` type checking.
19+- `pnpm -C ui lint` — ESLint (fails on any warning).
20+- `pnpm -C ui format` / `pnpm -C ui format:check` — Prettier formatting.
21+- `pnpm -C ui test:unit` — Vitest unit tests.
22+- `./gradlew generateOpenApiDocs && pnpm -C ui api-client:gen` — regenerate `ui/packages/api-client` after backend contract changes.
23+
24+## Conventions
25+
26+- Follow existing component and composable patterns; match surrounding code rather than introducing new stylistic islands.
27+- Never hand-edit `ui/packages/api-client/src/` — it is generated; regenerate it instead.
28+- Keep dependency versions in `ui/package.json`; never hard-code versions.
29+- Payload or UX changes usually ship together with the backend change that defines the contract.
30+
31+## Boundaries
32+
33+- New npm dependencies require approval.
934
