Adjust consumers of playwright-common

This commit is contained in:
Michael Telatynski
2026-04-09 15:22:56 +01:00
parent 03e12cbd22
commit 540e620f40
8 changed files with 89 additions and 65 deletions
+7
View File
@@ -3,6 +3,13 @@
"projectType": "library",
"root": "packages/playwright-common",
"targets": {
"build:playwright": {
"cache": true,
"command": "tsc",
"inputs": ["src"],
"outputs": ["{projectRoot}/lib"],
"options": { "cwd": "packages/playwright-common" }
},
"docker:prebuild": {
"cache": true,
"command": "echo PLAYWRIGHT_VERSION=$(pnpm --silent -- playwright --version | awk '{print $2}') > .env.docker:build",
+1 -1
View File
@@ -69,7 +69,7 @@
"temporal-polyfill": "^0.3.0"
},
"devDependencies": {
"@element-hq/element-web-playwright-common-local": "workspace:*",
"@element-hq/element-web-playwright-common": "workspace:*",
"@fetch-mock/vitest": "^0.2.18",
"@fontsource/inter": "catalog:",
"@matrix-org/react-sdk-module-api": "^2.5.0",
+3 -3
View File
@@ -40,17 +40,17 @@
"test:storybook": {
"command": "vitest --project=storybook",
"options": { "cwd": "packages/shared-components" },
"dependsOn": ["typedoc"]
"dependsOn": ["typedoc", "^build:playwright"]
},
"test:storybook:update": {
"command": "playwright-screenshots-experimental nx test:storybook --run --update",
"command": "playwright-screenshots nx test:storybook --run --update",
"options": {
"env": {
"CI": "1"
},
"cwd": "packages/shared-components"
},
"dependsOn": ["typedoc"]
"dependsOn": ["typedoc", "^build:playwright"]
}
}
}