Skip to content

Commit

Permalink
Merge pull request #22998 from storybookjs/norbert/playwright-fix
Browse files Browse the repository at this point in the history
Build: Remove `playwright` and `playwright-core`, but keep the resolutions
  • Loading branch information
ndelangen authored Jun 9, 2023
2 parents 483bd65 + ab6caf5 commit 7ec2942
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@
"node-gyp": "^9.3.1",
"nx": "16.2.1",
"nx-cloud": "16.0.5",
"playwright": "^1.35.0",
"playwright-core": "^1.35.0",
"prettier": "2.8.0",
"process": "^0.11.10",
"raf": "^3.4.1",
Expand Down
2 changes: 0 additions & 2 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7210,8 +7210,6 @@ __metadata:
node-gyp: ^9.3.1
nx: 16.2.1
nx-cloud: 16.0.5
playwright: ^1.35.0
playwright-core: ^1.35.0
prettier: 2.8.0
process: ^0.11.10
raf: ^3.4.1
Expand Down
2 changes: 2 additions & 0 deletions scripts/utils/yarn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ 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.35.0',
'playwright-core': '^1.35.0',
'@playwright/test': '^1.35.0',
};
await writeJSON(packageJsonPath, packageJson, { spaces: 2 });
Expand Down

0 comments on commit 7ec2942

Please sign in to comment.