Skip to content

Commit cc01355

Browse files
renovate[bot]renovate-botardatan
authored
Bump GraphQL Mesh to fix browser compatibility issues (#40)
* Update all non-major dependencies * Fix TS * Fix Browser compatibility issues * Revert wrong files Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Arda TANRIKULU <ardatanrikulu@gmail.com>
1 parent 1e937f7 commit cc01355

File tree

11 files changed

+407
-496
lines changed

11 files changed

+407
-496
lines changed

.changeset/thick-months-add.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@graphprotocol/client-cli': patch
3+
---
4+
5+
Fix Browser compatibility issues

examples/apollo/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"react-dom": "^17.0.2",
1515
"@graphprotocol/client-apollo": "0.0.2",
1616
"@apollo/client": "3.5.10",
17-
"graphql": "16.3.0",
18-
"rollup-plugin-node-polyfills": "0.2.1"
17+
"graphql": "16.3.0"
1918
},
2019
"devDependencies": {
2120
"@graphprotocol/client-cli": "0.0.3",

examples/apollo/vite.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
resolve: {
8-
alias: {
9-
path: 'rollup-plugin-node-polyfills/polyfills/path',
10-
events: 'rollup-plugin-node-polyfills/polyfills/events',
11-
},
12-
},
137
})

examples/composition/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
},
1111
"dependencies": {
1212
"@graphprotocol/client-cli": "0.0.3",
13-
"@graphql-mesh/transform-prefix": "0.11.12",
14-
"@graphql-mesh/transform-rename": "0.12.12",
15-
"@graphql-mesh/transform-type-merging": "0.3.22",
13+
"@graphql-mesh/transform-prefix": "0.11.32",
14+
"@graphql-mesh/transform-rename": "0.12.33",
15+
"@graphql-mesh/transform-type-merging": "0.3.43",
1616
"concurrently": "7.0.0",
1717
"nodemon": "2.0.15",
1818
"ts-node": "10.5.0",

examples/execute/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
"dependencies": {
1313
"react": "^17.0.2",
1414
"react-dom": "^17.0.2",
15-
"graphql": "16.3.0",
16-
"rollup-plugin-node-polyfills": "0.2.1"
15+
"graphql": "16.3.0"
1716
},
1817
"devDependencies": {
1918
"@graphprotocol/client-cli": "0.0.3",

examples/execute/vite.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
resolve: {
8-
alias: {
9-
path: 'rollup-plugin-node-polyfills/polyfills/path',
10-
events: 'rollup-plugin-node-polyfills/polyfills/events',
11-
},
12-
},
137
})

examples/urql/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"react-dom": "^17.0.2",
1515
"@graphprotocol/client-urql": "0.0.2",
1616
"urql": "2.2.0",
17-
"graphql": "16.3.0",
18-
"rollup-plugin-node-polyfills": "0.2.1"
17+
"graphql": "16.3.0"
1918
},
2019
"devDependencies": {
2120
"@graphprotocol/client-cli": "0.0.3",

examples/urql/vite.config.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ import react from '@vitejs/plugin-react'
44
// https://vitejs.dev/config/
55
export default defineConfig({
66
plugins: [react()],
7-
resolve: {
8-
alias: {
9-
path: 'rollup-plugin-node-polyfills/polyfills/path',
10-
events: 'rollup-plugin-node-polyfills/polyfills/events',
11-
},
12-
},
137
})

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"access": "public"
5050
},
5151
"dependencies": {
52-
"@graphql-mesh/cli": "0.66.2",
53-
"@graphql-mesh/graphql": "0.23.2",
52+
"@graphql-mesh/cli": "0.67.6",
53+
"@graphql-mesh/graphql": "0.23.7",
5454
"tslib": "2.3.1"
5555
},
5656
"devDependencies": {

packages/cli/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ export function graphqlClientCLI() {
1515
buildArtifactsCommand: 'build',
1616
sourceServerCommand: 'serve-source',
1717
validateCommand: 'validate',
18+
additionalPackagePrefixes: ['@graphprotocol/client-'],
1819
})
1920
}

0 commit comments

Comments
 (0)