Skip to content

Commit

Permalink
fix: change playwright to devdep and use playwright-core types (#563
Browse files Browse the repository at this point in the history
)
  • Loading branch information
michael-siek authored Sep 14, 2022
1 parent 5d45b8c commit c89fa58
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 21 deletions.
39 changes: 22 additions & 17 deletions packages/playwright/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions packages/playwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"prepare": "npm run build"
},
"dependencies": {
"axe-core": "^4.4.2",
"playwright": ">= 1.0.0"
"axe-core": "^4.4.2"
},
"devDependencies": {
"@types/chai": "^4.3.1",
Expand All @@ -53,6 +52,8 @@
"express": "^4.18.1",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"playwright": "^1.0.0",
"playwright-core": "^1.25.2",
"rimraf": "^3.0.2",
"test-listen": "^1.1.0",
"ts-node": "^10.8.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import type { Page, Frame, ElementHandle } from 'playwright';
import type { Page, Frame, ElementHandle } from 'playwright-core';
import type {
RunOptions,
AxeResults,
Expand Down
2 changes: 1 addition & 1 deletion packages/playwright/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Page } from 'playwright';
import type { Page } from 'playwright-core';
import type {
RunOptions,
AxeResults,
Expand Down

0 comments on commit c89fa58

Please sign in to comment.