fix(core): update

This commit is contained in:
Philipp Kunz 2022-06-14 21:42:07 +02:00
parent ba0aaf2793
commit 5271f0153e
4 changed files with 13 additions and 7 deletions

4
cli.child.ts Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
import * as cliTool from './ts/index.js';
cliTool.runCli();

View File

@ -1,5 +1,5 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
await import('@gitzone/tsrun');
const cliTool = await import('./ts/index.js');
cliTool.runCli();
import * as tsrun from '@gitzone/tsrun';
tsrun.runPath('./cli.child.js', import.meta.url);

View File

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

View File

@ -1,7 +1,9 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "ES2022",
"target": "ES2020",
"moduleResolution": "Node12"
"moduleResolution": "nodenext"
}
}