diff --git a/changelog.md b/changelog.md index 79c28e4..073e6cc 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # 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) Add Gitea workflows for build and release. diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index ab15ac4..0f219f7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@git.zone/tsrun', - version: '1.3.0', + version: '1.3.1', description: 'run typescript programs efficiently' } diff --git a/ts/loader.ts b/ts/loader.ts index 8718114..36eb1d2 100644 --- a/ts/loader.ts +++ b/ts/loader.ts @@ -21,6 +21,7 @@ const defaultTsNodeOptions: plugins.tsNode.CreateOptions = { transpileOnly: true, }; +console.log(`tsrun is using the following options: ${JSON.stringify(defaultTsNodeOptions, null, 2)}`); export const { resolve, load, getFormat, transformSource } = plugins.tsNode.createEsmHooks( plugins.tsNode.register(defaultTsNodeOptions), ) as any;