From 65391d30c7a56313325acb647110e8536008d82b Mon Sep 17 00:00:00 2001 From: mitchellhamilton Date: Fri, 4 Feb 2022 13:45:29 +1000 Subject: [PATCH] Allow graphql@16 --- .changeset/sixty-turtles-sneeze.md | 6 ++++++ packages/extend/package.json | 4 ++-- packages/schema/package.json | 4 ++-- pnpm-lock.yaml | 18 +++++++++--------- test-project/package.json | 2 +- 5 files changed, 20 insertions(+), 14 deletions(-) create mode 100644 .changeset/sixty-turtles-sneeze.md diff --git a/.changeset/sixty-turtles-sneeze.md b/.changeset/sixty-turtles-sneeze.md new file mode 100644 index 0000000..950d62f --- /dev/null +++ b/.changeset/sixty-turtles-sneeze.md @@ -0,0 +1,6 @@ +--- +"@graphql-ts/extend": patch +"@graphql-ts/schema": patch +--- + +`graphql@16` is now allowed in `peerDependencies` diff --git a/packages/extend/package.json b/packages/extend/package.json index 73b52e9..ad569f8 100644 --- a/packages/extend/package.json +++ b/packages/extend/package.json @@ -13,11 +13,11 @@ }, "peerDependencies": { "@graphql-ts/schema": "^0.5.0", - "graphql": "^15.0.0" + "graphql": "15 || 16" }, "devDependencies": { "@graphql-ts/schema": "^0.5.0", - "graphql": "^15.5.0" + "graphql": "^16.3.0" }, "repository": "https://github.com/Thinkmill/graphql-ts/tree/main/packages/extend" } diff --git a/packages/schema/package.json b/packages/schema/package.json index cbf1576..3e2e55c 100644 --- a/packages/schema/package.json +++ b/packages/schema/package.json @@ -14,10 +14,10 @@ "@babel/runtime": "^7.9.2" }, "peerDependencies": { - "graphql": "^15.0.0" + "graphql": "15 || 16" }, "devDependencies": { - "graphql": "^15.5.0" + "graphql": "^16.3.0" }, "repository": "https://github.com/Thinkmill/graphql-ts/tree/main/packages/schema", "preconstruct": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd1d7f1..b7a06ee 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,29 +54,29 @@ importers: specifiers: '@babel/runtime': ^7.9.2 '@graphql-ts/schema': ^0.5.0 - graphql: ^15.5.0 + graphql: ^16.3.0 dependencies: '@babel/runtime': 7.15.3 devDependencies: '@graphql-ts/schema': link:../schema - graphql: 15.5.0 + graphql: 16.3.0 packages/schema: specifiers: '@babel/runtime': ^7.9.2 - graphql: ^15.5.0 + graphql: ^16.3.0 dependencies: '@babel/runtime': 7.14.0 devDependencies: - graphql: 15.5.0 + graphql: 16.3.0 test-project: specifiers: '@graphql-ts/schema': ^0.5.0 - graphql: ^15.5.0 + graphql: ^16.3.0 dependencies: '@graphql-ts/schema': link:../packages/schema - graphql: 15.5.0 + graphql: 16.3.0 packages: @@ -4040,9 +4040,9 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: false - /graphql/15.5.0: - resolution: {integrity: sha512-OmaM7y0kaK31NKG31q4YbD2beNYa6jBBKtMFT6gLYJljHLJr42IqJ8KX08u3Li/0ifzTU5HjmoOOrwa5BRLeDA==} - engines: {node: '>= 10.x'} + /graphql/16.3.0: + resolution: {integrity: sha512-xm+ANmA16BzCT5pLjuXySbQVFwH3oJctUVdy81w1sV0vBU0KgDdBGtxQOUd5zqOBk/JayAFeG8Dlmeq74rjm/A==} + engines: {node: ^12.22.0 || ^14.16.0 || >=16.0.0} /hard-rejection/2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} diff --git a/test-project/package.json b/test-project/package.json index f42664a..60276ed 100644 --- a/test-project/package.json +++ b/test-project/package.json @@ -6,6 +6,6 @@ "license": "MIT", "dependencies": { "@graphql-ts/schema": "^0.5.0", - "graphql": "^15.5.0" + "graphql": "^16.3.0" } }