Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Add an optional peer dependency to react-apollo #3278

Merged
merged 5 commits into from Aug 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions Changelog.md
Expand Up @@ -17,6 +17,8 @@
[@hwillson](https://github.com/hwillson) in [#3334](https://github.com/apollographql/react-apollo/pull/3334)
- Export `MockedProviderProps` and `MockedProviderState` from `@apollo/react-testing`. <br/>
[@hwillson](https://github.com/hwillson) in [#3337](https://github.com/apollographql/react-apollo/pull/3337)
- Add `@types/react` as a peer dep, to address potential TS compilation errors when using `ApolloProvider`. <br/>
[@zkochan](https://github.com/zkochan) in [#3278](https://github.com/apollographql/react-apollo/pull/3278)

## 3.0.0 (2019-08-06)

Expand Down
1 change: 1 addition & 0 deletions packages/all/package.json
Expand Up @@ -33,6 +33,7 @@
"deploy": "npm publish"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"graphql": "^14.3.1",
"react": "^16.8.0",
Expand Down
1 change: 1 addition & 0 deletions packages/common/package.json
Expand Up @@ -32,6 +32,7 @@
"test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/common"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"apollo-utilities": "^1.3.2",
"graphql": "^14.3.1",
Expand Down
1 change: 1 addition & 0 deletions packages/components/package.json
Expand Up @@ -36,6 +36,7 @@
"test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/components"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-cache": "^1.3.2",
"apollo-client": "^2.6.4",
"apollo-link": "^1.2.12",
Expand Down
1 change: 1 addition & 0 deletions packages/hoc/package.json
Expand Up @@ -36,6 +36,7 @@
"test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/hoc"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"graphql": "^14.3.1",
"react": "^16.8.0",
Expand Down
1 change: 1 addition & 0 deletions packages/hooks/package.json
Expand Up @@ -36,6 +36,7 @@
"test:umd": "npm run build && npx jest --config ../../config/jest.umd.config.js --testPathPattern packages/hooks"
},
"peerDependencies": {
"@types/react": "^16.8.0",
"apollo-client": "^2.6.4",
"graphql": "^14.3.1",
"react": "^16.8.0",
Expand Down