@graphql-mesh/config 2.0.0-alpha-a034355bd.0 → 2.0.0-alpha-a952bb598.0
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/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +8 -8
package/index.js
CHANGED
|
@@ -212,7 +212,7 @@ async function processConfig(config, options) {
|
|
|
212
212
|
`export const rawServeConfig: YamlConfig.Config['serve'] = ${JSON.stringify(config.serve)} as any`,
|
|
213
213
|
`export async function getMeshOptions(): Promise<GetMeshOptions> {`,
|
|
214
214
|
];
|
|
215
|
-
const { dir, importFn = utils$1.defaultImportFn, store: providedStore, artifactsDir, additionalPackagePrefixes, } = options || {};
|
|
215
|
+
const { dir, importFn = utils$1.defaultImportFn, store: providedStore, artifactsDir, additionalPackagePrefixes = [], } = options || {};
|
|
216
216
|
if (config.require) {
|
|
217
217
|
await Promise.all(config.require.map(mod => importFn(mod)));
|
|
218
218
|
for (const mod of config.require) {
|
package/index.mjs
CHANGED
|
@@ -208,7 +208,7 @@ async function processConfig(config, options) {
|
|
|
208
208
|
`export const rawServeConfig: YamlConfig.Config['serve'] = ${JSON.stringify(config.serve)} as any`,
|
|
209
209
|
`export async function getMeshOptions(): Promise<GetMeshOptions> {`,
|
|
210
210
|
];
|
|
211
|
-
const { dir, importFn = defaultImportFn, store: providedStore, artifactsDir, additionalPackagePrefixes, } = options || {};
|
|
211
|
+
const { dir, importFn = defaultImportFn, store: providedStore, artifactsDir, additionalPackagePrefixes = [], } = options || {};
|
|
212
212
|
if (config.require) {
|
|
213
213
|
await Promise.all(config.require.map(mod => importFn(mod)));
|
|
214
214
|
for (const mod of config.require) {
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-mesh/config",
|
|
3
|
-
"version": "2.0.0-alpha-
|
|
3
|
+
"version": "2.0.0-alpha-a952bb598.0",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@graphql-mesh/runtime": "0.38.0-alpha-
|
|
6
|
+
"@graphql-mesh/runtime": "0.38.0-alpha-a952bb598.0",
|
|
7
7
|
"graphql": "*"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"@envelop/core": "2.3.3",
|
|
11
|
-
"@graphql-mesh/cache-localforage": "0.6.13-alpha-
|
|
11
|
+
"@graphql-mesh/cache-localforage": "0.6.13-alpha-a952bb598.0",
|
|
12
12
|
"@graphql-mesh/cross-helpers": "0.1.6",
|
|
13
|
-
"@graphql-mesh/merger-bare": "0.13.55-alpha-
|
|
14
|
-
"@graphql-mesh/merger-stitching": "0.15.57-alpha-
|
|
15
|
-
"@graphql-mesh/store": "0.8.16-alpha-
|
|
16
|
-
"@graphql-mesh/types": "0.75.0-alpha-
|
|
17
|
-
"@graphql-mesh/utils": "0.35.7-alpha-
|
|
13
|
+
"@graphql-mesh/merger-bare": "0.13.55-alpha-a952bb598.0",
|
|
14
|
+
"@graphql-mesh/merger-stitching": "0.15.57-alpha-a952bb598.0",
|
|
15
|
+
"@graphql-mesh/store": "0.8.16-alpha-a952bb598.0",
|
|
16
|
+
"@graphql-mesh/types": "0.75.0-alpha-a952bb598.0",
|
|
17
|
+
"@graphql-mesh/utils": "0.35.7-alpha-a952bb598.0",
|
|
18
18
|
"@graphql-tools/code-file-loader": "7.2.18",
|
|
19
19
|
"@graphql-tools/graphql-file-loader": "7.3.15",
|
|
20
20
|
"@graphql-tools/load": "7.5.14",
|