@botonic/cli 0.43.0 → 0.45.0-alpha.1

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.
Files changed (51) hide show
  1. package/bin/dev.js +2 -2
  2. package/bin/run.js +2 -2
  3. package/lib/src/botonic-api-service.d.ts +3 -3
  4. package/lib/src/botonic-api-service.js +11 -8
  5. package/lib/src/botonic-api-service.js.map +1 -1
  6. package/lib/src/botonic-examples.d.ts +1 -1
  7. package/lib/src/botonic-examples.js +3 -4
  8. package/lib/src/botonic-examples.js.map +1 -1
  9. package/lib/src/commands/deploy.d.ts +3 -3
  10. package/lib/src/commands/deploy.js +35 -20
  11. package/lib/src/commands/deploy.js.map +1 -1
  12. package/lib/src/commands/login.js +2 -2
  13. package/lib/src/commands/login.js.map +1 -1
  14. package/lib/src/commands/logout.js +1 -1
  15. package/lib/src/commands/logout.js.map +1 -1
  16. package/lib/src/commands/new.d.ts +1 -1
  17. package/lib/src/commands/new.js +6 -5
  18. package/lib/src/commands/new.js.map +1 -1
  19. package/lib/src/util/bot-config.js +12 -12
  20. package/lib/src/util/bot-config.js.map +1 -1
  21. package/lib/src/util/credentials-handler.d.ts +1 -1
  22. package/lib/src/util/credentials-handler.js +13 -9
  23. package/lib/src/util/credentials-handler.js.map +1 -1
  24. package/lib/src/util/download-gzip.js +2 -2
  25. package/lib/src/util/download-gzip.js.map +1 -1
  26. package/lib/src/util/environment-info.d.ts +1 -1
  27. package/lib/src/util/environment-info.js +4 -3
  28. package/lib/src/util/environment-info.js.map +1 -1
  29. package/lib/src/util/file-system.d.ts +1 -1
  30. package/lib/src/util/file-system.js +7 -5
  31. package/lib/src/util/file-system.js.map +1 -1
  32. package/lib/src/util/system.js +2 -2
  33. package/lib/src/util/system.js.map +1 -1
  34. package/lib/tests/botonic-api-service.test.d.ts +1 -0
  35. package/lib/tests/botonic-api-service.test.js +423 -0
  36. package/lib/tests/botonic-api-service.test.js.map +1 -0
  37. package/lib/tests/commands/deploy.test.d.ts +1 -0
  38. package/lib/tests/commands/deploy.test.js +83 -0
  39. package/lib/tests/commands/deploy.test.js.map +1 -0
  40. package/lib/tests/commands/new.test.d.ts +1 -0
  41. package/lib/tests/commands/new.test.js +62 -0
  42. package/lib/tests/commands/new.test.js.map +1 -0
  43. package/lib/tests/util/credentials-handler.test.d.ts +1 -0
  44. package/lib/tests/util/credentials-handler.test.js +65 -0
  45. package/lib/tests/util/credentials-handler.test.js.map +1 -0
  46. package/lib/tests/util/file-system.test.d.ts +1 -0
  47. package/lib/tests/util/file-system.test.js +78 -0
  48. package/lib/tests/util/file-system.test.js.map +1 -0
  49. package/lib/tsconfig.tsbuildinfo +1 -1
  50. package/oclif.manifest.json +1 -1
  51. package/package.json +5 -12
@@ -187,5 +187,5 @@
187
187
  ]
188
188
  }
189
189
  },
190
- "version": "0.43.0"
190
+ "version": "0.45.0-alpha.1"
191
191
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@botonic/cli",
3
3
  "description": "Build Chatbots Using React",
4
- "version": "0.43.0",
4
+ "version": "0.45.0-alpha.1",
5
5
  "license": "MIT",
6
6
  "bin": {
7
7
  "botonic": "./bin/run.js"
@@ -10,10 +10,10 @@
10
10
  "prepublishOnly": "npm i && npm run build",
11
11
  "build": "shx rm -rf lib && tsc -b",
12
12
  "postpack": "shx rm -f oclif.manifest.json",
13
- "posttest": "npm run lint",
14
13
  "prepack": "oclif manifest && oclif readme",
15
- "lint": "npm run lint_core -- --fix",
16
- "lint_core": "../../node_modules/.bin/eslint --quiet",
14
+ "lint": "biome check --write src/ tests/",
15
+ "lint:check": "biome check src/ tests/",
16
+ "format": "biome format --write src/ tests/",
17
17
  "test": "node --experimental-vm-modules --no-warnings=ExperimentalWarning ../../node_modules/.bin/jest --coverage",
18
18
  "test_ci": "node --experimental-vm-modules --no-warnings=ExperimentalWarning ../../node_modules/.bin/jest --coverage --ci --reporters=default --reporters=jest-junit",
19
19
  "version": "oclif readme && git add README.md"
@@ -32,21 +32,14 @@
32
32
  "zip-a-folder": "^3.1.9"
33
33
  },
34
34
  "devDependencies": {
35
- "@eslint/compat": "^1.0.0",
36
- "@oclif/prettier-config": "^0.2.1",
37
35
  "@oclif/test": "^4.1.14",
38
- "@swc/jest": "^0.2.39",
39
36
  "@types/fs-extra": "^11.0.4",
40
37
  "@types/jest": "^29.5.14",
41
38
  "@types/node": "^22.0.0",
42
- "eslint": "^9.0.0",
43
- "eslint-config-oclif": "^6.0.0",
44
- "eslint-config-prettier": "^10.1.8",
45
39
  "oclif": "^4.22.27",
46
40
  "shx": "^0.3.3",
47
41
  "ts-jest": "^29.2.5",
48
- "ts-node": "^10.9.2",
49
- "typescript": "^5.9.3"
42
+ "ts-node": "^10.9.2"
50
43
  },
51
44
  "engines": {
52
45
  "node": ">=22.19.0",