@graphql-hive/gateway 2.0.0-next-d56e4a16201542cdbc486c0feb6d482a2a1a57a0 → 2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +96 -24
- package/dist/bin.cjs +2 -1
- package/dist/bin.js +2 -1
- package/dist/{cli-BQ10GobO.cjs → cli-3udwdx7_.cjs} +218 -21
- package/dist/{cli-CpJrCTMy.js → cli-DcLVI5BX.js} +219 -22
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +14 -2
- package/dist/index.d.ts +14 -2
- package/dist/index.js +2 -1
- package/package.json +19 -17
package/CHANGELOG.md
CHANGED
@@ -1,35 +1,96 @@
|
|
1
1
|
# @graphql-hive/gateway
|
2
2
|
|
3
|
-
## 2.0.0-next-
|
3
|
+
## 2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
4
4
|
|
5
5
|
### Major Changes
|
6
6
|
|
7
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
7
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`8273fde`](https://github.com/graphql-hive/gateway/commit/8273fde686a666fa7f974ad4f9084f8b9cb0df57) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Drop Node 18 support
|
8
8
|
|
9
9
|
Least supported Node version is now v20.
|
10
10
|
|
11
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
11
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Introduce and use the new Hive Logger
|
12
12
|
- [Read more about it on the Hive Logger documentation here.](https://the-guild.dev/graphql/hive/docs/logger)
|
13
13
|
- If coming from Hive Gateway v1, [read the migration guide here.](https://the-guild.dev/graphql/hive/docs/migration-guides/gateway-v1-v2)
|
14
14
|
|
15
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
15
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`55580af`](https://github.com/graphql-hive/gateway/commit/55580af626e67cfc618b74201ef5ea3f6fd90758) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Disable forking even if NODE_ENV=production
|
16
16
|
|
17
17
|
Forking workers for concurrent processing is a delicate process and if not done carefully can lead to performance degradations. It should be configured with careful consideration by advanced users.
|
18
18
|
|
19
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
19
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`f63ea40`](https://github.com/graphql-hive/gateway/commit/f63ea40d976638557ef72468c8773c71a8f38f8c) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Remove mocking plugin from Hive Gateway built-ins
|
20
20
|
|
21
21
|
There is no need to provide the `useMock` plugin alongside Hive Gateway built-ins. Not only is the mock plugin 2MB in size (minified), but installing and using it is very simple.
|
22
22
|
|
23
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
23
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`3699f15`](https://github.com/graphql-hive/gateway/commit/3699f15d53a26cc3bd5b5f1cec57fc6902d3884e) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Load schema on initialization
|
24
24
|
|
25
25
|
Failing to start if the schema is not loaded for whatever reason.
|
26
26
|
|
27
|
+
### Minor Changes
|
28
|
+
|
29
|
+
- [#1310](https://github.com/graphql-hive/gateway/pull/1310) [`2fa0c8f`](https://github.com/graphql-hive/gateway/commit/2fa0c8f1dd074c9da8e6ac4086eb3009be9fdf07) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - Added new `withState` plugin utility for easy data sharing between hooks.
|
30
|
+
|
31
|
+
## New plugin utility to ease data sharing between hooks
|
32
|
+
|
33
|
+
Sometimes, plugins can grow in complexity and need to share data between its hooks.
|
34
|
+
|
35
|
+
A way to solve this can be to mutate the graphql context, but this context is not always available
|
36
|
+
in all hooks in Yoga or Hive Gateway plugins. Moreover, mutating the context gives access to your
|
37
|
+
internal data to all other plugins and graphql resolvers, without mentioning performance impact on
|
38
|
+
field access on this object.
|
39
|
+
|
40
|
+
The recommended approach to this problem was to use a `WeakMap` with a stable key (often the
|
41
|
+
`context` or `request` object). While it works, it's not very convenient for plugin developers, and
|
42
|
+
is prone to error with the choice of key.
|
43
|
+
|
44
|
+
The new `withState` utility solves this DX issue by providing an easy and straightforward API for
|
45
|
+
data sharing between hooks.
|
46
|
+
|
47
|
+
```ts
|
48
|
+
import { withState } from '@graphql-hive/gateway';
|
49
|
+
|
50
|
+
type State = { foo: string };
|
51
|
+
|
52
|
+
const myPlugin = () =>
|
53
|
+
withState<Plugin, State>(() => ({
|
54
|
+
onParse({ state }) {
|
55
|
+
state.forOperation.foo = 'foo';
|
56
|
+
},
|
57
|
+
onValidate({ state }) {
|
58
|
+
const { foo } = state.forOperation;
|
59
|
+
console.log('foo', foo);
|
60
|
+
},
|
61
|
+
}));
|
62
|
+
```
|
63
|
+
|
64
|
+
The `state` payload field will be available in all relevant hooks, making it easy to access shared
|
65
|
+
data. It also forces the developer to choose the scope for the data:
|
66
|
+
- `forOperation` for a data scoped to GraphQL operation (Envelop, Yoga and Hive Gateway)
|
67
|
+
- `forRequest` for a data scoped to HTTP request (Yoga and Hive Gateway)
|
68
|
+
- `forSubgraphExecution` for a data scoped to the subgraph execution (Hive Gateway)
|
69
|
+
|
70
|
+
Not all scopes are available in all hooks, the type reflects which scopes are available
|
71
|
+
|
72
|
+
Under the hood, those states are kept in memory using `WeakMap`, which avoid any memory leaks.
|
73
|
+
|
74
|
+
It is also possible to manually retrieve the state with the `getState` function:
|
75
|
+
|
76
|
+
```ts
|
77
|
+
const myPlugin = () =>
|
78
|
+
withState((getState) => ({
|
79
|
+
onParse({ context }) {
|
80
|
+
// You can provide a payload, which will dictate which scope you have access to.
|
81
|
+
// The scope can contain `context`, `request` and `executionRequest` fields.
|
82
|
+
const state = getState({ context });
|
83
|
+
// Use the state elsewhere.
|
84
|
+
},
|
85
|
+
}));
|
86
|
+
```
|
87
|
+
|
27
88
|
### Patch Changes
|
28
89
|
|
29
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
90
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
30
91
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
31
92
|
|
32
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
93
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`b97d5d7`](https://github.com/graphql-hive/gateway/commit/b97d5d7d086dcaf140da83bf0c279e4a40b50fe2) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
33
94
|
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
|
34
95
|
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
|
35
96
|
- Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`)
|
@@ -40,10 +101,14 @@
|
|
40
101
|
- Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.202.0) (to `dependencies`)
|
41
102
|
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
|
42
103
|
|
43
|
-
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`
|
104
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`76b49db`](https://github.com/graphql-hive/gateway/commit/76b49db569d9608af80a635e7cb40b1cc7d3b313) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
44
105
|
- Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`)
|
45
106
|
- Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`)
|
46
107
|
|
108
|
+
- [#1300](https://github.com/graphql-hive/gateway/pull/1300) [`e195589`](https://github.com/graphql-hive/gateway/commit/e1955891936be30c63727f8c15e2f55318ceb6fc) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
109
|
+
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
|
110
|
+
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
|
111
|
+
|
47
112
|
- [#1318](https://github.com/graphql-hive/gateway/pull/1318) [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates:
|
48
113
|
- Updated dependency [`@graphql-yoga/render-graphiql@^5.15.1` ↗︎](https://www.npmjs.com/package/@graphql-yoga/render-graphiql/v/5.15.1) (from `^5.13.5`, in `dependencies`)
|
49
114
|
- Updated dependency [`graphql-yoga@^5.15.1` ↗︎](https://www.npmjs.com/package/graphql-yoga/v/5.15.1) (from `^5.13.5`, in `dependencies`)
|
@@ -55,10 +120,14 @@
|
|
55
120
|
- [#1325](https://github.com/graphql-hive/gateway/pull/1325) [`910ff77`](https://github.com/graphql-hive/gateway/commit/910ff777ce787297cece37ec66c3382bc292412b) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
56
121
|
- Updated dependency [`dotenv@^17.2.0` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.0) (from `^16.4.7`, in `dependencies`)
|
57
122
|
|
58
|
-
- [#
|
123
|
+
- [#1329](https://github.com/graphql-hive/gateway/pull/1329) [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d) Thanks [@dependabot](https://github.com/apps/dependabot)! - dependencies updates:
|
124
|
+
- Updated dependency [`graphql-ws@^6.0.6` ↗︎](https://www.npmjs.com/package/graphql-ws/v/6.0.6) (from `^6.0.4`, in `dependencies`)
|
125
|
+
|
126
|
+
- [#956](https://github.com/graphql-hive/gateway/pull/956) [`001c24f`](https://github.com/graphql-hive/gateway/commit/001c24fbf6de9c240a00f2cc86fc49ff75542bce) Thanks [@EmrysMyrddin](https://github.com/EmrysMyrddin)! - dependencies updates:
|
59
127
|
- Added dependency [`@graphql-hive/logger@workspace:^` ↗︎](https://www.npmjs.com/package/@graphql-hive/logger/v/workspace:^) (to `dependencies`)
|
60
128
|
- Added dependency [`@opentelemetry/api@^1.9.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api/v/1.9.0) (to `dependencies`)
|
61
129
|
- Added dependency [`@opentelemetry/api-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/api-logs/v/0.202.0) (to `dependencies`)
|
130
|
+
- Added dependency [`@opentelemetry/context-async-hooks@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-async-hooks/v/2.0.1) (to `dependencies`)
|
62
131
|
- Added dependency [`@opentelemetry/context-zone@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/context-zone/v/2.0.1) (to `dependencies`)
|
63
132
|
- Added dependency [`@opentelemetry/core@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/core/v/2.0.1) (to `dependencies`)
|
64
133
|
- Added dependency [`@opentelemetry/exporter-jaeger@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/exporter-jaeger/v/2.0.1) (to `dependencies`)
|
@@ -68,22 +137,25 @@
|
|
68
137
|
- Added dependency [`@opentelemetry/sampler-jaeger-remote@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sampler-jaeger-remote/v/0.202.0) (to `dependencies`)
|
69
138
|
- Added dependency [`@opentelemetry/sdk-logs@^0.202.0` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-logs/v/0.202.0) (to `dependencies`)
|
70
139
|
- Added dependency [`@opentelemetry/sdk-metrics@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-metrics/v/2.0.1) (to `dependencies`)
|
140
|
+
- Added dependency [`@opentelemetry/sdk-trace-base@^2.0.1` ↗︎](https://www.npmjs.com/package/@opentelemetry/sdk-trace-base/v/2.0.1) (to `dependencies`)
|
71
141
|
- Removed dependency [`@graphql-mesh/plugin-mock@^0.105.6` ↗︎](https://www.npmjs.com/package/@graphql-mesh/plugin-mock/v/0.105.6) (from `dependencies`)
|
72
142
|
|
73
|
-
-
|
74
|
-
|
75
|
-
|
76
|
-
- @graphql-
|
77
|
-
- @graphql-
|
78
|
-
- @graphql-mesh/plugin-
|
79
|
-
- @graphql-mesh/
|
80
|
-
- @graphql-mesh/
|
81
|
-
- @graphql-
|
82
|
-
- @graphql-mesh/transport-
|
83
|
-
- @graphql-mesh/
|
84
|
-
- @graphql-hive/
|
85
|
-
- @graphql-
|
86
|
-
- @graphql-hive/
|
143
|
+
- [#1333](https://github.com/graphql-hive/gateway/pull/1333) [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3) Thanks [@enisdenjo](https://github.com/enisdenjo)! - Isomorphic environment variable getter with truthy value parsing
|
144
|
+
|
145
|
+
- Updated dependencies [[`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`f12f2b7`](https://github.com/graphql-hive/gateway/commit/f12f2b78163fbef797a42b5999a0b5a8ef6b2c98), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`001c24f`](https://github.com/graphql-hive/gateway/commit/001c24fbf6de9c240a00f2cc86fc49ff75542bce), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`b97d5d7`](https://github.com/graphql-hive/gateway/commit/b97d5d7d086dcaf140da83bf0c279e4a40b50fe2), [`76b49db`](https://github.com/graphql-hive/gateway/commit/76b49db569d9608af80a635e7cb40b1cc7d3b313), [`e195589`](https://github.com/graphql-hive/gateway/commit/e1955891936be30c63727f8c15e2f55318ceb6fc), [`1d4bcd3`](https://github.com/graphql-hive/gateway/commit/1d4bcd3a417aa603e9b66ebc4b4dd000b25f9781), [`7cbe3f5`](https://github.com/graphql-hive/gateway/commit/7cbe3f5301cbdba1d160153761dfafaefc2aa107), [`eaf4735`](https://github.com/graphql-hive/gateway/commit/eaf4735e06023d2f0e393998a6d2075898bc82fc), [`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24), [`7dafdeb`](https://github.com/graphql-hive/gateway/commit/7dafdebc803e49373fe9d53997113483e512fdb0), [`001c24f`](https://github.com/graphql-hive/gateway/commit/001c24fbf6de9c240a00f2cc86fc49ff75542bce), [`7287ffa`](https://github.com/graphql-hive/gateway/commit/7287ffa2ac0f08801c3058e96a7c4eba7102c1d0), [`6215001`](https://github.com/graphql-hive/gateway/commit/6215001b1d650ad865331661532bcc4f7bad6b40), [`ce99e43`](https://github.com/graphql-hive/gateway/commit/ce99e43b9fec43c665836bd3a282ce6d4302481d), [`ffa3753`](https://github.com/graphql-hive/gateway/commit/ffa3753ccb9045c5b2d62af05edc7f1d78336cb3), [`8273fde`](https://github.com/graphql-hive/gateway/commit/8273fde686a666fa7f974ad4f9084f8b9cb0df57), [`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24), [`2fa0c8f`](https://github.com/graphql-hive/gateway/commit/2fa0c8f1dd074c9da8e6ac4086eb3009be9fdf07), [`f212e12`](https://github.com/graphql-hive/gateway/commit/f212e1289d8e0c57cb3d7ace2aca3cbbf8d38889), [`247ecfe`](https://github.com/graphql-hive/gateway/commit/247ecfe81319a4383dd33c9dba5779189e12b15d), [`9b230f3`](https://github.com/graphql-hive/gateway/commit/9b230f35b47afbf3b253e4c21720e836c5a2a8d1), [`b6c1e88`](https://github.com/graphql-hive/gateway/commit/b6c1e8812e817f616d780af4276bd7e2a7f7dbef), [`849db00`](https://github.com/graphql-hive/gateway/commit/849db001c6a8e8efeb25cc314538783a924b090e), [`c03ff30`](https://github.com/graphql-hive/gateway/commit/c03ff30aca8fab824a1e3b896f3c4359b0c84726), [`eaf4735`](https://github.com/graphql-hive/gateway/commit/eaf4735e06023d2f0e393998a6d2075898bc82fc), [`32fbb7b`](https://github.com/graphql-hive/gateway/commit/32fbb7b3aefe9228c29c6f7b2a785406f21d3e24), [`777d90b`](https://github.com/graphql-hive/gateway/commit/777d90b0ed03f113633015e48474231eda2b8398)]:
|
146
|
+
- @graphql-hive/gateway-runtime@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
147
|
+
- @graphql-hive/plugin-aws-sigv4@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
148
|
+
- @graphql-mesh/plugin-jwt-auth@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
149
|
+
- @graphql-mesh/plugin-opentelemetry@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
150
|
+
- @graphql-mesh/plugin-prometheus@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
151
|
+
- @graphql-mesh/transport-http-callback@1.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
152
|
+
- @graphql-mesh/transport-ws@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
153
|
+
- @graphql-mesh/hmac-upstream-signature@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
154
|
+
- @graphql-hive/plugin-deduplicate-request@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
155
|
+
- @graphql-mesh/transport-http@1.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
156
|
+
- @graphql-hive/importer@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
157
|
+
- @graphql-hive/pubsub@2.0.0-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
158
|
+
- @graphql-hive/logger@1.0.1-next-357c4246368d3cc93e4bd2d3df6e8a8f016491cd
|
87
159
|
|
88
160
|
## 1.15.4
|
89
161
|
|
package/dist/bin.cjs
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
require('dotenv/config');
|
4
4
|
var module$1 = require('node:module');
|
5
5
|
var logger = require('@graphql-hive/logger');
|
6
|
-
var cli = require('./cli-
|
6
|
+
var cli = require('./cli-3udwdx7_.cjs');
|
7
7
|
require('node:cluster');
|
8
8
|
require('node:os');
|
9
9
|
require('node:path');
|
@@ -18,6 +18,7 @@ require('node:fs');
|
|
18
18
|
require('node:http');
|
19
19
|
require('node:https');
|
20
20
|
require('@graphql-tools/utils');
|
21
|
+
require('@opentelemetry/sdk-trace-base');
|
21
22
|
require('@graphql-tools/code-file-loader');
|
22
23
|
require('@graphql-tools/graphql-file-loader');
|
23
24
|
require('@graphql-tools/load');
|
package/dist/bin.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
import 'dotenv/config';
|
3
3
|
import module from 'node:module';
|
4
4
|
import { Logger } from '@graphql-hive/logger';
|
5
|
-
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-
|
5
|
+
import { e as enableModuleCachingIfPossible, h as handleNodeWarnings, r as run } from './cli-DcLVI5BX.js';
|
6
6
|
import 'node:cluster';
|
7
7
|
import 'node:os';
|
8
8
|
import 'node:path';
|
@@ -17,6 +17,7 @@ import 'node:fs';
|
|
17
17
|
import 'node:http';
|
18
18
|
import 'node:https';
|
19
19
|
import '@graphql-tools/utils';
|
20
|
+
import '@opentelemetry/sdk-trace-base';
|
20
21
|
import '@graphql-tools/code-file-loader';
|
21
22
|
import '@graphql-tools/graphql-file-loader';
|
22
23
|
import '@graphql-tools/load';
|