From b8181fc217f819dbe08afaf5027269a96f1d937c Mon Sep 17 00:00:00 2001 From: Dani Pinyol Date: Fri, 21 Feb 2020 07:02:37 +0100 Subject: [PATCH] chore(cli): move dev dependencies to root folder remove oclif/test because not used and because mocha caused incompatibility with jest --- package-lock.json | 6 +++--- package.json | 2 +- packages/botonic-cli/README.md | 12 +++++++----- packages/botonic-cli/package.json | 15 +++++---------- 4 files changed, 16 insertions(+), 19 deletions(-) diff --git a/package-lock.json b/package-lock.json index ef403b570c..b432403381 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4203,9 +4203,9 @@ "dev": true }, "eslint_d": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/eslint_d/-/eslint_d-8.0.0.tgz", - "integrity": "sha512-9I+AC6Y7WTX4J1O3GGg1LqGiDxOUedLxzIxtKSWnD1FP3z2MPQbnWNNycg9Pq/L5B0NlszdaBlajUexZ8qzuag==", + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/eslint_d/-/eslint_d-8.1.0.tgz", + "integrity": "sha512-cNZFOYG+Quphqj+GPoTNe9nsDCRJo2AjHVpu4RkvAxH8+vR2ckvm7ksr+Lwi+kkKuMf4h+QifTAXJ0HuBkJ7FA==", "dev": true, "requires": { "core_d": "^1.0.1", diff --git a/package.json b/package.json index c24088278a..c8456dae8b 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "eslint-plugin-no-null": "^1.0.2", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.18.3", - "eslint_d": "^8.0.0", + "eslint_d": "^8.1.0", "jest": "^25.1.0", "lerna": "^3.19.0", "prettier": "^1.19.1", diff --git a/packages/botonic-cli/README.md b/packages/botonic-cli/README.md index 6d65d854f1..d877714ce2 100644 --- a/packages/botonic-cli/README.md +++ b/packages/botonic-cli/README.md @@ -19,7 +19,7 @@ $ npm install -g @botonic/cli $ botonic COMMAND running command... $ botonic (-v|--version|version) -@botonic/cli/0.10.1 darwin-x64 node-v10.15.0 +@botonic/cli/0.10.1 linux-x64 node-v13.9.0 $ botonic --help [COMMAND] USAGE $ botonic COMMAND @@ -46,9 +46,11 @@ USAGE $ botonic deploy [BOT_NAME] OPTIONS - -c, --command=command Command to execute from the package "scripts" object - -f, --force Force deploy despite of no changes. Disabled by default - --botName=botName + -b, --botName=botName Name of the bot from Hubtype where you want to deploy + -c, --command=command Command to execute from the package "scripts" object + -e, --email=email Email from Hubtype Organization + -f, --force Force deploy despite of no changes. Disabled by default + -p, --password=password Password from Hubtype Organization EXAMPLE $ botonic deploy @@ -180,7 +182,7 @@ OPTIONS EXAMPLE $ botonic train - TRAINING MODEL FORĀ {LANGUAGE}... + TRAINING MODEL FOR {LANGUAGE}... ``` _See code: [src/commands/train.ts](https://github.com/hubtype/botonic/blob/v0.10.1/src/commands/train.ts)_ diff --git a/packages/botonic-cli/package.json b/packages/botonic-cli/package.json index 3efe52c361..0db77b554c 100644 --- a/packages/botonic-cli/package.json +++ b/packages/botonic-cli/package.json @@ -8,25 +8,22 @@ "bugs": "https://github.com/hubtype/botonic/issues", "dependencies": { "@oclif/command": "^1.5.19", - "@oclif/config": "^1.13.3", + "@oclif/config": "^1.14.0", "@oclif/plugin-help": "^2.2.3", "analytics-node": "^3.4.0-beta.1", - "axios": "^0.19.0", - "colors": "^1.2.5", + "axios": "^0.19.2", + "colors": "^1.4.0", "folder-hash": "^3.3.0", "form-data": "^3.0.0", "fs-extra": "^8.1.0", "inquirer": "^7.0.4", "ora": "^3.4.0", - "tslib": "^1.10.0", + "tslib": "^1.11.0", "zip-a-folder": "0.0.12" }, "devDependencies": { "@oclif/dev-cli": "^1.22.2", - "@oclif/test": "^1.2.5", - "@types/node": "^13.1.6", - "globby": "^11.0.0", - "ts-node": "^8.5.4" + "globby": "^11.0.0" }, "engines": { "node": ">=8.0.0" @@ -57,9 +54,7 @@ "prepare": "node ../../preinstall.js", "build": "rm -rf lib && tsc", "postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json", - "posttest": "tslint -p test -t stylish", "prepack": "oclif-dev manifest && oclif-dev readme && npm shrinkwrap", - "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"", "version": "oclif-dev readme && git add README.md", "postinstall": "node scripts/postinstall.js", "lint": "npm run lint_core -- --fix",