@oclif/config
Advanced tools
Comparing version 1.8.5 to 1.8.6
@@ -0,1 +1,8 @@ | ||
## [1.8.6](https://github.com/oclif/config/compare/v1.8.5...v1.8.6) (2018-10-04) | ||
### Bug Fixes | ||
* Add channel and version to config ctor options ([#60](https://github.com/oclif/config/issues/60)) ([65ce583](https://github.com/oclif/config/commit/65ce583)) | ||
## [1.8.5](https://github.com/oclif/config/compare/v1.8.4...v1.8.5) (2018-10-04) | ||
@@ -2,0 +9,0 @@ |
@@ -11,2 +11,4 @@ import { Command } from './command'; | ||
userPlugins?: boolean; | ||
channel?: string; | ||
version?: string; | ||
} | ||
@@ -13,0 +15,0 @@ export interface IConfig { |
@@ -33,4 +33,4 @@ "use strict"; | ||
this.name = this.pjson.name; | ||
this.version = this.pjson.version || '0.0.0'; | ||
this.channel = channelFromVersion(this.version); | ||
this.version = this.options.version || this.pjson.version || '0.0.0'; | ||
this.channel = this.options.channel || channelFromVersion(this.version); | ||
this.valid = plugin.valid; | ||
@@ -37,0 +37,0 @@ this.arch = (os.arch() === 'ia32' ? 'x86' : os.arch()); |
{ | ||
"name": "@oclif/config", | ||
"description": "base config object and standard interfaces for oclif components", | ||
"version": "1.8.5", | ||
"version": "1.8.6", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/oclif/config/issues", |
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
103084
1378