Skip to content

Commit 06c6105

Browse files
chore(deps-dev): bump the graphql group with 3 updates (#760)
* chore(deps-dev): bump the graphql group with 3 updates Bumps the graphql group with 3 updates: [@graphql-codegen/cli](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/graphql-codegen-cli), [@graphql-codegen/client-preset](https://github.com/dotansimha/graphql-code-generator/tree/HEAD/packages/presets/client) and [graphql](https://github.com/graphql/graphql-js). Updates `@graphql-codegen/cli` from 6.3.1 to 7.0.0 - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/graphql-codegen-cli/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/cli@7.0.0/packages/graphql-codegen-cli) Updates `@graphql-codegen/client-preset` from 5.3.0 to 6.0.0 - [Release notes](https://github.com/dotansimha/graphql-code-generator/releases) - [Changelog](https://github.com/dotansimha/graphql-code-generator/blob/master/packages/presets/client/CHANGELOG.md) - [Commits](https://github.com/dotansimha/graphql-code-generator/commits/@graphql-codegen/client-preset@6.0.0/packages/presets/client) Updates `graphql` from 16.13.2 to 16.14.0 - [Release notes](https://github.com/graphql/graphql-js/releases) - [Commits](graphql/graphql-js@v16.13.2...v16.14.0) --- updated-dependencies: - dependency-name: "@graphql-codegen/cli" dependency-version: 7.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: graphql - dependency-name: "@graphql-codegen/client-preset" dependency-version: 6.0.0 dependency-type: direct:development update-type: version-update:semver-major dependency-group: graphql - dependency-name: graphql dependency-version: 16.14.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: graphql ... Signed-off-by: dependabot[bot] <support@github.com> * fix type errors * chore: changeset --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Andy Kenward <4893048+andykenward@users.noreply.github.com>
1 parent 44b9e8f commit 06c6105

13 files changed

Lines changed: 643 additions & 37330 deletions

File tree

.changeset/brown-owls-bathe.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github-actions-cloudflare-pages": patch
3+
---
4+
5+
chore(deps-dev): upgrade @graphql-codegen/client-preset from 5.3.0 to 6.0.0

.changeset/five-melons-attend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github-actions-cloudflare-pages": patch
3+
---
4+
5+
chore(deps-dev): bump graphql from 16.13.2 to 16.14.0

.changeset/ripe-tips-lie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"github-actions-cloudflare-pages": patch
3+
---
4+
5+
chore(deps-dev): upgrade @graphql-codegen/cli from 6.3.1 to 7.0.0

__generated__/gql/graphql.ts

Lines changed: 81 additions & 36601 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

__tests__/common/batch-delete.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ describe('batch-delete', () => {
7878
},
7979
{
8080
data: {
81+
deleteIssueComment: {
82+
clientMutationId: null
83+
},
8184
deleteDeployment: {
8285
clientMutationId: 'DE_kwDOJn0nrM5U35aT'
8386
}

__tests__/common/github/environment.test.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ describe('environment', () => {
177177
[
178178
{
179179
repository: {
180-
environment: null
180+
environment: null,
181+
ref: null
181182
}
182183
},
183184
[
@@ -212,7 +213,7 @@ describe('environment', () => {
212213
[
213214
{
214215
repository: {
215-
environment: undefined,
216+
environment: null,
216217
ref: {
217218
id: 'MDg6Q2hlY2tSdW4xMjM0NTY3ODk='
218219
}
@@ -229,7 +230,7 @@ describe('environment', () => {
229230
name: 'unlike-dev (Preview)',
230231
id: 'EN_kwDOJn0nrM5D_l8n'
231232
},
232-
ref: undefined
233+
ref: null
233234
}
234235
}
235236
],

__tests__/scripts/sync-readme-versions.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ describe(getLatestRelease, () => {
165165
test('throws on non-ok HTTP response', async () => {
166166
mockApi.interceptGithub<LatestReleaseQuery, LatestReleaseQueryVariables>(
167167
{query: QueryLatestRelease, variables: VARIABLES},
168-
{data: {}},
168+
{data: {} as LatestReleaseQuery},
169169
401
170170
)
171171

@@ -177,7 +177,10 @@ describe(getLatestRelease, () => {
177177
test('throws when GraphQL errors are present', async () => {
178178
mockApi.interceptGithub<LatestReleaseQuery, LatestReleaseQueryVariables>(
179179
{query: QueryLatestRelease, variables: VARIABLES},
180-
{data: {}, errors: [{type: 'NOT_FOUND', message: 'Not found'}]}
180+
{
181+
data: {} as LatestReleaseQuery,
182+
errors: [{type: 'NOT_FOUND', message: 'Not found'}]
183+
}
181184
)
182185

183186
await expect(getLatestRelease()).rejects.toThrow('GitHub API errors')

dist/delete/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/deploy/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

graphql.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const config: CodegenConfig = {
99
'__generated__/gql/': {
1010
preset: 'client',
1111
config: {
12+
enumType: 'native',
1213
useTypeImports: true,
1314
immutableTypes: true,
1415
dedupeFragments: true,

0 commit comments

Comments
 (0)