Skip to content

Commit

Permalink
simplify configs; update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeyraspopov committed Apr 4, 2024
1 parent f3eeeb9 commit 3668d2c
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ insert_final_newline = true
charset = utf-8
indent_style = tab
indent_size = 2
max_line_length = 100

[*.{json,yaml,md}]
charset = utf-8
indent_style = space
indent_size = 2
max_line_length = 80
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Rollwright

A set of tools to make [Playwright](https://playwright.dev) comfortable for UI integration testing.
A set of tools to make [Playwright](https://playwright.dev) comfortable for UI
integration testing.

Playwright is a feature rich platform for browser automation. Playwright Test is a powerful testing
framework built on top of the automation capabilities. The main target of the testing framework is
end-to-end tests, so often developers has to opt for other testing framework (Jest, Vitest, etc).
Playwright is a feature rich platform for browser automation. Playwright Test is
a powerful testing framework built on top of the automation capabilities. The
main target of the testing framework is end-to-end tests, so often developers
has to opt for other testing framework (Jest, Vitest, etc). Rollwright makes
Playwright suitable for Component testing. No additional setup needed.

```js
import { test } from "rollwright";
Expand Down
4 changes: 0 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,5 @@
},
"dependencies": {
"vitepress": "^1.0.2"
},
"prettier": {
"printWidth": 80,
"proseWrap": "always"
}
}
2 changes: 1 addition & 1 deletion examples/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@angular/compiler": "^17.3.0",
"@angular/core": "^17.3.0",
"@angular/platform-browser": "^17.3.0",
"@angular/platform-browser-dynamic": "^17.3.2",
"@angular/platform-browser-dynamic": "^17.3.3",
"@playwright/test": "^1.42.1",
"@rollup/plugin-swc": "^0.3.0",
"rollwright": "file:../../packages/rollwright",
Expand Down
4 changes: 2 additions & 2 deletions examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"@radix-ui/react-dialog": "^1.0.5",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-inject": "^5.0.5",
"@types/node": "^20.12.2",
"@types/node": "^20.12.4",
"@types/react": "^18.2.74",
"@types/react-dom": "^18.2.23",
"@types/react-dom": "^18.2.24",
"@types/sinon": "^17.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"typescript": "^5.4.3"
},
"prettier": {
"printWidth": 100,
"proseWrap": "always",
"experimentalTernaries": true
}
Expand Down
7 changes: 5 additions & 2 deletions packages/rollup-plugin-worker-url/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
"main": "./plugin.js",
"module": "./plugin.js",
"types": "./plugin.d.ts",
"keywords": [
"rollup-plugin"
],
"scripts": {
"test": "node --test --experimental-test-coverage"
},
"peerDependencies": {
"rollup": "^4.13.2"
"rollup": "^4.14.0"
},
"dependencies": {
"magic-string": "^0.30.8"
"magic-string": "^0.30.9"
}
}
3 changes: 0 additions & 3 deletions packages/rollup-plugin-worker-url/plugin.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import MagicString from "magic-string";

/**
* @returns {import("rollup").Plugin}
*/
export function worker() {
let workerUsageRegex = /\bnew\s+(?:Worker|SharedWorker)/g;
return {
Expand Down
4 changes: 2 additions & 2 deletions packages/rollwright/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
"types": "./fixture.d.ts",
"peerDependencies": {
"@playwright/test": "^1.42.1",
"rollup": "^4.13.2"
"rollup": "^4.14.0"
},
"dependencies": {
"@hono/node-server": "^1.9.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/pluginutils": "^5.1.0",
"hono": "^4.2.0",
"hono": "^4.2.1",
"istanbul-lib-coverage": "^3.2.2",
"istanbul-lib-instrument": "^6.0.2",
"istanbul-lib-report": "^3.0.1",
Expand Down

0 comments on commit 3668d2c

Please sign in to comment.