fix(core): update
This commit is contained in:
parent
686a428624
commit
dc7980e619
2
cli.js
2
cli.js
@ -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();
|
||||||
|
@ -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();
|
@ -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';
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
@ -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';
|
||||||
|
|
||||||
|
@ -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 };
|
||||||
|
Loading…
Reference in New Issue
Block a user