fix: use -o for manifest building
MODIFY
package.json
package.json
},
"bugs": "https://github.com/anycli/cli/issues",
"dependencies": {
- "@anycli/command": "^0.3.6",
- "@anycli/config": "^0.2.11",
- "@anycli/engine": "^0.1.47",
- "@anycli/plugin-help": "^0.3.7",
- "@anycli/plugin-not-found": "^0.1.10",
- "@anycli/plugin-version": "^0.1.20",
- "cli-ux": "^3.3.12",
+ "@anycli/command": "^0.3.7",
+ "@anycli/config": "^0.3.0",
+ "@anycli/engine": "^0.3.1",
+ "@anycli/plugin-help": "^0.4.6",
+ "@anycli/plugin-not-found": "^0.1.14",
+ "@anycli/plugin-version": "^0.1.30",
+ "cli-ux": "^3.3.13",
"debug": "^3.1.0",
"fixpack": "^2.3.1",
"lodash": "^4.17.4",

MODIFY
src/generators/app.ts
src/generators/app.ts
@@ -245,7 +245,8 @@ class App extends Generator {
this.pjson.scripts.prepublishOnly = 'yarn run build'
}
if (['plugin', 'multi'].includes(this.type)) {
- this.pjson.scripts.prepublishOnly = nps.series(this.pjson.scripts.prepublishOnly, 'anycli-dev manifest > .anycli.manifest.json')
+ this.pjson.scripts.prepublishOnly = nps.series(this.pjson.scripts.prepublishOnly, 'anycli-dev manifest -o .anycli.manifest.json')
+ this.pjson.scripts.postpublish = 'rm .anycli.manifest.json'
this.pjson.files.push('.anycli.manifest.json')
}
this.pjson.keywords = defaults.keywords || [this.type === 'plugin' ? 'anycli-plugin' : 'anycli']

MODIFY
yarn.lock
yarn.lock
# yarn lockfile v1
-"@anycli/command@^0.3.4":
- version "0.3.4"
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.4.tgz#c02b07f0f309192021cd76fa66b3f88db173025e"
- dependencies:
- "@anycli/parser" "^3.0.4"
- cli-ux "^3.3.12"
- debug "^3.1.0"
- lodash "^4.17.4"
- tslib "^1.9.0"
-
-"@anycli/command@^0.3.5":
- version "0.3.5"
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.5.tgz#1ae5d93151f00260f8ec576bb67b69d8b8c20999"
- dependencies:
- "@anycli/parser" "^3.0.4"
- cli-ux "^3.3.12"
- debug "^3.1.0"
- lodash "^4.17.4"
- tslib "^1.9.0"
-
-"@anycli/command@^0.3.6":
- version "0.3.6"
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.6.tgz#02aadc38cee7bc4acb2069732cb1591dfc339c29"
+"@anycli/command@^0.3.7":
+ version "0.3.7"
+ resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.7.tgz#293c366ed8227fcdc675e278a46d8f93435526a5"
dependencies:
"@anycli/parser" "^3.0.4"
- cli-ux "^3.3.12"
+ cli-ux "^3.3.13"
debug "^3.1.0"
lodash "^4.17.4"
tslib "^1.9.0"
-"@anycli/config@^0.2.11":
- version "0.2.11"
- resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.2.11.tgz#1b043946b18e159e6e44195aa4fef309b79f8ede"
+"@anycli/config@^0.3.0":
+ version "0.3.0"
+ resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.3.0.tgz#a0938488e7afc507d69ec13a8e52c71aaecc08ea"
dependencies:
cli-ux "^3.3.10"
debug "^3.1.0"
lodash "^4.17.4"
read-pkg "^3.0.0"
-"@anycli/engine@^0.1.47":
- version "0.1.47"
- resolved "https://registry.yarnpkg.com/@anycli/engine/-/engine-0.1.47.tgz#c266e74ed3d1f372065d6329c7a08be04be158ff"
+"@anycli/engine@^0.3.1":
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/@anycli/engine/-/engine-0.3.1.tgz#c352d9cc73e66759ddc88c72da2907f1e1a0d553"
dependencies:
"@anycli/manifest-file" "^0.3.8"
- cli-ux "^3.3.12"
+ cli-ux "^3.3.13"
debug "^3.1.0"
fs-extra "^5.0.0"
globby "^7.1.1"
lodash "^4.17.4"
+ semver "^5.5.0"
"@anycli/manifest-file@^0.3.8":
version "0.3.8"
chalk "^2.3.0"
lodash "^4.17.4"
-"@anycli/plugin-help@^0.3.7":
- version "0.3.7"
- resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.3.7.tgz#aefde35b0b49b1598e893ed83910955bd24419ef"
+"@anycli/plugin-help@^0.4.6":
+ version "0.4.6"
+ resolved "https://registry.npmjs.org/@anycli/plugin-help/-/plugin-help-0.4.6.tgz#672a96550203968118b881fcdf8f2c685a784bf6"
dependencies:
- "@anycli/command" "^0.3.6"
+ "@anycli/command" "^0.3.7"
"@anycli/screen" "^0.0.3"
chalk "^2.3.0"
- cli-ux "^3.3.12"
+ cli-ux "^3.3.13"
indent-string "^3.2.0"
lodash "^4.17.4"
string-width "^2.1.1"
widest-line "^2.0.0"
wrap-ansi "^3.0.1"
-"@anycli/plugin-not-found@^0.1.10":
- version "0.1.10"
- resolved "https://registry.yarnpkg.com/@anycli/plugin-not-found/-/plugin-not-found-0.1.10.tgz#3d99f748a7a025aaa89486b2eec08481fb7d6789"
+"@anycli/plugin-not-found@^0.1.14":
+ version "0.1.14"
+ resolved "https://registry.npmjs.org/@anycli/plugin-not-found/-/plugin-not-found-0.1.14.tgz#d7512f402357951126bc0d3d89d2808a0947c45f"
dependencies:
- "@anycli/command" "^0.3.4"
+ "@anycli/command" "^0.3.7"
"@heroku-cli/color" "^1.1.3"
- cli-ux "^3.3.12"
+ cli-ux "^3.3.13"
string-similarity "^1.2.0"
-"@anycli/plugin-version@^0.1.20":
- version "0.1.20"
- resolved "https://registry.yarnpkg.com/@anycli/plugin-version/-/plugin-version-0.1.20.tgz#c0b3bc5711d33bc7a71ef0264611165aab64ae3c"
+"@anycli/plugin-version@^0.1.30":
+ version "0.1.30"
+ resolved "https://registry.npmjs.org/@anycli/plugin-version/-/plugin-version-0.1.30.tgz#0c80e4c856f4a3249a5d56b4c9d553b20c514198"
dependencies:
- "@anycli/command" "^0.3.5"
- cli-ux "^3.3.12"
+ "@anycli/command" "^0.3.7"
+ cli-ux "^3.3.13"
"@anycli/screen@^0.0.3":
version "0.0.3"
@@ -585,6 +566,26 @@ cli-ux@^3.3.12:
strip-ansi "^4.0.0"
supports-color "^5.1.0"
+cli-ux@^3.3.13:
+ version "3.3.13"
+ resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.13.tgz#123e0c7a29d1f743447b919500a9055486992df6"
+ dependencies:
+ "@anycli/screen" "^0.0.3"
+ "@heroku/linewrap" "^1.0.0"
+ ansi-styles "^3.2.0"
+ cardinal "^1.0.0"
+ chalk "^2.3.0"
+ clean-stack "^1.3.0"
+ extract-stack "^1.0.0"
+ fs-extra "^5.0.0"
+ indent-string "^3.2.0"
+ lodash "^4.17.4"
+ node-notifier "^5.2.1"
+ password-prompt "^1.0.4"
+ semver "^5.5.0"
+ strip-ansi "^4.0.0"
+ supports-color "^5.1.0"
+
cli-width@^2.0.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639"

fix: use -o for manifest building