fix: add READMEs
MODIFY
package.json
package.json
{
- "name": "@anycli/cli",
+ "name": "hkcl",
"description": "anycli: create your own CLI",
"version": "0.33.13",
"author": "Jeff Dickey @jdxcode",
},
"bugs": "https://github.com/anycli/cli/issues",
"dependencies": {
- "@anycli/command": "^1.2.9",
- "@anycli/config": "^1.3.9",
- "@anycli/errors": "^0.2.0",
- "@anycli/plugin-help": "^0.6.3",
- "@anycli/plugin-not-found": "^0.1.16",
+ "@anycli/command": "^1.2.13",
+ "@anycli/config": "^1.3.23",
+ "@anycli/errors": "^0.2.1",
+ "@anycli/plugin-help": "^0.6.8",
+ "@anycli/plugin-not-found": "^0.1.17",
"debug": "^3.1.0",
"fixpack": "^2.3.1",
"lodash": "^4.17.5",
"yosay": "^2.0.1"
},
"devDependencies": {
- "@anycli/dev-cli": "^0.1.6",
- "@anycli/tslint": "^0.2.6",
+ "@anycli/dev-cli": "^0.3.1",
+ "@anycli/tslint": "^0.2.7",
"@types/lodash": "^4.14.101",
"@types/read-pkg": "^3.0.0",
"@types/shelljs": "^0.7.8",
"lint": "nps lint",
"postpublish": "rm .anycli.manifest.json",
"posttest": "yarn run lint",
- "prepublishOnly": "yarn run build && anycli-dev manifest -o .anycli.manifest.json",
+ "prepublishOnly": "yarn run build && anycli-dev manifest && anycli-dev readme",
"test": "nps test"
},
"types": "lib/index.d.ts"

MODIFY
src/generators/app.ts
src/generators/app.ts
@@ -245,7 +245,7 @@ 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')
+ this.pjson.scripts.prepublishOnly = nps.series(this.pjson.scripts.prepublishOnly, 'anycli-dev manifest', 'anycli-dev readme')
this.pjson.scripts.postpublish = 'rm .anycli.manifest.json'
this.pjson.files.push('.anycli.manifest.json')
}

MODIFY
yarn.lock
yarn.lock
# yarn lockfile v1
-"@anycli/command@^1.2.5":
- version "1.2.5"
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.5.tgz#c7a6ee35344f1d854d5323e1f5a3f6b6da7e1b6d"
+"@anycli/command@^1.2.13":
+ version "1.2.13"
+ resolved "https://registry.yarnpkg.com/@anycli/command/-/command-1.2.13.tgz#2c3470a3f3b952aa42dd1b2491de85e116c28ae0"
dependencies:
- "@anycli/parser" "^3.2.4"
+ "@anycli/parser" "^3.2.6"
"@anycli/command@^1.2.9":
version "1.2.9"
dependencies:
"@anycli/parser" "^3.2.5"
-"@anycli/config@^1.1.8":
- version "1.2.3"
- resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.2.3.tgz#6bedf5111146c5563f74fde4fc89d74da7920c5a"
+"@anycli/config@^1.3.23":
+ version "1.3.23"
+ resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.23.tgz#591baec88cebe30b47ae68aff025ff39fd691b09"
-"@anycli/config@^1.3.9":
- version "1.3.9"
- resolved "https://registry.yarnpkg.com/@anycli/config/-/config-1.3.9.tgz#794b9f7dd6b2c8b23cfc448f8450206171a05655"
-
-"@anycli/dev-cli@^0.1.6":
- version "0.1.6"
- resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.1.6.tgz#bb27980fe2cfb26f889768006c26735350fdfe28"
+"@anycli/dev-cli@^0.3.1":
+ version "0.3.1"
+ resolved "https://registry.yarnpkg.com/@anycli/dev-cli/-/dev-cli-0.3.1.tgz#261091a37fe84fbebc92d05c51632bf649fe7548"
dependencies:
- "@anycli/command" "^1.2.5"
- "@anycli/config" "^1.1.8"
- "@anycli/plugin-help" "^0.6.2"
+ "@anycli/command" "^1.2.13"
+ "@anycli/config" "^1.3.23"
+ "@anycli/errors" "^0.2.1"
+ "@anycli/plugin-help" "^0.6.8"
+ lodash.template "^4.4.0"
+ normalize-package-data "^2.4.0"
-"@anycli/errors@^0.2.0":
- version "0.2.0"
- resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.0.tgz#ee421115dcdb499d76de9d4853718c06e1c5d5f0"
+"@anycli/errors@^0.2.1":
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/@anycli/errors/-/errors-0.2.1.tgz#719a95cd9c23838c65929da5d625a7537dd7d035"
dependencies:
clean-stack "^1.3.0"
fs-extra "^5.0.0"
strip-ansi "^4.0.0"
wrap-ansi "^3.0.1"
-"@anycli/parser@^3.2.4":
- version "3.2.4"
- resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.4.tgz#30297ac2fa225b37efaab5c0062bf189988b3ce8"
-
"@anycli/parser@^3.2.5":
version "3.2.5"
resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.5.tgz#d0e7ddb14945cb84377fa69095009ca6005e6b6d"
-"@anycli/plugin-help@^0.6.2", "@anycli/plugin-help@^0.6.3":
- version "0.6.3"
- resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.3.tgz#e365947b69ce232cbd49fcda934dd53852d2503f"
+"@anycli/parser@^3.2.6":
+ version "3.2.6"
+ resolved "https://registry.yarnpkg.com/@anycli/parser/-/parser-3.2.6.tgz#bbd119a80709099179a9f11af0dc44b68c54575b"
+
+"@anycli/plugin-help@^0.6.8":
+ version "0.6.8"
+ resolved "https://registry.yarnpkg.com/@anycli/plugin-help/-/plugin-help-0.6.8.tgz#1102006c7b8a49d3f6e56d9dad1f7fc5f69a223c"
dependencies:
- "@anycli/command" "^1.2.5"
+ "@anycli/command" "^1.2.13"
chalk "^2.3.0"
indent-string "^3.2.0"
lodash.template "^4.4.0"
widest-line "^2.0.0"
wrap-ansi "^3.0.1"
-"@anycli/plugin-not-found@^0.1.16":
- version "0.1.16"
- resolved "https://registry.yarnpkg.com/@anycli/plugin-not-found/-/plugin-not-found-0.1.16.tgz#9dce1a1cabe3c5905b97638dd79325de6f62694f"
+"@anycli/plugin-not-found@^0.1.17":
+ version "0.1.17"
+ resolved "https://registry.yarnpkg.com/@anycli/plugin-not-found/-/plugin-not-found-0.1.17.tgz#56b1c56517eedba119ca28c066528aba4a4711e5"
dependencies:
- "@anycli/command" "^1.2.5"
+ "@anycli/command" "^1.2.9"
"@heroku-cli/color" "^1.1.3"
string-similarity "^1.2.0"
-"@anycli/tslint@^0.2.6":
- version "0.2.6"
- resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.6.tgz#4251f4cb3744dc577309b4351d2c2e8b65072de2"
+"@anycli/tslint@^0.2.7":
+ version "0.2.7"
+ resolved "https://registry.yarnpkg.com/@anycli/tslint/-/tslint-0.2.7.tgz#68b81121f33e9aa8240bd12cfade1f6023e6820d"
dependencies:
tslint "^5.9.1"
tslint-xo "^0.6.0"
@@ -1724,7 +1723,7 @@ nested-error-stacks@^1.0.0, nested-error-stacks@^1.0.1:
dependencies:
inherits "~2.0.1"
-normalize-package-data@^2.3.2, normalize-package-data@^2.3.4:
+normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
dependencies:

fix: add READMEs