Skip to content

Commit be3322a

Browse files
committed
chore: autoload widget scripts
1 parent ca3a4bb commit be3322a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
## Auto-loaded Documentation
1313

1414
@docs/repo-layout.md
15+
@docs/widget-scripts.md
1516
@docs/requirements/tech-stack.md
1617
@docs/requirements/frontend-guidelines.md
1718
@docs/requirements/app-flow.md

docs/widget-scripts.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ pnpm run test
1010

1111
## Build widget
1212

13-
When building the widget, use `pnpm turbo build`, this forces shared dependencies to build (with cache) and the widget itself.
13+
To build a widget: `pnpm turbo build`. This builds shared dependencies (with cache) and the widget itself.
1414

1515
## Run unit test
1616

17-
`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:
17+
To run unit tests: `pnpm run test`. Under the hood, this is a Jest CLI. Additional options can be passed, for example:
1818

1919
- `pnpm run test -u` to update snapshots
2020
- `pnpm run test -t "renders combobox widget"` to run specific specs
2121
- other Jest options can be used
22+
23+
Note: do not put `--` in between.

0 commit comments

Comments
 (0)