@graphql-mesh/cli 0.90.7 β 0.90.8
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/index.js +3 -1
- package/esm/index.js +3 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -25,7 +25,9 @@ Object.defineProperty(exports, "findAndParseConfig", { enumerable: true, get: fu
|
|
|
25
25
|
const handleFatalError_js_1 = require("./handleFatalError.js");
|
|
26
26
|
Object.defineProperty(exports, "handleFatalError", { enumerable: true, get: function () { return handleFatalError_js_1.handleFatalError; } });
|
|
27
27
|
// Note: required to make build command compatible with esm
|
|
28
|
-
(
|
|
28
|
+
if (node_module_1.register) {
|
|
29
|
+
(0, node_module_1.register)('ts-node/esm', (0, node_url_1.pathToFileURL)('./'));
|
|
30
|
+
}
|
|
29
31
|
exports.DEFAULT_CLI_PARAMS = {
|
|
30
32
|
commandName: 'mesh',
|
|
31
33
|
initialLoggerPrefix: 'πΈοΈ Mesh',
|
package/esm/index.js
CHANGED
|
@@ -17,7 +17,9 @@ import { generateTsArtifacts } from './commands/ts-artifacts.js';
|
|
|
17
17
|
import { findAndParseConfig } from './config.js';
|
|
18
18
|
import { handleFatalError } from './handleFatalError.js';
|
|
19
19
|
// Note: required to make build command compatible with esm
|
|
20
|
-
|
|
20
|
+
if (register) {
|
|
21
|
+
register('ts-node/esm', pathToFileURL('./'));
|
|
22
|
+
}
|
|
21
23
|
export { generateTsArtifacts, serveMesh, findAndParseConfig, handleFatalError };
|
|
22
24
|
export const DEFAULT_CLI_PARAMS = {
|
|
23
25
|
commandName: 'mesh',
|