@boll/cli
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Tue, 01 Sep 2020 19:30:07 GMT", | ||
"date": "Tue, 01 Sep 2020 21:30:57 GMT", | ||
"tag": "@boll/cli_v0.0.14", | ||
"version": "0.0.14", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "config extending should use file globs too", | ||
"author": "jdh@microsoft.com", | ||
"commit": "44708d47fe09a14afcaef7f86adc3ddfa2a092d4", | ||
"package": "@boll/cli" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 01 Sep 2020 19:30:14 GMT", | ||
"tag": "@boll/cli_v0.0.13", | ||
@@ -8,0 +23,0 @@ "version": "0.0.13", |
# Change Log - @boll/cli | ||
This log was last generated on Tue, 01 Sep 2020 19:30:07 GMT and should not be manually modified. | ||
This log was last generated on Tue, 01 Sep 2020 21:30:57 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## 0.0.14 | ||
Tue, 01 Sep 2020 21:30:57 GMT | ||
### Patches | ||
- config extending should use file globs too (jdh@microsoft.com) | ||
## 0.0.13 | ||
Tue, 01 Sep 2020 19:30:07 GMT | ||
Tue, 01 Sep 2020 19:30:14 GMT | ||
@@ -11,0 +19,0 @@ ### Patches |
@@ -35,5 +35,6 @@ "use strict"; | ||
Config.prototype.buildFileGlob = function () { | ||
var config = this.resolvedConfiguration(); | ||
return new glob_1.TypescriptSourceGlob({ | ||
include: this.configuration.include || [], | ||
exclude: this.configuration.exclude || [], | ||
include: config.include || [], | ||
exclude: config.exclude || [], | ||
}); | ||
@@ -40,0 +41,0 @@ }; |
@@ -110,4 +110,18 @@ "use strict"; | ||
}; | ||
Object.defineProperty(TypescriptSourceGlob.prototype, "include", { | ||
get: function () { | ||
return this.options.include || []; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
Object.defineProperty(TypescriptSourceGlob.prototype, "exclude", { | ||
get: function () { | ||
return this.options.exclude || []; | ||
}, | ||
enumerable: false, | ||
configurable: true | ||
}); | ||
return TypescriptSourceGlob; | ||
}()); | ||
exports.TypescriptSourceGlob = TypescriptSourceGlob; |
@@ -113,1 +113,9 @@ "use strict"; | ||
}); | ||
exports.test("should apply exclude/include across extended config", function () { | ||
var configRegistry = new config_registry_1.ConfigRegistry(); | ||
configRegistry.register({ name: "base", exclude: ["testme"] }); | ||
var config = new config_1.Config(configRegistry, new rule_registry_1.RuleRegistry()); | ||
config.load({ extends: "base" }); | ||
var suite = config.buildSuite(); | ||
assert.deepEqual(suite.fileGlob.exclude, ["testme"]); | ||
}); |
{ | ||
"name": "@boll/cli", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "> TODO: description", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/microsoft/boll#readme", |
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
132395
2639