Skip to content

Commit

Permalink
graphql-yoga as peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
aexol committed Dec 7, 2024
1 parent 676e58a commit 8d7e348
Show file tree
Hide file tree
Showing 16 changed files with 646 additions and 327 deletions.
4 changes: 2 additions & 2 deletions adapters/apollo-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 7 additions & 3 deletions adapters/apollo-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-apollo-server",
"version": "0.5.6",
"version": "0.5.7",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand All @@ -14,12 +14,16 @@
"lib"
],
"dependencies": {
"@aexol/axolotl-core": "^0.5.6",
"@apollo/server": "^4.9.4",
"@graphql-tools/schema": "^9.0.19",
"@graphql-tools/utils": "^9.2.1"
},
"peerDependencies": {
"@aexol/axolotl-core": "^0.5.7",
"@apollo/server": "^4.0.0",
"graphql": "^16.0.0 || ^17.0.0"
},
"devDependencies": {
"@aexol/axolotl-core": "^0.5.7",
"@apollo/server": "^4.11.2"
}
}
14 changes: 9 additions & 5 deletions adapters/graphql-yoga/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/axolotl-graphql-yoga",
"version": "0.5.6",
"version": "0.5.7",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand All @@ -14,11 +14,15 @@
"lib"
],
"dependencies": {
"@aexol/axolotl-core": "^0.5.6",
"@graphql-tools/utils": "^10.3.2",
"graphql-yoga": "^4.0.5"
"@graphql-tools/utils": "^10.3.2"
},
"peerDependencies": {
"graphql": "^16.0.0 || ^17.0.0"
"@aexol/axolotl-core": "^0.5.7",
"graphql": "^16.0.0 || ^17.0.0",
"graphql-yoga": "^5.0.0"
},
"devDependencies": {
"@aexol/axolotl-core": "^0.5.7",
"graphql-yoga": "^5.10.4"
}
}
2 changes: 1 addition & 1 deletion docs/pages/adapters/apollo-server.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Install adapter

```sh
npm i @aexol/axolotl-core @aexol/axolotl-apollo-server
npm i @aexol/axolotl-core @aexol/axolotl-apollo-server @apollo/server graphql
```

Now you need a `schema.graphql` file or a URL with settings to download the schema from upstream. Out of it Axolotl can generate simple type definitions needed for the library out of your GraphQL Schema.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/adapters/graphql-yoga.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Install adapter

```sh
npm i @aexol/axolotl-core @aexol/axolotl-graphql-yoga
npm i @aexol/axolotl-core @aexol/axolotl-graphql-yoga graphql-yoga graphql
```

Now you need a `schema.graphql` file or a URL with settings to download the schema from upstream. Out of it Axolotl can generate simple type definitions needed for the library out of your GraphQL Schema.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ However it is good to know how `axolotl` work under the hood and read this:
Install dependencies. Install yoga adapter.

```sh
npm i @aexol/axolotl-core @aexol/axolotl-graphql-yoga
npm i @aexol/axolotl-core @aexol/axolotl-graphql-yoga graphql-yoga graphql
```

Now you need a `schema.graphql` file or a URL with settings to download the
Expand Down
10 changes: 5 additions & 5 deletions examples/beerpub-apollo-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beerpub-apollo-server",
"version": "0.5.6",
"version": "0.5.7",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand All @@ -17,15 +17,15 @@
"author": "GraphQL Editor Centaur Generator",
"license": "ISC",
"dependencies": {
"@aexol/axolotl-apollo-server": "^0.5.6",
"@aexol/axolotl-core": "^0.5.6",
"@apollo/server": "^4.9.4",
"@aexol/axolotl-apollo-server": "^0.5.7",
"@aexol/axolotl-core": "^0.5.7",
"@apollo/server": "^4.11.2",
"graphql": "^16.8.1",
"node-fetch": "^3.2.10",
"ws": "^8.12.0"
},
"devDependencies": {
"@aexol/axolotl": "^0.5.6",
"@aexol/axolotl": "^0.5.7",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/beerpub-yoga/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "beerpub-yoga",
"version": "0.6.6",
"version": "0.6.7",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand All @@ -20,15 +20,15 @@
"author": "GraphQL Editor Centaur Generator",
"license": "ISC",
"dependencies": {
"@aexol/axolotl-core": "^0.5.6",
"@aexol/axolotl-graphql-yoga": "^0.5.6",
"@aexol/axolotl-core": "^0.5.7",
"@aexol/axolotl-graphql-yoga": "^0.5.7",
"graphql": "^16.8.1",
"graphql-yoga": "^5.6.3",
"node-fetch": "^3.2.10",
"ws": "^8.12.0"
},
"devDependencies": {
"@aexol/axolotl": "^0.5.6",
"@aexol/axolotl": "^0.5.7",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/yoga-federated/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yoga-federated",
"version": "0.6.6",
"version": "0.6.7",
"description": "Automatically generated by graphql-editor-cli",
"main": "lib/index.js",
"type": "module",
Expand All @@ -20,15 +20,15 @@
"author": "GraphQL Editor Centaur Generator",
"license": "ISC",
"dependencies": {
"@aexol/axolotl-core": "^0.5.6",
"@aexol/axolotl-graphql-yoga": "^0.5.6",
"@aexol/axolotl-core": "^0.5.7",
"@aexol/axolotl-graphql-yoga": "^0.5.7",
"graphql": "^16.8.1",
"graphql-yoga": "^4.0.5",
"node-fetch": "^3.2.10",
"ws": "^8.12.0"
},
"devDependencies": {
"@aexol/axolotl": "^0.5.6",
"@aexol/axolotl": "^0.5.7",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
Expand Down
4 changes: 2 additions & 2 deletions modularium/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/modularium",
"version": "0.5.6",
"version": "0.5.7",
"private": false,
"main": "./lib/index.js",
"author": "Aexol, Artur Czemiel",
Expand All @@ -17,7 +17,7 @@
"lib"
],
"dependencies": {
"@aexol/axolotl-config": "^0.5.6",
"@aexol/axolotl-config": "^0.5.7",
"chalk": "^5.3.0",
"commander": "^11.0.0"
}
Expand Down
4 changes: 2 additions & 2 deletions modularium/playground/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/modularium-playground",
"version": "0.5.6",
"version": "0.5.7",
"description": "Axolotl modularium",
"main": "lib/index.js",
"type": "module",
Expand All @@ -14,6 +14,6 @@
"author": "GraphQL Editor Centaur Generator",
"license": "ISC",
"devDependencies": {
"@aexol/modularium": "^0.5.6"
"@aexol/modularium": "^0.5.7"
}
}
10 changes: 5 additions & 5 deletions modularium/root/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aexol/modularium-root",
"version": "0.5.6",
"version": "0.5.7",
"description": "Axolotl modularium",
"main": "lib/index.js",
"type": "module",
Expand All @@ -20,19 +20,19 @@
"author": "GraphQL Editor Centaur Generator",
"license": "ISC",
"dependencies": {
"@aexol/axolotl-core": "^0.5.6",
"@aexol/axolotl-graphql-yoga": "^0.5.6",
"@aexol/axolotl-core": "^0.5.7",
"@aexol/axolotl-graphql-yoga": "^0.5.7",
"googleapis": "^140.0.1",
"graphql": "^16.8.1",
"graphql-yoga": "^4.0.5",
"graphql-yoga": "^5.10.4",
"i-graphql": "^0.1.9",
"jsonwebtoken": "^9.0.2",
"mongodb": "^6.8.0",
"node-fetch": "^3.2.10",
"ws": "^8.12.0"
},
"devDependencies": {
"@aexol/axolotl": "^0.5.6",
"@aexol/axolotl": "^0.5.7",
"@types/jsonwebtoken": "^9.0.6",
"@types/node": "^18.7.18",
"@typescript-eslint/eslint-plugin": "^7.12.0",
Expand Down
Loading

0 comments on commit 8d7e348

Please sign in to comment.