Compare commits
10
Commits
0.1.0
...
471654f24b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
471654f24b | ||
|
|
dba81e6e7a | ||
|
|
9d4b046f5d | ||
|
|
88991e353e | ||
|
|
63dbbdb971 | ||
|
|
b480ecb268 | ||
|
|
475a6cb634 | ||
|
|
f0c59a9b6f | ||
|
|
61ec0d839e | ||
|
|
382536168b |
@@ -91,17 +91,7 @@ pnpm install
|
|||||||
| `pnpm run lint` | Run the linter to check for code style and quality issues |
|
| `pnpm run lint` | Run the linter to check for code style and quality issues |
|
||||||
| `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 |
|
||||||
### 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`), 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).
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -10,8 +10,8 @@
|
|||||||
"astro": "astro"
|
"astro": "astro"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/starlight": "^0.41.3",
|
"@astrojs/starlight": "^0.40.0",
|
||||||
"astro": "^7.0.2",
|
"astro": "^6.4.8",
|
||||||
"sharp": "^0.34.5"
|
"sharp": "^0.34.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Generated
+710
-986
File diff suppressed because it is too large
Load Diff
@@ -1,3 +0,0 @@
|
|||||||
allowBuilds:
|
|
||||||
esbuild: true
|
|
||||||
sharp: true
|
|
||||||
@@ -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"
|
||||||
|
|||||||
Generated
+1228
-936
File diff suppressed because it is too large
Load Diff
+8
-3
@@ -3,19 +3,24 @@ packages:
|
|||||||
- "docs/"
|
- "docs/"
|
||||||
|
|
||||||
allowBuilds:
|
allowBuilds:
|
||||||
esbuild: true
|
|
||||||
sharp: true
|
sharp: true
|
||||||
|
esbuild: true
|
||||||
|
playwright: true
|
||||||
|
|
||||||
onlyBuiltDependencies:
|
fetchTimeout: 300000
|
||||||
- playwright
|
fetchRetries: 10
|
||||||
|
|
||||||
supportedArchitectures:
|
supportedArchitectures:
|
||||||
os:
|
os:
|
||||||
- current
|
- current
|
||||||
|
- win32
|
||||||
|
- darwin
|
||||||
- linux
|
- linux
|
||||||
cpu:
|
cpu:
|
||||||
- current
|
- current
|
||||||
- x64
|
- x64
|
||||||
|
- arm64
|
||||||
libc:
|
libc:
|
||||||
- current
|
- current
|
||||||
- glibc
|
- glibc
|
||||||
|
- musl
|
||||||
Reference in New Issue
Block a user