mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 11:11:53 +08:00
upgrade playwright
This commit is contained in:
parent
fea21ebcd2
commit
be19e9e711
@ -43,7 +43,7 @@ executors:
|
||||
default: "small"
|
||||
working_directory: /tmp/storybook
|
||||
docker:
|
||||
- image: mcr.microsoft.com/playwright:v1.36.0-focal
|
||||
- image: mcr.microsoft.com/playwright:v1.41.1-jammy
|
||||
environment:
|
||||
NODE_OPTIONS: --max_old_space_size=6144
|
||||
resource_class: <<parameters.class>>
|
||||
|
@ -76,18 +76,18 @@
|
||||
"defaults"
|
||||
],
|
||||
"resolutions": {
|
||||
"@playwright/test": "1.36.0",
|
||||
"@playwright/test": "1.41.1",
|
||||
"@storybook/theming": "workspace:*",
|
||||
"@vitest/expect@1.1.3": "patch:@vitest/expect@npm%3A1.1.3#~/.yarn/patches/@vitest-expect-npm-1.1.3-2062bf533f.patch",
|
||||
"esbuild": "^0.18.0",
|
||||
"playwright": "1.36.0",
|
||||
"playwright-core": "1.36.0",
|
||||
"playwright": "1.41.1",
|
||||
"playwright-core": "1.41.1",
|
||||
"serialize-javascript": "^3.1.0",
|
||||
"type-fest": "~2.19"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nx/workspace": "17.0.2",
|
||||
"@playwright/test": "1.36.0",
|
||||
"@playwright/test": "1.41.1",
|
||||
"@storybook/addon-a11y": "workspace:*",
|
||||
"@storybook/addon-actions": "workspace:*",
|
||||
"@storybook/addon-backgrounds": "workspace:*",
|
||||
|
@ -4263,19 +4263,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@playwright/test@npm:1.36.0":
|
||||
version: 1.36.0
|
||||
resolution: "@playwright/test@npm:1.36.0"
|
||||
"@playwright/test@npm:1.41.1":
|
||||
version: 1.41.1
|
||||
resolution: "@playwright/test@npm:1.41.1"
|
||||
dependencies:
|
||||
"@types/node": "npm:*"
|
||||
fsevents: "npm:2.3.2"
|
||||
playwright-core: "npm:1.36.0"
|
||||
dependenciesMeta:
|
||||
fsevents:
|
||||
optional: true
|
||||
playwright: "npm:1.41.1"
|
||||
bin:
|
||||
playwright: cli.js
|
||||
checksum: 9d06764f55ae10569981d518838d588d820678a4e6a8a1bbfab78b7b4b4245cf055e94a0dea90fe2ecf1ce4559d06e02986757270e7c54a52d0bdf1963cb03e6
|
||||
checksum: 72bd5bb67c512027d214b9c54c2a22a469bd19d7809771e53a5bfdcc11330591e01579bb22f807d1ebbcdcea35d625e0fc9eb9791cebcc63bf55b82dd1cdefdd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -6341,7 +6336,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@chromaui/addon-visual-tests": "npm:^0.0.124"
|
||||
"@nx/workspace": "npm:17.0.2"
|
||||
"@playwright/test": "npm:1.36.0"
|
||||
"@playwright/test": "npm:1.41.1"
|
||||
"@storybook/addon-a11y": "workspace:*"
|
||||
"@storybook/addon-actions": "workspace:*"
|
||||
"@storybook/addon-backgrounds": "workspace:*"
|
||||
@ -22988,23 +22983,27 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"playwright-core@npm:1.36.0":
|
||||
version: 1.36.0
|
||||
resolution: "playwright-core@npm:1.36.0"
|
||||
"playwright-core@npm:1.41.1":
|
||||
version: 1.41.1
|
||||
resolution: "playwright-core@npm:1.41.1"
|
||||
bin:
|
||||
playwright-core: cli.js
|
||||
checksum: 5b5d32495e222ddd4351d1d8b116a25a7d93ea5f3439dceaceeb916d0abdce6d5b0b84f80df0b239168d55a100e7aecc9db4774ff20ba0210d8de027f258b544
|
||||
checksum: cdd91267ca23e3f65d519100e956859c70e3e9ca29e3fe00e700b457903129e41dfa17752f1ea37ad0a8a7c6330baf9f3be503e4cbfa3e8833e80a037f899aee
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"playwright@npm:1.36.0":
|
||||
version: 1.36.0
|
||||
resolution: "playwright@npm:1.36.0"
|
||||
"playwright@npm:1.41.1":
|
||||
version: 1.41.1
|
||||
resolution: "playwright@npm:1.41.1"
|
||||
dependencies:
|
||||
playwright-core: "npm:1.36.0"
|
||||
fsevents: "npm:2.3.2"
|
||||
playwright-core: "npm:1.41.1"
|
||||
dependenciesMeta:
|
||||
fsevents:
|
||||
optional: true
|
||||
bin:
|
||||
playwright: cli.js
|
||||
checksum: dc39eb6271b22901cb6219a8ecdd44736169edd789d2a8be5885ded5414ee2a9e2c73a19e24d55336ddbae6f9d69522b46f1fe92998740745f1cb78d58b6cb6e
|
||||
checksum: 32d48c1f8ff881770a19c9245fb4191fc36b5e97ab5f48effa0b1cf5e83fa958f6fdd7e4268dd984aa306ac5fe9e4324510211910751fb52cebb9bae819d13ca
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
@ -149,8 +149,8 @@
|
||||
"ora": "^5.4.1",
|
||||
"p-limit": "^3.1.0",
|
||||
"p-retry": "^5.1.2",
|
||||
"playwright": "1.36.0",
|
||||
"playwright-core": "1.36.0",
|
||||
"playwright": "1.41.1",
|
||||
"playwright-core": "1.41.1",
|
||||
"prettier": "^3.1.1",
|
||||
"pretty-bytes": "^6.1.0",
|
||||
"pretty-hrtime": "^1.0.0",
|
||||
|
@ -25,9 +25,9 @@ export const addPackageResolutions = async ({ cwd, dryRun }: YarnOptions) => {
|
||||
...storybookVersions,
|
||||
'enhanced-resolve': '~5.10.0', // TODO, remove this
|
||||
// this is for our CI test, ensure we use the same version as docker image, it should match version specified in `./code/package.json` and `.circleci/config.yml`
|
||||
playwright: '1.36.0',
|
||||
'playwright-core': '1.36.0',
|
||||
'@playwright/test': '1.36.0',
|
||||
playwright: '1.41.1',
|
||||
'playwright-core': '1.41.1',
|
||||
'@playwright/test': '1.41.1',
|
||||
};
|
||||
await writeJSON(packageJsonPath, packageJson, { spaces: 2 });
|
||||
};
|
||||
|
@ -2922,8 +2922,8 @@ __metadata:
|
||||
ora: "npm:^5.4.1"
|
||||
p-limit: "npm:^3.1.0"
|
||||
p-retry: "npm:^5.1.2"
|
||||
playwright: "npm:1.36.0"
|
||||
playwright-core: "npm:1.36.0"
|
||||
playwright: "npm:1.41.1"
|
||||
playwright-core: "npm:1.41.1"
|
||||
prettier: "npm:^3.1.1"
|
||||
pretty-bytes: "npm:^6.1.0"
|
||||
pretty-hrtime: "npm:^1.0.0"
|
||||
@ -7856,6 +7856,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fsevents@npm:2.3.2":
|
||||
version: 2.3.2
|
||||
resolution: "fsevents@npm:2.3.2"
|
||||
dependencies:
|
||||
node-gyp: "npm:latest"
|
||||
checksum: be78a3efa3e181cda3cf7a4637cb527bcebb0bd0ea0440105a3bb45b86f9245b307dc10a2507e8f4498a7d4ec349d1910f4d73e4d4495b16103106e07eee735b
|
||||
conditions: os=darwin
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fsevents@npm:~2.3.2, fsevents@npm:~2.3.3":
|
||||
version: 2.3.3
|
||||
resolution: "fsevents@npm:2.3.3"
|
||||
@ -7866,6 +7876,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>":
|
||||
version: 2.3.2
|
||||
resolution: "fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin<compat/fsevents>::version=2.3.2&hash=df0bf1"
|
||||
dependencies:
|
||||
node-gyp: "npm:latest"
|
||||
conditions: os=darwin
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"fsevents@patch:fsevents@npm%3A~2.3.2#optional!builtin<compat/fsevents>, fsevents@patch:fsevents@npm%3A~2.3.3#optional!builtin<compat/fsevents>":
|
||||
version: 2.3.3
|
||||
resolution: "fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"
|
||||
@ -12437,23 +12456,27 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"playwright-core@npm:1.36.0":
|
||||
version: 1.36.0
|
||||
resolution: "playwright-core@npm:1.36.0"
|
||||
"playwright-core@npm:1.41.1":
|
||||
version: 1.41.1
|
||||
resolution: "playwright-core@npm:1.41.1"
|
||||
bin:
|
||||
playwright-core: cli.js
|
||||
checksum: 5b5d32495e222ddd4351d1d8b116a25a7d93ea5f3439dceaceeb916d0abdce6d5b0b84f80df0b239168d55a100e7aecc9db4774ff20ba0210d8de027f258b544
|
||||
checksum: cdd91267ca23e3f65d519100e956859c70e3e9ca29e3fe00e700b457903129e41dfa17752f1ea37ad0a8a7c6330baf9f3be503e4cbfa3e8833e80a037f899aee
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"playwright@npm:1.36.0":
|
||||
version: 1.36.0
|
||||
resolution: "playwright@npm:1.36.0"
|
||||
"playwright@npm:1.41.1":
|
||||
version: 1.41.1
|
||||
resolution: "playwright@npm:1.41.1"
|
||||
dependencies:
|
||||
playwright-core: "npm:1.36.0"
|
||||
fsevents: "npm:2.3.2"
|
||||
playwright-core: "npm:1.41.1"
|
||||
dependenciesMeta:
|
||||
fsevents:
|
||||
optional: true
|
||||
bin:
|
||||
playwright: cli.js
|
||||
checksum: dc39eb6271b22901cb6219a8ecdd44736169edd789d2a8be5885ded5414ee2a9e2c73a19e24d55336ddbae6f9d69522b46f1fe92998740745f1cb78d58b6cb6e
|
||||
checksum: 32d48c1f8ff881770a19c9245fb4191fc36b5e97ab5f48effa0b1cf5e83fa958f6fdd7e4268dd984aa306ac5fe9e4324510211910751fb52cebb9bae819d13ca
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user