From 014b682374048f049d60ebad147c253861e048f0 Mon Sep 17 00:00:00 2001 From: Rahman Date: Fri, 3 Apr 2026 16:40:29 +0200 Subject: [PATCH] chore: consolidate AGENTS.md and CLAUDE.md to eliminate duplication Make AGENTS.md the single source of truth for all AI agents. CLAUDE.md becomes a thin wrapper that imports AGENTS.md and adds Claude Code-specific hooks and auto-loaded documentation. --- AGENTS.md | 75 +++++++++++++++++++++++++++++++++++++++---------------- CLAUDE.md | 63 ++++++---------------------------------------- 2 files changed, 61 insertions(+), 77 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 53fb367c83..b60593f0a6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,35 +1,66 @@ -# Mendix Web Widgets Repository +# Mendix Web Widgets Monorepo of official Mendix pluggable web widgets. pnpm workspaces + Turbo. -## Structure +## Commands -- `packages/pluggableWidgets/*-web` — Widget packages (React, TypeScript, SCSS) -- `packages/modules/*` — Mendix module packages -- `packages/shared/*` — Shared configs and utilities -- `automation/` — Build and release automation -- `docs/requirements/` — Detailed technical requirements +- Install: `pnpm install` +- Build all: `pnpm build` +- Build one: `pnpm --filter @mendix/ run build` +- Test one: cd into package dir, run `pnpm run test` (NOT from repo root) +- Lint one: cd into package dir, run `pnpm run lint` +- Changelog: `pnpm -w changelog` -## Commands +## Structure -| Command | Description | -|---------|-------------| -| `pnpm install` | Install dependencies | -| `pnpm build` | Build all packages | -| `pnpm lint` | Lint all packages | -| `pnpm test` | Test all packages | -| `pnpm --filter @mendix/ run