From 43818cb70b63248ca564118bf52b3388777934ff Mon Sep 17 00:00:00 2001 From: Jens Pots Date: Mon, 8 Jul 2024 15:14:09 +0200 Subject: [PATCH] feat: default export in node runner --- runners/nodejs/src/index.ts | 6 ++++++ runners/nodejs/tsconfig.json | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 runners/nodejs/src/index.ts diff --git a/runners/nodejs/src/index.ts b/runners/nodejs/src/index.ts new file mode 100644 index 0000000..02cff2d --- /dev/null +++ b/runners/nodejs/src/index.ts @@ -0,0 +1,6 @@ +import { Arguments } from "./runtime/arguments"; +import { Reader } from "./interfaces/reader"; +import { Writer } from "./interfaces/writer"; +import { Processor } from "./interfaces/processor"; + +export { Arguments, Reader, Writer, Processor }; diff --git a/runners/nodejs/tsconfig.json b/runners/nodejs/tsconfig.json index edf5b01..df35b80 100644 --- a/runners/nodejs/tsconfig.json +++ b/runners/nodejs/tsconfig.json @@ -49,10 +49,10 @@ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */ /* Emit */ - // "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, - // "declarationMap": true /* Create sourcemaps for d.ts files. */, + "declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */, + "declarationMap": true /* Create sourcemaps for d.ts files. */, // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ - // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + "sourceMap": true /* Create source map files for emitted JavaScript files. */, // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ // "outFile": "", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */ "outDir": "./build/" /* Specify an output folder for all emitted files. */,