Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: @apollo/client should be a peer dependency #252

Merged
merged 4 commits into from
May 13, 2021
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
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Updated Node.js support to `^12.20 || >= 14.13`.
- Stopped supporting Internet Explorer.
- Changed [`@apollo/client`](https://npm.im/@apollo/client) from a dependency to a peer dependency, fixing [#251](https://github.com/jaydenseric/apollo-upload-client/issues/251) via [#252](https://github.com/jaydenseric/apollo-upload-client/pull/252).
- Updated dependencies, some of which require newer Node.js versions than previously supported.
- Replaced the the `package.json` `exports` field public [subpath folder mapping](https://nodejs.org/api/packages.html#packages_subpath_folder_mappings) (deprecated by Node.js) with a [subpath pattern](https://nodejs.org/api/packages.html#packages_subpath_patterns). Deep `require` paths within `apollo-upload-client/public/` must now include the `.js` file extension.
- Removed Babel related dependencies, config, and scripts. Published modules now contain more modern ES syntax.
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@
},
"browserslist": "Node 12.20 - 13 and Node < 13, Node >= 14.13, > 0.5%, not OperaMini all, not IE > 0, not dead",
"peerDependencies": {
"@apollo/client": "^3.0.0",
"graphql": "14 - 15"
},
"dependencies": {
"@apollo/client": "^3.3.16",
"extract-files": "^10.0.0"
},
"devDependencies": {
"@apollo/client": "^3.3.16",
"abort-controller": "^3.0.0",
"coverage-node": "^5.0.1",
"esbuild": "^0.11.20",
Expand Down