Cleaned up jsdom dependency usage

- we don't need this in `ghost/core` as it's not used in there
- we need to declare this dependency for the apps, as they use it for
  running tests
- this doesn't change the lockfile but it means we're declaring the
  dependency in the right places now
This commit is contained in:
Daniel Lockyer 2024-05-27 09:40:29 +02:00 committed by Daniel Lockyer
parent f0c8be59a8
commit ecc6053e5d
6 changed files with 5 additions and 1 deletions

View File

@ -41,6 +41,7 @@
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-react-refresh": "0.4.3",
"eslint-plugin-tailwindcss": "3.13.0", "eslint-plugin-tailwindcss": "3.13.0",
"jsdom": "24.1.0",
"mocha": "10.2.0", "mocha": "10.2.0",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

View File

@ -73,6 +73,7 @@
"c8": "8.0.1", "c8": "8.0.1",
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-react-refresh": "0.4.3",
"jsdom": "24.1.0",
"mocha": "10.2.0", "mocha": "10.2.0",
"react": "18.3.1", "react": "18.3.1",
"react-dom": "18.3.1", "react-dom": "18.3.1",

View File

@ -80,6 +80,7 @@
}, },
"devDependencies": { "devDependencies": {
"@vitejs/plugin-react": "4.2.1", "@vitejs/plugin-react": "4.2.1",
"jsdom": "24.1.0",
"vite": "4.5.3", "vite": "4.5.3",
"vite-plugin-svgr": "3.3.0", "vite-plugin-svgr": "3.3.0",
"vitest": "0.34.3" "vitest": "0.34.3"

View File

@ -57,6 +57,7 @@
"eslint-plugin-react-hooks": "4.6.0", "eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-refresh": "0.4.3", "eslint-plugin-react-refresh": "0.4.3",
"eslint-plugin-tailwindcss": "3.13.0", "eslint-plugin-tailwindcss": "3.13.0",
"jsdom": "24.1.0",
"postcss": "8.4.38", "postcss": "8.4.38",
"postcss-import": "16.1.0", "postcss-import": "16.1.0",
"prop-types": "15.8.1", "prop-types": "15.8.1",

View File

@ -85,6 +85,7 @@
"@testing-library/jest-dom": "5.16.5", "@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5", "@testing-library/react": "12.1.5",
"@vitejs/plugin-react": "4.2.1", "@vitejs/plugin-react": "4.2.1",
"jsdom": "24.1.0",
"nock": "13.3.3", "nock": "13.3.3",
"vite": "4.5.3", "vite": "4.5.3",
"vite-plugin-svgr": "3.3.0", "vite-plugin-svgr": "3.3.0",

View File

@ -194,7 +194,6 @@
"intl": "1.2.5", "intl": "1.2.5",
"intl-messageformat": "5.4.3", "intl-messageformat": "5.4.3",
"js-yaml": "4.1.0", "js-yaml": "4.1.0",
"jsdom": "24.1.0",
"json-stable-stringify": "1.1.1", "json-stable-stringify": "1.1.1",
"jsonpath": "1.1.1", "jsonpath": "1.1.1",
"jsonwebtoken": "8.5.1", "jsonwebtoken": "8.5.1",