chore: add manifest
MODIFY
package.json
package.json
"description": "anycli: create your own CLI",
"version": "0.33.2",
"author": "Jeff Dickey @jdxcode",
+ "anycli": {
+ "commands": "./lib/commands",
+ "plugins": [
+ "@anycli/plugin-help",
+ "@anycli/plugin-not-found",
+ "@anycli/plugin-version"
+ ],
+ "bin": "anycli"
+ },
"bin": {
- "anycli": "bin/run"
+ "anycli": "./bin/run"
},
"bugs": "https://github.com/anycli/cli/issues",
"dependencies": {
"@anycli/command": "^0.3.7",
"@anycli/config": "^0.3.0",
- "@anycli/engine": "^0.3.1",
+ "@anycli/dev-cli": "^0.1.3",
+ "@anycli/engine": "^0.3.2",
"@anycli/plugin-help": "^0.4.6",
"@anycli/plugin-not-found": "^0.1.14",
"@anycli/plugin-version": "^0.1.30",
"ts-node": "^4.1.0",
"typescript": "^2.7.1"
},
- "anycli": {
- "commands": "./lib/commands",
- "plugins": [
- "@anycli/plugin-help",
- "@anycli/plugin-version",
- "@anycli/plugin-not-found"
- ]
- },
"engines": {
"node": ">=8.0.0"
},
"files": [
+ ".anycli.manifest.json",
"/bin",
"/lib",
"/templates"
"main": "lib/index.js",
"repository": "anycli/cli",
"scripts": {
- "prepublishOnly": "nps build",
- "test": "nps test -l warn"
+ "build": "rm -rf lib && tsc",
+ "lint": "nps lint",
+ "postpublish": "rm .anycli.manifest.json",
+ "posttest": "yarn run lint",
+ "prepublishOnly": "yarn run build && anycli-dev manifest -o .anycli.manifest.json",
+ "test": "nps test"
},
"types": "lib/index.d.ts"
}

MODIFY
yarn.lock
yarn.lock
"@anycli/command@^0.3.7":
version "0.3.7"
- resolved "https://registry.yarnpkg.com/@anycli/command/-/command-0.3.7.tgz#293c366ed8227fcdc675e278a46d8f93435526a5"
+ resolved "https://registry.npmjs.org/@anycli/command/-/command-0.3.7.tgz#293c366ed8227fcdc675e278a46d8f93435526a5"
dependencies:
"@anycli/parser" "^3.0.4"
cli-ux "^3.3.13"
"@anycli/config@^0.3.0":
version "0.3.0"
- resolved "https://registry.yarnpkg.com/@anycli/config/-/config-0.3.0.tgz#a0938488e7afc507d69ec13a8e52c71aaecc08ea"
+ resolved "https://registry.npmjs.org/@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.3.1":
- version "0.3.1"
- resolved "https://registry.yarnpkg.com/@anycli/engine/-/engine-0.3.1.tgz#c352d9cc73e66759ddc88c72da2907f1e1a0d553"
+"@anycli/dev-cli@^0.1.3":
+ version "0.1.3"
+ resolved "https://registry.npmjs.org/@anycli/dev-cli/-/dev-cli-0.1.3.tgz#bd3d1229d17c2f61176f872923d4841a539a0cb3"
dependencies:
- "@anycli/manifest-file" "^0.3.8"
+ "@anycli/command" "^0.3.7"
+ "@anycli/config" "^0.3.0"
+ "@anycli/engine" "^0.3.0"
+ "@anycli/plugin-help" "^0.4.0"
+ "@anycli/plugin-not-found" "^0.1.10"
+ "@anycli/plugin-version" "^0.1.20"
+ cli-ux "^3.3.13"
+ fs-extra "^5.0.0"
+
+"@anycli/engine@^0.3.0", "@anycli/engine@^0.3.2":
+ version "0.3.2"
+ resolved "https://registry.npmjs.org/@anycli/engine/-/engine-0.3.2.tgz#fb8e8d2cf2cd20108ae5fab40b84c3a55cf706ad"
+ dependencies:
+ "@anycli/manifest-file" "^0.3.9"
cli-ux "^3.3.13"
debug "^3.1.0"
fs-extra "^5.0.0"
lodash "^4.17.4"
semver "^5.5.0"
-"@anycli/manifest-file@^0.3.8":
- version "0.3.8"
- resolved "https://registry.yarnpkg.com/@anycli/manifest-file/-/manifest-file-0.3.8.tgz#d175a27e1d2009a14080c7e8dd808c1c856de468"
+"@anycli/manifest-file@^0.3.9":
+ version "0.3.9"
+ resolved "https://registry.npmjs.org/@anycli/manifest-file/-/manifest-file-0.3.9.tgz#d39ab157c0cd9a15471ef8bfd36654c2c4b01730"
dependencies:
- cli-ux "^3.3.12"
+ cli-ux "^3.3.13"
debug "^3.1.0"
fs-extra "^5.0.0"
load-json-file "^4.0.0"
chalk "^2.3.0"
lodash "^4.17.4"
-"@anycli/plugin-help@^0.4.6":
+"@anycli/plugin-help@^0.4.0", "@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:
widest-line "^2.0.0"
wrap-ansi "^3.0.1"
-"@anycli/plugin-not-found@^0.1.14":
+"@anycli/plugin-not-found@^0.1.10", "@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:
cli-ux "^3.3.13"
string-similarity "^1.2.0"
-"@anycli/plugin-version@^0.1.30":
+"@anycli/plugin-version@^0.1.20", "@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:
@@ -546,29 +559,9 @@ cli-ux@^3.3.10:
strip-ansi "^4.0.0"
supports-color "^5.1.0"
-cli-ux@^3.3.12:
- version "3.3.12"
- resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.12.tgz#9bd5a2ed5c682fc22027bd32c5eb20bbe6aa2571"
- 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-ux@^3.3.13:
version "3.3.13"
- resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.3.13.tgz#123e0c7a29d1f743447b919500a9055486992df6"
+ resolved "https://registry.npmjs.org/cli-ux/-/cli-ux-3.3.13.tgz#123e0c7a29d1f743447b919500a9055486992df6"
dependencies:
"@anycli/screen" "^0.0.3"
"@heroku/linewrap" "^1.0.0"

chore: add manifest