@maka/maka-cli 4.7.16 → 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 -126
  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 -126
  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/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.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,126 +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.16",
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
+ {
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
- function a0c(){const z=['minOptsLength','Too\x20many\x20options','_handler','keys','slice','6694680Aqpkzv','Too\x20many\x20arguments','bind','push','maxOptsLength','Command\x20requires\x20a\x20handler\x20function','name','2pPyNHi','pallet','apply','maybeProxyCommandToMeteor','number','join','16653303JYDpXb','_commands','aliases','tableList','1263395lRsRAs','notice','validateParams','search','invoke','Command\x20not\x20found','addCommand','4fuPWjO','(((.+)+)+)+$','error','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','bright','Please\x20run\x20\x22maka\x20install\x20meteor\x22','validateMakaSubscription','constructor','function','Alias','find','unshift','\x20not\x20found','create','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','Command\x20format\x20is\x20incorrect','toString','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','assign','maxArgLength','localeCompare','Command\x20requires\x20a\x20name','exit','LIGHT','generate','forEach','1770HkTElB','length','play','run','DARK','options','validateMakaProject','188837toxzXW','887273PrOYeJ','usage','Command.create\x20requires\x20a\x20handler\x20function!','validateMeteorInstall','4691937DEKhSS','light','shortDesc','sort','fsi','8DiMOpQ','There\x20is\x20no\x20Meteor\x20application\x20here','mustBeInMakaProject','match','addCommand\x20requires\x20a\x20Command\x20instance','call','6780185Vlxyjp'];a0c=function(){return z;};return a0c();}const a0p=a0d;(function(a,b){const m=a0d,c=a();while(!![]){try{const d=-parseInt(m(0xfc))/0x1*(-parseInt(m(0xc8))/0x2)+-parseInt(m(0x100))/0x3+-parseInt(m(0xd9))/0x4*(-parseInt(m(0xbb))/0x5)+-parseInt(m(0xc1))/0x6+parseInt(m(0xd2))/0x7+parseInt(m(0xb5))/0x8*(-parseInt(m(0xce))/0x9)+-parseInt(m(0xf4))/0xa*(-parseInt(m(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xe3984));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a0d;if(c){const e=c[n(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const o=a0d;return a0a[o(0xea)]()[o(0xd5)](o(0xda))[o(0xea)]()[o(0xe0)](a0a)['search'](o(0xda));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xb5;let f=c[d];return f;},a0d(a,b);}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{[a0p(0xf9)];[a0p(0xcf)];constructor(a,b){const q=a0p;super();if(!a)throw new Error(q(0xdc));if(!a['name'])throw new Error(q(0xef));if(typeof b!==q(0xe1))throw new Error(q(0xc6));this[q(0xf9)]=Object[q(0xec)]({},a),this['name']=this['options'][q(0xc7)],this[q(0xcf)]=[],this[q(0xbe)]=b[q(0xc3)](this);}static[a0p(0xe6)](a,b,c){const r=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==r(0xe1))throw new Error(r(0xfe));const d=new Command(a,b);return c=c||a0f,Object[r(0xec)](d,{'parent':c?.[r(0xf9)]?.['name']}),c[r(0xd8)](d),d;}['addCommand'](a){const s=a0p;if(!(a instanceof Command))throw new Error(s(0xb9));this[s(0xcf)][s(0xc4)](a);}async[a0p(0xf7)](a,b){const t=a0p;try{a=a||[],b=b||{};try{const c=await this[t(0x104)]['getGlobalConfig'](),d=c[t(0xc9)]===t(0x101)?ColorMode[t(0xf1)]:ColorMode[t(0xf8)];Log['setColorMode'](d),await this[t(0xdf)](this);}catch(f){Log[t(0xdb)](f),process['exit'](0x0);}await this['invoke'](a,b);}catch(g){process[t(0xf0)](0x1);}}async[a0p(0xd6)](a,b){const u=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[u(0xf9)];try{if(this[u(0xf9)][u(0xc7)]!=='generate'){if(!isRoot){const f=(a[0x0]===_prevCmd||a[u(0xf5)]===0x0)&&this[u(0xcf)]['length']>=0x0,g=b['help']||b['h'];if(f&&g){if(this[u(0xcf)][u(0xf5)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[u(0xf9)][u(0xb7)]){const h=this[u(0xfa)]();if(!h)throw new MustBeInProjectError();}if(this[u(0xf9)]['mustHaveMeteorInstalled']){const i=this[u(0xff)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[u(0xf9)]['minArgLength']===u(0xcc)){if(a[u(0xf5)]<this[u(0xf9)]['minArgLength']){Log[u(0xdb)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options'][u(0xed)]===u(0xcc)){if(a[u(0xf5)]>=this[u(0xf9)][u(0xed)]){Log[u(0xdb)](u(0xc2));throw new UsageError();}}if(typeof this[u(0xf9)][u(0xbc)]===u(0xcc)){if(Object['keys'](b)[u(0xf5)]<this['options']['minOptsLength']){Log[u(0xdb)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this['options'][u(0xc5)]===u(0xcc)){if(Object[u(0xbf)](b)[u(0xf5)]>=this[u(0xf9)]['maxOptsLength']){Log[u(0xdb)](u(0xbd));throw new UsageError();}}}}b=await this[u(0xd4)](a,b,this['options']),_prevCmd=a[0x0];}await this['_handler'][u(0xba)](this,a,b);}catch(j){Log[u(0xfd)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageErrorWithSubs)Log[u(0xd3)]('Sub-Commands:'),this[u(0xd1)](this[u(0xcf)]),Log['header'](u(0xe8));else{if(j instanceof MustBeInProjectError)Log['error'](u(0xeb));else{if(j instanceof NoMeteorFoundError)Log[u(0xdb)](u(0xe7)),Log[u(0xd3)](u(0xde));else j instanceof NoMeteorAppFoundError&&Log[u(0xdb)](u(0xb6));}}process['exit'](0x1);}}['tableList'](a){const v=a0p,b=new a0e({});b[v(0xc4)](['Name',v(0xe2),'Description']),a[v(0x103)]((c,d)=>{const w=v;return c[w(0xc7)][w(0xee)](d[w(0xc7)]);})[v(0xf3)](c=>{const x=v;c[x(0xc7)]!=='murder'&&c['name']!==x(0xf6)&&b[x(0xc4)]([c[x(0xc7)],c[x(0xd0)](),c[x(0x102)]()]);}),Log[v(0xdd)](b['toString']());}async['processAndRunCommand'](a,b=[],c={}){const y=a0p;try{const d=a?.['split'](':');if(!d||d[y(0xf5)]===0x0)throw y(0xe9);if(d[0x0]===y(0xf2)||d[0x0]==='g'&&d[y(0xf5)]>0x1){const h=this[y(0xcf)]['find'](j=>j[y(0xb8)](y(0xf2)));if(!h)throw'Command\x20not\x20found';await this[y(0xdf)](h);const i=d[y(0xc0)](0x1)[y(0xcd)](':');b[y(0xe4)](i),await h[y(0xf7)](b,c);return;}let f=this['_commands'],g;for(const j of d){g=f[y(0xe3)](k=>k[y(0xb8)](j));if(!g)try{await this[y(0x104)][y(0xcb)]();}catch(k){throw'Command\x20'+j+y(0xe5);}g&&(await this[y(0xdf)](g),f=g[y(0xcf)]);}if(g)await g[y(0xf7)](b,c);else throw y(0xd7);}catch(l){Log[y(0xdb)](l),process[y(0xf0)](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(0x70))/0x1*(parseInt(f(0x67))/0x2)+-parseInt(f(0x6d))/0x3+parseInt(f(0x6e))/0x4+parseInt(f(0x69))/0x5+-parseInt(f(0x72))/0x6+parseInt(f(0x73))/0x7*(-parseInt(f(0x6c))/0x8)+parseInt(f(0x6a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x714ae));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var g=a94d;return a94a[g(0x68)]()[g(0x6b)](g(0x6f))[g(0x68)]()[g(0x71)](a94a)[g(0x6b)]('(((.+)+)+)+$');});a94a();import'./aws/_index.js';import'./set/_index.js';function a94c(){var h=['9WvQKby','constructor','1259682HWzerw','7HSQRYA','64040QuHClI','toString','1358110rRnPBs','9192618COdZFz','search','3733768iJufmv','1056717scbPbq','1952436BSqxIl','(((.+)+)+)+$'];a94c=function(){return h;};return a94c();}import'./get/_index.js';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';import'./login.js';import'./logout.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x67;var f=c[d];return f;},a94d(a,b);}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
- const a1m=a1d;(function(a,b){const h=a1d,c=a();while(!![]){try{const d=parseInt(h(0x1b0))/0x1+-parseInt(h(0x1ba))/0x2*(parseInt(h(0x1c6))/0x3)+-parseInt(h(0x1c7))/0x4+-parseInt(h(0x1d6))/0x5+parseInt(h(0x1ad))/0x6*(-parseInt(h(0x1c8))/0x7)+-parseInt(h(0x1cb))/0x8+parseInt(h(0x1bd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xc6b00));const a1b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a1d;if(c){const e=c[i(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){const j=a1d;return a1a[j(0x1cc)]()[j(0x1d0)](j(0x1c2))[j(0x1cc)]()[j(0x1d7)](a1a)['search'](j(0x1c2));});a1a();function a1d(a,b){const c=a1c();return a1d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a1d(a,b);}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 k=a1d,c=a1e[k(0x1b7)]({'input':process['stdin'],'output':process[k(0x1b5)]});c[k(0x1b3)](k(0x1b9),async d=>{const l=k;if(d[l(0x1c3)]()===l(0x1d5)){c[l(0x1bc)]();return;}try{const e=await HTTPS[l(0x1c9)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e[l(0x1b4)]);if(f[l(0x1c4)])throw new Error(f['error'][l(0x1cf)]);Log[l(0x1cd)](l(0x1b6)+f?.[l(0x1ca)][0x0]?.[l(0x1d2)]['trim']());}catch(g){Log['error'](g),process[l(0x1d5)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a1c(){const o=['You:\x20','4tBnMhA','Using\x20OpenAI\x20Key\x20','close','26776395AlEqCW','openai','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','fsi','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','toLowerCase','error','cacert','2018946xmSsrv','1858632npHvll','14kDeRFC','askGPT','choices','3759560EEeIwV','toString','bright','create','message','search','isFile','text','openapikey','apply','exit','2441755FJeKGe','constructor','ChatGPT\x20style\x20AI\x20interface','1660062mJsBRT','Using\x20CA\x20Cert\x20','log','1160941AsRcKx','cert','getGlobalConfig','question','data','stdout','GPT:\x20','createInterface','notice'];a1c=function(){return o;};return a1c();}Command[a1m(0x1ce)]({'name':'ai','description':a1m(0x1ac),'validOpts':[a1m(0x1c5),a1m(0x1d3)],'shortDesc':'ChatGPT\x20style\x20AI\x20interface','isPro':!![]},async function(a,b){const n=a1m;try{let c='';b['cacert']&&(this[n(0x1c0)]['isFile'](b['cacert'])?(c=b[n(0x1c5)],Log['notice'](n(0x1ae)+c)):Log['error'](n(0x1c1)+c));const d=await this[n(0x1c0)][n(0x1b2)]();if(d[n(0x1b1)]){if(this[n(0x1c0)][n(0x1d1)](d[n(0x1b1)]))c=d[n(0x1b1)];else throw Log['error'](n(0x1bf)+c);}let f='';if(b['openapikey'])f=b[n(0x1d3)],Log[n(0x1b8)](n(0x1bb)+f);else{if(d[n(0x1be)])f=d[n(0x1be)];else throw Log['error']('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}console[n(0x1af)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1c4)](g),process[n(0x1d5)](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 a15d(a,b){var c=a15c();return a15d=function(d,e){d=d-0x80;var f=c[d];return f;},a15d(a,b);}(function(a,b){var f=a15d,c=a();while(!![]){try{var d=-parseInt(f(0x8b))/0x1+parseInt(f(0x80))/0x2*(parseInt(f(0x87))/0x3)+parseInt(f(0x8c))/0x4*(-parseInt(f(0x8a))/0x5)+-parseInt(f(0x81))/0x6+parseInt(f(0x89))/0x7+parseInt(f(0x86))/0x8*(parseInt(f(0x83))/0x9)+-parseInt(f(0x88))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x9fae3));var a15b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){var g=a15d;return a15a['toString']()[g(0x84)](g(0x82))[g(0x8d)]()[g(0x85)](a15a)[g(0x84)](g(0x82));});a15a();import'./aws.command.js';function a15c(){var h=['(((.+)+)+)+$','206757kKaEHf','search','constructor','400eFgWyZ','2514507kjmRfd','3343250NMfnVQ','2061038qTlFWI','388955bEDHUq','329688iNApdK','12ecicXn','toString','2SSZjBU','4378896weFvxm'];a15c=function(){return h;};return a15c();}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';import'./sth.sub.cmd.js';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(a,b){const f=a2d,c=a();while(!![]){try{const d=parseInt(f(0x1e3))/0x1*(-parseInt(f(0x1e1))/0x2)+-parseInt(f(0x1ea))/0x3+-parseInt(f(0x1de))/0x4*(-parseInt(f(0x1ee))/0x5)+parseInt(f(0x1e8))/0x6*(-parseInt(f(0x1e9))/0x7)+-parseInt(f(0x1e2))/0x8*(-parseInt(f(0x1e5))/0x9)+-parseInt(f(0x1db))/0xa+parseInt(f(0x1dc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xaeb9e));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a2d;if(c){const e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const h=a2d;return a2a[h(0x1eb)]()[h(0x1dd)](h(0x1e6))[h(0x1eb)]()[h(0x1e4)](a2a)[h(0x1dd)]('(((.+)+)+)+$');});a2a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a2i(0x1ec)]({'name':'aws','usage':a2i(0x1e0),'validOpts':[],'isPro':!![],'shortDesc':a2i(0x1df),'description':a2i(0x1e7)},async function(){throw UsageError;});function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1db;let f=c[d];return f;},a2d(a,b);}export default AWSCommand;function a2c(){const j=['585635DsrRIc','constructor','2935098GSxZNb','(((.+)+)+)+$','\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','1578qrWpeD','28448zxFIcA','570999uEkDzg','toString','create','apply','5887085IffVOf','7388570TEfedO','19753756cbbUtW','search','4eAguiT','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','maka\x20aws:<sub-command>','2tUPMGg','8EKqzMD'];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 a3l=a3d;function a3c(){const n=['search','chz','confirm','error','1134539XxZkaI','(((.+)+)+)+$','232397xdKnIj','4527942qlxJgV','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','10477062ENYaee','toString','4262175hnlgYx','Set\x20hosted\x20zone\x20to\x20an\x20instance?','8MiXTWm','chooseInstance','1930NctJNx','10196bxATEm','apply','publicIp','domain','8ZXKJxB','Instance\x20not\x20found','exit','269614qqkxgU','777hLbumv','create'];a3c=function(){return n;};return a3c();}function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a3d(a,b);}(function(a,b){const i=a3d,c=a();while(!![]){try{const d=-parseInt(i(0x1d0))/0x1*(-parseInt(i(0x1e0))/0x2)+-parseInt(i(0x1d1))/0x3*(-parseInt(i(0x1e3))/0x4)+parseInt(i(0x1de))/0x5+parseInt(i(0x1da))/0x6+parseInt(i(0x1d7))/0x7+parseInt(i(0x1cd))/0x8*(parseInt(i(0x1dc))/0x9)+-parseInt(i(0x1e2))/0xa*(parseInt(i(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x911f7));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a3d;if(c){const e=c[j(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const k=a3d;return a3a[k(0x1dd)]()[k(0x1d3)](k(0x1d8))['toString']()['constructor'](a3a)['search'](k(0x1d8));});a3a();import a3e from'./aws.command.js';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[a3l(0x1d2)]({'name':'create-hosted-zone','aliases':[a3l(0x1d4)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':['domain'],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const m=a3l;try{const c=b[m(0x1cc)],d=new AWS();d['route53CreateHostedZone'](c);const f=await Actions[m(0x1d5)](m(0x1df));if(f){const g=await d[m(0x1e1)]();if(g?.['id']){if(!g[m(0x1cb)])throw Log[m(0x1d6)](m(0x1db));d['linkEC2ToRoute53'](g['id'],g[m(0x1cb)],c);}else throw m(0x1ce);}}catch(h){h&&Log[m(0x1d6)](h),process[m(0x1cf)](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);