fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-11 17:45:51 +01:00
parent 686a428624
commit dc7980e619
6 changed files with 9 additions and 9 deletions

2
cli.js
View File

@ -1,4 +1,4 @@
#!/usr/bin/env node #!/usr/bin/env node
process.env.CLI_CALL = 'true'; process.env.CLI_CALL = 'true';
const cliTool = await import('./dist_ts/index'); const cliTool = await import('./dist_ts/index.js');
cliTool.runCli(); cliTool.runCli();

View File

@ -1,5 +1,5 @@
import * as early from '@pushrocks/early'; import * as early from '@pushrocks/early';
early.start('tsbuild'); early.start('tsbuild');
export * from './tsbuild.exports'; export * from './tsbuild.exports.js';
export * from './tsbuild.cli'; export * from './tsbuild.cli.js';
early.stop(); early.stop();

View File

@ -1,5 +1,5 @@
// import all the stuff we need // import all the stuff we need
import * as plugins from './tsbuild.plugins'; import * as plugins from './tsbuild.plugins.js';
import { CompilerOptions } from 'typescript'; import { CompilerOptions } from 'typescript';
export { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript'; export { CompilerOptions, ScriptTarget, ModuleKind } from 'typescript';

View File

@ -1,5 +1,5 @@
import * as plugins from './tsbuild.plugins'; import * as plugins from './tsbuild.plugins.js';
import * as tsbuild from './tsbuild.exports'; import * as tsbuild from './tsbuild.exports.js';
export const runCli = async () => { export const runCli = async () => {
const tsbuildCli = new plugins.smartcli.Smartcli(); const tsbuildCli = new plugins.smartcli.Smartcli();

View File

@ -1,5 +1,5 @@
import * as plugins from './tsbuild.plugins'; import * as plugins from './tsbuild.plugins.js';
import { compiler, CompilerOptions, mergeCompilerOptions } from './tsbuild.classes.compiler'; import { compiler, CompilerOptions, mergeCompilerOptions } from './tsbuild.classes.compiler.js';
export * from './tsbuild.classes.compiler'; export * from './tsbuild.classes.compiler';

View File

@ -2,6 +2,6 @@ import * as smartcli from '@pushrocks/smartcli';
import * as smartfile from '@pushrocks/smartfile'; import * as smartfile from '@pushrocks/smartfile';
import * as smartpath from '@pushrocks/smartpath'; import * as smartpath from '@pushrocks/smartpath';
import * as smartpromise from '@pushrocks/smartpromise'; import * as smartpromise from '@pushrocks/smartpromise';
import * as typescript from 'typescript'; import typescript from 'typescript';
export { smartcli, smartfile, smartpath, smartpromise, typescript }; export { smartcli, smartfile, smartpath, smartpromise, typescript };