From 455cfcda8a45154ade25650f154154394e04e19f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Rozs=C3=ADval?= Date: Wed, 1 Nov 2023 10:44:53 +0100 Subject: [PATCH] chore(deps): make vitest a direct dep of eslint-config --- .changeset/neat-moose-impress.md | 5 +++++ packages/eslint-config/package.json | 8 ++++---- pnpm-lock.yaml | 21 ++++++++++++--------- 3 files changed, 21 insertions(+), 13 deletions(-) create mode 100644 .changeset/neat-moose-impress.md diff --git a/.changeset/neat-moose-impress.md b/.changeset/neat-moose-impress.md new file mode 100644 index 0000000..9eccc68 --- /dev/null +++ b/.changeset/neat-moose-impress.md @@ -0,0 +1,5 @@ +--- +'@apitree.cz/eslint-config': patch +--- + +Move `vitest` to direct dependencies as `eslint-plugin-vitest` needs it. diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 4bae312..27d287e 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -30,6 +30,7 @@ }, "dependencies": { "@next/eslint-plugin-next": "^14.0.0", + "@types/eslint": "^8.44.6", "@typescript-eslint/eslint-plugin": "^6.9.0", "@typescript-eslint/parser": "^6.9.0", "eslint-config-airbnb": "^19.0.4", @@ -46,15 +47,14 @@ "eslint-plugin-testing-library": "^6.1.0", "eslint-plugin-unicorn": "^48.0.1", "eslint-plugin-unused-imports": "^3.0.0", - "eslint-plugin-vitest": "^0.3.8" + "eslint-plugin-vitest": "^0.3.8", + "vitest": "^0.34.6" }, "devDependencies": { - "@types/eslint": "^8.44.6", "eslint": "^8.52.0", "prettier": "^3.0.3", "react": "^18.2.0", - "typescript": "^5.2.2", - "vitest": "^0.34.6" + "typescript": "^5.2.2" }, "peerDependencies": { "eslint": "^8.52.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc3a733..0677b0d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,6 +65,9 @@ importers: '@next/eslint-plugin-next': specifier: ^14.0.0 version: 14.0.1 + '@types/eslint': + specifier: ^8.44.6 + version: 8.44.6 '@typescript-eslint/eslint-plugin': specifier: ^6.9.0 version: 6.9.1(@typescript-eslint/parser@6.9.1)(eslint@8.52.0)(typescript@5.2.2) @@ -116,10 +119,10 @@ importers: eslint-plugin-vitest: specifier: ^0.3.8 version: 0.3.8(@typescript-eslint/eslint-plugin@6.9.1)(eslint@8.52.0)(typescript@5.2.2)(vitest@0.34.6) + vitest: + specifier: ^0.34.6 + version: 0.34.6(jsdom@22.1.0) devDependencies: - '@types/eslint': - specifier: ^8.44.6 - version: 8.44.6 eslint: specifier: ^8.52.0 version: 8.52.0 @@ -132,9 +135,6 @@ importers: typescript: specifier: ^5.2.2 version: 5.2.2 - vitest: - specifier: ^0.34.6 - version: 0.34.6(jsdom@22.1.0) packages/prettier-config: dependencies: @@ -1251,9 +1251,11 @@ packages: dependencies: '@types/estree': 1.0.4 '@types/json-schema': 7.0.14 + dev: false /@types/estree@1.0.4: resolution: {integrity: sha512-2JwWnHK9H+wUZNorf2Zr6ves96WHoWDJIftkcxPKsS7Djta6Zu519LarhRNljPXkpsZR2ZMwNCPeW7omW07BJw==} + dev: false /@types/is-ci@3.0.3: resolution: {integrity: sha512-FdHbjLiN2e8fk9QYQyVYZrK8svUDJpxSaSWLUga8EZS1RGAvvrqM9zbVARBtQuYPeLgnJxM2xloOswPwj1o2cQ==} @@ -1267,6 +1269,7 @@ packages: /@types/json-schema@7.0.14: resolution: {integrity: sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==} + dev: false /@types/json5@0.0.29: resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==} @@ -1863,7 +1866,7 @@ packages: hasBin: true dependencies: caniuse-lite: 1.0.30001559 - electron-to-chromium: 1.4.571 + electron-to-chromium: 1.4.572 node-releases: 2.0.13 update-browserslist-db: 1.0.13(browserslist@4.22.1) @@ -2410,8 +2413,8 @@ packages: w-json: 1.3.10 dev: true - /electron-to-chromium@1.4.571: - resolution: {integrity: sha512-Sc+VtKwKCDj3f/kLBjdyjMpNzoZsU6WuL/wFb6EH8USmHEcebxRXcRrVpOpayxd52tuey4RUDpUsw5OS5LhJqg==} + /electron-to-chromium@1.4.572: + resolution: {integrity: sha512-RlFobl4D3ieetbnR+2EpxdzFl9h0RAJkPK3pfiwMug2nhBin2ZCsGIAJWdpNniLz43sgXam/CgipOmvTA+rUiA==} /emoji-regex@8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}