@graphql-mesh/compose-cli 1.3.10 → 1.4.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331

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.
@@ -19,7 +19,7 @@ async function getComposedSchemaFromConfig(config, logger) {
19
19
  };
20
20
  const subgraphConfigsForComposition = await Promise.all(config.subgraphs.map(async (subgraphCLIConfig) => {
21
21
  const { name: subgraphName, schema$ } = subgraphCLIConfig.sourceHandler(ctx);
22
- const log = logger.child({ subgraph: subgraphName });
22
+ const log = logger.child(`[${subgraphName}]`);
23
23
  log.debug(`Loading subgraph`);
24
24
  let subgraphSchema;
25
25
  try {
package/cjs/run.js CHANGED
@@ -41,7 +41,7 @@ async function run({ log: rootLog = new utils_1.DefaultLogger(undefined, undefin
41
41
  if (process.env.NODE_ENV === 'test')
42
42
  program = program.allowUnknownOption().allowExcessArguments();
43
43
  const opts = program.parse().opts();
44
- const log = rootLog.child(productName);
44
+ const log = rootLog.child(` ${productName}`);
45
45
  let importedConfig;
46
46
  if (!opts.configPath) {
47
47
  log.debug(`Searching for default config files`);
@@ -16,7 +16,7 @@ export async function getComposedSchemaFromConfig(config, logger) {
16
16
  };
17
17
  const subgraphConfigsForComposition = await Promise.all(config.subgraphs.map(async (subgraphCLIConfig) => {
18
18
  const { name: subgraphName, schema$ } = subgraphCLIConfig.sourceHandler(ctx);
19
- const log = logger.child({ subgraph: subgraphName });
19
+ const log = logger.child(`[${subgraphName}]`);
20
20
  log.debug(`Loading subgraph`);
21
21
  let subgraphSchema;
22
22
  try {
package/esm/run.js CHANGED
@@ -37,7 +37,7 @@ export async function run({ log: rootLog = new DefaultLogger(undefined, undefine
37
37
  if (process.env.NODE_ENV === 'test')
38
38
  program = program.allowUnknownOption().allowExcessArguments();
39
39
  const opts = program.parse().opts();
40
- const log = rootLog.child(productName);
40
+ const log = rootLog.child(` ${productName}`);
41
41
  let importedConfig;
42
42
  if (!opts.configPath) {
43
43
  log.debug(`Searching for default config files`);
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@graphql-mesh/compose-cli",
3
- "version": "1.3.10",
3
+ "version": "1.4.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
4
4
  "sideEffects": false,
5
5
  "peerDependencies": {
6
6
  "graphql": "*"
7
7
  },
8
8
  "dependencies": {
9
9
  "@commander-js/extra-typings": "^13.0.0",
10
- "@graphql-mesh/fusion-composition": "^0.7.22",
11
- "@graphql-mesh/include": "^0.2.15",
10
+ "@graphql-mesh/fusion-composition": "0.8.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
11
+ "@graphql-mesh/include": "0.3.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
12
12
  "@graphql-mesh/string-interpolation": "^0.5.8",
13
- "@graphql-mesh/types": "^0.103.16",
14
- "@graphql-mesh/utils": "^0.103.16",
13
+ "@graphql-mesh/types": "0.104.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
14
+ "@graphql-mesh/utils": "0.104.0-alpha-20250124181238-87366ee8e2a95025d881bdaba556f04d337e8331",
15
15
  "@graphql-tools/code-file-loader": "^8.1.7",
16
16
  "@graphql-tools/graphql-file-loader": "^8.0.5",
17
17
  "@graphql-tools/load": "^8.0.1",
18
18
  "@graphql-tools/schema": "^10.0.5",
19
- "@graphql-tools/utils": "^10.8.0",
19
+ "@graphql-tools/utils": "^10.6.0",
20
20
  "@whatwg-node/fetch": "^0.10.0",
21
21
  "commander": "^13.0.0",
22
22
  "dotenv": "^16.3.1"