fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@gitzone/tsrun',
|
||||
version: '1.2.37',
|
||||
version: '1.2.38',
|
||||
description: 'run typescript programs efficiently'
|
||||
}
|
||||
|
@ -15,7 +15,9 @@ const defaultTsNodeOptions: plugins.tsNode.CreateOptions = {
|
||||
} as CompilerOptions,
|
||||
esm: true,
|
||||
skipIgnore: true,
|
||||
transpileOnly: true
|
||||
transpileOnly: true,
|
||||
};
|
||||
|
||||
export const { resolve, load, getFormat, transformSource } = plugins.tsNode.createEsmHooks(plugins.tsNode.register(defaultTsNodeOptions)) as any;
|
||||
export const { resolve, load, getFormat, transformSource } = plugins.tsNode.createEsmHooks(
|
||||
plugins.tsNode.register(defaultTsNodeOptions)
|
||||
) as any;
|
||||
|
@ -2,21 +2,14 @@
|
||||
import * as path from 'path';
|
||||
import * as url from 'url';
|
||||
|
||||
export {
|
||||
path,
|
||||
url
|
||||
}
|
||||
export { path, url };
|
||||
|
||||
// @pushrocks scope
|
||||
import * as smartshell from '@pushrocks/smartshell';
|
||||
|
||||
export {
|
||||
smartshell
|
||||
}
|
||||
export { smartshell };
|
||||
|
||||
// third party scope
|
||||
import * as tsNode from 'ts-node';
|
||||
|
||||
export {
|
||||
tsNode
|
||||
}
|
||||
export { tsNode };
|
||||
|
Reference in New Issue
Block a user