@maka/maka-cli 4.7.15 → 4.7.17

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 (323) hide show
  1. package/.eslintrc.json +29 -29
  2. package/.mocharc.json +3 -3
  3. package/README.md +21 -21
  4. package/bundle/obf/package.json +126 -127
  5. package/bundle/obf/src/README.md +21 -21
  6. package/bundle/obf/src/command.js +1 -1
  7. package/bundle/obf/src/commands/_index.js +1 -1
  8. package/bundle/obf/src/commands/ai.js +1 -1
  9. package/bundle/obf/src/commands/aws/_index.js +1 -1
  10. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  11. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/build/_index.js +1 -1
  24. package/bundle/obf/src/commands/build/build.js +1 -1
  25. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/create.js +1 -1
  27. package/bundle/obf/src/commands/debug.js +1 -1
  28. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  29. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  30. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/_index.js +1 -1
  33. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/play.command.js +1 -1
  35. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/generate.js +1 -1
  73. package/bundle/obf/src/commands/get/_index.js +1 -1
  74. package/bundle/obf/src/commands/get/get.command.js +1 -1
  75. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  78. package/bundle/obf/src/commands/help.js +1 -1
  79. package/bundle/obf/src/commands/install.js +1 -1
  80. package/bundle/obf/src/commands/jsdoc.js +1 -1
  81. package/bundle/obf/src/commands/lint.js +1 -1
  82. package/bundle/obf/src/commands/login.js +1 -1
  83. package/bundle/obf/src/commands/logout.js +1 -1
  84. package/bundle/obf/src/commands/logs.js +1 -1
  85. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  86. package/bundle/obf/src/commands/murder.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/run/_index.js +1 -1
  90. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/run/run.command.js +1 -1
  92. package/bundle/obf/src/commands/set/_index.js +1 -1
  93. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/set.command.js +1 -1
  96. package/bundle/obf/src/commands/ssh.js +1 -1
  97. package/bundle/obf/src/commands/ssl.js +1 -1
  98. package/bundle/obf/src/commands/test.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/kit.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  119. package/bundle/obf/src/generators/layout.js +1 -1
  120. package/bundle/obf/src/generators/maka.gen.js +1 -1
  121. package/bundle/obf/src/generators/methods.js +1 -1
  122. package/bundle/obf/src/generators/package.js +1 -1
  123. package/bundle/obf/src/generators/page.js +1 -1
  124. package/bundle/obf/src/generators/publish.js +1 -1
  125. package/bundle/obf/src/generators/route.js +1 -1
  126. package/bundle/obf/src/generators/service.js +1 -1
  127. package/bundle/obf/src/generators/services/_index.js +1 -1
  128. package/bundle/obf/src/generators/services/openssl.js +1 -1
  129. package/bundle/obf/src/generators/services/translation.js +1 -1
  130. package/bundle/obf/src/maka.js +1 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  132. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  133. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  134. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  135. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  136. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  137. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  138. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  139. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  140. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  141. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  142. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  143. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  144. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  145. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  146. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  147. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  148. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  149. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  150. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  151. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  152. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  153. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  154. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  155. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  156. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  157. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  158. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  159. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  160. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  161. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  162. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  163. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  164. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  165. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  166. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  167. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  168. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  180. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  181. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  182. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  183. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  184. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  185. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  186. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  187. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  188. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  189. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  190. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  191. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  192. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  193. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  194. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  195. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  196. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  197. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  198. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  199. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  200. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  201. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  202. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  203. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  204. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  205. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  206. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  207. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  208. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  209. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  210. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  211. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  212. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  213. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  214. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  215. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  216. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  217. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  218. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  219. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  220. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  221. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  222. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  223. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  224. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  225. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  226. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  227. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  228. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  229. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  230. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  231. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  232. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  233. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  234. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  235. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  236. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  237. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  238. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  239. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  240. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  241. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  242. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  243. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  244. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  245. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  246. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  247. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  248. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  249. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  250. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  251. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  252. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  253. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  254. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  255. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  256. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  257. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  258. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  260. package/bundle/obf/src/templates/react/component/component.css +6 -6
  261. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  262. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  263. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  264. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  265. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  266. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  267. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  268. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  269. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  270. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  271. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  272. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  273. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  274. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  275. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  276. package/bundle/obf/src/templates/react/route/route.js +8 -8
  277. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  278. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  279. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  280. package/bundle/obf/src/templates/react/test/test.js +1 -1
  281. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  282. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  283. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  284. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  285. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  286. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  287. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  288. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  289. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  290. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  291. package/bundle/obf/src/tool.js +1 -1
  292. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  293. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  294. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  295. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  296. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  297. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  298. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  299. package/bundle/obf/src/tools/https/https.class.js +1 -1
  300. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  301. package/bundle/obf/src/tools/log/log.class.js +1 -1
  302. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  303. package/bundle/obf/src/tools/options/options.class.js +1 -1
  304. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  305. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  306. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  308. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  310. package/jest.config.js +11 -11
  311. package/obfuscator.json +29 -29
  312. package/package.json +126 -127
  313. package/tsconfig.json +23 -23
  314. package/.vs/VSWorkspaceState.json +0 -15
  315. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  316. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/f530d0eb-18c4-4b49-9f77-9bef59b119f3.vsidx +0 -0
  320. package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
  321. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  322. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  323. package/.vs/slnx.sqlite +0 -0
package/.eslintrc.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "env": {
3
- "es2021": true,
4
- "node": true
5
- },
6
- "extends": [
7
- "eslint:recommended",
8
- "plugin:@typescript-eslint/recommended"
9
- ],
10
- "overrides": [
11
- ],
12
- "parser": "@typescript-eslint/parser",
13
- "parserOptions": {
14
- "ecmaVersion": "latest",
15
- "sourceType": "module"
16
- },
17
- "plugins": [
18
- "@typescript-eslint"
19
- ],
20
- "rules": {
21
- "@typescript-eslint/ban-types": "off",
22
- "prefer-spread": "off",
23
- "no-prototype-builtins": "off",
24
- "no-useless-escape": "off",
25
- "@typescript-eslint/no-explicit-any": "off",
26
- "no-console": 1
27
- },
28
- "ignorePatterns": ["**/templates/**", "*.test.*"]
29
- }
1
+ {
2
+ "env": {
3
+ "es2021": true,
4
+ "node": true
5
+ },
6
+ "extends": [
7
+ "eslint:recommended",
8
+ "plugin:@typescript-eslint/recommended"
9
+ ],
10
+ "overrides": [
11
+ ],
12
+ "parser": "@typescript-eslint/parser",
13
+ "parserOptions": {
14
+ "ecmaVersion": "latest",
15
+ "sourceType": "module"
16
+ },
17
+ "plugins": [
18
+ "@typescript-eslint"
19
+ ],
20
+ "rules": {
21
+ "@typescript-eslint/ban-types": "off",
22
+ "prefer-spread": "off",
23
+ "no-prototype-builtins": "off",
24
+ "no-useless-escape": "off",
25
+ "@typescript-eslint/no-explicit-any": "off",
26
+ "no-console": 1
27
+ },
28
+ "ignorePatterns": ["**/templates/**", "*.test.*"]
29
+ }
package/.mocharc.json CHANGED
@@ -1,3 +1,3 @@
1
- {
2
- "loader": "ts-node/esm"
3
- }
1
+ {
2
+ "loader": "ts-node/esm"
3
+ }
package/README.md CHANGED
@@ -1,21 +1,21 @@
1
- <p align="center">
2
- <img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
3
- </p>
4
-
5
- ## About
6
- Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
7
- (i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
8
- NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
9
-
10
- Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
11
-
12
- ## Installation
13
- ```
14
- npm i -g @maka/maka-cli
15
- ```
16
-
17
- ## Getting Started
18
-
19
- Documentation has moved over to:
20
-
21
- [maka-cli.com](https://www.maka-cli.com/documentation#documentation)
1
+ <p align="center">
2
+ <img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
3
+ </p>
4
+
5
+ ## About
6
+ Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
7
+ (i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
8
+ NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
9
+
10
+ Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
11
+
12
+ ## Installation
13
+ ```
14
+ npm i -g @maka/maka-cli
15
+ ```
16
+
17
+ ## Getting Started
18
+
19
+ Documentation has moved over to:
20
+
21
+ [maka-cli.com](https://www.maka-cli.com/documentation#documentation)
@@ -1,127 +1,126 @@
1
- {
2
- "name": "@maka/maka-cli",
3
- "//": "NOTE: don't forget to update version.ts and fsi.class.ts",
4
- "version": "4.7.15",
5
- "type": "module",
6
- "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
7
- "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
8
- "homepage": "https://github.com/maka-io/maka-cli",
9
- "main": "./bundle/typescript/src/maka.js",
10
- "files": "",
11
- "bin": {
12
- "maka": "./bundle/obf/src/exec.js"
13
- },
14
- "repository": {
15
- "type": "git",
16
- "url": "git://github.com/maka-io/maka-cli.git"
17
- },
18
- "bugs": {
19
- "url": "https://github.com/maka-io/maka-cli/issues",
20
- "email": "mjmcee@gmail.com"
21
- },
22
- "scripts": {
23
- "lint": "eslint src/ --fix",
24
- "maka": "./typescript/src/maka.js",
25
- "test": "jest",
26
- "develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/exec.js && chmod +x ./bundle/typescript/src/exec.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
27
- "build": "npm run lint && rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
28
- "obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
29
- "prep": " cp -R ./src/templates ./bundle/obf/src/ && cp ./README.md ./bundle/obf/src/ && cp ./package.json ./bundle/obf/ && chmod +x ./bundle/obf/src/exec.js",
30
- "//": "## es-build, and package are still experimental",
31
- "es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
32
- "package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
33
- "distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
34
- "prepare": "husky install"
35
- },
36
- "author": "Matthew Campbell <mjmcee@gmail.com>",
37
- "license": "MIT",
38
- "dependencies": {
39
- "@aws-sdk/client-ec2": "^3.414.0",
40
- "@aws-sdk/client-ecr": "^3.414.0",
41
- "@aws-sdk/client-route-53": "^3.414.0",
42
- "@aws-sdk/client-route-53-domains": "^3.414.0",
43
- "blessed": "^0.1.81",
44
- "change-case": "^4.1.2",
45
- "cli-color": "^2.0.3",
46
- "cli-cursor": "^4.0.0",
47
- "cli-table": "^0.3.11",
48
- "delete": "^1.1.0",
49
- "dotenv": "^16.3.1",
50
- "ejs": "^3.1.9",
51
- "elegant-spinner": "^3.0.0",
52
- "eslint": "^8.49.0",
53
- "http-proxy": "^1.18.1",
54
- "humps": "^2.0.1",
55
- "inquirer": "^9.2.11",
56
- "jsonwebtoken": "^9.0.2",
57
- "latest-version": "^7.0.0",
58
- "minimist": "^1.2.8",
59
- "node-forge": "^1.3.1",
60
- "open": "^9.1.0",
61
- "rimraf": "^5.0.1",
62
- "semver": "^7.5.4",
63
- "single-line-log2": "^1.1.3",
64
- "slash": "^5.1.0",
65
- "spawn-args": "0.2.0",
66
- "tar": "^6.2.0",
67
- "uuid": "^9.0.1",
68
- "xtend": "^4.0.2"
69
- },
70
- "devDependencies": {
71
- "@aws-sdk/types": "^3.413.0",
72
- "@types/blessed": "^0.1.23",
73
- "@types/chai": "^4.3.6",
74
- "@types/change-case": "^2.3.1",
75
- "@types/cli-color": "^2.0.3",
76
- "@types/cli-table": "^0.3.2",
77
- "@types/ejs": "^3.1.2",
78
- "@types/eslint": "^8.44.2",
79
- "@types/fibers": "^3.1.2",
80
- "@types/http-proxy": "^1.17.12",
81
- "@types/humps": "^2.0.4",
82
- "@types/inquirer": "^9.0.3",
83
- "@types/jest": "^29.5.5",
84
- "@types/jsonwebtoken": "^9.0.3",
85
- "@types/meteor": "^2.9.4",
86
- "@types/minimist": "^1.2.2",
87
- "@types/node": "^20.6.2",
88
- "@types/react": "^18.2.21",
89
- "@types/react-dom": "^18.2.7",
90
- "@types/uuid": "^9.0.4",
91
- "@typescript-eslint/eslint-plugin": "^6.7.0",
92
- "@typescript-eslint/parser": "^6.7.0",
93
- "aws-sdk": "^2.1459.0",
94
- "chai": "^4.3.8",
95
- "chdir": "^0.0.0",
96
- "concat-stream": "^2.0.0",
97
- "concurrently": "^8.2.1",
98
- "esbuild": "^0.19.3",
99
- "eslint-config-airbnb-base": "^15.0.0",
100
- "eslint-plugin-import": "^2.28.1",
101
- "husky": "^8.0.3",
102
- "javascript-obfuscator": "^4.1.0",
103
- "jest": "^29.7.0",
104
- "mkdirp": "^3.0.1",
105
- "pkg": "^5.8.1",
106
- "ts-jest": "^29.1.1",
107
- "typescript": "^5.2.2",
108
- "wait-on": "^7.0.1"
109
- },
110
- "pkg": {
111
- "assets": [
112
- "package.json",
113
- ".npmrc",
114
- "bundle/typescript/src/commands",
115
- "bundle/typescript/src/generators",
116
- "bundle/typescript/src/templates",
117
- "bundle/typescript/src/tools"
118
- ],
119
- "scripts": [
120
- "typescript/**/*.js",
121
- "typescript/**/*.d.js"
122
- ]
123
- },
124
- "engines": {
125
- "node": ">=14.0.0"
126
- }
127
- }
1
+ {
2
+ "name": "@maka/maka-cli",
3
+ "//": "NOTE: don't forget to update version.ts and fsi.class.ts",
4
+ "version": "4.7.17",
5
+ "type": "module",
6
+ "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
7
+ "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
8
+ "homepage": "https://github.com/maka-io/maka-cli",
9
+ "main": "./bundle/typescript/src/maka.js",
10
+ "files": "",
11
+ "bin": {
12
+ "maka": "./bundle/obf/src/exec.js"
13
+ },
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git://github.com/maka-io/maka-cli.git"
17
+ },
18
+ "bugs": {
19
+ "url": "https://github.com/maka-io/maka-cli/issues",
20
+ "email": "mjmcee@gmail.com"
21
+ },
22
+ "scripts": {
23
+ "lint": "eslint src/ --fix",
24
+ "maka": "./typescript/src/maka.js",
25
+ "test": "jest",
26
+ "develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/exec.js && chmod +x ./bundle/typescript/src/exec.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
27
+ "build": "npm run lint && rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
28
+ "obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
29
+ "prep": " cp -R ./src/templates ./bundle/obf/src/ && cp ./README.md ./bundle/obf/src/ && cp ./package.json ./bundle/obf/ && chmod +x ./bundle/obf/src/exec.js",
30
+ "//": "## es-build, and package are still experimental",
31
+ "es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
32
+ "package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
33
+ "distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
34
+ "prepare": "husky install"
35
+ },
36
+ "author": "Matthew Campbell <mjmcee@gmail.com>",
37
+ "license": "MIT",
38
+ "dependencies": {
39
+ "@aws-sdk/client-ec2": "^3.414.0",
40
+ "@aws-sdk/client-ecr": "^3.414.0",
41
+ "@aws-sdk/client-route-53": "^3.414.0",
42
+ "@aws-sdk/client-route-53-domains": "^3.414.0",
43
+ "blessed": "^0.1.81",
44
+ "change-case": "^4.1.2",
45
+ "cli-color": "^2.0.3",
46
+ "cli-cursor": "^4.0.0",
47
+ "cli-table": "^0.3.11",
48
+ "delete": "^1.1.0",
49
+ "dotenv": "^16.3.1",
50
+ "ejs": "^3.1.9",
51
+ "elegant-spinner": "^3.0.0",
52
+ "eslint": "^8.49.0",
53
+ "http-proxy": "^1.18.1",
54
+ "humps": "^2.0.1",
55
+ "inquirer": "^9.2.11",
56
+ "jsonwebtoken": "^9.0.2",
57
+ "latest-version": "^7.0.0",
58
+ "minimist": "^1.2.8",
59
+ "node-forge": "^1.3.1",
60
+ "rimraf": "^5.0.1",
61
+ "semver": "^7.5.4",
62
+ "single-line-log2": "^1.1.3",
63
+ "slash": "^5.1.0",
64
+ "spawn-args": "0.2.0",
65
+ "tar": "^6.2.0",
66
+ "uuid": "^9.0.1",
67
+ "xtend": "^4.0.2"
68
+ },
69
+ "devDependencies": {
70
+ "@aws-sdk/types": "^3.413.0",
71
+ "@types/blessed": "^0.1.23",
72
+ "@types/chai": "^4.3.6",
73
+ "@types/change-case": "^2.3.1",
74
+ "@types/cli-color": "^2.0.3",
75
+ "@types/cli-table": "^0.3.2",
76
+ "@types/ejs": "^3.1.2",
77
+ "@types/eslint": "^8.44.2",
78
+ "@types/fibers": "^3.1.2",
79
+ "@types/http-proxy": "^1.17.12",
80
+ "@types/humps": "^2.0.4",
81
+ "@types/inquirer": "^9.0.3",
82
+ "@types/jest": "^29.5.5",
83
+ "@types/jsonwebtoken": "^9.0.3",
84
+ "@types/meteor": "^2.9.4",
85
+ "@types/minimist": "^1.2.2",
86
+ "@types/node": "^20.6.2",
87
+ "@types/react": "^18.2.21",
88
+ "@types/react-dom": "^18.2.7",
89
+ "@types/uuid": "^9.0.4",
90
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
91
+ "@typescript-eslint/parser": "^6.7.0",
92
+ "aws-sdk": "^2.1459.0",
93
+ "chai": "^4.3.8",
94
+ "chdir": "^0.0.0",
95
+ "concat-stream": "^2.0.0",
96
+ "concurrently": "^8.2.1",
97
+ "esbuild": "^0.19.3",
98
+ "eslint-config-airbnb-base": "^15.0.0",
99
+ "eslint-plugin-import": "^2.28.1",
100
+ "husky": "^8.0.3",
101
+ "javascript-obfuscator": "^4.1.0",
102
+ "jest": "^29.7.0",
103
+ "mkdirp": "^3.0.1",
104
+ "pkg": "^5.8.1",
105
+ "ts-jest": "^29.1.1",
106
+ "typescript": "^5.2.2",
107
+ "wait-on": "^7.0.1"
108
+ },
109
+ "pkg": {
110
+ "assets": [
111
+ "package.json",
112
+ ".npmrc",
113
+ "bundle/typescript/src/commands",
114
+ "bundle/typescript/src/generators",
115
+ "bundle/typescript/src/templates",
116
+ "bundle/typescript/src/tools"
117
+ ],
118
+ "scripts": [
119
+ "typescript/**/*.js",
120
+ "typescript/**/*.d.js"
121
+ ]
122
+ },
123
+ "engines": {
124
+ "node": ">=14.0.0"
125
+ }
126
+ }
@@ -1,21 +1,21 @@
1
- <p align="center">
2
- <img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
3
- </p>
4
-
5
- ## About
6
- Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
7
- (i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
8
- NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
9
-
10
- Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
11
-
12
- ## Installation
13
- ```
14
- npm i -g @maka/maka-cli
15
- ```
16
-
17
- ## Getting Started
18
-
19
- Documentation has moved over to:
20
-
21
- [maka-cli.com](https://www.maka-cli.com/documentation#documentation)
1
+ <p align="center">
2
+ <img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
3
+ </p>
4
+
5
+ ## About
6
+ Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
7
+ (i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
8
+ NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
9
+
10
+ Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
11
+
12
+ ## Installation
13
+ ```
14
+ npm i -g @maka/maka-cli
15
+ ```
16
+
17
+ ## Getting Started
18
+
19
+ Documentation has moved over to:
20
+
21
+ [maka-cli.com](https://www.maka-cli.com/documentation#documentation)
@@ -1 +1 @@
1
- const a0p=a0d;(function(a,b){const m=a0d,c=a();while(!![]){try{const d=-parseInt(m(0x1f8))/0x1*(-parseInt(m(0x21d))/0x2)+parseInt(m(0x1f7))/0x3*(-parseInt(m(0x232))/0x4)+-parseInt(m(0x22f))/0x5*(-parseInt(m(0x1fa))/0x6)+-parseInt(m(0x1f1))/0x7+parseInt(m(0x233))/0x8*(-parseInt(m(0x216))/0x9)+-parseInt(m(0x221))/0xa+parseInt(m(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x4d520));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a0d;if(c){const e=c[n(0x222)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const o=a0d;return a0a[o(0x225)]()['search'](o(0x204))[o(0x225)]()[o(0x219)](a0a)['search'](o(0x204));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a0d(a,b);}function a0c(){const z=['There\x20is\x20no\x20Meteor\x20application\x20here','number','3062675vSWiBj','find','7524781YUGIPo','Command\x20not\x20found','bind','unshift','519wdvIoi','28286QQAfCu','maxArgLength','545142FcfiAp','error','fsi','setColorMode','mustHaveMeteorInstalled','_commands','minOptsLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','length','Command\x20format\x20is\x20incorrect','(((.+)+)+)+$','shortDesc','forEach','bright','options','minArgLength','Command\x20requires\x20a\x20name','header','maybeProxyCommandToMeteor','push','LIGHT','function','Description','murder','processAndRunCommand','localeCompare','Too\x20many\x20options','run','180kasAXE','notice','validateMakaProject','constructor','pallet','create','Command.create\x20requires\x20a\x20handler\x20function!','34RcEThw','usage','generate','keys','2775990LRxXvY','apply','light','slice','toString','match','validateMakaSubscription','play','invoke','Too\x20many\x20arguments','addCommand\x20requires\x20a\x20Command\x20instance','validateMeteorInstall','tableList','call','25pqajBT','aliases','Please\x20run\x20\x22maka\x20install\x20meteor\x22','3560SNdhaf','173368ujcvNc','Command\x20requires\x20a\x20handler\x20function','_handler','DARK','validateParams','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','help','name','maxOptsLength','exit'];a0c=function(){return z;};return a0c();}import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0p(0x208)];[a0p(0x1ff)];constructor(a,b){const q=a0p;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[q(0x23a)])throw new Error(q(0x20a));if(typeof b!=='function')throw new Error(q(0x234));this[q(0x208)]=Object['assign']({},a),this[q(0x23a)]=this[q(0x208)][q(0x23a)],this[q(0x1ff)]=[],this['_handler']=b[q(0x1f5)](this);}static[a0p(0x21b)](a,b,c){const r=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==r(0x20f))throw new Error(r(0x21c));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[r(0x208)]?.['name']}),c['addCommand'](d),d;}['addCommand'](a){const s=a0p;if(!(a instanceof Command))throw new Error(s(0x22b));this[s(0x1ff)][s(0x20d)](a);}async[a0p(0x215)](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this[t(0x1fc)]['getGlobalConfig'](),d=c[t(0x21a)]===t(0x223)?ColorMode[t(0x20e)]:ColorMode[t(0x236)];Log[t(0x1fd)](d),await this[t(0x227)](this);}catch(f){Log['error'](f),process[t(0x1ee)](0x0);}await this[t(0x229)](a,b);}catch(g){process[t(0x1ee)](0x1);}}async['invoke'](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{if(this[u(0x208)][u(0x23a)]!==u(0x21f)){if(!isRoot){const f=(a[0x0]===_prevCmd||a[u(0x202)]===0x0)&&this[u(0x1ff)][u(0x202)]>=0x0,g=b[u(0x239)]||b['h'];if(f&&g){if(this[u(0x1ff)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this['options']['mustBeInMakaProject']){const h=this[u(0x218)]();if(!h)throw new MustBeInProjectError();}if(this[u(0x208)][u(0x1fe)]){const i=this[u(0x22c)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[u(0x208)]['minArgLength']===u(0x1f0)){if(a[u(0x202)]<this[u(0x208)][u(0x209)]){Log[u(0x1fb)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[u(0x208)][u(0x1f9)]===u(0x1f0)){if(a[u(0x202)]>=this[u(0x208)]['maxArgLength']){Log[u(0x1fb)](u(0x22a));throw new UsageError();}}if(typeof this[u(0x208)][u(0x200)]==='number'){if(Object[u(0x220)](b)[u(0x202)]<this[u(0x208)][u(0x200)]){Log[u(0x1fb)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this['options'][u(0x1ed)]===u(0x1f0)){if(Object['keys'](b)[u(0x202)]>=this[u(0x208)][u(0x1ed)]){Log[u(0x1fb)](u(0x214));throw new UsageError();}}}}b=await this[u(0x237)](a,b,this[u(0x208)]),_prevCmd=a[0x0];}await this[u(0x235)][u(0x22e)](this,a,b);}catch(j){Log[u(0x21e)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageErrorWithSubs)Log[u(0x217)]('Sub-Commands:'),this[u(0x22d)](this[u(0x1ff)]),Log[u(0x20b)](u(0x238));else{if(j instanceof MustBeInProjectError)Log[u(0x1fb)](u(0x201));else{if(j instanceof NoMeteorFoundError)Log[u(0x1fb)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[u(0x217)](u(0x231));else j instanceof NoMeteorAppFoundError&&Log[u(0x1fb)](u(0x1ef));}}process[u(0x1ee)](0x1);}}[a0p(0x22d)](a){const v=a0p,b=new a0e({});b[v(0x20d)](['Name','Alias',v(0x210)]),a['sort']((c,d)=>{const w=v;return c[w(0x23a)][w(0x213)](d[w(0x23a)]);})[v(0x206)](c=>{const x=v;c[x(0x23a)]!==x(0x211)&&c[x(0x23a)]!==x(0x228)&&b[x(0x20d)]([c[x(0x23a)],c[x(0x230)](),c[x(0x205)]()]);}),Log[v(0x207)](b[v(0x225)]());}async[a0p(0x212)](a,b=[],c={}){const y=a0p;try{const d=a?.['split'](':');if(!d||d[y(0x202)]===0x0)throw y(0x203);if(d[0x0]===y(0x21f)||d[0x0]==='g'&&d[y(0x202)]>0x1){const h=this[y(0x1ff)][y(0x1f2)](j=>j[y(0x226)](y(0x21f)));if(!h)throw y(0x1f4);await this[y(0x227)](h);const i=d[y(0x224)](0x1)['join'](':');b[y(0x1f6)](i),await h[y(0x215)](b,c);return;}let f=this[y(0x1ff)],g;for(const j of d){g=f['find'](k=>k[y(0x226)](j));if(!g)try{await this[y(0x1fc)][y(0x20c)]();}catch(k){throw'Command\x20'+j+'\x20not\x20found';}g&&(await this[y(0x227)](g),f=g[y(0x1ff)]);}if(g)await g['run'](b,c);else throw y(0x1f4);}catch(l){Log[y(0x1fb)](l),process['exit'](0x1);}}}
1
+ function a0c(){const y=['minArgLength','8847ACDqPG','(((.+)+)+)+$','mustHaveMeteorInstalled','Command\x20format\x20is\x20incorrect','keys','run','validateMakaSubscription','play','sort','options','fsi','error','unshift','validateMeteorInstall','push','LIGHT','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','10WybpPG','exit','Command\x20','Please\x20run\x20\x22maka\x20install\x20meteor\x22','call','176641PCsGdy','Too\x20few\x20arguments','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','name','Too\x20few\x20options','aliases','maybeProxyCommandToMeteor','shortDesc','find','search','Sub-Commands:','872LIvXAL','number','match','846244jEyxmU','invoke','Command\x20requires\x20a\x20handler\x20function','Name','header','help','split','pallet','join','notice','addCommand','Description','2nwlsqu','processAndRunCommand','forEach','14232GJWXyS','Command\x20not\x20found','tableList','length','Command.create\x20requires\x20a\x20handler\x20function!','toString','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','murder','100jqEHJo','assign','_commands','maxArgLength','minOptsLength','constructor','function','create','917642BVVWcF','There\x20is\x20no\x20Meteor\x20application\x20here','_handler','validateParams','light','localeCompare','16668Nyennh','Alias','Too\x20many\x20options','580293LZPIJM','DARK'];a0c=function(){return y;};return a0c();}const a0p=a0d;(function(a,b){const m=a0d,c=a();while(!![]){try{const d=-parseInt(m(0x17b))/0x1*(-parseInt(m(0x195))/0x2)+parseInt(m(0x162))/0x3+parseInt(m(0x15f))/0x4+-parseInt(m(0x151))/0x5*(-parseInt(m(0x198))/0x6)+-parseInt(m(0x189))/0x7+-parseInt(m(0x186))/0x8*(parseInt(m(0x165))/0x9)+-parseInt(m(0x176))/0xa*(parseInt(m(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x1ae8a));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const n=a0d;return a0a['toString']()[n(0x184)]('(((.+)+)+)+$')[n(0x14e)]()[n(0x156)](a0a)[n(0x184)](n(0x166));});a0a();function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x14a;let f=c[d];return f;},a0d(a,b);}import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];['_commands'];constructor(a,b){const o=a0d;super();if(!a)throw new Error(o(0x17d));if(!a[o(0x17e)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==o(0x157))throw new Error(o(0x18b));this['options']=Object[o(0x152)]({},a),this[o(0x17e)]=this['options'][o(0x17e)],this[o(0x153)]=[],this[o(0x15b)]=b['bind'](this);}static[a0p(0x158)](a,b,c){const q=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(q(0x14d));const d=new Command(a,b);return c=c||a0f,Object[q(0x152)](d,{'parent':c?.[q(0x16e)]?.[q(0x17e)]}),c[q(0x193)](d),d;}[a0p(0x193)](a){const r=a0p;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[r(0x153)][r(0x173)](a);}async[a0p(0x16a)](a,b){const s=a0p;try{a=a||[],b=b||{};try{const c=await this['fsi']['getGlobalConfig'](),d=c[s(0x190)]===s(0x15d)?ColorMode[s(0x174)]:ColorMode[s(0x163)];Log['setColorMode'](d),await this[s(0x16b)](this);}catch(f){Log[s(0x170)](f),process[s(0x177)](0x0);}await this[s(0x18a)](a,b);}catch(g){process[s(0x177)](0x1);}}async['invoke'](a,b){const t=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[t(0x16e)];try{if(this['options'][t(0x17e)]!=='generate'){if(!isRoot){const f=(a[0x0]===_prevCmd||a[t(0x14c)]===0x0)&&this[t(0x153)][t(0x14c)]>=0x0,g=b[t(0x18e)]||b['h'];if(f&&g){if(this[t(0x153)][t(0x14c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[t(0x16e)]['mustBeInMakaProject']){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this['options'][t(0x167)]){const i=this[t(0x172)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[t(0x16e)][t(0x164)]==='number'){if(a['length']<this['options'][t(0x164)]){Log[t(0x170)](t(0x17c));throw new UsageError();}}if(typeof this['options'][t(0x154)]===t(0x187)){if(a['length']>=this[t(0x16e)][t(0x154)]){Log[t(0x170)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[t(0x16e)][t(0x155)]===t(0x187)){if(Object[t(0x169)](b)[t(0x14c)]<this[t(0x16e)][t(0x155)]){Log[t(0x170)](t(0x17f));throw new UsageError();}}if(typeof this[t(0x16e)]['maxOptsLength']===t(0x187)){if(Object[t(0x169)](b)[t(0x14c)]>=this['options']['maxOptsLength']){Log['error'](t(0x161));throw new UsageError();}}}}b=await this[t(0x15c)](a,b,this['options']),_prevCmd=a[0x0];}await this[t(0x15b)][t(0x17a)](this,a,b);}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageErrorWithSubs)Log[t(0x192)](t(0x185)),this[t(0x14b)](this[t(0x153)]),Log[t(0x18d)](t(0x175));else{if(j instanceof MustBeInProjectError)Log[t(0x170)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(j instanceof NoMeteorFoundError)Log[t(0x170)](t(0x14f)),Log['notice'](t(0x179));else j instanceof NoMeteorAppFoundError&&Log['error'](t(0x15a));}}process[t(0x177)](0x1);}}['tableList'](a){const u=a0p,b=new a0e({});b[u(0x173)]([u(0x18c),u(0x160),u(0x194)]),a[u(0x16d)]((c,d)=>{const v=u;return c[v(0x17e)][v(0x15e)](d[v(0x17e)]);})[u(0x197)](c=>{const w=u;c[w(0x17e)]!==w(0x150)&&c[w(0x17e)]!==w(0x16c)&&b[w(0x173)]([c[w(0x17e)],c[w(0x180)](),c[w(0x182)]()]);}),Log['bright'](b[u(0x14e)]());}async[a0p(0x196)](a,b=[],c={}){const x=a0p;try{const d=a?.[x(0x18f)](':');if(!d||d[x(0x14c)]===0x0)throw x(0x168);if(d[0x0]==='generate'||d[0x0]==='g'&&d[x(0x14c)]>0x1){const h=this[x(0x153)][x(0x183)](j=>j[x(0x188)]('generate'));if(!h)throw x(0x14a);await this['validateMakaSubscription'](h);const i=d['slice'](0x1)[x(0x191)](':');b[x(0x171)](i),await h[x(0x16a)](b,c);return;}let f=this[x(0x153)],g;for(const j of d){g=f[x(0x183)](k=>k['match'](j));if(!g)try{await this[x(0x16f)][x(0x181)]();}catch(k){throw x(0x178)+j+'\x20not\x20found';}g&&(await this['validateMakaSubscription'](g),f=g[x(0x153)]);}if(g)await g[x(0x16a)](b,c);else throw x(0x14a);}catch(l){Log[x(0x170)](l),process[x(0x177)](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0xdf))/0x1*(parseInt(f(0xdd))/0x2)+parseInt(f(0xd7))/0x3+-parseInt(f(0xd5))/0x4+-parseInt(f(0xd6))/0x5+-parseInt(f(0xe1))/0x6+-parseInt(f(0xda))/0x7+-parseInt(f(0xd4))/0x8*(-parseInt(f(0xd8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x49710));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a['toString']()[h(0xe0)]('(((.+)+)+)+$')[h(0xdb)]()[h(0xdc)](a94a)[h(0xe0)](h(0xd9));});a94a();import'./aws/_index.js';import'./set/_index.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0xd4;var f=c[d];return f;},a94d(a,b);}import'./get/_index.js';import'./game/_index.js';function a94c(){var i=['apply','43GLgJhh','search','1932690yIlYIn','104xJHqdm','1140148IkJUBJ','2031790QoNQdU','588984kLgwJO','1091187njHvvs','(((.+)+)+)+$','3399466vuwkiy','toString','constructor','1278eexKRw'];a94c=function(){return i;};return a94c();}import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./ai.js';
1
+ (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x1c0))/0x1+-parseInt(f(0x1bb))/0x2*(-parseInt(f(0x1b8))/0x3)+-parseInt(f(0x1b9))/0x4*(parseInt(f(0x1bc))/0x5)+parseInt(f(0x1b7))/0x6*(-parseInt(f(0x1c4))/0x7)+parseInt(f(0x1c3))/0x8+-parseInt(f(0x1c1))/0x9*(-parseInt(f(0x1bd))/0xa)+parseInt(f(0x1bf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xaa982));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a['toString']()[h(0x1ba)](h(0x1c2))[h(0x1c5)]()[h(0x1be)](a1a)[h(0x1ba)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';function a1c(){var i=['5541MJfXKr','4JQRzoV','search','130fenFZi','4055865RgADaC','10eIWvOX','constructor','36642606lHJgcY','743737RUQbAt','182583FeTueQ','(((.+)+)+)+$','454296dBJrsN','686329wcwnpz','toString','apply','78cmhFLh'];a1c=function(){return i;};return a1c();}import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a1d(a,b);}import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./ai.js';
@@ -1 +1 @@
1
- function a1d(a,b){const c=a1c();return a1d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a1d(a,b);}const a1l=a1d;(function(a,b){const h=a1d,c=a();while(!![]){try{const d=-parseInt(h(0x1db))/0x1+parseInt(h(0x1e4))/0x2+-parseInt(h(0x1e2))/0x3*(-parseInt(h(0x1c3))/0x4)+-parseInt(h(0x1c2))/0x5*(-parseInt(h(0x1de))/0x6)+parseInt(h(0x1e9))/0x7*(parseInt(h(0x1e6))/0x8)+parseInt(h(0x1cb))/0x9*(parseInt(h(0x1d5))/0xa)+-parseInt(h(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xe4fa4));const a1b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a1d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){const j=a1d;return a1a[j(0x1e3)]()['search'](j(0x1c4))[j(0x1e3)]()[j(0x1d8)](a1a)[j(0x1d6)](j(0x1c4));});a1a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a1e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const c=a1e['createInterface']({'input':process['stdin'],'output':process['stdout']});c['question']('You:\x20',async d=>{const k=a1d;if(d['toLowerCase']()===k(0x1cc)){c[k(0x1df)]();return;}try{const e=await HTTPS[k(0x1d9)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x1c9)](e['data']);if(f['error'])throw new Error(f[k(0x1c8)][k(0x1dd)]);Log['bright'](k(0x1d7)+f?.['choices'][0x0]?.[k(0x1c6)][k(0x1d0)]());}catch(g){Log[k(0x1c8)](g),process['exit'](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a1c(){const n=['230745hEUfuu','94008CCRIWP','(((.+)+)+)+$','Using\x20CA\x20Cert\x20','text','Using\x20OpenAI\x20Key\x20','error','parse','cert','99324dEYPRc','exit','notice','ChatGPT\x20style\x20AI\x20interface','isFile','trim','getGlobalConfig','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','openai','27131005IZCtjM','1090YRbtpb','search','GPT:\x20','constructor','askGPT','create','1289395ZfAZBj','cacert','message','78nGpwWz','close','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','fsi','33WyKzfI','toString','2093014gnhTLz','openapikey','173792Eubqlk','log','apply','511KokaSk'];a1c=function(){return n;};return a1c();}Command[a1l(0x1da)]({'name':'ai','description':a1l(0x1ce),'validOpts':['cacert',a1l(0x1e5)],'shortDesc':a1l(0x1ce),'isPro':!![]},async function(a,b){const m=a1l;try{let c='';b[m(0x1dc)]&&(this[m(0x1e1)][m(0x1cf)](b[m(0x1dc)])?(c=b[m(0x1dc)],Log[m(0x1cd)](m(0x1c5)+c)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this['fsi'][m(0x1d1)]();if(d[m(0x1ca)]){if(this[m(0x1e1)]['isFile'](d[m(0x1ca)]))c=d['cert'];else throw Log[m(0x1c8)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b[m(0x1e5)])f=b['openapikey'],Log['notice'](m(0x1c7)+f);else{if(d[m(0x1d3)])f=d[m(0x1d3)];else throw Log[m(0x1c8)](m(0x1d2));}console[m(0x1e7)](m(0x1e0)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[m(0x1c8)](g),process[m(0x1cc)](0x1);}});
1
+ function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x14c;let f=c[d];return f;},a2d(a,b);}const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x163))/0x1+-parseInt(h(0x175))/0x2+parseInt(h(0x177))/0x3+-parseInt(h(0x156))/0x4*(parseInt(h(0x16e))/0x5)+-parseInt(h(0x168))/0x6*(-parseInt(h(0x161))/0x7)+parseInt(h(0x166))/0x8+-parseInt(h(0x173))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x1a31a));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const i=a2d;return a2a['toString']()[i(0x16a)]('(((.+)+)+)+$')[i(0x14c)]()[i(0x179)](a2a)[i(0x16a)](i(0x167));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e[j(0x172)]({'input':process[j(0x152)],'output':process[j(0x15a)]});c[j(0x159)](j(0x165),async d=>{const k=j;if(d[k(0x15d)]()===k(0x150)){c['close']();return;}try{const e=await HTTPS[k(0x171)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x15b)](e[k(0x14f)]);if(f[k(0x155)])throw new Error(f[k(0x155)][k(0x157)]);Log[k(0x151)](k(0x16f)+f?.[k(0x153)][0x0]?.[k(0x174)][k(0x15c)]());}catch(g){Log['error'](g),process[k(0x150)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2c(){const n=['toLowerCase','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','log','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','7tCzSGq','getGlobalConfig','6020WjRisA','cert','You:\x20','1287896dWHYgw','(((.+)+)+)+$','1266540XLxYDB','openapikey','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','Using\x20CA\x20Cert\x20','752305cyZKiJ','GPT:\x20','notice','askGPT','createInterface','1727307lXHEtC','text','99806uJLMeB','isFile','400560tElWEG','create','constructor','toString','Using\x20OpenAI\x20Key\x20','openai','data','exit','bright','stdin','choices','ChatGPT\x20style\x20AI\x20interface','error','4uvnGBh','message','fsi','question','stdout','parse','trim'];a2c=function(){return n;};return a2c();}Command[a2l(0x178)]({'name':'ai','description':a2l(0x154),'validOpts':[a2l(0x16c),a2l(0x169)],'shortDesc':a2l(0x154),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x16c)]&&(this[m(0x158)]['isFile'](b['cacert'])?(c=b[m(0x16c)],Log['notice'](m(0x16d)+c)):Log[m(0x155)](m(0x16b)+c));const d=await this['fsi'][m(0x162)]();if(d[m(0x164)]){if(this[m(0x158)][m(0x176)](d[m(0x164)]))c=d[m(0x164)];else throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b['openapikey'])f=b['openapikey'],Log[m(0x170)](m(0x14d)+f);else{if(d[m(0x14e)])f=d[m(0x14e)];else throw Log[m(0x155)](m(0x15e));}console[m(0x15f)](m(0x160)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0x150)](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a15d,c=a();while(!![]){try{var d=parseInt(f(0x17b))/0x1+parseInt(f(0x17e))/0x2*(-parseInt(f(0x17d))/0x3)+parseInt(f(0x186))/0x4*(-parseInt(f(0x188))/0x5)+parseInt(f(0x184))/0x6+parseInt(f(0x181))/0x7+parseInt(f(0x17f))/0x8*(-parseInt(f(0x185))/0x9)+parseInt(f(0x183))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xd56a6));var a15b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a15d;if(c){var e=c[g(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){var h=a15d;return a15a[h(0x182)]()[h(0x17c)](h(0x187))[h(0x182)]()['constructor'](a15a)[h(0x17c)](h(0x187));});a15a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';function a15c(){var i=['toString','28326430ctZtwn','2037306dueTSu','2655qufmwL','12izAUmS','(((.+)+)+)+$','2333725rTMZlN','30558eXYQnq','search','1231572hwqXAW','8CSTPbX','5496JvXwyH','apply','6414758ENIJfe'];a15c=function(){return i;};return a15c();}import'./sth.sub.cmd.js';function a15d(a,b){var c=a15c();return a15d=function(d,e){d=d-0x17b;var f=c[d];return f;},a15d(a,b);}import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';
1
+ (function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0xfe))/0x1*(-parseInt(f(0xf7))/0x2)+-parseInt(f(0xf5))/0x3+-parseInt(f(0xfb))/0x4+-parseInt(f(0xf8))/0x5+parseInt(f(0x101))/0x6*(parseInt(f(0xf6))/0x7)+parseInt(f(0xf9))/0x8+-parseInt(f(0xff))/0x9*(-parseInt(f(0x100))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xa40ce));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xfc)]()[h(0xfd)](h(0xf4))[h(0xfc)]()[h(0xf3)](a3a)['search'](h(0xf4));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';function a3c(){var i=['2223AxWtQp','83470kpHkfE','6418836jmgqzy','constructor','(((.+)+)+)+$','3963213iQGOTo','7BORfXM','10qeEnGw','4964880pgGHOZ','9461288SjPmaK','apply','2512836ASWYzI','toString','search','139994qvKsLp'];a3c=function(){return i;};return a3c();}import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xf3;var f=c[d];return f;},a3d(a,b);}import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';
@@ -1 +1 @@
1
- const a2i=a2d;function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xa8;let f=c[d];return f;},a2d(a,b);}(function(a,b){const f=a2d,c=a();while(!![]){try{const d=-parseInt(f(0xb6))/0x1+-parseInt(f(0xae))/0x2+-parseInt(f(0xb7))/0x3*(parseInt(f(0xb5))/0x4)+parseInt(f(0xaa))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xaf))/0x7*(parseInt(f(0xb1))/0x8)+-parseInt(f(0xb0))/0x9*(-parseInt(f(0xba))/0xa)+parseInt(f(0xb8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xd44f2));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a2d;if(c){const e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const h=a2d;return a2a[h(0xa8)]()[h(0xb9)](h(0xb4))[h(0xa8)]()[h(0xb2)](a2a)[h(0xb9)]('(((.+)+)+)+$');});a2a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a2i(0xb3)]({'name':a2i(0xad),'usage':a2i(0xa9),'validOpts':[],'isPro':!![],'shortDesc':a2i(0xac),'description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x0a\x20\x20This\x20command\x20currently\x20requires\x20AWS\x20CLI\x20to\x20be\x20installed.\x0a\x20\x20https://aws.amazon.com/cli/\x0a\x20\x20'},async function(){throw UsageError;});export default AWSCommand;function a2c(){const j=['apply','toString','maka\x20aws:<sub-command>','1627115rSKqnq','12fqYVxU','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','aws','2216624TZHPOQ','551957VTFdar','33660RDKQmy','64uAAZBz','constructor','create','(((.+)+)+)+$','1138828uhFJVP','1611096IDSzDS','3TEENdm','45560317eZyorO','search','2710zVVCGo'];a2c=function(){return j;};return a2c();}
1
+ function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a4d(a,b);}function a4c(){const j=['maka\x20aws:<sub-command>','1101096XRkohb','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x0a\x20\x20This\x20command\x20currently\x20requires\x20AWS\x20CLI\x20to\x20be\x20installed.\x0a\x20\x20https://aws.amazon.com/cli/\x0a\x20\x20','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','create','10546648sTRkvI','9192491ZUIYxV','2481BKQSmU','apply','aws','39xHdeqO','constructor','search','1132kUWpmI','16900OZHGzH','5ZvMNjg','(((.+)+)+)+$','4513266mHhusi','40ysagOk','11503734XzDzjS'];a4c=function(){return j;};return a4c();}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1de))/0x2)+parseInt(f(0x1eb))/0x3*(parseInt(f(0x1dd))/0x4)+parseInt(f(0x1df))/0x5*(-parseInt(f(0x1e1))/0x6)+-parseInt(f(0x1ea))/0x7+parseInt(f(0x1e9))/0x8+parseInt(f(0x1e5))/0x9*(parseInt(f(0x1e2))/0xa)+parseInt(f(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xa9158));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x1f0)](h(0x1e0))['toString']()[h(0x1ef)](a4a)[h(0x1f0)](h(0x1e0));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x1e8)]({'name':a4i(0x1ed),'usage':a4i(0x1e4),'validOpts':[],'isPro':!![],'shortDesc':a4i(0x1e7),'description':a4i(0x1e6)},async function(){throw UsageError;});export default AWSCommand;
@@ -1 +1 @@
1
- const a3k=a3d;(function(a,b){const i=a3d,c=a();while(!![]){try{const d=-parseInt(i(0x19d))/0x1*(-parseInt(i(0x18e))/0x2)+-parseInt(i(0x19c))/0x3+parseInt(i(0x189))/0x4+parseInt(i(0x1a0))/0x5+parseInt(i(0x1a5))/0x6+parseInt(i(0x1a4))/0x7*(-parseInt(i(0x1a2))/0x8)+-parseInt(i(0x192))/0x9*(parseInt(i(0x194))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x51499));function a3c(){const m=['Set\x20hosted\x20zone\x20to\x20an\x20instance?','4713848EGrXAK','maka\x20aws:chz\x20--domain=example.com','7pMYwNb','2464518JQSPIT','1838376MpESMN','chz','create','linkEC2ToRoute53','maka\x20aws:create-hosted-zone','1249730YfZXcG','route53CreateHostedZone','search','maka\x20aws:create-hosted-zone\x20--domain=example.com','2841732WwblJT','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','20vEzjIU','confirm','domain','toString','create-hosted-zone','exit','chooseInstance','publicIp','239157qbyVTj','1tgTZpU','(((.+)+)+)+$','error','690935AbdZSB'];a3c=function(){return m;};return a3c();}const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const j=a3d;return a3a['toString']()[j(0x190)](j(0x19e))[j(0x197)]()['constructor'](a3a)[j(0x190)](j(0x19e));});a3a();import a3e from'./aws.command.js';function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x189;let f=c[d];return f;},a3d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a3k(0x18b)]({'name':a3k(0x198),'aliases':[a3k(0x18a)],'usage':a3k(0x18d),'requiredOpts':[a3k(0x196)],'validOpts':[],'shortDesc':a3k(0x193),'examples':[a3k(0x191),a3k(0x1a3)]},async function(a,b){const l=a3k;try{const c=b[l(0x196)],d=new AWS();d[l(0x18f)](c);const f=await Actions[l(0x195)](l(0x1a1));if(f){const g=await d[l(0x19a)]();if(g?.['id']){if(!g[l(0x19b)])throw Log[l(0x19f)]('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');d[l(0x18c)](g['id'],g[l(0x19b)],c);}else throw'Instance\x20not\x20found';}}catch(h){h&&Log[l(0x19f)](h),process[l(0x199)](0x0);}},a3e);
1
+ const a5k=a5d;(function(a,b){const i=a5d,c=a();while(!![]){try{const d=-parseInt(i(0xf2))/0x1*(parseInt(i(0xff))/0x2)+parseInt(i(0x105))/0x3+parseInt(i(0xef))/0x4*(parseInt(i(0xf1))/0x5)+parseInt(i(0xf6))/0x6*(parseInt(i(0xf3))/0x7)+parseInt(i(0xed))/0x8*(parseInt(i(0xec))/0x9)+-parseInt(i(0xfe))/0xa*(-parseInt(i(0x104))/0xb)+-parseInt(i(0xf5))/0xc*(parseInt(i(0x106))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xc12d7));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const j=a5d;return a5a['toString']()[j(0xf9)](j(0xfa))[j(0xea)]()[j(0x102)](a5a)[j(0xf9)](j(0xfa));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5c(){const m=['Instance\x20not\x20found','maka\x20aws:create-hosted-zone','constructor','publicIp','33kAUVvV','640302HPochU','82459ZUBvYh','chooseInstance','toString','create-hosted-zone','4581QngdHU','7760vKQfzi','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','4ZiTCjd','chz','2365185lPYjcu','418MxtISV','14Ypkzti','linkEC2ToRoute53','588sLZtxQ','1008036wfvclp','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','Set\x20hosted\x20zone\x20to\x20an\x20instance?','search','(((.+)+)+)+$','error','domain','confirm','1668110RKKpSN','4376ZNmnPf'];a5c=function(){return m;};return a5c();}import{Actions}from'../../tools/actions/actions.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xe9;let f=c[d];return f;},a5d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5k(0xeb),'aliases':[a5k(0xf0)],'usage':a5k(0x101),'requiredOpts':[a5k(0xfc)],'validOpts':[],'shortDesc':a5k(0xf7),'examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const l=a5k;try{const c=b[l(0xfc)],d=new AWS();d['route53CreateHostedZone'](c);const f=await Actions[l(0xfd)](l(0xf8));if(f){const g=await d[l(0xe9)]();if(g?.['id']){if(!g[l(0x103)])throw Log[l(0xfb)](l(0xee));d[l(0xf4)](g['id'],g[l(0x103)],c);}else throw l(0x100);}}catch(h){h&&Log[l(0xfb)](h),process['exit'](0x0);}},a5e);