Skip to content

Commit 6536efd

Browse files
committedFeb 2, 2018
fix: write plugin manifest
1 parent a077641 commit 6536efd

File tree

3 files changed

+90
-22
lines changed

3 files changed

+90
-22
lines changed
 

‎.circleci/greenkeeper

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ if [[ ! -x "$(command -v greenkeeper-lockfile-update)" ]]; then
2121
fi
2222

2323
greenkeeper-lockfile-update
24-
yarn install
24+
yarn
2525
greenkeeper-lockfile-upload

‎package.json

+10-7
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
},
1515
"bugs": "https://github.com/anycli/plugin-plugins/issues",
1616
"dependencies": {
17-
"@anycli/command": "^0.3.6",
17+
"@anycli/command": "^0.3.7",
1818
"@anycli/manifest-file": "^0.3.8",
1919
"@heroku-cli/color": "^1.1.3",
2020
"chalk": "^2.3.0",
21-
"cli-ux": "^3.3.12",
21+
"cli-ux": "^3.3.13",
2222
"debug": "^3.1.0",
2323
"fs-extra": "^5.0.0",
2424
"http-call": "^5.0.2",
@@ -28,10 +28,11 @@
2828
"yarn": "^1.3.2"
2929
},
3030
"devDependencies": {
31-
"@anycli/config": "^0.2.11",
32-
"@anycli/engine": "^0.2.0",
33-
"@anycli/plugin-help": "^0.3.7",
34-
"@anycli/plugin-version": "^0.1.20",
31+
"@anycli/config": "^0.3.0",
32+
"@anycli/dev-cli": "^0.1.2",
33+
"@anycli/engine": "^0.3.1",
34+
"@anycli/plugin-help": "^0.4.1",
35+
"@anycli/plugin-version": "^0.1.29",
3536
"@anycli/test": "^0.10.3",
3637
"@anycli/tslint": "^0.2.2",
3738
"@types/chai": "^4.1.2",
@@ -55,6 +56,7 @@
5556
"node": ">=8.0.0"
5657
},
5758
"files": [
59+
".anycli.manifest.json",
5860
"/lib"
5961
],
6062
"homepage": "https://github.com/anycli/plugin-plugins",
@@ -67,8 +69,9 @@
6769
"scripts": {
6870
"build": "rm -rf lib && tsc",
6971
"lint": "concurrently -p command \"eslint .\" \"tsc -p test --noEmit\" \"tslint -p test\"",
72+
"postpublish": "rm .anycli.manifest.json",
7073
"posttest": "yarn run lint",
71-
"prepublishOnly": "yarn run build",
74+
"prepublishOnly": "yarn run build && anycli-dev manifest > .anycli.manifest.json",
7275
"test": "mocha --forbid-only \"test/**/*.test.ts\""
7376
},
7477
"types": "lib/index.d.ts"

‎yarn.lock

+79-14
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,17 @@
22
# yarn lockfile v1
33

44

5-
"@anycli/command@^0.3.5", "@anycli/command@^0.3.6":
5+
"@anycli/command@^0.3.4", "@anycli/command@^0.3.7":
6+
version "0.3.7"
7+
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.7.tgz#293c366ed8227fcdc675e278a46d8f93435526a5"
8+
dependencies:
9+
"@anycli/parser" "^3.0.4"
10+
cli-ux "^3.3.13"
11+
debug "^3.1.0"
12+
lodash "^4.17.4"
13+
tslib "^1.9.0"
14+
15+
"@anycli/command@^0.3.5":
616
version "0.3.6"
717
resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.6.tgz#02aadc38cee7bc4acb2069732cb1591dfc339c29"
818
dependencies:
@@ -12,9 +22,9 @@
1222
lodash "^4.17.4"
1323
tslib "^1.9.0"
1424

15-
"@anycli/config@^0.2.11":
16-
version "0.2.11"
17-
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.2.11.tgz#1b043946b18e159e6e44195aa4fef309b79f8ede"
25+
"@anycli/config@^0.3.0":
26+
version "0.3.0"
27+
resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.3.0.tgz#a0938488e7afc507d69ec13a8e52c71aaecc08ea"
1828
dependencies:
1929
cli-ux "^3.3.10"
2030
debug "^3.1.0"
@@ -23,12 +33,25 @@
2333
lodash "^4.17.4"
2434
read-pkg "^3.0.0"
2535

26-
"@anycli/engine@^0.2.0":
27-
version "0.2.0"
28-
resolved "https://registry.yarnpkg.com/@anycli/engine/-/engine-0.2.0.tgz#4db6bbf655082983de773b2a2cd06848001bae59"
36+
"@anycli/dev-cli@^0.1.2":
37+
version "0.1.2"
38+
resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.1.2.tgz#61dfe4bf7f038425ace0ef903828c6e169e434fa"
39+
dependencies:
40+
"@anycli/command" "^0.3.7"
41+
"@anycli/config" "^0.3.0"
42+
"@anycli/engine" "^0.3.0"
43+
"@anycli/plugin-help" "^0.4.0"
44+
"@anycli/plugin-not-found" "^0.1.10"
45+
"@anycli/plugin-version" "^0.1.20"
46+
cli-ux "^3.3.13"
47+
fs-extra "^5.0.0"
48+
49+
"@anycli/engine@^0.3.0", "@anycli/engine@^0.3.1":
50+
version "0.3.1"
51+
resolved "https://registry.yarnpkg.com/@anycli/engine/-/engine-0.3.1.tgz#c352d9cc73e66759ddc88c72da2907f1e1a0d553"
2952
dependencies:
3053
"@anycli/manifest-file" "^0.3.8"
31-
cli-ux "^3.3.12"
54+
cli-ux "^3.3.13"
3255
debug "^3.1.0"
3356
fs-extra "^5.0.0"
3457
globby "^7.1.1"
@@ -54,27 +77,43 @@
5477
chalk "^2.3.0"
5578
lodash "^4.17.4"
5679

57-
"@anycli/plugin-help@^0.3.7":
58-
version "0.3.7"
59-
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.3.7.tgz#aefde35b0b49b1598e893ed83910955bd24419ef"
80+
"@anycli/plugin-help@^0.4.0", "@anycli/plugin-help@^0.4.1":
81+
version "0.4.1"
82+
resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.4.1.tgz#ee8aaaa8cf611f77d10725a6f5e27163e4ff95c4"
6083
dependencies:
61-
"@anycli/command" "^0.3.6"
84+
"@anycli/command" "^0.3.7"
6285
"@anycli/screen" "^0.0.3"
6386
chalk "^2.3.0"
64-
cli-ux "^3.3.12"
87+
cli-ux "^3.3.13"
6588
indent-string "^3.2.0"
6689
lodash "^4.17.4"
6790
string-width "^2.1.1"
6891
widest-line "^2.0.0"
6992
wrap-ansi "^3.0.1"
7093

94+
"@anycli/plugin-not-found@^0.1.10":
95+
version "0.1.10"
96+
resolved "https://registry.yarnpkg.com/@anycli/plugin-not-found/-/plugin-not-found-0.1.10.tgz#3d99f748a7a025aaa89486b2eec08481fb7d6789"
97+
dependencies:
98+
"@anycli/command" "^0.3.4"
99+
"@heroku-cli/color" "^1.1.3"
100+
cli-ux "^3.3.12"
101+
string-similarity "^1.2.0"
102+
71103
"@anycli/plugin-version@^0.1.20":
72104
version "0.1.20"
73105
resolved "https://registry.yarnpkg.com/@anycli/plugin-version/-/plugin-version-0.1.20.tgz#c0b3bc5711d33bc7a71ef0264611165aab64ae3c"
74106
dependencies:
75107
"@anycli/command" "^0.3.5"
76108
cli-ux "^3.3.12"
77109

110+
"@anycli/plugin-version@^0.1.29":
111+
version "0.1.29"
112+
resolved "https://registry.yarnpkg.com/@anycli/plugin-version/-/plugin-version-0.1.29.tgz#954759841472d875578b5486d2b828e2f928795c"
113+
dependencies:
114+
"@anycli/command" "^0.3.7"
115+
cli-ux "^3.3.13"
116+
78117
"@anycli/screen@^0.0.3":
79118
version "0.0.3"
80119
resolved "https://registry.yarnpkg.com/@anycli/screen/-/screen-0.0.3.tgz#f0afd970c3ed725702948a45a874ede1fdd9362e"
@@ -398,6 +437,26 @@ cli-ux@^3.3.12:
398437
strip-ansi "^4.0.0"
399438
supports-color "^5.1.0"
400439

440+
cli-ux@^3.3.13:
441+
version "3.3.13"
442+
resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.13.tgz#123e0c7a29d1f743447b919500a9055486992df6"
443+
dependencies:
444+
"@anycli/screen" "^0.0.3"
445+
"@heroku/linewrap" "^1.0.0"
446+
ansi-styles "^3.2.0"
447+
cardinal "^1.0.0"
448+
chalk "^2.3.0"
449+
clean-stack "^1.3.0"
450+
extract-stack "^1.0.0"
451+
fs-extra "^5.0.0"
452+
indent-string "^3.2.0"
453+
lodash "^4.17.4"
454+
node-notifier "^5.2.1"
455+
password-prompt "^1.0.4"
456+
semver "^5.5.0"
457+
strip-ansi "^4.0.0"
458+
supports-color "^5.1.0"
459+
401460
cli-width@^2.0.0:
402461
version "2.2.0"
403462
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"
@@ -1029,7 +1088,7 @@ lodash.zip@^4.2.0:
10291088
version "4.2.0"
10301089
resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020"
10311090

1032-
lodash@^4.17.4, lodash@^4.3.0, lodash@^4.5.1:
1091+
lodash@^4.13.1, lodash@^4.17.4, lodash@^4.3.0, lodash@^4.5.1:
10331092
version "4.17.4"
10341093
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
10351094

@@ -1402,6 +1461,12 @@ stdout-stderr@^0.1.6:
14021461
debug "*"
14031462
strip-ansi "^4.0.0"
14041463

1464+
string-similarity@^1.2.0:
1465+
version "1.2.0"
1466+
resolved "https://registry.yarnpkg.com/string-similarity/-/string-similarity-1.2.0.tgz#d75153cb383846318b7a39a8d9292bb4db4e9c30"
1467+
dependencies:
1468+
lodash "^4.13.1"
1469+
14051470
string-width@^2.1.0, string-width@^2.1.1:
14061471
version "2.1.1"
14071472
resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"

0 commit comments

Comments
 (0)
Please sign in to comment.