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