Files
LUNA-Charts/package.json
T
Ninosaurier a10b79b504 test(pnpm and playwright): Playwright run successful in docker container" -m "- Pin Dockerfile.test to mcr.microsoft.com/playwright:v1.52.0-noble to match the playwright npm package version (was mismatched at v1.61.1)
- Add supportedArchitectures (linux-x64-gnu) to pnpm-workspace.yaml so native bindings (rolldown, esbuild) are included in the lockfile for the container's platform
- Add onlyBuiltDependencies: [playwright] to pnpm-workspace.yaml so build scripts run non-interactively in CI/Docker
- Remove stale/redundant pnpm field from package.json (moved to pnpm-workspace.yaml per pnpm v10+ config location)
- Split stencil-test into test:unit (native, fast) and test:browser (Docker, cross-browser) scripts
- Set ENV CI=true in Dockerfile.test to avoid interactive TTY prompts during pnpm install
- Remove anonymous node_modules volumes from docker-compose.test.yaml to prevent stale volume state from surviving image rebuilds
- Add root-level test:unit / test:component / test scripts to orchestrate native unit tests and Dockerized cross-browser tests
2026-07-15 16:42:43 +02:00

37 lines
900 B
JSON

{
"name": "LUNA-Charts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"lint": "eslint .",
"format": "prettier --write .",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish",
"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"
},
"keywords": [],
"author": "",
"license": "ISC",
"devEngines": {
"runtime": {
"name": "node",
"version": ">=22.0.0"
},
"packageManager": {
"name": "pnpm",
"version": "11.11.0",
"onFail": "download"
}
},
"type": "module",
"devDependencies": {
"@changesets/cli": "^2.31.0",
"eslint": "^10.6.0",
"prettier": "^3.9.4"
}
}