Compare commits
1
Commits
dev
...
9e5d8ae075
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e5d8ae075 |
@@ -86,17 +86,7 @@ pnpm install
|
|||||||
| `pnpm test` | Run the full test suite (unit + component) |
|
| `pnpm test` | Run the full test suite (unit + component) |
|
||||||
| `pnpm changeset` | Record a changeset for your change (required for any user-facing change) |
|
| `pnpm changeset` | Record a changeset for your change (required for any user-facing change) |
|
||||||
| `pnpm run docs` | Start the documentation site locally (astroJS) |
|
| `pnpm run docs` | Start the documentation site locally (astroJS) |
|
||||||
|
| `pnpm run storybook` | Start the storybook documentation |
|
||||||
### Storybook
|
|
||||||
|
|
||||||
Storybook currently needs to be started from within the library package directly:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
cd packages/luna-charts
|
|
||||||
pnpm run storybook
|
|
||||||
```
|
|
||||||
|
|
||||||
> **Note:** Running Storybook from the repository root isn't set up yet. This is a known gap — contributions to add a root-level `pnpm --filter` script are welcome.
|
|
||||||
|
|
||||||
Component and browser tests run inside Docker (`docker-compose.test.yaml`) to guarantee a reproducible browser environment across all contributors and CI — you don't need Playwright browsers installed locally.
|
Component and browser tests run inside Docker (`docker-compose.test.yaml`) to guarantee a reproducible browser environment across all contributors and CI — you don't need Playwright browsers installed locally.
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
"changeset": "changeset",
|
"changeset": "changeset",
|
||||||
"version": "changeset version",
|
"version": "changeset version",
|
||||||
"release": "changeset publish",
|
"release": "changeset publish",
|
||||||
|
"storybook": "pnpm --filter luna-charts run storybook",
|
||||||
"test:unit": "pnpm --filter luna-charts test:unit",
|
"test:unit": "pnpm --filter luna-charts test:unit",
|
||||||
"test:component": "docker compose -f docker-compose.test.yaml up --build --abort-on-container-exit --exit-code-from test",
|
"test:component": "docker compose -f docker-compose.test.yaml up --build --abort-on-container-exit --exit-code-from test",
|
||||||
"test": "pnpm test:unit && pnpm test:component"
|
"test": "pnpm test:unit && pnpm test:component"
|
||||||
|
|||||||
Reference in New Issue
Block a user