fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-12 19:32:15 +01:00
parent 6d2d48af9d
commit 035207f4f9
6 changed files with 16 additions and 13 deletions

2
cli.js
View File

@ -1,4 +1,4 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
const cliTool = require('./dist_ts/index');
const cliTool = await import('./dist_ts/index.js');
cliTool.runCli();

4
cli.ts.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,4 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
require('@gitzone/tsrun');
const cliTool = require('./ts/index');
cliTool.runCli();
import * as tsrun from '@gitzone/tsrun';
tsrun.runPath('./cli.ts.child.js');

14
package-lock.json generated
View File

@ -21,7 +21,7 @@
"tsbuild": "cli.js"
},
"devDependencies": {
"@gitzone/tsrun": "^1.2.24",
"@gitzone/tsrun": "^1.2.26",
"@pushrocks/tapbundle": "^4.0.8",
"@types/node": "^17.0.21",
"tslint": "^6.1.3",
@ -176,9 +176,9 @@
}
},
"node_modules/@gitzone/tsrun": {
"version": "1.2.24",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.24.tgz",
"integrity": "sha512-8tbIEJguEY9iX4rJu7ntD+yd5EnqvNZu7NjOWJF6iyJrdFFZmV3p3Cl7uWfnNF6188Mym0TR+GcabtDGWqnXZw==",
"version": "1.2.26",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.26.tgz",
"integrity": "sha512-8gqZ4G9/owPa57xzbGfjjKVLglSN038bZ2O7RBTqFS0TfFjtSq3Tkn9GmndaV2mX4G0+y7dJfeShiVG4rw8YIw==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -1964,9 +1964,9 @@
}
},
"@gitzone/tsrun": {
"version": "1.2.24",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.24.tgz",
"integrity": "sha512-8tbIEJguEY9iX4rJu7ntD+yd5EnqvNZu7NjOWJF6iyJrdFFZmV3p3Cl7uWfnNF6188Mym0TR+GcabtDGWqnXZw==",
"version": "1.2.26",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.26.tgz",
"integrity": "sha512-8gqZ4G9/owPa57xzbGfjjKVLglSN038bZ2O7RBTqFS0TfFjtSq3Tkn9GmndaV2mX4G0+y7dJfeShiVG4rw8YIw==",
"dev": true,
"requires": {
"@pushrocks/smartfile": "^9.0.6",

View File

@ -37,7 +37,7 @@
"typescript": "4.7.0-dev.20220311"
},
"devDependencies": {
"@gitzone/tsrun": "^1.2.24",
"@gitzone/tsrun": "^1.2.26",
"@pushrocks/tapbundle": "^4.0.8",
"@types/node": "^17.0.21",
"tslint": "^6.1.3",

View File

@ -2,4 +2,4 @@ import * as early from '@pushrocks/early';
early.start('tsbuild');
export * from './tsbuild.exports.js';
export * from './tsbuild.cli.js';
early.stop();
early.stop();