Skip to content

Commit d44b3dd

Browse files
kurtstohrerclaude
andcommitted
Remove antenna-vite playground references from the repo
The antenna-vite playground depends on a local file-linked antenna-component-library which brings in quill (unpatched XSS vulnerabilities). Since it's not needed for annotask development, remove all references from package.json scripts, justfile, DEMOS.md, and the catalog API docstring. The local directory stays gitignored. See wildride-games/antenna-component-library#253 for the quill issue. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 33807c9 commit d44b3dd

5 files changed

Lines changed: 3 additions & 36 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ __pycache__
1313
.astro/
1414
plan/
1515

16-
# Local-only playgrounds (reference external repos)
16+
# Local-only (references external repos)
1717
playgrounds/antenna-vite/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"dev:astro": "pnpm --filter @annotask/playground-astro dev",
4242
"dev:htmx-vite": "pnpm --filter @annotask/playground-htmx-vite dev",
4343
"dev:mfe-vite": "pnpm --filter @annotask/playground-mfe-vite dev",
44-
"dev:antenna-vite": "pnpm --filter @annotask/playground-antenna-vite dev",
4544
"typecheck": "tsc --noEmit && vue-tsc --noEmit -p src/shell/tsconfig.json",
4645
"test": "vitest run",
4746
"test:watch": "vitest",

playgrounds/DEMOS.md

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ feel distinct.
1515
| `svelte-vite` | Atlas country explorer | Svelte 5 runes | 5175 | `/api/countries/*` |
1616
| `vue-vite` | Annotask Admin dashboard | Vue 3 + PrimeVue | 5173 | `/api/dashboard/*` |
1717
| `mfe-vite` | Storefront widget (MFE child) | Vue 3 (MFE) | 5180 | `/api/catalog/*` |
18-
| `antenna-vite` | Catalog Browser | Vue 3 + Antenna lib | varies | `/api/catalog/*` |
19-
2018
Run any of them with `just react`, `just svelte`, etc. — the API auto-starts
2119
on `:8888` if it isn't already running.
2220

@@ -201,31 +199,6 @@ land in this child's `.annotask/tasks.json`, not the host's.
201199

202200
---
203201

204-
## Antenna — Catalog Browser (varies)
205-
206-
Vue 3 playground that consumes a custom file-linked component library
207-
(`antenna-component-library`) instead of PrimeVue. Demonstrates that
208-
annotask discovers components from any library, not just the popular ones.
209-
210-
### Demo scenarios
211-
212-
1. **External component library discovery**
213-
- Run `annotask_get_components` and confirm Antenna's `dataTable`,
214-
`pill`, `box`, `icon`, `alertBanner` show up alongside your local
215-
components.
216-
217-
2. **Style edits on a library component**
218-
- Inspect an Antenna `pill` element on the Products table. Change its
219-
`border-radius` and `font-size` via the style editor.
220-
- The diff targets the host playground's CSS overrides, not the library
221-
source — important for consumers of locked-down design systems.
222-
223-
3. **Category browser layout**
224-
- On the Categories page, annotate the grid → "Two columns on desktop
225-
instead of three, with bigger icons."
226-
227-
---
228-
229202
## Suggested demo order for a 15-minute walkthrough
230203

231204
1. **(2 min) Marketing site (React)** — open `just react`. Show the hero, do

playgrounds/api/routers/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Catalog API — e-commerce playground (mfe-vite + antenna-vite)."""
1+
"""Catalog API — e-commerce playground (mfe-vite)."""
22

33
import json
44
from pathlib import Path

playgrounds/justfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,7 @@ htmx: ensure-api
5555
mfe:
5656
cd mfe-vite && pnpm dev
5757

58-
# Start Antenna + Vite playground (custom component library)
59-
antenna: ensure-api
60-
cd antenna-vite && pnpm dev
61-
62-
# Start any playground by directory name (e.g. just start antenna-vite)
58+
# Start any playground by directory name (e.g. just start react-vite)
6359
start name:
6460
cd {{name}} && pnpm dev
6561

@@ -90,7 +86,6 @@ list:
9086
@echo " just astro — Astro (port 5177)"
9187
@echo " just htmx — htmx + Vite (port 5178)"
9288
@echo " just mfe — MFE + Vite (port 5180, MFE mode)"
93-
@echo " just antenna — Antenna + Vite (custom component lib)"
9489
@echo " just start <dir> — Any playground by directory name"
9590
@echo " just stop-api — Stop background API"
9691
@echo ""

0 commit comments

Comments
 (0)