Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brown-owls-bathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github-actions-cloudflare-pages": patch
---

chore(deps-dev): upgrade @graphql-codegen/client-preset from 5.3.0 to 6.0.0
5 changes: 5 additions & 0 deletions .changeset/five-melons-attend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github-actions-cloudflare-pages": patch
---

chore(deps-dev): bump graphql from 16.13.2 to 16.14.0
5 changes: 5 additions & 0 deletions .changeset/ripe-tips-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"github-actions-cloudflare-pages": patch
---

chore(deps-dev): upgrade @graphql-codegen/cli from 6.3.1 to 7.0.0
36,682 changes: 81 additions & 36,601 deletions __generated__/gql/graphql.ts

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions __tests__/common/batch-delete.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ describe('batch-delete', () => {
},
{
data: {
deleteIssueComment: {
clientMutationId: null
},
deleteDeployment: {
clientMutationId: 'DE_kwDOJn0nrM5U35aT'
}
Expand Down
7 changes: 4 additions & 3 deletions __tests__/common/github/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ describe('environment', () => {
[
{
repository: {
environment: null
environment: null,
ref: null
}
},
[
Expand Down Expand Up @@ -212,7 +213,7 @@ describe('environment', () => {
[
{
repository: {
environment: undefined,
environment: null,
ref: {
id: 'MDg6Q2hlY2tSdW4xMjM0NTY3ODk='
}
Expand All @@ -229,7 +230,7 @@ describe('environment', () => {
name: 'unlike-dev (Preview)',
id: 'EN_kwDOJn0nrM5D_l8n'
},
ref: undefined
ref: null
}
}
],
Expand Down
7 changes: 5 additions & 2 deletions __tests__/scripts/sync-readme-versions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ describe(getLatestRelease, () => {
test('throws on non-ok HTTP response', async () => {
mockApi.interceptGithub<LatestReleaseQuery, LatestReleaseQueryVariables>(
{query: QueryLatestRelease, variables: VARIABLES},
{data: {}},
{data: {} as LatestReleaseQuery},
401
)

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

await expect(getLatestRelease()).rejects.toThrow('GitHub API errors')
Expand Down
4 changes: 2 additions & 2 deletions dist/delete/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/deploy/index.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions graphql.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const config: CodegenConfig = {
'__generated__/gql/': {
preset: 'client',
config: {
enumType: 'native',
useTypeImports: true,
immutableTypes: true,
dedupeFragments: true,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"all": "node bin/sync-versions.ts && pnpm run knip && pnpm run codegen && pnpm run codegen:events && pnpm run tsc:check && pnpm run format && pnpm run lint && pnpm run test && pnpm run build",
"build": "rm -rf ./dist/* && node ./esbuild.config.js",
"changeset": "changeset",
"codegen": "graphql-codegen-esm --config graphql.config.ts",
"codegen": "graphql-codegen --config graphql.config.ts",
"codegen:events": "tsx bin/codegen/index.ts && pnpm run format",
"codegen:watch": "pnpm run codegen --watch",
"deployments:delete": "tsx bin/deployments/index.ts",
Expand Down Expand Up @@ -54,8 +54,8 @@
"@changesets/changelog-github": "0.6.0",
"@changesets/cli": "2.31.0",
"@cloudflare/types": "7.0.0",
"@graphql-codegen/cli": "6.3.1",
"@graphql-codegen/client-preset": "5.3.0",
"@graphql-codegen/cli": "7.0.0",
"@graphql-codegen/client-preset": "6.0.0",
"@graphql-typed-document-node/core": "3.2.0",
"@octokit/webhooks-schemas": "7.6.1",
"@octokit/webhooks-types": "7.6.1",
Expand All @@ -65,7 +65,7 @@
"@types/node": "24.12.2",
"dotenv": "17.3.1",
"esbuild": "0.28.0",
"graphql": "16.13.2",
"graphql": "16.14.0",
"graphql-tag": "2.12.6",
"knip": "6.7.0",
"oxfmt": "0.47.0",
Expand Down
Loading