Skip to content

Commit

Permalink
Fully remove the graphql-anywhere package (#5159)
Browse files Browse the repository at this point in the history
Apollo Client hasn't used `graphql-anywhere` internally for quite
some time. This commit removes it fully.
  • Loading branch information
hwillson authored and Stephen Barlow committed Oct 1, 2019
1 parent 1a58ebb commit 7c341fd
Show file tree
Hide file tree
Showing 23 changed files with 2 additions and 24,094 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
[@raibima](https://github.com/raibima) in [#5132](https://github.com/apollographql/apollo-client/pull/5132) <br/>
[@hwillson](https://github.com/hwillson) in [#5141](https://github.com/apollographql/apollo-client/pull/5141)


## Apollo Client (2.6.3)

### Apollo Client (2.6.3)
Expand Down
2 changes: 0 additions & 2 deletions config/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ const defaultGlobals = {
'apollo-link': 'apolloLink.core',
'apollo-link-dedup': 'apolloLink.dedup',
'apollo-utilities': 'apollo.utilities',
'graphql-anywhere': 'graphqlAnywhere',
'graphql-anywhere/lib/async': 'graphqlAnywhere.async',
'apollo-boost': 'apollo.boost',
'tslib': 'tslib',
'ts-invariant': 'invariant',
Expand Down
21,739 changes: 0 additions & 21,739 deletions package-lock.json

This file was deleted.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@
"apollo-cache": "file:packages/apollo-cache",
"apollo-cache-inmemory": "file:packages/apollo-cache-inmemory",
"apollo-client": "file:packages/apollo-client",
"apollo-utilities": "file:packages/apollo-utilities",
"graphql-anywhere": "file:packages/graphql-anywhere"
"apollo-utilities": "file:packages/apollo-utilities"
},
"devDependencies": {
"@babel/core": "7.6.2",
Expand Down
258 changes: 0 additions & 258 deletions packages/apollo-boost/package-lock.json

This file was deleted.

6 changes: 0 additions & 6 deletions packages/apollo-cache-inmemory/src/readFromStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,6 @@ export class StoreReader {
* variableValues?: ?{[key: string]: any},
* operationName?: ?string
* ): Promise<GraphQLResult>
*
* The default export as of graphql-anywhere is sync as of 4.0,
* but below is an exported alternative that is async.
* In the 5.0 version, this will be the only export again
* and it will be async
*
*/
private executeStoreQuery({
query,
Expand Down
8 changes: 0 additions & 8 deletions packages/graphql-anywhere/.npmignore

This file was deleted.

Loading

0 comments on commit 7c341fd

Please sign in to comment.