fix(repo): Storybook detects changes and does a hot reload
CI / lint-and-format (push) Failing after 38s
CI / changeset-check (push) Successful in 27s
CI / unit-tests (push) Successful in 36s
CI / component-tests (push) Successful in 27s
CI / lint-and-format (pull_request) Failing after 34s
CI / changeset-check (pull_request) Successful in 23s
CI / unit-tests (pull_request) Successful in 36s
CI / component-tests (pull_request) Successful in 34s
CI / lint-and-format (push) Failing after 38s
CI / changeset-check (push) Successful in 27s
CI / unit-tests (push) Successful in 36s
CI / component-tests (push) Successful in 27s
CI / lint-and-format (pull_request) Failing after 34s
CI / changeset-check (pull_request) Successful in 23s
CI / unit-tests (pull_request) Successful in 36s
CI / component-tests (pull_request) Successful in 34s
- Added the right command in the readme.md - package.json expanded with the right command and stencil development server can be started with "pnpm run stencil:dev"
This commit is contained in:
@@ -93,6 +93,7 @@ pnpm install
|
|||||||
| `pnpm run format` | Run the formatter to automatically fix code style issues |
|
| `pnpm run format` | Run the formatter to automatically fix code style issues |
|
||||||
| `pnpm run test:browser` | Run browser tests (only works inside the `packages/luna-charts` directory) |
|
| `pnpm run test:browser` | Run browser tests (only works inside the `packages/luna-charts` directory) |
|
||||||
| `pnpm run storybook` | Start the storybook documentation |
|
| `pnpm run storybook` | Start the storybook documentation |
|
||||||
|
| `pnpm run stencil:dev` | Runs the Stencil development server with live-reloading for the `luna-charts package inside the monorepo. |
|
||||||
|
|
||||||
Component and browser tests run inside Docker (`docker-compose.test.yaml`), based on the same `Dockerfile.test` used to build the image CI tests against, to guarantee a reproducible browser environment — you don't need Playwright browsers installed locally. Locally this image is built on demand; in CI a prebuilt version of the same image is pulled directly (see [ADR-0002](./docs/src/content/docs/architecture/adr/000200-technology-stack.mdx) and the [Technology Architecture](./docs/src/content/docs/architecture/adm/technology-architecture.mdx#66-test-execution-environment) doc for details).
|
Component and browser tests run inside Docker (`docker-compose.test.yaml`), based on the same `Dockerfile.test` used to build the image CI tests against, to guarantee a reproducible browser environment — you don't need Playwright browsers installed locally. Locally this image is built on demand; in CI a prebuilt version of the same image is pulled directly (see [ADR-0002](./docs/src/content/docs/architecture/adr/000200-technology-stack.mdx) and the [Technology Architecture](./docs/src/content/docs/architecture/adm/technology-architecture.mdx#66-test-execution-environment) doc for details).
|
||||||
|
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"docs": "pnpm --filter docs run dev",
|
"docs": "pnpm --filter docs run dev",
|
||||||
"lint": "pnpm --filter luna-charts run lint",
|
"lint": "pnpm --filter luna-charts run lint",
|
||||||
|
"stencil:dev": "pnpm --filter luna-charts exec stencil build --watch",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"format:check": "pnpm --filter luna-charts run format:check",
|
"format:check": "pnpm --filter luna-charts run format:check",
|
||||||
"changeset": "changeset",
|
"changeset": "changeset",
|
||||||
|
|||||||
Reference in New Issue
Block a user