@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 +1 -1
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
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(
|
|
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(
|
|
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(
|
|
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