You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add UI testing guide to CLAUDE.md, align dev scripts
- Add documentation for running example apps and combined examples-app
for UI testing with Playwright MCP
- Rename "serve" to "dev" in vue and vue-vanilla packages for
consistency across all renderer sets
- Update README.md to reflect the vue-vanilla script rename
- Add .pnpm-store and .playwright-mcp to .gitignore
Lerna automatically respects the build order dependencies.
43
+
44
+
## Running Example Applications for UI Testing
45
+
46
+
Each renderer set has its own example application with a dev server. Before starting any dev server, you **must** first install dependencies and build all packages:
47
+
48
+
```bash
49
+
pnpm install # Install dependencies (run from repo root)
50
+
pnpm run build # Build all packages (required before dev servers work)
51
+
```
52
+
53
+
All renderer sets share the same set of examples from `packages/examples/`.
54
+
55
+
### Individual Dev Servers
56
+
57
+
Start dev servers from the **repo root** using `cd` into the package directory.
58
+
Each renderer set example application can be started by executing `pnpm run dev`.
59
+
60
+
### Combined Examples App (All Renderer Sets)
61
+
62
+
The combined examples app aggregates all 5 renderer sets into a single static app at `packages/examples-app/dist/`.
63
+
It has an index page with links to each renderer set's sub-app.
64
+
65
+
**Full build (first time or after `clean`):**
66
+
67
+
```bash
68
+
pnpm install # Install dependencies
69
+
pnpm run build # Build all packages (required first)
70
+
pnpm run build:examples-app # Build all example bundles + aggregate into dist
71
+
```
72
+
73
+
**Rebuild after code changes to a specific renderer set:**
74
+
75
+
```bash
76
+
# 1. Rebuild the changed package (and any dependencies that changed)
77
+
pnpm lerna run build --scope=@jsonforms/material-renderers
78
+
79
+
# 2. Rebuild only that renderer set's example bundle
80
+
pnpm lerna run build:examples-app --scope=@jsonforms/material-renderers
0 commit comments