From 1b9de7da05b7068afb06c458df64d2a0041cb92d Mon Sep 17 00:00:00 2001 From: Artem Zakharchenko Date: Fri, 21 Jun 2024 10:50:31 +0200 Subject: [PATCH] feat: list "graphql" as an optional peer dependency --- package.json | 5 ++++- pnpm-lock.yaml | 12 ++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 367123eab..cfa781065 100644 --- a/package.json +++ b/package.json @@ -142,7 +142,6 @@ "@types/cookie": "^0.6.0", "@types/statuses": "^2.0.4", "chalk": "^4.1.2", - "graphql": "^16.8.1", "headers-polyfill": "^4.0.2", "is-node-process": "^1.2.0", "outvariant": "^1.4.2", @@ -181,6 +180,7 @@ "fs-extra": "^11.2.0", "fs-teardown": "^0.3.0", "glob": "^10.3.10", + "graphql": "^16.8.1", "jsdom": "^23.2.0", "json-bigint": "^1.0.0", "lint-staged": "^15.2.0", @@ -203,6 +203,9 @@ "typescript": ">= 4.7.x" }, "peerDependenciesMeta": { + "graphql": { + "optional": true + }, "typescript": { "optional": true } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2aa6f5fa4..874f234f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -32,9 +32,6 @@ dependencies: chalk: specifier: ^4.1.2 version: 4.1.2 - graphql: - specifier: ^16.8.1 - version: 16.8.1 headers-polyfill: specifier: ^4.0.2 version: 4.0.3 @@ -145,6 +142,9 @@ devDependencies: glob: specifier: ^10.3.10 version: 10.3.12 + graphql: + specifier: ^16.8.1 + version: 16.8.2 jsdom: specifier: ^23.2.0 version: 23.2.0 @@ -4837,10 +4837,10 @@ packages: resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} dev: true - /graphql@16.8.1: - resolution: {integrity: sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==} + /graphql@16.8.2: + resolution: {integrity: sha512-cvVIBILwuoSyD54U4cF/UXDh5yAobhNV/tPygI4lZhgOIJQE/WLWC4waBRb4I6bDVYb3OVx3lfHbaQOEoUD5sg==} engines: {node: ^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0} - dev: false + dev: true /hard-rejection@2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==}