fix(core): update
This commit is contained in:
parent
6d2d48af9d
commit
035207f4f9
2
cli.js
2
cli.js
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
process.env.CLI_CALL = 'true';
|
process.env.CLI_CALL = 'true';
|
||||||
const cliTool = require('./dist_ts/index');
|
const cliTool = await import('./dist_ts/index.js');
|
||||||
cliTool.runCli();
|
cliTool.runCli();
|
||||||
|
4
cli.ts.child.ts
Normal file
4
cli.ts.child.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/usr/bin/env node
|
||||||
|
process.env.CLI_CALL = 'true';
|
||||||
|
import * as cliTool from './ts/index.js';
|
||||||
|
cliTool.runCli();
|
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
process.env.CLI_CALL = 'true';
|
process.env.CLI_CALL = 'true';
|
||||||
require('@gitzone/tsrun');
|
import * as tsrun from '@gitzone/tsrun';
|
||||||
const cliTool = require('./ts/index');
|
tsrun.runPath('./cli.ts.child.js');
|
||||||
cliTool.runCli();
|
|
14
package-lock.json
generated
14
package-lock.json
generated
@ -21,7 +21,7 @@
|
|||||||
"tsbuild": "cli.js"
|
"tsbuild": "cli.js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsrun": "^1.2.24",
|
"@gitzone/tsrun": "^1.2.26",
|
||||||
"@pushrocks/tapbundle": "^4.0.8",
|
"@pushrocks/tapbundle": "^4.0.8",
|
||||||
"@types/node": "^17.0.21",
|
"@types/node": "^17.0.21",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
@ -176,9 +176,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@gitzone/tsrun": {
|
"node_modules/@gitzone/tsrun": {
|
||||||
"version": "1.2.24",
|
"version": "1.2.26",
|
||||||
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.24.tgz",
|
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.26.tgz",
|
||||||
"integrity": "sha512-8tbIEJguEY9iX4rJu7ntD+yd5EnqvNZu7NjOWJF6iyJrdFFZmV3p3Cl7uWfnNF6188Mym0TR+GcabtDGWqnXZw==",
|
"integrity": "sha512-8gqZ4G9/owPa57xzbGfjjKVLglSN038bZ2O7RBTqFS0TfFjtSq3Tkn9GmndaV2mX4G0+y7dJfeShiVG4rw8YIw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -1964,9 +1964,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@gitzone/tsrun": {
|
"@gitzone/tsrun": {
|
||||||
"version": "1.2.24",
|
"version": "1.2.26",
|
||||||
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.24.tgz",
|
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.26.tgz",
|
||||||
"integrity": "sha512-8tbIEJguEY9iX4rJu7ntD+yd5EnqvNZu7NjOWJF6iyJrdFFZmV3p3Cl7uWfnNF6188Mym0TR+GcabtDGWqnXZw==",
|
"integrity": "sha512-8gqZ4G9/owPa57xzbGfjjKVLglSN038bZ2O7RBTqFS0TfFjtSq3Tkn9GmndaV2mX4G0+y7dJfeShiVG4rw8YIw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@pushrocks/smartfile": "^9.0.6",
|
"@pushrocks/smartfile": "^9.0.6",
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"typescript": "4.7.0-dev.20220311"
|
"typescript": "4.7.0-dev.20220311"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@gitzone/tsrun": "^1.2.24",
|
"@gitzone/tsrun": "^1.2.26",
|
||||||
"@pushrocks/tapbundle": "^4.0.8",
|
"@pushrocks/tapbundle": "^4.0.8",
|
||||||
"@types/node": "^17.0.21",
|
"@types/node": "^17.0.21",
|
||||||
"tslint": "^6.1.3",
|
"tslint": "^6.1.3",
|
||||||
|
Loading…
Reference in New Issue
Block a user