diff --git a/package.json b/package.json index 0b8d1d9..d643a4a 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,12 @@ "scripts": { "lint": "eslint .", "format": "prettier --write .", - "test": "echo \"Error: no test specified\" && exit 1", "changeset": "changeset", "version": "changeset version", - "release": "changeset publish" + "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": "", @@ -31,4 +33,4 @@ "eslint": "^10.6.0", "prettier": "^3.9.4" } -} +} \ No newline at end of file diff --git a/packages/luna-charts/package.json b/packages/luna-charts/package.json index ab4fda6..f5e04af 100644 --- a/packages/luna-charts/package.json +++ b/packages/luna-charts/package.json @@ -35,6 +35,8 @@ "build": "stencil build", "start": "stencil build --dev --watch --serve", "test": "stencil-test --prod", + "test:unit": "stencil-test --prod --project=unit", + "test:browser": "stencil-test --prod --project=browser", "test:watch": "stencil-test --prod --watch", "generate": "stencil generate", "storybook": "storybook dev -p 6006 --no-open" diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 0eecc15..9e3811f 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,20 @@ packages: - "packages/*" - "apps/*" + allowBuilds: esbuild: false + +onlyBuiltDependencies: + - playwright + +supportedArchitectures: + os: + - current + - linux + cpu: + - current + - x64 + libc: + - current + - glibc