From dc7980e619e4cc315fc4b2508e20533342d2b142 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 11 Mar 2022 17:45:51 +0100 Subject: [PATCH] fix(core): update --- cli.js | 2 +- ts/index.ts | 4 ++-- ts/tsbuild.classes.compiler.ts | 2 +- ts/tsbuild.cli.ts | 4 ++-- ts/tsbuild.exports.ts | 4 ++-- ts/tsbuild.plugins.ts | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cli.js b/cli.js index 8c1a248..b854fb3 100644 --- a/cli.js +++ b/cli.js @@ -1,4 +1,4 @@ #!/usr/bin/env node process.env.CLI_CALL = 'true'; -const cliTool = await import('./dist_ts/index'); +const cliTool = await import('./dist_ts/index.js'); cliTool.runCli(); diff --git a/ts/index.ts b/ts/index.ts index 818c916..3cfdfba 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,5 +1,5 @@ import * as early from '@pushrocks/early'; early.start('tsbuild'); -export * from './tsbuild.exports'; -export * from './tsbuild.cli'; +export * from './tsbuild.exports.js'; +export * from './tsbuild.cli.js'; early.stop(); \ No newline at end of file diff --git a/ts/tsbuild.classes.compiler.ts b/ts/tsbuild.classes.compiler.ts index 1a4b8b9..074e7df 100644 --- a/ts/tsbuild.classes.compiler.ts +++ b/ts/tsbuild.classes.compiler.ts @@ -1,5 +1,5 @@ // import all the stuff we need -import * as plugins from './tsbuild.plugins'; +import * as plugins from './tsbuild.plugins.js'; import { CompilerOptions } from 'typescript'; export { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript'; diff --git a/ts/tsbuild.cli.ts b/ts/tsbuild.cli.ts index d98be4c..8f53b7e 100644 --- a/ts/tsbuild.cli.ts +++ b/ts/tsbuild.cli.ts @@ -1,5 +1,5 @@ -import * as plugins from './tsbuild.plugins'; -import * as tsbuild from './tsbuild.exports'; +import * as plugins from './tsbuild.plugins.js'; +import * as tsbuild from './tsbuild.exports.js'; export const runCli = async () => { const tsbuildCli = new plugins.smartcli.Smartcli(); diff --git a/ts/tsbuild.exports.ts b/ts/tsbuild.exports.ts index 4e54ffd..b843d7b 100644 --- a/ts/tsbuild.exports.ts +++ b/ts/tsbuild.exports.ts @@ -1,5 +1,5 @@ -import * as plugins from './tsbuild.plugins'; -import { compiler, CompilerOptions, mergeCompilerOptions } from './tsbuild.classes.compiler'; +import * as plugins from './tsbuild.plugins.js'; +import { compiler, CompilerOptions, mergeCompilerOptions } from './tsbuild.classes.compiler.js'; export * from './tsbuild.classes.compiler'; diff --git a/ts/tsbuild.plugins.ts b/ts/tsbuild.plugins.ts index c8944f7..c9efc8a 100644 --- a/ts/tsbuild.plugins.ts +++ b/ts/tsbuild.plugins.ts @@ -2,6 +2,6 @@ import * as smartcli from '@pushrocks/smartcli'; import * as smartfile from '@pushrocks/smartfile'; import * as smartpath from '@pushrocks/smartpath'; import * as smartpromise from '@pushrocks/smartpromise'; -import * as typescript from 'typescript'; +import typescript from 'typescript'; export { smartcli, smartfile, smartpath, smartpromise, typescript };