Skip to content
This repository was archived by the owner on Feb 4, 2018. It is now read-only.

Commit 0951d52

Browse files
committed
fix: add valid flag
1 parent 6c1ade3 commit 0951d52

File tree

3 files changed

+12
-10
lines changed

3 files changed

+12
-10
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"cli-ux": "^3.3.13",
1818
"debug": "^3.1.0",
1919
"fs-extra": "^5.0.0",
20-
"fs-extra-debug": "^1.0.1",
20+
"fs-extra-debug": "^1.0.4",
2121
"globby": "^7.1.1",
2222
"lodash": "^4.17.4",
2323
"semver": "^5.5.0"
2424
},
2525
"devDependencies": {
2626
"@anycli/command": "^0.3.10",
27-
"@anycli/config": "^0.3.2",
27+
"@anycli/config": "^0.3.3",
2828
"@anycli/plugin-help": "^0.5.0",
2929
"@anycli/plugin-not-found": "^0.1.14",
3030
"@anycli/plugin-plugins": "^0.2.8",

src/engine.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ export default class Engine implements IEngine {
134134
plugins.push(..._(await Promise.all(promises)).compact().flatMap().value() as IPlugin[])
135135
}
136136

137+
const manifest = await this.getPluginManifest(config, opts)
138+
137139
return {
138140
name,
139141
version,
@@ -144,7 +146,8 @@ export default class Engine implements IEngine {
144146
hooks: config.hooksTS || config.hooks,
145147
topics: [],
146148
plugins,
147-
manifest: await this.getPluginManifest(config, opts),
149+
manifest,
150+
valid: true,
148151
}
149152
}
150153

yarn.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@
3232
lodash "^4.17.4"
3333
tslib "^1.9.0"
3434

35-
"@anycli/config@^0.3.2":
36-
version "0.3.2"
37-
resolved "https://registry.npmjs.org/@anycli/config/-/config-0.3.2.tgz#61e4da1631de63d5c39ad7d2c4382785e0017b3f"
35+
"@anycli/config@^0.3.3":
36+
version "0.3.3"
37+
resolved "https://registry.npmjs.org/@anycli/config/-/config-0.3.3.tgz#6a497fe7f70e6ba9199b399a20b143df25a22558"
3838
dependencies:
39-
cli-ux "^3.3.13"
4039
debug "^3.1.0"
4140
fs-extra "^5.0.0"
4241
load-json-file "^4.0.0"
@@ -798,9 +797,9 @@ flat-cache@^1.2.1:
798797
graceful-fs "^4.1.2"
799798
write "^0.2.1"
800799

801-
fs-extra-debug@^1.0.1:
802-
version "1.0.1"
803-
resolved "https://registry.npmjs.org/fs-extra-debug/-/fs-extra-debug-1.0.1.tgz#d42141210afffa35da3b168dd92f52c64ba5f23c"
800+
fs-extra-debug@^1.0.4:
801+
version "1.0.4"
802+
resolved "https://registry.npmjs.org/fs-extra-debug/-/fs-extra-debug-1.0.4.tgz#5efa3bd2a7ef6753fa79cfd810aab36445fa4788"
804803
dependencies:
805804
debug "^3.1.0"
806805

0 commit comments

Comments
 (0)