-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update all non-major dependencies (#5167)
* chore(deps): update all non-major dependencies * chore(dependencies): updated changesets for modified dependencies * Go * Seperate integrity check and integration test * Bette rname * Go * Go --------- 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
1 parent
0347394
commit ab08c2a
Showing
38 changed files
with
534 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/config": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/core/v/3.0.6) (from `3.0.5`, in `dependencies`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/http": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/3.7.0) (from `3.6.0`, in `dependencies`) |
5 changes: 5 additions & 0 deletions
5
.changeset/@graphql-mesh_plugin-http-details-extensions-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-http-details-extensions": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/core/v/3.0.6) (from `3.0.5`, in `dependencies`) |
5 changes: 5 additions & 0 deletions
5
.changeset/@graphql-mesh_plugin-live-query-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-live-query": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/live-query/v/5.0.6) (from `5.0.5`, in `dependencies`) |
5 changes: 5 additions & 0 deletions
5
.changeset/@graphql-mesh_plugin-newrelic-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-newrelic": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/newrelic/v/5.0.6) (from `5.0.5`, in `dependencies`) |
5 changes: 5 additions & 0 deletions
5
.changeset/@graphql-mesh_plugin-operation-field-permissions-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-operation-field-permissions": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/operation-field-permissions/v/4.0.6) (from `4.0.5`, in `dependencies`) |
6 changes: 6 additions & 0 deletions
6
.changeset/@graphql-mesh_plugin-prometheus-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@graphql-mesh/plugin-prometheus": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@graphql-yoga/[email protected]` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-prometheus/v/1.7.0) (from `1.6.1`, in `dependencies`) | ||
- Updated dependency [`[email protected]` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/3.7.0) (from `3.6.0`, in `peerDependencies`) |
5 changes: 5 additions & 0 deletions
5
.changeset/@graphql-mesh_plugin-response-cache-5167-dependencies.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-response-cache": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@graphql-yoga/[email protected]` ↗︎](https://www.npmjs.com/package/@graphql-yoga/plugin-response-cache/v/1.7.0) (from `1.6.1`, in `dependencies`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@graphql-mesh/plugin-statsd": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/statsd/v/3.0.6) (from `3.0.5`, in `dependencies`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@graphql-mesh/runtime": patch | ||
--- | ||
dependencies updates: | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/core/v/3.0.6) (from `3.0.5`, in `dependencies`) | ||
- Updated dependency [`@envelop/[email protected]` ↗︎](https://www.npmjs.com/package/@envelop/extended-validation/v/2.0.6) (from `2.0.5`, in `dependencies`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
This is a test file |
File renamed without changes.
34 changes: 0 additions & 34 deletions
34
examples/openapi-location-weather/tests/location-weather.test.js
This file was deleted.
Oops, something went wrong.
49 changes: 49 additions & 0 deletions
49
examples/openapi-location-weather/tests/location-weather.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import { join } from 'path'; | ||
import { readFile } from 'fs-extra'; | ||
import { lexicographicSortSchema, printSchema } from 'graphql'; | ||
import { findAndParseConfig } from '@graphql-mesh/cli'; | ||
import { createMeshHTTPHandler, MeshHTTPHandler } from '@graphql-mesh/http'; | ||
import { getMesh, MeshInstance } from '@graphql-mesh/runtime'; | ||
|
||
describe('Location Weather', () => { | ||
jest.setTimeout(30000); | ||
let mesh: MeshInstance; | ||
let meshHTTP: MeshHTTPHandler<any>; | ||
beforeAll(async () => { | ||
const baseDir = join(__dirname, '..'); | ||
const config = await findAndParseConfig({ | ||
dir: baseDir, | ||
}); | ||
mesh = await getMesh(config); | ||
meshHTTP = createMeshHTTPHandler({ | ||
baseDir, | ||
getBuiltMesh: async () => mesh, | ||
}); | ||
}); | ||
it('should generate correct schema', async () => { | ||
expect(printSchema(lexicographicSortSchema(mesh.schema))).toMatchSnapshot( | ||
'location-weather-schema', | ||
); | ||
}); | ||
it('should give correct response for todayForecast', async () => { | ||
const todayForecastQuery = await readFile(join(__dirname, '../example-query.graphql'), 'utf8'); | ||
const response = await meshHTTP.fetch('http://localhost:4000/graphql', { | ||
method: 'POST', | ||
headers: { | ||
'Content-Type': 'application/json', | ||
}, | ||
body: JSON.stringify({ | ||
query: todayForecastQuery, | ||
}), | ||
}); | ||
const result = await response.json(); | ||
expect(result?.data?.findCitiesUsingGET?.data?.length).toBeGreaterThan(0); | ||
const found = result.data.findCitiesUsingGET.data[0]; | ||
expect(found.name).toBe('Istanbul'); | ||
// expect(typeof found.todayForecast?.maxTemp).toBe('number'); | ||
// expect(typeof found.todayForecast?.minTemp).toBe('number'); | ||
}); | ||
afterAll(() => { | ||
mesh.destroy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.