Compare commits

..

2 Commits

Author SHA1 Message Date
9e55126adf 1.2.37 2022-06-14 21:42:07 +02:00
5271f0153e fix(core): update 2022-06-14 21:42:07 +02:00
6 changed files with 16 additions and 10 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);

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "@gitzone/tsrun",
"version": "1.2.36",
"version": "1.2.37",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@gitzone/tsrun",
"version": "1.2.36",
"version": "1.2.37",
"license": "MIT",
"dependencies": {
"@pushrocks/smartfile": "^10.0.2",

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tsrun",
"version": "1.2.36",
"version": "1.2.37",
"description": "run typescript programs efficiently",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",

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"
}
}