@anycli/engine
Advanced tools
Comparing version 0.1.33 to 0.1.34
@@ -0,1 +1,9 @@ | ||
<a name="0.1.34"></a> | ||
## [0.1.34](https://github.com/anycli/engine/compare/5837220359df4dd2ed7bf45fcd26c753931e5e71...v0.1.34) (2018-01-31) | ||
### Bug Fixes | ||
* remove peer deps ([066748c](https://github.com/anycli/engine/commit/066748c)) | ||
<a name="0.1.33"></a> | ||
@@ -2,0 +10,0 @@ ## [0.1.33](https://github.com/anycli/engine/compare/cf7c3d78536d90687cd768c9d1179d84930aa53e...v0.1.33) (2018-01-31) |
import CommandBase from '@anycli/command'; | ||
import * as Config from '@anycli/config'; | ||
import Engine from './engine'; | ||
export default class Command extends CommandBase { | ||
static parse: boolean; | ||
engine: Config.IEngine; | ||
constructor(args: string[], opts: Config.ICommandOptions); | ||
engine: Engine; | ||
run(): Promise<void>; | ||
protected commandNotFound(id: string): Promise<void>; | ||
} |
@@ -6,7 +6,8 @@ "use strict"; | ||
class Command extends command_1.default { | ||
constructor(args, opts) { | ||
super(args, opts); | ||
this.engine = this.config.engine = new engine_1.default(); | ||
constructor() { | ||
super(...arguments); | ||
this.engine = new engine_1.default(); | ||
} | ||
async run() { | ||
this.config.engine = this.engine; | ||
await this.engine.load(this.config); | ||
@@ -13,0 +14,0 @@ const id = this.argv[0]; |
{ | ||
"name": "@anycli/engine", | ||
"description": "main anycli component", | ||
"version": "0.1.33", | ||
"version": "0.1.34", | ||
"author": "Jeff Dickey @jdxcode", | ||
"anycli": { | ||
"devPlugins": [ | ||
"@anycli/help", | ||
"@anycli/not-found", | ||
"@anycli/version", | ||
"@anycli/plugins" | ||
] | ||
}, | ||
"bugs": "https://github.com/anycli/engine/issues", | ||
"dependencies": { | ||
"@anycli/command": "^0.2.17", | ||
"@anycli/config": "^0.2.3", | ||
"@anycli/manifest-file": "^0.2.0", | ||
@@ -16,4 +26,2 @@ "cli-ux": "^3.3.10", | ||
"devDependencies": { | ||
"@anycli/command": "^0.2.17", | ||
"@anycli/config": "^0.2.3", | ||
"@anycli/help": "^0.3.0", | ||
@@ -47,10 +55,2 @@ "@anycli/not-found": "^0.1.6", | ||
}, | ||
"anycli": { | ||
"devPlugins": [ | ||
"@anycli/help", | ||
"@anycli/not-found", | ||
"@anycli/version", | ||
"@anycli/plugins" | ||
] | ||
}, | ||
"engines": { | ||
@@ -68,6 +68,2 @@ "node": ">=8.0.0" | ||
"main": "lib/index.js", | ||
"peerDependencies": { | ||
"@anycli/command": "^0.1.18", | ||
"@anycli/config": "^0.1.26" | ||
}, | ||
"repository": "anycli/engine", | ||
@@ -74,0 +70,0 @@ "scripts": { |
27637
27
+ Added@anycli/command@^0.2.17
+ Added@anycli/config@^0.2.3
+ Added@anycli/command@0.2.25(transitive)
+ Added@anycli/config@0.2.11(transitive)
+ Added@anycli/parser@3.2.6(transitive)
+ Addedtslib@1.14.1(transitive)
- Removed@anycli/config@0.1.41(transitive)