Skip to content

Commit 86bb95c

Browse files
committed
chore(cli): move dev dependencies to root folder
remove oclif/test because not used and because mocha caused incompatibility with jest
1 parent b9833da commit 86bb95c

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"eslint-plugin-no-null": "^1.0.2",
1515
"eslint-plugin-prettier": "^3.1.2",
1616
"eslint-plugin-react": "^7.18.3",
17-
"eslint_d": "^8.0.0",
17+
"eslint_d": "^8.1.0",
1818
"jest": "^25.1.0",
1919
"lerna": "^3.19.0",
2020
"prettier": "^1.19.1",

packages/botonic-cli/README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ $ npm install -g @botonic/cli
1919
$ botonic COMMAND
2020
running command...
2121
$ botonic (-v|--version|version)
22-
@botonic/cli/0.10.1 darwin-x64 node-v10.15.0
22+
@botonic/cli/0.10.1 linux-x64 node-v13.9.0
2323
$ botonic --help [COMMAND]
2424
USAGE
2525
$ botonic COMMAND
@@ -46,9 +46,11 @@ USAGE
4646
$ botonic deploy [BOT_NAME]
4747
4848
OPTIONS
49-
-c, --command=command Command to execute from the package "scripts" object
50-
-f, --force Force deploy despite of no changes. Disabled by default
51-
--botName=botName
49+
-b, --botName=botName Name of the bot from Hubtype where you want to deploy
50+
-c, --command=command Command to execute from the package "scripts" object
51+
-e, --email=email Email from Hubtype Organization
52+
-f, --force Force deploy despite of no changes. Disabled by default
53+
-p, --password=password Password from Hubtype Organization
5254
5355
EXAMPLE
5456
$ botonic deploy
@@ -180,7 +182,7 @@ OPTIONS
180182
181183
EXAMPLE
182184
$ botonic train
183-
TRAINING MODEL FOR {LANGUAGE}...
185+
TRAINING MODEL FOR {LANGUAGE}...
184186
```
185187

186188
_See code: [src/commands/train.ts](https://github.com/hubtype/botonic/blob/v0.10.1/src/commands/train.ts)_

packages/botonic-cli/package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,22 @@
88
"bugs": "https://github.com/hubtype/botonic/issues",
99
"dependencies": {
1010
"@oclif/command": "^1.5.19",
11-
"@oclif/config": "^1.13.3",
11+
"@oclif/config": "^1.14.0",
1212
"@oclif/plugin-help": "^2.2.3",
1313
"analytics-node": "^3.4.0-beta.1",
14-
"axios": "^0.19.0",
15-
"colors": "^1.2.5",
14+
"axios": "^0.19.2",
15+
"colors": "^1.4.0",
1616
"folder-hash": "^3.3.0",
1717
"form-data": "^3.0.0",
1818
"fs-extra": "^8.1.0",
1919
"inquirer": "^7.0.4",
2020
"ora": "^3.4.0",
21-
"tslib": "^1.10.0",
21+
"tslib": "^1.11.0",
2222
"zip-a-folder": "0.0.12"
2323
},
2424
"devDependencies": {
2525
"@oclif/dev-cli": "^1.22.2",
26-
"@oclif/test": "^1.2.5",
27-
"@types/node": "^13.1.6",
28-
"globby": "^11.0.0",
29-
"ts-node": "^8.5.4"
26+
"globby": "^11.0.0"
3027
},
3128
"engines": {
3229
"node": ">=8.0.0"
@@ -57,9 +54,7 @@
5754
"prepare": "node ../../preinstall.js",
5855
"build": "rm -rf lib && tsc",
5956
"postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json",
60-
"posttest": "tslint -p test -t stylish",
6157
"prepack": "oclif-dev manifest && oclif-dev readme && npm shrinkwrap",
62-
"test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
6358
"version": "oclif-dev readme && git add README.md",
6459
"postinstall": "node scripts/postinstall.js",
6560
"lint": "npm run lint_core -- --fix",

0 commit comments

Comments
 (0)