diff --git a/.changeset/few-apes-march.md b/.changeset/few-apes-march.md new file mode 100644 index 000000000..ad0f6f266 --- /dev/null +++ b/.changeset/few-apes-march.md @@ -0,0 +1,5 @@ +--- +'@graphql-codegen/typescript-react-apollo': patch +--- + +Move `graphql-tag` to `devDependencies` from `peerDependencies`. diff --git a/packages/plugins/typescript/react-apollo/package.json b/packages/plugins/typescript/react-apollo/package.json index 72d7bb0a0..de45c4bf4 100644 --- a/packages/plugins/typescript/react-apollo/package.json +++ b/packages/plugins/typescript/react-apollo/package.json @@ -37,8 +37,7 @@ "test": "jest --no-watchman --config ../../../../jest.config.js --forceExit" }, "peerDependencies": { - "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0", - "graphql-tag": "^2.0.0" + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" }, "dependencies": { "@graphql-codegen/plugin-helpers": "^3.0.0", @@ -48,7 +47,8 @@ "tslib": "~2.6.0" }, "devDependencies": { - "@graphql-codegen/testing": "1.18.0" + "@graphql-codegen/testing": "1.18.0", + "graphql-tag": "^2.12.6" }, "publishConfig": { "directory": "dist",