mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-12 00:52:05 +03:00
chore(packages): copy readme from root folder into packages/playwright (#552)
This commit is contained in:
parent
8127c890e4
commit
4573cd3fec
@ -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"
|
||||
|
2
packages/playwright/.gitignore
vendored
Normal file
2
packages/playwright/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
# copied from the root readme
|
||||
README.md
|
1
packages/playwright/.npmignore
Normal file
1
packages/playwright/.npmignore
Normal file
@ -0,0 +1 @@
|
||||
# empty to not exclude things in gitignore
|
@ -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).
|
@ -100,6 +100,10 @@ class Source {
|
||||
async save() {
|
||||
await writeFileAsync(this.filePath(), this.text());
|
||||
}
|
||||
|
||||
async saveAs(path) {
|
||||
await writeFileAsync(path, this.text());
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} filePath
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user