Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(packages): copy readme from root folder into packages/playwright (#552)
Joel Einbinder4573cd3fec09
diff --git a/package.json b/package.jsonindex 072b1a5cfd..0d514d445c 100644--- a/package.json+++ b/package.json@@ -29,7 +29,7 @@"build": "node utils/runWebpack.js --mode='development' && tsc -p .","watch": "node utils/runWebpack.js --mode='development' --watch --silent | tsc -w -p .","apply-next-version": "node utils/apply_next_version.js",- "version": "node utils/sync_package_versions.js"+ "version": "node utils/sync_package_versions.js && npm run doc"},"author": {"name": "Microsoft Corporation"diff --git a/packages/playwright/.gitignore b/packages/playwright/.gitignorenew file mode 100644index 0000000000..0cfb901530--- /dev/null+++ b/packages/playwright/.gitignore@@ -0,0 +1,2 @@+# copied from the root readme+README.mddiff --git a/packages/playwright/.npmignore b/packages/playwright/.npmignorenew file mode 100644index 0000000000..7d2822f2fe--- /dev/null+++ b/packages/playwright/.npmignore@@ -0,0 +1 @@+# empty to not exclude things in gitignore\ No newline at end of filediff --git a/packages/playwright/README.md b/packages/playwright/README.mddeleted file mode 100644index b662a736d4..0000000000--- a/packages/playwright/README.md+++ /dev/null@@ -1,2 +0,0 @@-# playwright-This packagage contains the [Chromium](https://www.chromium.org/), [Firefox](https://www.mozilla.org/firefox/) and [WebKit](https://www.webkit.org/) flavors of [Playwright](http://github.com/microsoft/playwright).diff --git a/utils/doclint/Source.js b/utils/doclint/Source.jsindex 5db855dfb1..c966a58bd6 100644--- a/utils/doclint/Source.js+++ b/utils/doclint/Source.js@@ -100,6 +100,10 @@ class Source {async save() {await writeFileAsync(this.filePath(), this.text());}++ async saveAs(path) {+ await writeFileAsync(path, this.text());+ }/*** @param {string} filePathdiff --git a/utils/doclint/cli.js b/utils/doclint/cli.jsindex 2a155b27fa..c9ff8910ee 100755--- a/utils/doclint/cli.js+++ b/utils/doclint/cli.js@@ -59,6 +59,8 @@ async function run() {await source.save();changedFiles = true;}++ await readme.saveAs(path.join(PROJECT_DIR, 'packages', 'playwright', 'README.md'));}// Report results.