@dokploy/cli 0.2.3

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 (77) hide show
  1. package/README.md +112 -0
  2. package/bin/dev.cmd +3 -0
  3. package/bin/dev.js +6 -0
  4. package/bin/run.cmd +3 -0
  5. package/bin/run.js +5 -0
  6. package/dist/commands/app/create.d.ts +13 -0
  7. package/dist/commands/app/create.js +77 -0
  8. package/dist/commands/app/delete.d.ts +9 -0
  9. package/dist/commands/app/delete.js +84 -0
  10. package/dist/commands/app/deploy.d.ts +6 -0
  11. package/dist/commands/app/deploy.js +69 -0
  12. package/dist/commands/app/stop.d.ts +6 -0
  13. package/dist/commands/app/stop.js +69 -0
  14. package/dist/commands/authenticate.d.ts +10 -0
  15. package/dist/commands/authenticate.js +79 -0
  16. package/dist/commands/database/mariadb/create.d.ts +9 -0
  17. package/dist/commands/database/mariadb/create.js +105 -0
  18. package/dist/commands/database/mariadb/delete.d.ts +9 -0
  19. package/dist/commands/database/mariadb/delete.js +95 -0
  20. package/dist/commands/database/mariadb/deploy.d.ts +6 -0
  21. package/dist/commands/database/mariadb/deploy.js +69 -0
  22. package/dist/commands/database/mariadb/stop.d.ts +6 -0
  23. package/dist/commands/database/mariadb/stop.js +69 -0
  24. package/dist/commands/database/mongo/create.d.ts +9 -0
  25. package/dist/commands/database/mongo/create.js +107 -0
  26. package/dist/commands/database/mongo/delete.d.ts +9 -0
  27. package/dist/commands/database/mongo/delete.js +95 -0
  28. package/dist/commands/database/mongo/deploy.d.ts +6 -0
  29. package/dist/commands/database/mongo/deploy.js +69 -0
  30. package/dist/commands/database/mongo/stop.d.ts +6 -0
  31. package/dist/commands/database/mongo/stop.js +69 -0
  32. package/dist/commands/database/mysql/create.d.ts +9 -0
  33. package/dist/commands/database/mysql/create.js +112 -0
  34. package/dist/commands/database/mysql/delete.d.ts +9 -0
  35. package/dist/commands/database/mysql/delete.js +97 -0
  36. package/dist/commands/database/mysql/deploy.d.ts +6 -0
  37. package/dist/commands/database/mysql/deploy.js +69 -0
  38. package/dist/commands/database/mysql/stop.d.ts +6 -0
  39. package/dist/commands/database/mysql/stop.js +69 -0
  40. package/dist/commands/database/postgres/create.d.ts +9 -0
  41. package/dist/commands/database/postgres/create.js +107 -0
  42. package/dist/commands/database/postgres/delete.d.ts +9 -0
  43. package/dist/commands/database/postgres/delete.js +94 -0
  44. package/dist/commands/database/postgres/deploy.d.ts +6 -0
  45. package/dist/commands/database/postgres/deploy.js +69 -0
  46. package/dist/commands/database/postgres/stop.d.ts +6 -0
  47. package/dist/commands/database/postgres/stop.js +69 -0
  48. package/dist/commands/database/redis/create.d.ts +9 -0
  49. package/dist/commands/database/redis/create.js +95 -0
  50. package/dist/commands/database/redis/delete.d.ts +9 -0
  51. package/dist/commands/database/redis/delete.js +96 -0
  52. package/dist/commands/database/redis/deploy.d.ts +6 -0
  53. package/dist/commands/database/redis/deploy.js +69 -0
  54. package/dist/commands/database/redis/stop.d.ts +6 -0
  55. package/dist/commands/database/redis/stop.js +69 -0
  56. package/dist/commands/project/create.d.ts +10 -0
  57. package/dist/commands/project/create.js +74 -0
  58. package/dist/commands/project/info.d.ts +10 -0
  59. package/dist/commands/project/info.js +122 -0
  60. package/dist/commands/project/list.d.ts +6 -0
  61. package/dist/commands/project/list.js +43 -0
  62. package/dist/commands/verify.d.ts +6 -0
  63. package/dist/commands/verify.js +45 -0
  64. package/dist/index.d.ts +1 -0
  65. package/dist/index.js +1 -0
  66. package/dist/utils/http.d.ts +4 -0
  67. package/dist/utils/http.js +4 -0
  68. package/dist/utils/shared.d.ts +10 -0
  69. package/dist/utils/shared.js +55 -0
  70. package/dist/utils/slug.d.ts +1 -0
  71. package/dist/utils/slug.js +12 -0
  72. package/dist/utils/slugify.d.ts +3 -0
  73. package/dist/utils/slugify.js +2 -0
  74. package/dist/utils/utils.d.ts +6 -0
  75. package/dist/utils/utils.js +19 -0
  76. package/oclif.manifest.json +895 -0
  77. package/package.json +87 -0
package/package.json ADDED
@@ -0,0 +1,87 @@
1
+ {
2
+ "name": "@dokploy/cli",
3
+ "description": "A CLI to manage dokploy server remotely",
4
+ "version": "v0.2.3",
5
+ "author": "Mauricio Siu",
6
+ "licenses": [{
7
+ "type": "MIT",
8
+ "url": "https://github.com/Dokploy/cli/blob/master/LICENSE"
9
+ }],
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "bin": {
14
+ "dokploy": "./bin/run.js"
15
+ },
16
+ "bugs": "https://github.com/Dokploy/cli/issues",
17
+ "dependencies": {
18
+ "@oclif/core": "^3",
19
+ "@oclif/plugin-help": "^6",
20
+ "@oclif/plugin-plugins": "^5",
21
+ "axios": "^1.7.2",
22
+ "chalk": "^5.3.0",
23
+ "cli-table3": "^0.6.5",
24
+ "inquirer": "^9.2.23",
25
+ "slugify": "^1.6.6",
26
+ "superjson": "^2.2.1"
27
+ },
28
+ "devDependencies": {
29
+ "@oclif/prettier-config": "^0.2.1",
30
+ "@oclif/test": "^4",
31
+ "@types/chai": "^4",
32
+ "@types/inquirer": "9.0.7",
33
+ "@types/mocha": "^10",
34
+ "@types/node": "^18",
35
+ "chai": "^4",
36
+ "eslint": "^8",
37
+ "eslint-config-oclif": "^5",
38
+ "eslint-config-oclif-typescript": "^3",
39
+ "eslint-config-prettier": "^9",
40
+ "mocha": "^10",
41
+ "oclif": "^4",
42
+ "shx": "^0.3.3",
43
+ "ts-node": "^10",
44
+ "typescript": "^5"
45
+ },
46
+ "engines": {
47
+ "node": ">=18.0.0"
48
+ },
49
+ "files": [
50
+ "/bin",
51
+ "/dist",
52
+ "/oclif.manifest.json"
53
+ ],
54
+ "homepage": "https://github.com/Dokploy/cli",
55
+ "keywords": [
56
+ "oclif"
57
+ ],
58
+ "license": "MIT",
59
+ "main": "dist/index.js",
60
+ "type": "module",
61
+ "oclif": {
62
+ "bin": "dokploy",
63
+ "dirname": "dokploy",
64
+ "commands": "./dist/commands",
65
+ "plugins": [
66
+ "@oclif/plugin-help",
67
+ "@oclif/plugin-plugins"
68
+ ],
69
+ "topicSeparator": " ",
70
+ "topics": {
71
+ "hello": {
72
+ "description": "Say hello to the world and others"
73
+ }
74
+ }
75
+ },
76
+ "repository": "Dokploy/cli",
77
+ "scripts": {
78
+ "build": "shx rm -rf dist && tsc -b",
79
+ "lint": "eslint . --ext .ts",
80
+ "postpack": "shx rm -f oclif.manifest.json",
81
+ "posttest": "pnpm run lint",
82
+ "prepack": "oclif manifest && oclif readme",
83
+ "test": "mocha --forbid-only \"test/**/*.test.ts\"",
84
+ "version": "oclif readme && git add README.md"
85
+ },
86
+ "types": "dist/index.d.ts"
87
+ }