From 9c9c0d552cd2b9c4953a42ebd90bc86e51a53713 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Sat, 7 Sep 2024 18:52:30 -0400 Subject: [PATCH] Change playwright install flag --- .github/workflows/ci.yml | 2 +- package.json | 1 - pnpm-lock.yaml | 94 +++++++++++++++++++++++++++------------- 3 files changed, 64 insertions(+), 33 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca50f28..9cdc6cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,7 +56,7 @@ jobs: run: pnpm install - name: Install Playwright - run: pnpm exec playwright install --with-deps chromium + run: pnpm exec playwright install --with-deps - name: Run Playwright end-to-end tests run: pnpm test:e2e diff --git a/package.json b/package.json index b8d5fbe..60d2cd6 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,6 @@ "cssnano": "^7.0.5", "globals": "^15.9.0", "husky": "^9.1.5", - "jsdom": "^25.0.0", "lint-staged": "^15.2.10", "npm-run-all": "^4.1.5", "prop-types": "^15.8.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e388497..c2404df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -123,7 +123,7 @@ importers: version: 3.7.0(@swc/helpers@0.5.12)(vite@5.4.2(@types/node@22.5.2)) '@vitest/coverage-v8': specifier: ^2.0.5 - version: 2.0.5(vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2))) + version: 2.0.5(vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0)) '@vitest/ui': specifier: ^2.0.5 version: 2.0.5(vitest@2.0.5) @@ -145,9 +145,6 @@ importers: husky: specifier: ^9.1.5 version: 9.1.5 - jsdom: - specifier: ^25.0.0 - version: 25.0.0(canvas@2.11.2) lint-staged: specifier: ^15.2.10 version: 15.2.10 @@ -177,7 +174,7 @@ importers: version: 5.4.2(@types/node@22.5.2) vitest: specifier: ^2.0.5 - version: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2)) + version: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0) packages: @@ -7333,7 +7330,7 @@ snapshots: transitivePeerDependencies: - '@swc/helpers' - '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2)))': + '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -7347,7 +7344,7 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2)) + vitest: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0) transitivePeerDependencies: - supports-color @@ -7386,7 +7383,7 @@ snapshots: pathe: 1.1.2 sirv: 2.0.4 tinyrainbow: 1.2.0 - vitest: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2)) + vitest: 2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0) '@vitest/utils@2.0.5': dependencies: @@ -7416,6 +7413,7 @@ snapshots: debug: 4.3.6 transitivePeerDependencies: - supports-color + optional: true ahooks@3.8.1(react@16.14.0): dependencies: @@ -7571,7 +7569,8 @@ snapshots: async-validator@3.5.2: {} - asynckit@0.4.0: {} + asynckit@0.4.0: + optional: true atob@2.1.2: {} @@ -7793,6 +7792,7 @@ snapshots: combined-stream@1.0.8: dependencies: delayed-stream: 1.0.0 + optional: true comma-separated-tokens@2.0.3: {} @@ -7961,6 +7961,7 @@ snapshots: cssstyle@4.1.0: dependencies: rrweb-cssom: 0.7.1 + optional: true csstype@3.1.3: {} @@ -7968,6 +7969,7 @@ snapshots: dependencies: whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 + optional: true data-view-buffer@1.0.1: dependencies: @@ -7996,7 +7998,8 @@ snapshots: dependencies: ms: 2.1.2 - decimal.js@10.4.3: {} + decimal.js@10.4.3: + optional: true decode-named-character-reference@1.0.2: dependencies: @@ -8021,7 +8024,8 @@ snapshots: has-property-descriptors: 1.0.2 object-keys: 1.1.1 - delayed-stream@1.0.0: {} + delayed-stream@1.0.0: + optional: true delegates@1.0.0: optional: true @@ -8301,6 +8305,7 @@ snapshots: asynckit: 0.4.0 combined-stream: 1.0.8 mime-types: 2.1.35 + optional: true form-render@2.4.8(@types/react@18.3.5)(antd@5.20.4(date-fns@3.6.0)(react-dom@16.14.0(react@16.14.0))(react@16.14.0))(react-dom@16.14.0(react@16.14.0))(react@16.14.0): dependencies: @@ -8535,6 +8540,7 @@ snapshots: html-encoding-sniffer@4.0.0: dependencies: whatwg-encoding: 3.1.1 + optional: true html-entities@2.5.2: {} @@ -8548,6 +8554,7 @@ snapshots: debug: 4.3.6 transitivePeerDependencies: - supports-color + optional: true https-proxy-agent@5.0.1: dependencies: @@ -8563,6 +8570,7 @@ snapshots: debug: 4.3.6 transitivePeerDependencies: - supports-color + optional: true human-id@1.0.2: {} @@ -8577,6 +8585,7 @@ snapshots: iconv-lite@0.6.3: dependencies: safer-buffer: 2.1.2 + optional: true ieee754@1.2.1: {} @@ -8683,7 +8692,8 @@ snapshots: is-plain-obj@4.1.0: {} - is-potential-custom-element-name@1.0.1: {} + is-potential-custom-element-name@1.0.1: + optional: true is-regex@1.1.4: dependencies: @@ -8762,7 +8772,7 @@ snapshots: argparse: 1.0.10 esprima: 4.0.1 - jsdom@25.0.0(canvas@2.11.2): + jsdom@25.0.0: dependencies: cssstyle: 4.1.0 data-urls: 5.0.0 @@ -8785,12 +8795,11 @@ snapshots: whatwg-url: 14.0.0 ws: 8.18.0 xml-name-validator: 5.0.0 - optionalDependencies: - canvas: 2.11.2 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate + optional: true jsesc@2.5.2: {} @@ -9172,11 +9181,13 @@ snapshots: braces: 3.0.3 picomatch: 2.3.1 - mime-db@1.52.0: {} + mime-db@1.52.0: + optional: true mime-types@2.1.35: dependencies: mime-db: 1.52.0 + optional: true mimic-fn@4.0.0: {} @@ -9293,7 +9304,8 @@ snapshots: dependencies: boolbase: 1.0.0 - nwsapi@2.2.12: {} + nwsapi@2.2.12: + optional: true oauth4webapi@2.12.0: {} @@ -9386,6 +9398,7 @@ snapshots: parse5@7.1.2: dependencies: entities: 4.5.0 + optional: true path-exists@4.0.0: {} @@ -9671,11 +9684,14 @@ snapshots: pseudomap@1.0.2: {} - psl@1.9.0: {} + psl@1.9.0: + optional: true - punycode@2.3.1: {} + punycode@2.3.1: + optional: true - querystringify@2.2.0: {} + querystringify@2.2.0: + optional: true queue-microtask@1.2.3: {} @@ -10329,7 +10345,8 @@ snapshots: unified: 11.0.5 vfile: 6.0.3 - requires-port@1.0.0: {} + requires-port@1.0.0: + optional: true resize-observer-polyfill@1.5.1: {} @@ -10379,7 +10396,8 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.2 fsevents: 2.3.3 - rrweb-cssom@0.7.1: {} + rrweb-cssom@0.7.1: + optional: true run-parallel@1.2.0: dependencies: @@ -10406,6 +10424,7 @@ snapshots: saxes@6.0.0: dependencies: xmlchars: 2.2.0 + optional: true scheduler@0.19.1: dependencies: @@ -10660,7 +10679,8 @@ snapshots: csso: 5.0.5 picocolors: 1.1.0 - symbol-tree@3.2.4: {} + symbol-tree@3.2.4: + optional: true tailwind-merge@2.5.2: {} @@ -10777,6 +10797,7 @@ snapshots: punycode: 2.3.1 universalify: 0.2.0 url-parse: 1.5.10 + optional: true tr46@0.0.3: optional: true @@ -10784,6 +10805,7 @@ snapshots: tr46@5.0.0: dependencies: punycode: 2.3.1 + optional: true trim-lines@3.0.1: {} @@ -10881,7 +10903,8 @@ snapshots: universalify@0.1.2: {} - universalify@0.2.0: {} + universalify@0.2.0: + optional: true unplugin@1.12.3: dependencies: @@ -10899,6 +10922,7 @@ snapshots: dependencies: querystringify: 2.2.0 requires-port: 1.0.0 + optional: true use-debounce@10.0.3(react@18.3.1): dependencies: @@ -10968,7 +10992,7 @@ snapshots: '@types/node': 22.5.2 fsevents: 2.3.3 - vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0(canvas@2.11.2)): + vitest@2.0.5(@edge-runtime/vm@4.0.2)(@types/node@22.5.2)(@vitest/ui@2.0.5)(jsdom@25.0.0): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -10993,7 +11017,7 @@ snapshots: '@edge-runtime/vm': 4.0.2 '@types/node': 22.5.2 '@vitest/ui': 2.0.5(vitest@2.0.5) - jsdom: 25.0.0(canvas@2.11.2) + jsdom: 25.0.0 transitivePeerDependencies: - less - lightningcss @@ -11007,11 +11031,13 @@ snapshots: w3c-xmlserializer@5.0.0: dependencies: xml-name-validator: 5.0.0 + optional: true webidl-conversions@3.0.1: optional: true - webidl-conversions@7.0.0: {} + webidl-conversions@7.0.0: + optional: true webpack-sources@3.2.3: {} @@ -11020,13 +11046,16 @@ snapshots: whatwg-encoding@3.1.1: dependencies: iconv-lite: 0.6.3 + optional: true - whatwg-mimetype@4.0.0: {} + whatwg-mimetype@4.0.0: + optional: true whatwg-url@14.0.0: dependencies: tr46: 5.0.0 webidl-conversions: 7.0.0 + optional: true whatwg-url@5.0.0: dependencies: @@ -11083,11 +11112,14 @@ snapshots: wrappy@1.0.2: optional: true - ws@8.18.0: {} + ws@8.18.0: + optional: true - xml-name-validator@5.0.0: {} + xml-name-validator@5.0.0: + optional: true - xmlchars@2.2.0: {} + xmlchars@2.2.0: + optional: true yallist@2.1.2: {}