Skip to content

Commit

Permalink
fix(deps): update all non-major dependencies (#733)
Browse files Browse the repository at this point in the history
* fix(deps): update all non-major dependencies

* chore(dependencies): updated changesets for modified dependencies

* Fix

* Node 22 support

* Disable for now

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Arda TANRIKULU <[email protected]>
  • Loading branch information
3 people authored Jul 26, 2024
1 parent f3a2fdb commit 6b42266
Show file tree
Hide file tree
Showing 21 changed files with 198 additions and 157 deletions.
5 changes: 5 additions & 0 deletions .changeset/@graphprotocol_client-cli-733-dependencies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphprotocol/client-cli': patch
---
dependencies updates:
- Updated dependency [`@graphql-mesh/cli@^0.91.0` ↗︎](https://www.npmjs.com/package/@graphql-mesh/cli/v/0.91.0) (from `^0.90.0`, in `dependencies`)
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 21]
node-version: [18, 20, 22]
steps:
- name: Checkout Repository
uses: actions/checkout@v4
Expand All @@ -32,8 +32,8 @@ jobs:
- name: Node.js integrity check
run: yarn bob check

- name: Test example ESM Build
run: yarn workspace javascript-esm-example run build-client
# - name: Test example ESM Build
# run: yarn workspace javascript-esm-example run build-client

- name: Test example CJS Build
run: yarn workspace javascript-cjs-example run build-client
# - name: Test example CJS Build
# run: yarn workspace javascript-cjs-example run build-client
4 changes: 2 additions & 2 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
npmTag: alpha
buildScript: build
nodeVersion: 16
nodeVersion: 22
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
Expand All @@ -28,7 +28,7 @@ jobs:
with:
npmTag: rc
buildScript: build
nodeVersion: 16
nodeVersion: 22
restoreDeletedChangesets: true
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
with:
releaseScript: release
nodeVersion: 18
nodeVersion: 22
secrets:
githubToken: ${{ secrets.GUILD_BOT_TOKEN }}
npmToken: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions examples/apollo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"graphiql": "graphclient serve-dev"
},
"dependencies": {
"@apollo/client": "3.10.5",
"@apollo/client": "3.10.6",
"@graphprotocol/client-apollo": "2.0.3",
"graphql": "16.8.2",
"graphql": "16.9.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/auto-pagination-multiple-sources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"dependencies": {
"@graphprotocol/client-cli": "3.0.3",
"concurrently": "8.2.2",
"graphql": "16.8.2",
"graphql": "16.9.0",
"nodemon": "3.1.4",
"ts-node": "10.9.2",
"typescript": "5.5.2"
},
"devDependencies": {
"@types/node": "20.14.6"
"@types/node": "20.14.8"
}
}
2 changes: 1 addition & 1 deletion examples/cross-chain-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"dependencies": {
"@graphprotocol/client-add-source-name": "2.0.3",
"@graphprotocol/client-cli": "3.0.3",
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/cross-chain-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"dependencies": {
"@graphprotocol/client-add-source-name": "2.0.3",
"@graphprotocol/client-cli": "3.0.3",
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/execute/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build-client": "graphclient build"
},
"dependencies": {
"graphql": "16.8.2",
"graphql": "16.9.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/javascript-cjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@graphprotocol/client-cli": "3.0.3",
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/javascript-esm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
},
"dependencies": {
"@graphprotocol/client-cli": "3.0.3",
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/live-queries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"dependencies": {
"@graphprotocol/client-cli": "3.0.3",
"@graphprotocol/client-polling-live": "2.0.1",
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
2 changes: 1 addition & 1 deletion examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@graphprotocol/client-cli": "3.0.3",
"@types/node": "20.14.6",
"@types/node": "20.14.8",
"@types/react": "18.3.3",
"eslint": "9.5.0",
"eslint-config-next": "14.2.4",
Expand Down
4 changes: 2 additions & 2 deletions examples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"dependencies": {
"@graphprotocol/client-cli": "3.0.3",
"concurrently": "8.2.2",
"graphql": "16.8.2",
"graphql": "16.9.0",
"nodemon": "3.1.4",
"ts-node": "10.9.2",
"typescript": "5.5.2"
},
"devDependencies": {
"@types/node": "20.14.6"
"@types/node": "20.14.8"
}
}
4 changes: 2 additions & 2 deletions examples/react-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"graphiql": "graphclient serve-dev"
},
"dependencies": {
"@tanstack/react-query": "5.45.1",
"graphql": "16.8.2",
"@tanstack/react-query": "5.48.0",
"graphql": "16.9.0",
"react": "18.3.1",
"react-dom": "18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/urql-live-query/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@graphprotocol/client-urql": "2.0.3",
"graphql": "16.8.2",
"graphql": "16.9.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"urql": "4.1.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/urql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@graphprotocol/client-urql": "2.0.3",
"graphql": "16.8.2",
"graphql": "16.9.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"urql": "4.1.0"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"babel-plugin-parameter-decorator": "1.0.16",
"babel-plugin-transform-typescript-metadata": "0.3.2",
"bob-the-bundler": "7.0.1",
"graphql": "16.8.2",
"graphql": "16.9.0",
"husky": "9.0.11",
"jest": "29.7.0",
"prettier": "3.3.2",
Expand All @@ -64,6 +64,6 @@
"ts-jest": "29.1.5"
},
"resolutions": {
"graphql": "16.8.2"
"graphql": "16.9.0"
}
}
8 changes: 4 additions & 4 deletions packages/block-tracking/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ import {
getNewBlockNumberFromExecutionResult,
transformExecutionRequest,
} from './shared.js'
import { FusiongraphPlugin } from '@graphql-mesh/fusion-runtime'
import { UnifiedGraphPlugin } from '@graphql-mesh/fusion-runtime'

export function useBlockTracking(configInput?: Partial<BlockTrackingConfig>): FusiongraphPlugin {
export function useBlockTracking(configInput?: Partial<BlockTrackingConfig>): UnifiedGraphPlugin {
const config: BlockTrackingConfig = {
...DEFAULT_CONFIG,
...configInput,
}
const minBlockMap = new Map<string, number>()
return {
onSubgraphExecute({ fusiongraph, subgraphName, executionRequest, setExecutionRequest }) {
onSubgraphExecute({ subgraph, subgraphName, executionRequest, setExecutionRequest }) {
setExecutionRequest(
transformExecutionRequest(executionRequest, config, fusiongraph, false, minBlockMap.get(subgraphName)),
transformExecutionRequest(executionRequest, config, subgraph, false, minBlockMap.get(subgraphName)),
)
function handleResult(result: ExecutionResult) {
const newBlockNumber = getNewBlockNumberFromExecutionResult(result, config)
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"access": "public"
},
"dependencies": {
"@graphql-mesh/cli": "^0.90.0",
"@graphql-mesh/cli": "^0.91.0",
"@graphql-mesh/graphql": "^0.98.0",
"tslib": "^2.4.0",
"@graphprotocol/client-auto-pagination": "^2.0.3",
Expand Down
Loading

0 comments on commit 6b42266

Please sign in to comment.