fix(core): Add console.log to show ts-node options in use
This commit is contained in:
parent
3a68f74c4e
commit
c3e3b2d050
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2024-10-27 - 1.3.1 - fix(core)
|
||||||
|
Add console.log to show ts-node options in use
|
||||||
|
|
||||||
|
- Added a console log statement in the ts/loader.ts to display the default ts-node options being used.
|
||||||
|
|
||||||
## 2024-10-27 - 1.3.0 - feat(ci)
|
## 2024-10-27 - 1.3.0 - feat(ci)
|
||||||
Add Gitea workflows for build and release.
|
Add Gitea workflows for build and release.
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@git.zone/tsrun',
|
name: '@git.zone/tsrun',
|
||||||
version: '1.3.0',
|
version: '1.3.1',
|
||||||
description: 'run typescript programs efficiently'
|
description: 'run typescript programs efficiently'
|
||||||
}
|
}
|
||||||
|
@ -21,6 +21,7 @@ const defaultTsNodeOptions: plugins.tsNode.CreateOptions = {
|
|||||||
transpileOnly: true,
|
transpileOnly: true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.log(`tsrun is using the following options: ${JSON.stringify(defaultTsNodeOptions, null, 2)}`);
|
||||||
export const { resolve, load, getFormat, transformSource } = plugins.tsNode.createEsmHooks(
|
export const { resolve, load, getFormat, transformSource } = plugins.tsNode.createEsmHooks(
|
||||||
plugins.tsNode.register(defaultTsNodeOptions),
|
plugins.tsNode.register(defaultTsNodeOptions),
|
||||||
) as any;
|
) as any;
|
||||||
|
Loading…
Reference in New Issue
Block a user