From be3322a06549ed61f633592b5880d54db8647f27 Mon Sep 17 00:00:00 2001 From: Roman Vyakhirev Date: Fri, 10 Jul 2026 09:31:11 +0200 Subject: [PATCH] chore: autoload widget scripts --- CLAUDE.md | 1 + docs/widget-scripts.md | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 82b55f9f37..7173d0aab1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,6 +12,7 @@ ## Auto-loaded Documentation @docs/repo-layout.md +@docs/widget-scripts.md @docs/requirements/tech-stack.md @docs/requirements/frontend-guidelines.md @docs/requirements/app-flow.md diff --git a/docs/widget-scripts.md b/docs/widget-scripts.md index 11cfd8e2f9..b8eadae0c7 100644 --- a/docs/widget-scripts.md +++ b/docs/widget-scripts.md @@ -10,12 +10,14 @@ pnpm run test ## Build widget -When building the widget, use `pnpm turbo build`, this forces shared dependencies to build (with cache) and the widget itself. +To build a widget: `pnpm turbo build`. This builds shared dependencies (with cache) and the widget itself. ## Run unit test -`pnpm run test` command is used to run tests, under the hood, this is a jest CLI. So additional options can be passed, for example: +To run unit tests: `pnpm run test`. Under the hood, this is a Jest CLI. Additional options can be passed, for example: - `pnpm run test -u` to update snapshots - `pnpm run test -t "renders combobox widget"` to run specific specs - other Jest options can be used + +Note: do not put `--` in between.