fix(core): update

This commit is contained in:
2022-10-12 17:21:03 +02:00
parent 9e55126adf
commit 142667ac87
10 changed files with 955 additions and 2997 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@gitzone/tsrun',
version: '1.2.37',
version: '1.2.38',
description: 'run typescript programs efficiently'
}

View File

@ -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;

View File

@ -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 };