@botonic/cli 1.0.0-dev.1 → 1.0.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":"1.0.0-dev.1","commands":{"deploy":{"id":"deploy","description":"Deploy Botonic project to cloud provider","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic deploy\nBuilding...\nCreating bundle...\nUploading...\nšŸš€ Bot deployed!\n","$ botonic deploy aws\nDeploying to AWS...\n"],"flags":{"command":{"name":"command","type":"option","char":"c","description":"Command to execute from the package \"scripts\" object"},"email":{"name":"email","type":"option","char":"e","description":"Email from Hubtype Organization"},"password":{"name":"password","type":"option","char":"p","description":"Password from Hubtype Organization"},"botName":{"name":"botName","type":"option","char":"b","description":"Name of the bot from Hubtype where you want to deploy"}},"args":[{"name":"provider","options":["aws","hubtype"]}]},"destroy":{"id":"destroy","description":"Destroy Botonic project from cloud provider","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic destroy aws\nDestroying AWS stack...\n"],"flags":{},"args":[{"name":"provider","options":["aws","hubtype"]}]},"login":{"id":"login","description":"Log in to Botonic","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"path":{"name":"path","type":"option","char":"p","description":"Path to botonic project. Defaults to current dir."}},"args":[]},"logout":{"id":"logout","description":"Log out of Botonic","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"path":{"name":"path","type":"option","char":"p","description":"Path to botonic project. Defaults to current dir."}},"args":[]},"new":{"id":"new","description":"Create a new Botonic project","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic new test_bot\nCreating...\n✨ test_bot was successfully created!\n"],"flags":{},"args":[{"name":"name","description":"name of the bot folder","required":true},{"name":"projectName","description":"OPTIONAL name of the bot project","required":false}]},"serve":{"id":"serve","description":"Serve your bot in your localhost","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic serve\n> Project is running at http://localhost:8080/"],"flags":{"preview":{"name":"preview","type":"boolean","char":"p","description":"Run preview Botonic 1.0 serve.","allowNo":false}},"args":[]},"test":{"id":"test","description":"Test your Botonic components","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["PASS tests/app.test.js\n āœ“ TEST: hi.js (10ms)\n āœ“ TEST: pizza.js (1ms)\n āœ“ TEST: sausage.js (1ms)\n āœ“ TEST: bacon.js\n āœ“ TEST: pasta.js (1ms)\n āœ“ TEST: cheese.js (1ms)\n āœ“ TEST: tomato.js\n\nTest Suites: 1 passed, 1 total\nTests: 7 passed, 7 total\nSnapshots: 0 total\nTime: 1.223s\nRan all test suites."],"flags":{},"args":[]},"train":{"id":"train","description":"Train your bot with NLP","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic train [--task=<ner|intent-classification>]\n TRAINING MODEL...\n "],"flags":{"task":{"name":"task","type":"option"}},"args":[]}}}
1
+ {"version":"1.0.0-dev.2","commands":{"deploy":{"id":"deploy","description":"Deploy Botonic project to cloud provider","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic deploy\nBuilding...\nCreating bundle...\nUploading...\nšŸš€ Bot deployed!\n","$ botonic deploy aws\nDeploying to AWS...\n"],"flags":{"command":{"name":"command","type":"option","char":"c","description":"Command to execute from the package \"scripts\" object"},"email":{"name":"email","type":"option","char":"e","description":"Email from Hubtype Organization"},"password":{"name":"password","type":"option","char":"p","description":"Password from Hubtype Organization"},"botName":{"name":"botName","type":"option","char":"b","description":"Name of the bot from Hubtype where you want to deploy"}},"args":[{"name":"provider","options":["aws","hubtype"]}]},"destroy":{"id":"destroy","description":"Destroy Botonic project from cloud provider","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic destroy aws\nDestroying AWS stack...\n"],"flags":{},"args":[{"name":"provider","options":["aws","hubtype"]}]},"login":{"id":"login","description":"Log in to Botonic","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"path":{"name":"path","type":"option","char":"p","description":"Path to botonic project. Defaults to current dir."}},"args":[]},"logout":{"id":"logout","description":"Log out of Botonic","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":[],"flags":{"path":{"name":"path","type":"option","char":"p","description":"Path to botonic project. Defaults to current dir."}},"args":[]},"new":{"id":"new","description":"Create a new Botonic project","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic new test_bot\nCreating...\n✨ test_bot was successfully created!\n"],"flags":{},"args":[{"name":"name","description":"name of the bot folder","required":true},{"name":"projectName","description":"OPTIONAL name of the bot project","required":false}]},"serve":{"id":"serve","description":"Serve your bot in your localhost","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic serve\n> Project is running at http://localhost:8080/"],"flags":{"preview":{"name":"preview","type":"boolean","char":"p","description":"Run preview Botonic 1.0 serve.","allowNo":false}},"args":[]},"test":{"id":"test","description":"Test your Botonic components","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["PASS tests/app.test.js\n āœ“ TEST: hi.js (10ms)\n āœ“ TEST: pizza.js (1ms)\n āœ“ TEST: sausage.js (1ms)\n āœ“ TEST: bacon.js\n āœ“ TEST: pasta.js (1ms)\n āœ“ TEST: cheese.js (1ms)\n āœ“ TEST: tomato.js\n\nTest Suites: 1 passed, 1 total\nTests: 7 passed, 7 total\nSnapshots: 0 total\nTime: 1.223s\nRan all test suites."],"flags":{},"args":[]},"train":{"id":"train","description":"Train your bot with NLP","pluginName":"@botonic/cli","pluginType":"core","aliases":[],"examples":["$ botonic train [--task=<ner|intent-classification>]\n TRAINING MODEL...\n "],"flags":{"task":{"name":"task","type":"option"}},"args":[]}}}
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@botonic/cli",
3
3
  "description": "Build Chatbots Using React",
4
- "version": "1.0.0-dev.1",
4
+ "version": "1.0.0-dev.2",
5
5
  "license": "MIT",
6
6
  "bin": {
7
7
  "botonic": "./bin/run"
8
8
  },
9
9
  "bugs": "https://github.com/hubtype/botonic/issues",
10
10
  "dependencies": {
11
- "@botonic/pulumi": "dev",
11
+ "@botonic/pulumi": "^1.0.0-dev.2",
12
12
  "@oclif/command": "^1.8.0",
13
13
  "@oclif/config": "^1.17.0",
14
14
  "@oclif/plugin-help": "^3.2.2",
15
15
  "analytics-node": "^3.5.0",
16
- "axios": "^0.21.1",
16
+ "axios": "^0.24.0",
17
17
  "colors": "^1.4.0",
18
- "concurrently": "^6.2.0",
18
+ "concurrently": "^6.2.1",
19
19
  "fetch-repo-dir": "^1.0.4",
20
20
  "form-data": "^3.0.0",
21
21
  "fs-extra": "^10.0.0",
@@ -24,13 +24,14 @@
24
24
  "localtunnel": "^2.0.1",
25
25
  "ora": "^5.4.0",
26
26
  "qs": "^6.10.1",
27
- "tslib": "^2.3.0",
27
+ "tslib": "^2.3.1",
28
28
  "uuid": "^8.3.2",
29
29
  "zip-a-folder": "0.1.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@oclif/dev-cli": "^1.26.0",
33
33
  "@types/analytics-node": "^3.1.4",
34
+ "@types/concurrently": "^6.2.1",
34
35
  "@types/fs-extra": "^9.0.11",
35
36
  "@types/inquirer": "^7.3.1",
36
37
  "@types/localtunnel": "^2.0.1",
@@ -61,7 +62,7 @@
61
62
  "cloc": "../../scripts/qa/cloc-package.sh .",
62
63
  "ts-node": "ts-node",
63
64
  "prepare": "node ../../preinstall.js",
64
- "prepublish": "npm run build",
65
+ "prepublishOnly": "npm run build",
65
66
  "build": "rm -rf lib && ../../node_modules/.bin/tsc",
66
67
  "build:watch": "rm -rf lib && ../../node_modules/.bin/tsc -w",
67
68
  "postpack": "rm -f oclif.manifest.json npm-shrinkwrap.json",