Skip to content

Commit

Permalink
revert: make graphql a peerDepenency again
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland committed Jun 2, 2022
1 parent 7b75a58 commit fe183b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -20,18 +20,18 @@ To get a local copy up and running follow these simple example steps.

### Prerequisites

First add the library and its peer dependencies to your `package.json` file:
First add the library and its peerDependency `graphql` to your project:

* npm

```sh
npm install @ioki/transitland-gql-client@latest grapqhl @genql/runtime
npm install @ioki/transitland-gql-client@latest grapqhl
```

* yarn

```sh
yarn add @ioki/transitland-gql-client@latest grapqhl @genql/runtime
yarn add @ioki/transitland-gql-client@latest grapqhl
```

### Setup
Expand Down
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -48,8 +48,10 @@
"typescript": "4.7.2",
"utility-types": "3.10.0"
},
"peerDependencies": {
"graphql": "16.5.0",
"dependencies": {
"@genql/runtime": "2.10.0"
},
"peerDependencies": {
"graphql": "*"
}
}

0 comments on commit fe183b2

Please sign in to comment.