Comparing version 0.2.1 to 0.2.2
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.2.2"></a> | ||
## [0.2.2](https://github.com/Igmat/baset/compare/v0.2.1...v0.2.2) (2018-01-22) | ||
### Bug Fixes | ||
* **Core:** Adding beautifier for JSON output and using relative pathes in console ([bc81077](https://github.com/Igmat/baset/commit/bc81077)) | ||
<a name="0.2.1"></a> | ||
@@ -8,0 +19,0 @@ ## [0.2.1](https://github.com/Igmat/baset/compare/v0.2.0...v0.2.1) (2018-01-18) |
@@ -12,3 +12,2 @@ "use strict"; | ||
const glob = require("glob-promise"); | ||
const path = require("path"); | ||
const acceptCommand = { | ||
@@ -28,3 +27,3 @@ command: ['accept'], | ||
const baselines = yield glob(argv.bases + '.tmp'); | ||
baset_core_1.accept(baselines.map(base => path.resolve(base))); | ||
baset_core_1.accept(baselines); | ||
}), | ||
@@ -31,0 +30,0 @@ }; |
@@ -12,3 +12,2 @@ "use strict"; | ||
const glob = require("glob-promise"); | ||
const path = require("path"); | ||
const testCommand = { | ||
@@ -34,3 +33,3 @@ command: 'test', | ||
const [specs, baselines] = yield Promise.all([glob(argv.specs), glob(argv.bases)]); | ||
baset_core_1.test(specs.map(spec => path.resolve(spec)), baselines.map(base => path.resolve(base))); | ||
baset_core_1.test(specs, baselines); | ||
}), | ||
@@ -37,0 +36,0 @@ }; |
{ | ||
"name": "baset-cli", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "", | ||
@@ -19,2 +19,3 @@ "main": "dist/index.js", | ||
"@types/yargs": "^10.0.1", | ||
"baset": "^0.2.2", | ||
"tslint": "^5.9.1", | ||
@@ -24,3 +25,3 @@ "typescript": "^2.6.2" | ||
"dependencies": { | ||
"baset-core": "^0.2.1", | ||
"baset-core": "^0.2.2", | ||
"glob": "^7.1.2", | ||
@@ -27,0 +28,0 @@ "glob-promise": "^3.3.0", |
import { accept } from 'baset-core'; | ||
import * as glob from 'glob-promise'; | ||
import * as path from 'path'; | ||
import { CommandModule } from 'yargs'; | ||
@@ -20,5 +19,5 @@ | ||
const baselines = await glob(argv.bases + '.tmp'); | ||
accept(baselines.map(base => path.resolve(base))); | ||
accept(baselines); | ||
}, | ||
}; | ||
export = acceptCommand; |
import { test } from 'baset-core'; | ||
import * as glob from 'glob-promise'; | ||
import * as path from 'path'; | ||
import { CommandModule } from 'yargs'; | ||
@@ -26,7 +25,5 @@ | ||
const [specs, baselines] = await Promise.all([glob(argv.specs), glob(argv.bases)]); | ||
test( | ||
specs.map(spec => path.resolve(spec)), | ||
baselines.map(base => path.resolve(base))); | ||
test(specs, baselines); | ||
}, | ||
}; | ||
export = testCommand; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9785
6
183
Updatedbaset-core@^0.2.2