@untool/core
Advanced tools
Comparing version 0.8.1 to 0.8.2
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.8.2"></a> | ||
## [0.8.2](https://github.com/untool/untool/compare/v0.8.1...v0.8.2) (2018-06-21) | ||
**Note:** Version bump only for package @untool/core | ||
<a name="0.8.1"></a> | ||
@@ -8,0 +16,0 @@ ## [0.8.1](https://github.com/untool/untool/compare/v0.8.0...v0.8.1) (2018-06-18) |
@@ -0,1 +1,2 @@ | ||
const debug = require('debug')('untool:config'); | ||
const { basename, dirname, join } = require('path'); | ||
@@ -171,6 +172,10 @@ | ||
return { | ||
const result = { | ||
...substitutePlaceholders(config), | ||
mixins: resolveMixins(rootDir, config.mixins), | ||
}; | ||
debug(result); | ||
return result; | ||
}; |
@@ -0,1 +1,2 @@ | ||
const debug = require('debug')('untool:core'); | ||
const define = require('mixinable'); | ||
@@ -20,3 +21,6 @@ | ||
}; | ||
debug(mixins.map(({ name, strategies }) => ({ [name]: strategies }))); | ||
return define(strategies)(...mixins)(config, ...args); | ||
}; |
{ | ||
"name": "@untool/core", | ||
"version": "0.8.1", | ||
"version": "0.8.2", | ||
"description": "untool core", | ||
@@ -25,2 +25,3 @@ "main": "lib/core.js", | ||
"cosmiconfig": "^5.0.5", | ||
"debug": "^3.1.0", | ||
"enhanced-resolve": "^4.0.0", | ||
@@ -31,3 +32,4 @@ "find-up": "^3.0.0", | ||
"lodash.mergewith": "^4.6.1", | ||
"mixinable": "^3.0.0" | ||
"mixinable": "^3.0.0", | ||
"supports-color": "^5.4.0" | ||
}, | ||
@@ -34,0 +36,0 @@ "engines": { |
17880
199
9
+ Addeddebug@^3.1.0
+ Addedsupports-color@^5.4.0
+ Addeddebug@3.2.7(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedsupports-color@5.5.0(transitive)