@graphql-mesh/config 8.0.34 → 8.0.35-alpha-20221126112426-2a7d1e362

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.
Files changed (3) hide show
  1. package/index.js +3 -2
  2. package/index.mjs +3 -2
  3. package/package.json +8 -8
package/index.js CHANGED
@@ -334,7 +334,7 @@ async function processConfig(config, options) {
334
334
  importCodes.add(`import { MeshTransform, MeshPlugin } from '@graphql-mesh/types';`);
335
335
  codes.add(`const transforms: MeshTransform[] = [];`);
336
336
  codes.add(`const additionalEnvelopPlugins: MeshPlugin<any>[] = [];`);
337
- const [sources, transforms, additionalEnvelopPlugins, additionalTypeDefs, additionalResolvers, documents] = await Promise.all([
337
+ const [sources, transforms, additionalEnvelopPlugins, additionalTypeDefs, additionalResolvers, documents,] = await Promise.all([
338
338
  Promise.all(config.sources.map(async (source, sourceIndex) => {
339
339
  const handlerName = Object.keys(source.handler)[0].toString();
340
340
  const handlerConfig = source.handler[handlerName];
@@ -490,7 +490,8 @@ async function processConfig(config, options) {
490
490
  }
491
491
  else {
492
492
  Object.keys(possiblePluginFactory).forEach(importName => {
493
- if (importName.toString().startsWith('use') && typeof possiblePluginFactory[importName] === 'function') {
493
+ if (importName.toString().startsWith('use') &&
494
+ typeof possiblePluginFactory[importName] === 'function') {
494
495
  pluginFactory = possiblePluginFactory[importName];
495
496
  importName = importName.toString();
496
497
  if (options.generateCode) {
package/index.mjs CHANGED
@@ -330,7 +330,7 @@ async function processConfig(config, options) {
330
330
  importCodes.add(`import { MeshTransform, MeshPlugin } from '@graphql-mesh/types';`);
331
331
  codes.add(`const transforms: MeshTransform[] = [];`);
332
332
  codes.add(`const additionalEnvelopPlugins: MeshPlugin<any>[] = [];`);
333
- const [sources, transforms, additionalEnvelopPlugins, additionalTypeDefs, additionalResolvers, documents] = await Promise.all([
333
+ const [sources, transforms, additionalEnvelopPlugins, additionalTypeDefs, additionalResolvers, documents,] = await Promise.all([
334
334
  Promise.all(config.sources.map(async (source, sourceIndex) => {
335
335
  const handlerName = Object.keys(source.handler)[0].toString();
336
336
  const handlerConfig = source.handler[handlerName];
@@ -486,7 +486,8 @@ async function processConfig(config, options) {
486
486
  }
487
487
  else {
488
488
  Object.keys(possiblePluginFactory).forEach(importName => {
489
- if (importName.toString().startsWith('use') && typeof possiblePluginFactory[importName] === 'function') {
489
+ if (importName.toString().startsWith('use') &&
490
+ typeof possiblePluginFactory[importName] === 'function') {
490
491
  pluginFactory = possiblePluginFactory[importName];
491
492
  importName = importName.toString();
492
493
  if (options.generateCode) {
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@graphql-mesh/config",
3
- "version": "8.0.34",
3
+ "version": "8.0.35-alpha-20221126112426-2a7d1e362",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
- "@graphql-mesh/runtime": "^0.44.35",
6
+ "@graphql-mesh/runtime": "0.44.36-alpha-20221126112426-2a7d1e362",
7
7
  "graphql": "*"
8
8
  },
9
9
  "dependencies": {
10
10
  "@envelop/core": "3.0.4",
11
- "@graphql-mesh/cache-localforage": "0.6.62",
11
+ "@graphql-mesh/cache-localforage": "0.6.63-alpha-20221126112426-2a7d1e362",
12
12
  "@graphql-mesh/cross-helpers": "0.2.10",
13
- "@graphql-mesh/merger-bare": "0.15.49",
14
- "@graphql-mesh/merger-stitching": "0.17.9",
15
- "@graphql-mesh/store": "0.8.64",
16
- "@graphql-mesh/types": "0.87.0",
17
- "@graphql-mesh/utils": "0.42.8",
13
+ "@graphql-mesh/merger-bare": "0.15.50-alpha-20221126112426-2a7d1e362",
14
+ "@graphql-mesh/merger-stitching": "0.17.10-alpha-20221126112426-2a7d1e362",
15
+ "@graphql-mesh/store": "0.8.65-alpha-20221126112426-2a7d1e362",
16
+ "@graphql-mesh/types": "0.87.1-alpha-20221126112426-2a7d1e362",
17
+ "@graphql-mesh/utils": "0.42.9-alpha-20221126112426-2a7d1e362",
18
18
  "@graphql-tools/code-file-loader": "7.3.13",
19
19
  "@graphql-tools/graphql-file-loader": "7.5.11",
20
20
  "@graphql-tools/load": "7.8.6",