@graphql-codegen/cli 2.6.0-alpha-aa96076e9.0 → 2.6.0-alpha-88c2fecd3.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/bin.js CHANGED
@@ -1311,7 +1311,7 @@ async function generate(input, saveToFile = true) {
1311
1311
  await context.profiler.run(async () => {
1312
1312
  await lifecycleHooks(config.hooks).beforeAllFileWrite(generationResult.map(r => r.filename));
1313
1313
  }, 'Lifecycle: beforeAllFileWrite');
1314
- await context.profiler.run(async () => await Promise.all(generationResult.map(async (result) => {
1314
+ await context.profiler.run(() => Promise.all(generationResult.map(async (result) => {
1315
1315
  const exists = await fileExists(result.filename);
1316
1316
  if (!shouldOverwrite(config, result.filename) && exists) {
1317
1317
  return;
package/index.js CHANGED
@@ -1312,7 +1312,7 @@ async function generate(input, saveToFile = true) {
1312
1312
  await context.profiler.run(async () => {
1313
1313
  await lifecycleHooks(config.hooks).beforeAllFileWrite(generationResult.map(r => r.filename));
1314
1314
  }, 'Lifecycle: beforeAllFileWrite');
1315
- await context.profiler.run(async () => await Promise.all(generationResult.map(async (result) => {
1315
+ await context.profiler.run(() => Promise.all(generationResult.map(async (result) => {
1316
1316
  const exists = await fileExists(result.filename);
1317
1317
  if (!shouldOverwrite(config, result.filename) && exists) {
1318
1318
  return;
package/index.mjs CHANGED
@@ -1285,7 +1285,7 @@ async function generate(input, saveToFile = true) {
1285
1285
  await context.profiler.run(async () => {
1286
1286
  await lifecycleHooks(config.hooks).beforeAllFileWrite(generationResult.map(r => r.filename));
1287
1287
  }, 'Lifecycle: beforeAllFileWrite');
1288
- await context.profiler.run(async () => await Promise.all(generationResult.map(async (result) => {
1288
+ await context.profiler.run(() => Promise.all(generationResult.map(async (result) => {
1289
1289
  const exists = await fileExists(result.filename);
1290
1290
  if (!shouldOverwrite(config, result.filename) && exists) {
1291
1291
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-codegen/cli",
3
- "version": "2.6.0-alpha-aa96076e9.0",
3
+ "version": "2.6.0-alpha-88c2fecd3.0",
4
4
  "peerDependencies": {
5
5
  "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
6
6
  },