Skip to content

Commit

Permalink
feat: add GraphQL 16 support (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
tgriesser authored Feb 17, 2022
1 parent e901beb commit 0d06f26
Show file tree
Hide file tree
Showing 76 changed files with 4,153 additions and 2,916 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@ on:
- pull_request

jobs:
graphql-14:
graphql-15:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/setup-node@v1
with:
node-version: 12.x
- name: Install Dependencies
run: yarn --frozen-lockfile || yarn --frozen-lockfile
- name: Check Formatting
run: yarn format:ci
- name: Install GraphQL@14.x
run: yarn add graphql@^14.5.8
run: yarn --frozen-lockfile && yarn format:ci
- name: Install GraphQL@15.x
run: yarn add graphql@^15
- name: Test
run: yarn -s test:ci --testPathIgnorePatterns v15
run: yarn -s test:ci

test:
strategy:
Expand Down
4 changes: 2 additions & 2 deletions examples/apollo-fullstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"apollo-server-testing": "^2.18.1",
"dedent": "^0.7.0",
"fullstack-tutorial": "apollographql/fullstack-tutorial.git",
"graphql": "^15.3.0",
"graphql": "^16.3.0",
"graphql-tools": "^4.0.7",
"isemail": "^3.2.0",
"nexus": "^1.0.0",
Expand All @@ -39,6 +39,6 @@
"node-fetch": "^2.2.1",
"prettier": "^1.19.1",
"ts-node-dev": "^1.0.0-pre.30",
"typescript": "^3.9"
"typescript": "^4.5.5"
}
}
13 changes: 9 additions & 4 deletions examples/apollo-fullstack/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3169,6 +3169,11 @@ graphql@^15.3.0:
resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.3.0.tgz#3ad2b0caab0d110e3be4a5a9b2aa281e362b5278"
integrity sha512-GTCJtzJmkFLWRfFJuoo9RWWa/FfamUHgiFosxi/X1Ani4AVWbeyBenZTNX6dM+7WSbbFfTo/25eh0LLkwHMw2w==

graphql@^16.3.0:
version "16.3.0"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.3.0.tgz#a91e24d10babf9e60c706919bb182b53ccdffc05"
integrity sha512-xm+ANmA16BzCT5pLjuXySbQVFwH3oJctUVdy81w1sV0vBU0KgDdBGtxQOUd5zqOBk/JayAFeG8Dlmeq74rjm/A==

growly@^1.2.0, growly@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
Expand Down Expand Up @@ -6799,10 +6804,10 @@ type-is@~1.6.17, type-is@~1.6.18:
media-typer "0.3.0"
mime-types "~2.1.24"

typescript@^3.9:
version "3.9.7"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.7.tgz#98d600a5ebdc38f40cb277522f12dc800e9e25fa"
integrity sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==
typescript@^4.5.5:
version "4.5.5"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.5.tgz#d8c953832d28924a9e3d37c73d729c846c5896f3"
integrity sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==

uglify-js@^3.1.4:
version "3.4.9"
Expand Down
4 changes: 2 additions & 2 deletions examples/ghost/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dataloader": "tgriesser/dataloader.git#ts-types",
"express": "^4.16.4",
"ghost": "^3.35.3",
"graphql": "^15.3.0",
"graphql": "^16.3.0",
"graphql-scalars": "^1.2.6",
"graphql-tools": "^4.0.7",
"knex": "^0.19.5",
Expand All @@ -27,6 +27,6 @@
"prettier": "^1.19.1",
"ts-node": "^8.0.2",
"ts-node-dev": "^1.0.0-pre.30",
"typescript": "^3.9"
"typescript": "^4.5.5"
}
}
Loading

0 comments on commit 0d06f26

Please sign in to comment.