@graphql-codegen/cli 2.9.0 → 2.9.2-alpha-3adb19f71.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/cjs/cli.js +0 -1
- package/cjs/codegen.js +1 -0
- package/cjs/hooks.js +1 -0
- package/esm/cli.js +0 -1
- package/esm/codegen.js +2 -1
- package/esm/hooks.js +1 -0
- package/package.json +1 -1
package/cjs/cli.js
CHANGED
package/cjs/codegen.js
CHANGED
|
@@ -318,6 +318,7 @@ async function executeCodegen(input) {
|
|
|
318
318
|
newErr.stack = `${newErr.stack}\n\n${executedContext.errors.map(subErr => subErr.stack).join('\n\n')}`;
|
|
319
319
|
throw newErr;
|
|
320
320
|
}
|
|
321
|
+
(0, debugging_js_1.printLogs)();
|
|
321
322
|
return result;
|
|
322
323
|
}
|
|
323
324
|
exports.executeCodegen = executeCodegen;
|
package/cjs/hooks.js
CHANGED
package/esm/cli.js
CHANGED
package/esm/codegen.js
CHANGED
|
@@ -4,7 +4,7 @@ import { AggregateError } from '@graphql-tools/utils';
|
|
|
4
4
|
import { GraphQLError } from 'graphql';
|
|
5
5
|
import { getPluginByName } from './plugins.js';
|
|
6
6
|
import { getPresetByName } from './presets.js';
|
|
7
|
-
import { debugLog } from './utils/debugging.js';
|
|
7
|
+
import { debugLog, printLogs } from './utils/debugging.js';
|
|
8
8
|
import { ensureContext, shouldEmitLegacyCommonJSImports } from './config.js';
|
|
9
9
|
import fs from 'fs';
|
|
10
10
|
import path from 'path';
|
|
@@ -314,5 +314,6 @@ export async function executeCodegen(input) {
|
|
|
314
314
|
newErr.stack = `${newErr.stack}\n\n${executedContext.errors.map(subErr => subErr.stack).join('\n\n')}`;
|
|
315
315
|
throw newErr;
|
|
316
316
|
}
|
|
317
|
+
printLogs();
|
|
317
318
|
return result;
|
|
318
319
|
}
|
package/esm/hooks.js
CHANGED