Compare commits
15
Commits
0.1.0
...
7998cda2f7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7998cda2f7 | ||
|
|
1dbd692a20 | ||
|
|
4afa8ba33e | ||
|
|
a63fe47402 | ||
|
|
471654f24b | ||
|
|
dba81e6e7a | ||
|
|
9d4b046f5d | ||
|
|
cbcb9a4572 | ||
|
|
88991e353e | ||
|
|
63dbbdb971 | ||
|
|
b480ecb268 | ||
|
|
475a6cb634 | ||
|
|
f0c59a9b6f | ||
|
|
61ec0d839e | ||
|
|
382536168b |
@@ -59,8 +59,9 @@ luna-charts/
|
||||
|
||||
### Prerequisites
|
||||
|
||||
* Node.js `>= 22.0.0`
|
||||
* pnpm `11.11.0` (see `devEngines` in `package.json`; pnpm will be downloaded automatically via Corepack if missing)
|
||||
* [Node Version manager](https://github.com/nvm-sh/nvm/blob/master/README.md) `0.40.7`
|
||||
* Node.js `>= 24.0.0`. Use `nvm install 24` for it
|
||||
* pnpm `12.0.0`
|
||||
* Docker (required for running component/browser tests locally, see below)
|
||||
|
||||
### Installation
|
||||
@@ -91,17 +92,7 @@ pnpm install
|
||||
| `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 test:browser` | Run browser tests (only works inside the `packages/luna-charts` directory) |
|
||||
|
||||
### 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.
|
||||
| `pnpm run storybook` | Start the storybook documentation |
|
||||
|
||||
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"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/starlight": "^0.41.3",
|
||||
"astro": "^7.0.2",
|
||||
"@astrojs/starlight": "^0.41.9",
|
||||
"astro": "^7.2.9",
|
||||
"sharp": "^0.34.5"
|
||||
}
|
||||
}
|
||||
Generated
-4323
File diff suppressed because it is too large
Load Diff
@@ -1,3 +0,0 @@
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
sharp: true
|
||||
+7
-5
@@ -11,6 +11,7 @@
|
||||
"changeset": "changeset",
|
||||
"version": "changeset version",
|
||||
"release": "changeset publish",
|
||||
"storybook": "pnpm --filter luna-charts run storybook",
|
||||
"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": "pnpm test:unit && pnpm test:component"
|
||||
@@ -19,16 +20,17 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"devEngines": {
|
||||
"runtime": {
|
||||
"name": "node",
|
||||
"version": ">=22.0.0"
|
||||
},
|
||||
"packageManager": {
|
||||
"name": "pnpm",
|
||||
"version": "11.11.0",
|
||||
"version": "12.0.0",
|
||||
"onFail": "download"
|
||||
},
|
||||
"runtime": {
|
||||
"name": "node",
|
||||
"version": ">=24.0.0"
|
||||
}
|
||||
},
|
||||
"packageManager": "pnpm@12.0.0",
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"@changesets/cli": "^2.31.0",
|
||||
|
||||
Generated
+1317
-1059
File diff suppressed because it is too large
Load Diff
+7
-6
@@ -3,19 +3,20 @@ packages:
|
||||
- "docs/"
|
||||
|
||||
allowBuilds:
|
||||
esbuild: true
|
||||
sharp: true
|
||||
esbuild: true
|
||||
playwright: true
|
||||
|
||||
onlyBuiltDependencies:
|
||||
- playwright
|
||||
fetchTimeout: 300000
|
||||
fetchRetries: 10
|
||||
|
||||
supportedArchitectures:
|
||||
os:
|
||||
- current
|
||||
- linux
|
||||
cpu:
|
||||
- current
|
||||
- x64
|
||||
libc:
|
||||
- current
|
||||
- glibc
|
||||
|
||||
minimumReleaseAgeExclude:
|
||||
- astro@7.2.9
|
||||
|
||||
Reference in New Issue
Block a user