chore: mark 1.17.2 (#11276)

This commit is contained in:
Max Schmitt 2022-01-09 20:29:10 -05:00 committed by GitHub
parent 224bfeba75
commit b6eb917c29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 28 deletions

18
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "playwright-internal", "name": "playwright-internal",
"version": "1.17.1", "version": "1.17.2",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playwright-internal", "name": "playwright-internal",
"version": "1.17.1", "version": "1.17.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"workspaces": [ "workspaces": [
"packages/*" "packages/*"
@ -9274,7 +9274,7 @@
} }
}, },
"packages/playwright": { "packages/playwright": {
"version": "1.17.1", "version": "1.17.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@ -9288,7 +9288,7 @@
} }
}, },
"packages/playwright-chromium": { "packages/playwright-chromium": {
"version": "1.17.1", "version": "1.17.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@ -9302,7 +9302,7 @@
} }
}, },
"packages/playwright-core": { "packages/playwright-core": {
"version": "1.17.1", "version": "1.17.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"commander": "^8.2.0", "commander": "^8.2.0",
@ -9338,7 +9338,7 @@
} }
}, },
"packages/playwright-firefox": { "packages/playwright-firefox": {
"version": "1.17.1", "version": "1.17.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@ -9353,7 +9353,7 @@
}, },
"packages/playwright-test": { "packages/playwright-test": {
"name": "@playwright/test", "name": "@playwright/test",
"version": "1.17.1", "version": "1.17.2",
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
"@babel/code-frame": "^7.14.5", "@babel/code-frame": "^7.14.5",
@ -9385,7 +9385,7 @@
"open": "^8.3.0", "open": "^8.3.0",
"pirates": "^4.0.1", "pirates": "^4.0.1",
"pixelmatch": "^5.2.1", "pixelmatch": "^5.2.1",
"playwright-core": "=1.17.1", "playwright-core": "=1.17.2",
"pngjs": "^5.0.0", "pngjs": "^5.0.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"source-map-support": "^0.4.18", "source-map-support": "^0.4.18",
@ -9424,7 +9424,7 @@
} }
}, },
"packages/playwright-webkit": { "packages/playwright-webkit": {
"version": "1.17.1", "version": "1.17.2",
"hasInstallScript": true, "hasInstallScript": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {

View file

@ -1,7 +1,7 @@
{ {
"name": "playwright-internal", "name": "playwright-internal",
"private": true, "private": true,
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate web browsers", "description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",

View file

@ -1,6 +1,6 @@
{ {
"name": "playwright-chromium", "name": "playwright-chromium",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate Chromium", "description": "A high-level API to automate Chromium",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",
@ -26,6 +26,6 @@
"install": "node install.js" "install": "node install.js"
}, },
"dependencies": { "dependencies": {
"playwright-core": "=1.17.1" "playwright-core": "=1.17.2"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "playwright-core", "name": "playwright-core",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate web browsers", "description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",

View file

@ -1,6 +1,6 @@
{ {
"name": "playwright-firefox", "name": "playwright-firefox",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate Firefox", "description": "A high-level API to automate Firefox",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",
@ -26,6 +26,6 @@
"install": "node install.js" "install": "node install.js"
}, },
"dependencies": { "dependencies": {
"playwright-core": "=1.17.1" "playwright-core": "=1.17.2"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "@playwright/test", "name": "@playwright/test",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate web browsers", "description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",
@ -55,7 +55,7 @@
"open": "^8.3.0", "open": "^8.3.0",
"pirates": "^4.0.1", "pirates": "^4.0.1",
"pixelmatch": "^5.2.1", "pixelmatch": "^5.2.1",
"playwright-core": "=1.17.1", "playwright-core": "=1.17.2",
"pngjs": "^5.0.0", "pngjs": "^5.0.0",
"rimraf": "^3.0.2", "rimraf": "^3.0.2",
"source-map-support": "^0.4.18", "source-map-support": "^0.4.18",

View file

@ -1,6 +1,6 @@
{ {
"name": "playwright-webkit", "name": "playwright-webkit",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate WebKit", "description": "A high-level API to automate WebKit",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",
@ -25,6 +25,6 @@
"install": "node install.js" "install": "node install.js"
}, },
"dependencies": { "dependencies": {
"playwright-core": "=1.17.1" "playwright-core": "=1.17.2"
} }
} }

View file

@ -1,6 +1,6 @@
{ {
"name": "playwright", "name": "playwright",
"version": "1.17.1", "version": "1.17.2",
"description": "A high-level API to automate web browsers", "description": "A high-level API to automate web browsers",
"repository": "github:Microsoft/playwright", "repository": "github:Microsoft/playwright",
"homepage": "https://playwright.dev", "homepage": "https://playwright.dev",
@ -26,6 +26,6 @@
"install": "node install.js" "install": "node install.js"
}, },
"dependencies": { "dependencies": {
"playwright-core": "=1.17.1" "playwright-core": "=1.17.2"
} }
} }

View file

@ -47,17 +47,13 @@ const { packages } = require('./list_packages.js');
const packageLockPath = path.join(rootDir, 'package-lock.json'); const packageLockPath = path.join(rootDir, 'package-lock.json');
const packageLock = JSON.parse(fs.readFileSync(packageLockPath, 'utf8')); const packageLock = JSON.parse(fs.readFileSync(packageLockPath, 'utf8'));
for (const package of packages.map(package => path.basename(package))) { for (const package of packages.map(package => path.basename(package))) {
packageLock['packages']['packages/' + package].version = version; const playwrightCorePackages = packageLock['packages']['packages/' + package];
if (packageLock['packages']['packages/' + package].dependencies?.['playwright-core']) playwrightCorePackages.version = version;
if (playwrightCorePackages.dependencies && playwrightCorePackages.dependencies['playwright-core'])
packageLock['packages']['packages/playwright-test']['dependencies']['playwright-core'] = '=' + version; packageLock['packages']['packages/playwright-test']['dependencies']['playwright-core'] = '=' + version;
} }
fs.writeFileSync(packageLockPath, JSON.stringify(packageLock, null, 2) + '\n'); fs.writeFileSync(packageLockPath, JSON.stringify(packageLock, null, 2) + '\n');
} }
// 4. Verify integrity with npm i
execSync('npm install', {
stdio: 'inherit',
cwd: rootDir,
});
})().catch(err => { })().catch(err => {
console.error(err); console.error(err);