Compare commits

..

4 Commits

Author SHA1 Message Date
c5c295f42d 1.0.32 2020-06-01 19:58:15 +00:00
4602fed130 fix(core): update 2020-06-01 19:58:15 +00:00
a6ecf1d530 1.0.31 2020-06-01 19:52:25 +00:00
22703f261c fix(core): update 2020-06-01 19:52:24 +00:00
5 changed files with 13 additions and 14 deletions

3
cli.js
View File

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

View File

@ -1,4 +1,5 @@
#!/usr/bin/env node
process.env.CLI_CALL = 'true';
require('@gitzone/tsrun');
require('./ts/index');
const cliTool = require('./ts/index');
cliTool.runCli();

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tstest",
"version": "1.0.30",
"version": "1.0.32",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@ -1281,9 +1281,9 @@
}
},
"@gitzone/tsrun": {
"version": "1.2.10",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.10.tgz",
"integrity": "sha512-o9u8uPvC7hKNCmZlsvz37EnoiuvmP6B9EFOgZXR7b/brWHgnbv7hJJeeCLWqISE60jXx+cUC8jU5mil5yoEcHQ==",
"version": "1.2.12",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsrun/-/tsrun-1.2.12.tgz",
"integrity": "sha512-xR+Ry3dj1L4fR72cYgEAmlE9colXXSPNg0i2jRJFudGO7ZqeGn+mPDOXmg/g7RbEd1wa9uJepgsOy4IlC9JB+g==",
"requires": {
"@pushrocks/smartfile": "^7.0.12",
"ts-node": "^8.10.2",

View File

@ -1,6 +1,6 @@
{
"name": "@gitzone/tstest",
"version": "1.0.30",
"version": "1.0.32",
"private": false,
"description": "a test utility to run tests that match test/**/*.ts",
"main": "dist_ts/index.js",
@ -24,7 +24,7 @@
},
"dependencies": {
"@gitzone/tsbundle": "^1.0.69",
"@gitzone/tsrun": "^1.2.10",
"@gitzone/tsrun": "^1.2.12",
"@pushrocks/consolecolor": "^2.0.1",
"@pushrocks/smartfile": "^7.0.6",
"@pushrocks/smartlog": "^2.0.19",

View File

@ -1,9 +1,6 @@
import { TsTest } from './tstest.classes.tstest';
const cliRun = async () => {
if (process.env.CLI_CALL) {
const tsTestInstance = new TsTest(process.cwd(), process.argv[2]);
await tsTestInstance.run();
}
export const runCli = async () => {
const tsTestInstance = new TsTest(process.cwd(), process.argv[2]);
await tsTestInstance.run();
};
cliRun();