@maka/maka-cli 5.1.16 → 5.1.18

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 (645) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.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/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/templates/react/test/test.js +1 -0
  151. package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
  152. package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
  153. package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
  154. package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
  155. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
  156. package/bundle/obf/src/tool.js +1 -1
  157. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  158. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  159. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  161. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  162. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  164. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/https/https.class.js +1 -1
  166. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  167. package/bundle/obf/src/tools/log/log.class.js +1 -1
  168. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  170. package/bundle/obf/src/tools/options/options.class.js +1 -1
  171. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  172. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  173. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  174. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  175. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  176. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  177. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  178. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  179. package/package.json +1 -1
  180. package/test/integration/default.test.js +84 -0
  181. package/test/integration/fixtures/blaze/.maka/config.json +30 -0
  182. package/test/integration/fixtures/blaze/.tern-project +17 -0
  183. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
  184. package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
  185. package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
  186. package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
  187. package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
  188. package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
  189. package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
  190. package/test/integration/fixtures/blaze/app/client/body.html +2 -0
  191. package/test/integration/fixtures/blaze/app/client/head.html +8 -0
  192. package/test/integration/fixtures/blaze/app/client/main.js +1 -0
  193. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
  194. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
  195. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
  196. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
  197. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
  198. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
  199. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  200. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
  201. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
  202. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
  203. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
  204. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
  205. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
  206. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
  207. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
  208. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
  209. package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
  210. package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
  211. package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
  212. package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
  213. package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
  214. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  215. package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
  216. package/test/integration/fixtures/blaze/app/server/main.js +1 -0
  217. package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
  218. package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
  219. package/test/integration/fixtures/blaze/build/README +4 -0
  220. package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
  221. package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
  222. package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
  223. package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
  224. package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
  225. package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
  226. package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
  227. package/test/integration/fixtures/react/.maka/config.json +30 -0
  228. package/test/integration/fixtures/react/.tern-project +17 -0
  229. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
  230. package/test/integration/fixtures/react/app/.meteor/.id +7 -0
  231. package/test/integration/fixtures/react/app/.meteor/packages +21 -0
  232. package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
  233. package/test/integration/fixtures/react/app/.meteor/release +1 -0
  234. package/test/integration/fixtures/react/app/.meteor/versions +78 -0
  235. package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
  236. package/test/integration/fixtures/react/app/client/body.html +3 -0
  237. package/test/integration/fixtures/react/app/client/head.html +8 -0
  238. package/test/integration/fixtures/react/app/client/main.jsx +1 -0
  239. package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
  240. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
  241. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
  242. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
  243. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
  244. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
  245. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  246. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  247. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
  248. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
  249. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
  250. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  251. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
  252. package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
  253. package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
  254. package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
  255. package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
  256. package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
  257. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  258. package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
  259. package/test/integration/fixtures/react/app/server/main.jsx +1 -0
  260. package/test/integration/fixtures/react/bin/.gitkeep +1 -0
  261. package/test/integration/fixtures/react/build/.gitkeep +1 -0
  262. package/test/integration/fixtures/react/build/README +4 -0
  263. package/test/integration/fixtures/react/config/.gitkeep +1 -0
  264. package/test/integration/fixtures/react/config/development/env.sh +9 -0
  265. package/test/integration/fixtures/react/config/development/settings.json +6 -0
  266. package/test/integration/fixtures/react/config/production/env.sh +9 -0
  267. package/test/integration/fixtures/react/config/production/settings.json +6 -0
  268. package/test/integration/fixtures/react/config/staging/env.sh +9 -0
  269. package/test/integration/fixtures/react/config/staging/settings.json +6 -0
  270. package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
  271. package/test/integration/fixtures/react-apollo/.tern-project +17 -0
  272. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
  273. package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
  274. package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
  275. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
  276. package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
  277. package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
  278. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
  279. package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
  280. package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
  281. package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
  282. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
  283. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
  284. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
  285. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
  286. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
  287. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
  288. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  289. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  290. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
  291. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
  292. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  293. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
  294. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
  295. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
  296. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
  297. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
  298. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
  299. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
  300. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  301. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
  302. package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
  303. package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
  304. package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
  305. package/test/integration/fixtures/react-apollo/build/README +4 -0
  306. package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
  307. package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
  308. package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
  309. package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
  310. package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
  311. package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
  312. package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
  313. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
  314. package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
  315. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  316. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
  317. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
  318. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
  319. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
  320. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
  321. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
  322. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
  323. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
  324. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
  325. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
  326. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  327. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  328. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  329. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  330. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  331. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  332. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  333. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  334. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  335. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
  336. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
  337. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
  338. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
  339. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
  340. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  341. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
  342. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
  343. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
  344. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
  345. package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
  346. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
  347. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
  348. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
  349. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
  350. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
  351. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
  352. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
  353. package/test/integration/fixtures/react-material/.maka/config.json +30 -0
  354. package/test/integration/fixtures/react-material/.tern-project +17 -0
  355. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
  356. package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
  357. package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
  358. package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
  359. package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
  360. package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
  361. package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
  362. package/test/integration/fixtures/react-material/app/client/body.html +3 -0
  363. package/test/integration/fixtures/react-material/app/client/head.html +8 -0
  364. package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
  365. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
  366. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
  367. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
  368. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
  369. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
  370. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
  371. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  372. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  373. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
  374. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
  375. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  376. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  377. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
  378. package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
  379. package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
  380. package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
  381. package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
  382. package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
  383. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  384. package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
  385. package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
  386. package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
  387. package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
  388. package/test/integration/fixtures/react-material/build/README +4 -0
  389. package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
  390. package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
  391. package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
  392. package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
  393. package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
  394. package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
  395. package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
  396. package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
  397. package/test/integration/fixtures/react-ssr/.tern-project +17 -0
  398. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
  399. package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
  400. package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
  401. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
  402. package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
  403. package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
  404. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
  405. package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
  406. package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
  407. package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
  408. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
  409. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
  410. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
  411. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
  412. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
  413. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
  414. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  415. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
  416. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
  417. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
  418. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
  419. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
  420. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
  421. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
  422. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
  423. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  424. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
  425. package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
  426. package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
  427. package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
  428. package/test/integration/fixtures/react-ssr/build/README +4 -0
  429. package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
  430. package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
  431. package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
  432. package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
  433. package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
  434. package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
  435. package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
  436. package/test/integration/fixtures/reflux/.maka/config.json +30 -0
  437. package/test/integration/fixtures/reflux/.tern-project +17 -0
  438. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
  439. package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
  440. package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
  441. package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
  442. package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
  443. package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
  444. package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
  445. package/test/integration/fixtures/reflux/app/client/body.html +3 -0
  446. package/test/integration/fixtures/reflux/app/client/head.html +8 -0
  447. package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
  448. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
  449. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
  450. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
  451. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
  452. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
  453. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
  454. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  455. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  456. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
  457. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
  458. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
  459. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  460. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
  461. package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
  462. package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
  463. package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
  464. package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
  465. package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
  466. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  467. package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
  468. package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
  469. package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
  470. package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
  471. package/test/integration/fixtures/reflux/build/README +4 -0
  472. package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
  473. package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
  474. package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
  475. package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
  476. package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
  477. package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
  478. package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
  479. package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
  480. package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
  481. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
  482. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
  483. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
  484. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
  485. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
  486. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
  487. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
  488. package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
  489. package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
  490. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
  491. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
  492. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
  493. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
  494. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
  495. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
  496. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
  497. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  498. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  499. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
  500. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
  501. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  502. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
  503. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
  504. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
  505. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
  506. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
  507. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
  508. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
  509. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  510. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
  511. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
  512. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
  513. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
  514. package/test/integration/fixtures/reflux-apollo/build/README +4 -0
  515. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
  516. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
  517. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
  518. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
  519. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
  520. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
  521. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
  522. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
  523. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
  524. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  525. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
  526. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
  527. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
  528. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
  529. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
  530. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
  531. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
  532. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
  533. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
  534. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
  535. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  536. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  537. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  538. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  539. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  540. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  541. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  542. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  543. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  544. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
  545. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
  546. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
  547. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
  548. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
  549. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  550. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
  551. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
  552. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
  553. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
  554. package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
  555. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
  556. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
  557. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
  558. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
  559. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
  560. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
  561. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
  562. package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
  563. package/test/integration/fixtures/reflux-material/.tern-project +17 -0
  564. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
  565. package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
  566. package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
  567. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
  568. package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
  569. package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
  570. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
  571. package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
  572. package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
  573. package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
  574. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
  575. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
  576. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
  577. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
  578. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
  579. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
  580. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  581. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  582. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
  583. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
  584. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  585. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  586. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
  587. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
  588. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
  589. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
  590. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
  591. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
  592. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  593. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
  594. package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
  595. package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
  596. package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
  597. package/test/integration/fixtures/reflux-material/build/README +4 -0
  598. package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
  599. package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
  600. package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
  601. package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
  602. package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
  603. package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
  604. package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
  605. package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
  606. package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
  607. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
  608. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
  609. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
  610. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
  611. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
  612. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
  613. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
  614. package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
  615. package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
  616. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
  617. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
  618. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
  619. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
  620. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
  621. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
  622. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
  623. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
  624. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
  625. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
  626. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
  627. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
  628. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
  629. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
  630. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
  631. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
  632. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  633. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
  634. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
  635. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
  636. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
  637. package/test/integration/fixtures/reflux-ssr/build/README +4 -0
  638. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
  639. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
  640. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
  641. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
  642. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
  643. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
  644. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
  645. package/test/integration/integration_helpers.js +60 -0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.1.16",
3
+ "version": "5.1.18",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +1 @@
1
- function a0c(){const B=['processAndRunCommand','Command.create\x20requires\x20some\x20options!','bind','exit','3411aZASps','There\x20is\x20no\x20Meteor\x20application\x20here','unshift','notice','setColorMode','push','length','generate','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','search','create','275466UzMrIF','localeCompare','addCommand','Please\x20run\x20\x22maka\x20install\x20meteor\x22','cfg','Too\x20few\x20arguments','experimental','maxArgLength','forEach','run','Please\x20run\x20\x22maka\x20login\x22','match','validateParams','\x20not\x20found','chdir','Sub-Commands:','shortDesc','join','cwd','constructor','minOptsLength','Too\x20few\x20options','name','error','validateMeteorInstall','(experimental)\x20','invoke','108128vebYeF','play','_commands','assign','sort','12mBspDp','24aFhmyT','Alias','LIGHT','Too\x20many\x20arguments','mpi','16WCejCe','toString','murder','(((.+)+)+)+$','header','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','_handler','minArgLength','find','number','8914zdTjUX','call','Name','Command\x20requires\x20a\x20handler\x20function','maxOptsLength','usage','63UsWZzb','options','keys','DARK','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Description','validateUserIsLoggedIn','Command\x20','mustHaveMeteorInstalled','mustBeLoggedIn','44622rMQBDW','2100yKrBoU','1128809haWngG','Command\x20not\x20found','getGlobalConfig','238135vzBMSM','bright','split','mustBeInMakaProject','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','projectConfig','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'];a0c=function(){return B;};return a0c();}const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x11e))/0x1*(-parseInt(n(0x114))/0x2)+-parseInt(n(0x12e))/0x3*(-parseInt(n(0x10f))/0x4)+-parseInt(n(0x133))/0x5+-parseInt(n(0x149))/0x6+parseInt(n(0x124))/0x7*(parseInt(n(0x109))/0x8)+parseInt(n(0x13e))/0x9*(parseInt(n(0x12f))/0xa)+parseInt(n(0x130))/0xb*(-parseInt(n(0x10e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x28701));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 o=a0d;return a0a[o(0x115)]()[o(0x147)](o(0x117))[o(0x115)]()[o(0x101)](a0a)[o(0x147)](o(0x117));});a0a();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,MustBeLoggedIn}from'./error.js';let _prevCmd='';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xf2;let f=c[d];return f;},a0d(a,b);}async function inside(a='.',b){const p=a0d,c=process[p(0x100)]();try{return process[p(0xfc)](a),await b();}finally{process[p(0xfc)](c);}}export class Command extends Tool{[a0q(0x125)];[a0q(0x138)];[a0q(0x10b)];[a0q(0x11a)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x128));if(!a['name'])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(r(0x121));this[r(0x125)]=Object[r(0x10c)]({},a),this[r(0x104)]=this['options']['name'],this[r(0x10b)]=[],this['_handler']=b[r(0x13c)](this);}static[a0q(0x148)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x13b));if(typeof b!=='function')throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object[s(0x10c)](d,{'parent':c?.[s(0x125)]?.[s(0x104)]}),c[s(0x14b)](d),d;}[a0q(0x14b)](a){const t=a0q;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[t(0x10b)][t(0x143)](a);}async[a0q(0xf7)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0xf2)][u(0x132)](),d=c['pallet']==='light'?ColorMode[u(0x111)]:ColorMode[u(0x127)];Log[u(0x142)](d);}catch(f){Log[u(0x105)](f),process[u(0x13d)](0x0);}return await inside(b[u(0x100)],async()=>{const v=u;return await this[v(0x108)](a,b);});}catch(g){process[u(0x13d)](0x1);}}async[a0q(0x108)](a,b){const w=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[w(0x125)];try{if(this[w(0x125)]['name']!==w(0x145)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[w(0x144)]===0x0)&&this[w(0x10b)][w(0x144)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[w(0x10b)][w(0x144)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[w(0x125)][w(0x136)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();this[w(0x138)]=this[w(0xf2)]['getMakaProjectConfig']();}if(this[w(0x125)][w(0x12d)]){const j=await this[w(0x12a)]();if(!j)throw new MustBeLoggedIn();}if(this[w(0x125)][w(0x12c)]){const k=this[w(0x106)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[w(0x125)][w(0x11b)]===w(0x11d)){if(a[w(0x144)]<this[w(0x125)][w(0x11b)]){Log['error'](w(0xf3));throw new UsageError();}}if(typeof this[w(0x125)]['maxArgLength']==='number'){if(a[w(0x144)]>=this[w(0x125)][w(0xf5)]){Log[w(0x105)](w(0x112));throw new UsageError();}}if(typeof this[w(0x125)][w(0x102)]===w(0x11d)){if(Object[w(0x126)](b)['length']<this[w(0x125)][w(0x102)]){Log['error'](w(0x103));throw new UsageError();}}if(typeof this['options'][w(0x122)]===w(0x11d)){if(Object[w(0x126)](b)[w(0x144)]>=this['options'][w(0x122)]){Log['error']('Too\x20many\x20options');throw new UsageError();}}}}b=await this[w(0xfa)](a,b,this[w(0x125)]),_prevCmd=a[0x0];}return await this[w(0x11a)][w(0x11f)](this,a,b);}catch(l){Log[w(0x123)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[w(0x141)](w(0xfd)),this['tableList'](this[w(0x10b)]),Log[w(0x118)](w(0x119));else{if(l instanceof MustBeInProjectError)Log['error'](w(0x146));else{if(l instanceof NoMeteorFoundError)Log[w(0x105)](w(0x139)),Log[w(0x141)](w(0x14c));else{if(l instanceof NoMeteorAppFoundError)Log[w(0x105)](w(0x13f));else l instanceof MustBeLoggedIn&&(Log[w(0x105)](w(0x137)),Log[w(0x141)](w(0xf8)));}}}process['exit'](0x1);}}['tableList'](a){const x=a0q,b=new a0e({});b['push']([x(0x120),x(0x110),x(0x129)]),a[x(0x10d)]((c,d)=>{const y=x;return c[y(0x104)][y(0x14a)](d[y(0x104)]);})[x(0xf6)](c=>{const z=x;if(c['name']!==z(0x116)&&c[z(0x104)]!==z(0x10a)){const d=c[z(0xf4)](),e=d?z(0x107)+c['shortDesc']():c[z(0xfe)]();b[z(0x143)]([c[z(0x104)],c['aliases'](),e]);}}),Log[x(0x134)](b[x(0x115)]());}async[a0q(0x13a)](a,b=[],c={}){const A=a0q;try{const d=a?.[A(0x135)](':');if(!d||d[A(0x144)]===0x0)throw'Command\x20format\x20is\x20incorrect';if(d[0x0]===A(0x145)||d[0x0]==='g'&&d[A(0x144)]>0x1){const h=this[A(0x10b)][A(0x11c)](j=>j[A(0xf9)](A(0x145)));if(!h)throw'Command\x20not\x20found';const i=d['slice'](0x1)[A(0xff)](':');return b[A(0x140)](i),await h['run'](b,c);}let f=this[A(0x10b)],g;for(const j of d){g=f[A(0x11c)](k=>k['match'](j));if(!g)try{await this[A(0x113)]['maybeProxyCommandToMeteor']();}catch(k){throw A(0x12b)+j+A(0xfb);}g&&(f=g[A(0x10b)]);}if(g){const l=await g[A(0xf7)](b,c);return l;}else throw A(0x131);}catch(m){Log[A(0x105)](m),process[A(0x13d)](0x1);}}}
1
+ const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0xd5))/0x1*(parseInt(n(0xae))/0x2)+parseInt(n(0x8c))/0x3+parseInt(n(0xd0))/0x4+parseInt(n(0xd7))/0x5+parseInt(n(0x97))/0x6+parseInt(n(0xbb))/0x7+parseInt(n(0x8a))/0x8*(-parseInt(n(0xcb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x87049));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x87)]()['search']('(((.+)+)+)+$')['toString']()[p(0x82)](a0a)[p(0xd2)](p(0xb1));});a0a();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';function a0c(){const C=['You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','keys','name','forEach','function','match','invoke','run','5656707sjtkPT','find','projectConfig','unshift','Sub-Commands:','options','pallet','addCommand\x20requires\x20a\x20Command\x20instance','validateParams','mpi','notice','addCommand','aliases','cwd','slice','exit','30852kHINuW','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','generate','(experimental)\x20','Name','744952QHKkHB','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','search','Please\x20run\x20\x22maka\x20login\x22','apply','2MirdPJ','minOptsLength','316495meHtmw','join','validateMeteorInstall','assign','mustHaveMeteorInstalled','length','number','\x20not\x20found','constructor','shortDesc','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','play','error','toString','getGlobalConfig','minArgLength','4296qdNbvL','bind','2718696KsCypn','DARK','validateMakaProject','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Command.create\x20requires\x20some\x20options!','_handler','There\x20is\x20no\x20Meteor\x20application\x20here','experimental','help','Alias','header','5081478egqHpS','maxArgLength','Too\x20many\x20arguments','maxOptsLength','Command\x20requires\x20a\x20name','light','Description','push','Command\x20format\x20is\x20incorrect','Please\x20run\x20\x22maka\x20install\x20meteor\x22','maybeProxyCommandToMeteor','create','setColorMode','split','LIGHT','Command\x20not\x20found','cfg','getMakaProjectConfig','Command\x20','mustBeLoggedIn','chdir','processAndRunCommand','_commands','416914UCAklZ','tableList','sort','(((.+)+)+)+$','usage'];a0c=function(){return C;};return a0c();}function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x7b;let f=c[d];return f;},a0d(a,b);}import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';async function inside(a='.',b){const q=a0d,c=process[q(0xc8)]();try{return process['chdir'](a),await b();}finally{process[q(0xab)](c);}}export class Command extends Tool{['options'];[a0r(0xbd)];[a0r(0xad)];[a0r(0x91)];constructor(a,b){const s=a0r;super();if(!a)throw new Error(s(0x84));if(!a[s(0xb5)])throw new Error(s(0x9b));if(typeof b!=='function')throw new Error('Command\x20requires\x20a\x20handler\x20function');this[s(0xc0)]=Object[s(0x7d)]({},a),this[s(0xb5)]=this[s(0xc0)][s(0xb5)],this[s(0xad)]=[],this[s(0x91)]=b[s(0x8b)](this);}static[a0r(0xa2)](a,b,c){const t=a0r;if(!a)throw new Error(t(0x90));if(typeof b!==t(0xb7))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object[t(0x7d)](d,{'parent':c?.['options']?.[t(0xb5)]}),c[t(0xc6)](d),d;}[a0r(0xc6)](a){const u=a0r;if(!(a instanceof Command))throw new Error(u(0xc2));this[u(0xad)]['push'](a);}async[a0r(0xba)](a,b){const v=a0r;try{a=a||[],b=b||{};try{const c=await this[v(0xa7)][v(0x88)](),d=c[v(0xc1)]===v(0x9c)?ColorMode[v(0xa5)]:ColorMode[v(0x8d)];Log[v(0xa3)](d);}catch(f){Log[v(0x86)](f),process[v(0xca)](0x0);}return await inside(b[v(0xc8)],async()=>{const w=v;return await this[w(0xb9)](a,b);});}catch(g){process['exit'](0x1);}}async['invoke'](a,b){const x=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[x(0xc0)];try{if(this[x(0xc0)][x(0xb5)]!==x(0xcd)){if(!isRoot){const g=(a[0x0]===_prevCmd||a['length']===0x0)&&this[x(0xad)][x(0x7f)]>=0x0,h=b[x(0x94)]||b['h'];if(g&&h){if(this['_commands'][x(0x7f)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[x(0xc0)]['mustBeInMakaProject']){const i=this[x(0x8e)]();if(!i)throw new MustBeInProjectError();this['projectConfig']=this[x(0xa7)][x(0xa8)]();}if(this[x(0xc0)][x(0xaa)]){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this[x(0xc0)][x(0x7e)]){const k=this[x(0x7c)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[x(0xc0)][x(0x89)]===x(0x80)){if(a[x(0x7f)]<this[x(0xc0)][x(0x89)]){Log[x(0x86)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[x(0xc0)][x(0x98)]===x(0x80)){if(a[x(0x7f)]>=this[x(0xc0)][x(0x98)]){Log[x(0x86)](x(0x99));throw new UsageError();}}if(typeof this['options']['minOptsLength']===x(0x80)){if(Object[x(0xb4)](b)['length']<this[x(0xc0)][x(0xd6)]){Log[x(0x86)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[x(0xc0)][x(0x9a)]===x(0x80)){if(Object[x(0xb4)](b)[x(0x7f)]>=this['options'][x(0x9a)]){Log[x(0x86)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this[x(0xc3)](a,b,this[x(0xc0)]),_prevCmd=a[0x0];}return await this['_handler']['call'](this,a,b);}catch(l){Log[x(0xb2)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[x(0xc5)](x(0xbf)),this[x(0xaf)](this[x(0xad)]),Log[x(0x96)](x(0xcc));else{if(l instanceof MustBeInProjectError)Log[x(0x86)](x(0xd1));else{if(l instanceof NoMeteorFoundError)Log[x(0x86)](x(0x8f)),Log['notice'](x(0xa0));else{if(l instanceof NoMeteorAppFoundError)Log[x(0x86)](x(0x92));else l instanceof MustBeLoggedIn&&(Log['error'](x(0xb3)),Log['notice'](x(0xd3)));}}}process[x(0xca)](0x1);}}[a0r(0xaf)](a){const y=a0r,b=new a0e({});b[y(0x9e)]([y(0xcf),y(0x95),y(0x9d)]),a[y(0xb0)]((c,d)=>{const z=y;return c[z(0xb5)]['localeCompare'](d[z(0xb5)]);})[y(0xb6)](c=>{const A=y;if(c[A(0xb5)]!=='murder'&&c[A(0xb5)]!==A(0x85)){const d=c[A(0x93)](),e=d?A(0xce)+c[A(0x83)]():c[A(0x83)]();b[A(0x9e)]([c[A(0xb5)],c[A(0xc7)](),e]);}}),Log['bright'](b[y(0x87)]());}async[a0r(0xac)](a,b=[],c={}){const B=a0r;try{const d=a?.[B(0xa4)](':');if(!d||d[B(0x7f)]===0x0)throw B(0x9f);if(d[0x0]===B(0xcd)||d[0x0]==='g'&&d[B(0x7f)]>0x1){const h=this[B(0xad)][B(0xbc)](j=>j[B(0xb8)](B(0xcd)));if(!h)throw'Command\x20not\x20found';const i=d[B(0xc9)](0x1)[B(0x7b)](':');return b[B(0xbe)](i),await h[B(0xba)](b,c);}let f=this[B(0xad)],g;for(const j of d){g=f[B(0xbc)](k=>k[B(0xb8)](j));if(!g)try{await this[B(0xc4)][B(0xa1)]();}catch(k){throw B(0xa9)+j+B(0x81);}g&&(f=g[B(0xad)]);}if(g){const l=await g[B(0xba)](b,c);return l;}else throw B(0xa6);}catch(m){Log[B(0x86)](m),process['exit'](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0x1b2))/0x1+parseInt(f(0x1ad))/0x2+parseInt(f(0x1ac))/0x3+parseInt(f(0x1b3))/0x4*(parseInt(f(0x1aa))/0x5)+-parseInt(f(0x1af))/0x6*(parseInt(f(0x1b0))/0x7)+-parseInt(f(0x1b1))/0x8+-parseInt(f(0x1ab))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xbdf1f));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x1ae)]()[h(0x1a9)](h(0x1a8))[h(0x1ae)]()[h(0x1a6)](a1a)[h(0x1a9)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1a6;var f=c[d];return f;},a1d(a,b);}import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./version/_index.js';import'./testCmd/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';function a1c(){var i=['21405645WWxPLw','3997722tkefOr','2615552IMPpHu','toString','6hJAWdS','8078707VzcdiR','6606600USzfGl','1503243iTUOBO','2468AIbeku','constructor','apply','(((.+)+)+)+$','search','8045wuwTou'];a1c=function(){return i;};return a1c();}import'./ssh.js';import'./ssl.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';import'./uninstall.js';
1
+ (function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0xea))/0x1*(parseInt(f(0xef))/0x2)+parseInt(f(0xe2))/0x3+parseInt(f(0xe6))/0x4*(parseInt(f(0xe8))/0x5)+parseInt(f(0xec))/0x6+parseInt(f(0xe9))/0x7+-parseInt(f(0xeb))/0x8+-parseInt(f(0xed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xd0a26));function a1c(){var i=['8634006GcQaJk','12037761eJvdpQ','search','862BDDfwY','3367209RtYCpd','apply','(((.+)+)+)+$','constructor','25268bdwAfB','toString','190lhMYqv','2316013hbHzBD','1261QDIOmj','3173784ZEbSVb'];a1c=function(){return i;};return a1c();}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xe7)]()[h(0xee)](h(0xe4))[h(0xe7)]()[h(0xe5)](a1a)[h(0xee)](h(0xe4));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./version/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xe2;var f=c[d];return f;},a1d(a,b);}import'./testCmd/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';import'./uninstall.js';
@@ -1 +1 @@
1
- const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x1c3))/0x1*(parseInt(h(0x1d0))/0x2)+-parseInt(h(0x1df))/0x3*(-parseInt(h(0x1c8))/0x4)+-parseInt(h(0x1c7))/0x5+parseInt(h(0x1e8))/0x6+parseInt(h(0x1c0))/0x7*(parseInt(h(0x1c9))/0x8)+-parseInt(h(0x1e7))/0x9*(parseInt(h(0x1e5))/0xa)+-parseInt(h(0x1e6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xda291));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a['toString']()[j(0x1c5)](j(0x1e0))[j(0x1ea)]()['constructor'](a2a)[j(0x1c5)](j(0x1e0));});a2a();function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a2d(a,b);}import{Command}from'../command.js';function a2c(){const o=['15541669ftNaoh','9cRWhpf','8035194JCwgNp','openapikey','toString','create','126JFUEUQ','toLowerCase','parse','34DQuGey','text','search','error','4329340CrgCyo','289844wYkcfm','457160xLiKuu','trim','data','askGPT','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','cert','isFile','84838KzpJxj','exit','fsi','choices','apply','bright','cacert','stdout','close','GPT:\x20','cfg','openai','notice','createInterface','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','21TOXInB','(((.+)+)+)+$','getGlobalConfig','ChatGPT\x20style\x20AI\x20interface','Using\x20OpenAI\x20Key\x20','question','11449500rmAXTr'];a2c=function(){return o;};return a2c();}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 k=a2d,c=a2e[k(0x1dd)]({'input':process['stdin'],'output':process[k(0x1d7)]});c[k(0x1e4)]('You:\x20',async d=>{const l=k;if(d[l(0x1c1)]()===l(0x1d1)){c[l(0x1d8)]();return;}try{const e=await HTTPS[l(0x1cc)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1c2)](e[l(0x1cb)]);if(f[l(0x1c6)])throw new Error(f[l(0x1c6)]['message']);Log[l(0x1d5)](l(0x1d9)+f?.[l(0x1d3)][0x0]?.[l(0x1c4)][l(0x1ca)]());}catch(g){Log[l(0x1c6)](g),process[l(0x1d1)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1bf)]({'name':'ai','description':a2m(0x1e2),'validOpts':[a2m(0x1d6),a2m(0x1e9)],'shortDesc':a2m(0x1e2),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x1d6)]&&(this['fsi']['isFile'](b['cacert'])?(c=b[n(0x1d6)],Log[n(0x1dc)]('Using\x20CA\x20Cert\x20'+c)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this[n(0x1da)][n(0x1e1)]();if(d[n(0x1ce)]){if(this[n(0x1d2)][n(0x1cf)](d[n(0x1ce)]))c=d[n(0x1ce)];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[n(0x1e9)])f=b['openapikey'],Log[n(0x1dc)](n(0x1e3)+f);else{if(d[n(0x1db)])f=d[n(0x1db)];else throw Log['error'](n(0x1cd));}Log[n(0x1d5)](n(0x1de)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1c6)](g),process[n(0x1d1)](0x1);}});
1
+ const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0xa6))/0x1+-parseInt(h(0x9a))/0x2+parseInt(h(0xa2))/0x3+-parseInt(h(0x99))/0x4+parseInt(h(0xbc))/0x5*(parseInt(h(0xa9))/0x6)+-parseInt(h(0x98))/0x7+parseInt(h(0xa0))/0x8*(parseInt(h(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xabe4a));function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x97;let f=c[d];return f;},a2d(a,b);}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[i(0xa3)]()[i(0xbe)](i(0xb2))[i(0xa3)]()[i(0xb3)](a2a)[i(0xbe)](i(0xb2));});a2a();import{Command}from'../command.js';function a2c(){const n=['bright','cert','362475mfMtba','notice','stdout','42mumCDG','data','openapikey','create','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Using\x20CA\x20Cert\x20','getGlobalConfig','(((.+)+)+)+$','constructor','askGPT','cacert','ChatGPT\x20style\x20AI\x20interface','cfg','stdin','Using\x20OpenAI\x20Key\x20','question','exit','545330xVHoqO','error','search','text','close','10800aKOXRE','6495104jJOBnH','1362632tdipeq','601580rtURhF','message','openai','You:\x20','GPT:\x20','isFile','6712UBfTQm','fsi','2596821DDCrPx','toString'];a2c=function(){return n;};return a2c();}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['createInterface']({'input':process[j(0xb8)],'output':process[j(0xa8)]});c[j(0xba)](j(0x9d),async d=>{const k=j;if(d['toLowerCase']()===k(0xbb)){c[k(0xc0)]();return;}try{const e=await HTTPS[k(0xb4)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e[k(0xaa)]);if(f[k(0xbd)])throw new Error(f[k(0xbd)][k(0x9b)]);Log['bright'](k(0x9e)+f?.['choices'][0x0]?.[k(0xbf)]['trim']());}catch(g){Log[k(0xbd)](g),process[k(0xbb)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2l(0xac)]({'name':'ai','description':a2l(0xb6),'validOpts':[a2l(0xb5),a2l(0xab)],'shortDesc':a2l(0xb6),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0xb5)]&&(this[m(0xa1)]['isFile'](b[m(0xb5)])?(c=b[m(0xb5)],Log[m(0xa7)](m(0xb0)+c)):Log[m(0xbd)](m(0xad)+c));const d=await this[m(0xb7)][m(0xb1)]();if(d[m(0xa5)]){if(this[m(0xa1)][m(0x9f)](d[m(0xa5)]))c=d['cert'];else throw Log[m(0xbd)](m(0xaf)+c);}let f='';if(b[m(0xab)])f=b['openapikey'],Log[m(0xa7)](m(0xb9)+f);else{if(d[m(0x9c)])f=d[m(0x9c)];else throw Log[m(0xbd)]('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log[m(0xa4)](m(0xae)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0xbb)](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x84))/0x1+parseInt(f(0x8c))/0x2*(-parseInt(f(0x87))/0x3)+-parseInt(f(0x89))/0x4*(-parseInt(f(0x7e))/0x5)+-parseInt(f(0x8b))/0x6*(-parseInt(f(0x8a))/0x7)+-parseInt(f(0x8d))/0x8*(parseInt(f(0x80))/0x9)+parseInt(f(0x7f))/0xa+parseInt(f(0x88))/0xb*(parseInt(f(0x81))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xd020b));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a['toString']()[h(0x82)](h(0x85))[h(0x86)]()['constructor'](a3a)[h(0x82)](h(0x85));});a3a();function a3c(){var i=['1692276mGUFEk','search','apply','1273796ObZhyA','(((.+)+)+)+$','toString','45oPRYSV','143ucjdZd','8wzEQgB','4566737QSNYrt','12dzfBCX','159352lXzSti','8iJEimc','2338645KdVxIm','7398100JfkUOS','13427298pTwqre'];a3c=function(){return i;};return a3c();}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 a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x7e;var f=c[d];return f;},a3d(a,b);}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';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
1
+ (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x19d))/0x1+parseInt(f(0x19b))/0x2+-parseInt(f(0x1a3))/0x3*(-parseInt(f(0x1a7))/0x4)+parseInt(f(0x19e))/0x5*(-parseInt(f(0x19c))/0x6)+-parseInt(f(0x1a1))/0x7+-parseInt(f(0x1a8))/0x8*(parseInt(f(0x1a4))/0x9)+parseInt(f(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x74281));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x1a5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x1a2)]()[h(0x19f)](h(0x1a6))[h(0x1a2)]()['constructor'](a3a)[h(0x19f)]('(((.+)+)+)+$');});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';function a3c(){var i=['93xUSuYW','18XMdjro','apply','(((.+)+)+)+$','27836TuUOZE','1680072UQuuzS','917308lHDrvv','12vCLNWg','410730LHVoUI','1124645mEEXwt','search','15296400fVBDRX','3133480aztFSC','toString'];a3c=function(){return i;};return a3c();}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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x19b;var f=c[d];return f;},a3d(a,b);}import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
@@ -1 +1 @@
1
- const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0xff))/0x1+parseInt(f(0x102))/0x2*(parseInt(f(0xfb))/0x3)+-parseInt(f(0xf7))/0x4*(-parseInt(f(0x105))/0x5)+-parseInt(f(0xf4))/0x6*(parseInt(f(0x106))/0x7)+-parseInt(f(0xfc))/0x8*(-parseInt(f(0x104))/0x9)+-parseInt(f(0xf6))/0xa*(parseInt(f(0xfd))/0xb)+-parseInt(f(0x101))/0xc*(parseInt(f(0xfa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xd6c6d));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x103)]()['search'](h(0xf9))[h(0x103)]()[h(0xf5)](a4a)[h(0xfe)](h(0xf9));});function a4c(){const j=['create','12tJrjsw','3394874rMOhCm','toString','6517107tTKCiE','5EIjtmn','6670811ahtPdz','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','6DZrwnm','constructor','20YuGAPZ','5494504ykgzna','apply','(((.+)+)+)+$','867243eQNHWF','3vjdDxJ','16DDwPCZ','8665459lNPKEu','search','1044362fyjxzO'];a4c=function(){return j;};return a4c();}a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x100)]({'name':'aws','usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4i(0x107)},async function(){throw UsageError;});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xf4;let f=c[d];return f;},a4d(a,b);}export default AWSCommand;
1
+ const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0xf4))/0x1+-parseInt(f(0xfb))/0x2+parseInt(f(0xff))/0x3+-parseInt(f(0x105))/0x4+-parseInt(f(0xf6))/0x5*(parseInt(f(0xf8))/0x6)+-parseInt(f(0x103))/0x7*(parseInt(f(0x106))/0x8)+parseInt(f(0xf3))/0x9*(parseInt(f(0x104))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x9d41c));function a4c(){const j=['maka\x20aws:<sub-command>','3221466YcTuIN','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','aws','(((.+)+)+)+$','489937pOEEFQ','20rngUAv','1210376uPVlIm','24aQEAvB','4509090qktKls','426662nscUDc','constructor','210495HrqgCt','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','126QmESKy','create','toString','923468WbLdVM','search','apply'];a4c=function(){return j;};return a4c();}const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0xfa)]()[h(0xfc)](h(0x102))[h(0xfa)]()[h(0xf5)](a4a)['search'](h(0x102));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0xf9)]({'name':a4i(0x101),'usage':a4i(0xfe),'validOpts':[],'shortDesc':a4i(0xf7),'description':a4i(0x100)},async function(){throw UsageError;});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xf3;let f=c[d];return f;},a4d(a,b);}export default AWSCommand;
@@ -1 +1 @@
1
- const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=parseInt(f(0x114))/0x1+parseInt(f(0x121))/0x2+-parseInt(f(0x107))/0x3*(-parseInt(f(0x11d))/0x4)+parseInt(f(0x116))/0x5+-parseInt(f(0x10b))/0x6+-parseInt(f(0x110))/0x7+parseInt(f(0x10e))/0x8*(-parseInt(f(0x10a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x54b71));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x10c)]()['search'](h(0x11f))['toString']()['constructor'](a5a)[h(0x112)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x105;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';function a5c(){const k=['2913904PHPZPA','success','search','notice','645874JshguO','$metadata','2731950TXYrcS','maka\x20aws:create-ecr','Repository\x20created\x20successfully.','maka\x20aws:cecr\x20--name=my-new-repo','error','Create\x20an\x20Elastic\x20Container\x20Repository','Repository\x20URI:\x20','4jzYtDV','maka\x20aws:create-ecr\x20--name=my-new-repo','(((.+)+)+)+$','exit','1258846CynoaW','apply','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','1845411YbBAdw','create','ecrCreateRepository','2151Kymnrm','3624204bQFHCF','toString','httpStatusCode','35800JneCbp','name'];a5c=function(){return k;};return a5c();}import{Log}from'../../tools/log/log.class.js';Command[a5i(0x108)]({'name':'create-ecr','aliases':['cecr'],'usage':a5i(0x117),'requiredOpts':[a5i(0x10f)],'validOpts':['region'],'shortDesc':a5i(0x11b),'examples':[a5i(0x11e),a5i(0x119),a5i(0x106)]},async function(a,b){const j=a5i;try{const c=await this['aws'][j(0x109)](b);c&&c[j(0x115)][j(0x10d)]===0xc8&&c['repository']?(Log[j(0x111)](j(0x118)),Log[j(0x113)](j(0x11c)+c['repository']['repositoryUri'])):Log[j(0x11a)]('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process[j(0x120)](0x0);}catch(d){Log[j(0x11a)](d),process[j(0x120)](0x1);}},a5e);
1
+ const a5i=a5d;function a5c(){const k=['Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','323958Emhiaz','success','3150592kyGNln','name','notice','2737322jebqKC','error','Create\x20an\x20Elastic\x20Container\x20Repository','create','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','toString','exit','10523484eATKCy','Repository\x20URI:\x20','repository','1547404vgdksT','maka\x20aws:create-ecr','978fpmnWg','7841097JIkiGO','3CZWIcA','apply','$metadata','search','Repository\x20created\x20successfully.','cecr','ecrCreateRepository','region','3ykPcrI','constructor','10SjePGf','9535ZyEXZY','aws','maka\x20aws:cecr\x20--name=my-new-repo','(((.+)+)+)+$','httpStatusCode','repositoryUri'];a5c=function(){return k;};return a5c();}(function(a,b){const f=a5d,c=a();while(!![]){try{const d=parseInt(f(0xaa))/0x1*(-parseInt(f(0xb4))/0x2)+-parseInt(f(0xa2))/0x3*(-parseInt(f(0x9e))/0x4)+-parseInt(f(0xad))/0x5*(parseInt(f(0xa0))/0x6)+parseInt(f(0x94))/0x7+parseInt(f(0xb6))/0x8+-parseInt(f(0x9b))/0x9*(-parseInt(f(0xac))/0xa)+-parseInt(f(0xa1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xcafa0));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x99)]()[h(0xa5)](h(0xb0))['toString']()[h(0xab)](a5a)['search'](h(0xb0));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x93;let f=c[d];return f;},a5d(a,b);}Command[a5i(0x97)]({'name':'create-ecr','aliases':[a5i(0xa7)],'usage':a5i(0x9f),'requiredOpts':[a5i(0xb7)],'validOpts':[a5i(0xa9)],'shortDesc':a5i(0x96),'examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5i(0xaf),a5i(0x98)]},async function(a,b){const j=a5i;try{const c=await this[j(0xae)][j(0xa8)](b);c&&c[j(0xa4)][j(0xb1)]===0xc8&&c[j(0x9d)]?(Log[j(0xb5)](j(0xa6)),Log[j(0x93)](j(0x9c)+c['repository'][j(0xb2)])):Log['error'](j(0xb3)),process[j(0x9a)](0x0);}catch(d){Log[j(0x95)](d),process['exit'](0x1);}},a5e);
@@ -1 +1 @@
1
- const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0x175))/0x1*(-parseInt(h(0x166))/0x2)+-parseInt(h(0x174))/0x3+-parseInt(h(0x16b))/0x4+parseInt(h(0x176))/0x5+-parseInt(h(0x167))/0x6*(parseInt(h(0x172))/0x7)+parseInt(h(0x17a))/0x8+-parseInt(h(0x163))/0x9*(-parseInt(h(0x168))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xe09f1));function a6c(){const m=['Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','toString','maka\x20aws:chz\x20--domain=example.com','publicIp','10751321mSzIpQ','(((.+)+)+)+$','388215qvTkPM','515335RUGRID','883560lkwEGQ','search','aws','error','2351816QUXoeQ','Set\x20hosted\x20zone\x20to\x20an\x20instance?','chz','Instance\x20not\x20found','linkEC2ToRoute53','domain','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','maka\x20aws:create-hosted-zone\x20--domain=example.com','531TtfNXz','confirm','constructor','2xiKKUR','6nyaEaX','312650GnDZgj','exit','maka\x20aws:create-hosted-zone','981208JSumJR','chooseInstance','apply'];a6c=function(){return m;};return a6c();}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x16f)]()[j(0x177)](j(0x173))['toString']()[j(0x165)](a6a)[j(0x177)](j(0x173));});a6a();function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x15c;let f=c[d];return f;},a6d(a,b);}import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-hosted-zone','aliases':[a6k(0x15d)],'usage':a6k(0x16a),'requiredOpts':[a6k(0x160)],'validOpts':[],'shortDesc':a6k(0x16e),'examples':[a6k(0x162),a6k(0x170)]},async function(a,b){const l=a6k;try{const c=b['domain'];this[l(0x178)]['route53CreateHostedZone'](c);const d=await Actions[l(0x164)](l(0x15c));if(d){const f=await this[l(0x178)][l(0x16c)]();if(f?.['id']){if(!f[l(0x171)])throw Log[l(0x179)](l(0x161));this[l(0x178)][l(0x15f)](f['id'],f[l(0x171)],c);}else throw l(0x15e);}}catch(g){g&&Log['error'](g),process[l(0x169)](0x0);}},a6e);
1
+ const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0x18f))/0x1*(-parseInt(h(0x17e))/0x2)+-parseInt(h(0x17f))/0x3+-parseInt(h(0x185))/0x4*(parseInt(h(0x190))/0x5)+parseInt(h(0x183))/0x6+-parseInt(h(0x191))/0x7+parseInt(h(0x182))/0x8+-parseInt(h(0x189))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x3f1a4));function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x178;let f=c[d];return f;},a6d(a,b);}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0x18c)]()[j(0x18a)](j(0x17c))[j(0x18c)]()[j(0x188)](a6a)[j(0x18a)]('(((.+)+)+)+$');});function a6c(){const m=['Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','maka\x20aws:create-hosted-zone','publicIp','maka\x20aws:create-hosted-zone\x20--domain=example.com','Set\x20hosted\x20zone\x20to\x20an\x20instance?','(((.+)+)+)+$','exit','90qYwxDr','1024824oyyUXz','maka\x20aws:chz\x20--domain=example.com','chz','3736408uuTTiX','2545554fjTede','apply','8pzeNBQ','chooseInstance','error','constructor','3594015zCVwFW','search','confirm','toString','aws','domain','7241IklyPy','121570Vrfofb','1183812NHcyEm','linkEC2ToRoute53'];a6c=function(){return m;};return a6c();}a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-hosted-zone','aliases':[a6k(0x181)],'usage':a6k(0x178),'requiredOpts':[a6k(0x18e)],'validOpts':[],'shortDesc':a6k(0x193),'examples':[a6k(0x17a),a6k(0x180)]},async function(a,b){const l=a6k;try{const c=b[l(0x18e)];this[l(0x18d)]['route53CreateHostedZone'](c);const d=await Actions[l(0x18b)](l(0x17b));if(d){const f=await this[l(0x18d)][l(0x186)]();if(f?.['id']){if(!f[l(0x179)])throw Log[l(0x187)]('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');this[l(0x18d)][l(0x192)](f['id'],f['publicIp'],c);}else throw'Instance\x20not\x20found';}}catch(g){g&&Log['error'](g),process[l(0x17d)](0x0);}},a6e);
@@ -1 +1 @@
1
- const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x20b))/0x1+parseInt(Y(0x227))/0x2+-parseInt(Y(0x1fd))/0x3+parseInt(Y(0x21f))/0x4*(-parseInt(Y(0x1fc))/0x5)+-parseInt(Y(0x20c))/0x6+-parseInt(Y(0x226))/0x7+parseInt(Y(0x1f4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x993ab));const a7b=(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;};}()),a7a=a7b(this,function(){const Z=a7d;return a7a[Z(0x202)]()['search'](Z(0x208))[Z(0x202)]()[Z(0x22c)](a7a)[Z(0x1ec)](Z(0x208));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a7d(a,b);}import{Command}from'../../command.js';function a7c(){const a2=['number','split','1:1','7588294smfTPJ','646358KljLCf','getAppConfigPath','ec2createSG','Security\x20Group:\x20','Setting\x20the\x20key-pair\x20to:\x20','constructor','create-instance','deleteKeyPair','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','confirm','bright','error','maka-cli','string','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','success','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','env','Instace\x20Type:\x20','Key-Pair:\x20','ec2create','search','EC2\x20Name:\x20[','aws','Remove\x20the\x20keypair\x20','listAvailableSubnets','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','deleteSecurityGroup','createKeyPair','28934672EpnSIb','getEnvFromShorthand','unlinkSync','Creating\x20user\x20data\x20file\x20in\x20','createFile','notice','Would\x20you\x20like\x20to\x20include\x20user\x20data?','readFileSync','5VYdowT','1276983bYwrSg','join','created-by','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','toString','chooseVPC','ask','Create\x20new\x20AWS\x20instance','maka\x20aws:ci\x20--env\x20prod','ec2describeKeys','(((.+)+)+)+$','maka\x20aws:create-instance\x20--env\x20dev','Please\x20choose\x20a\x20key\x20to\x20use:\x20','132782mmuxGa','7208352imiQIL','Web\x20App','environment','**\x20Available\x20key-pairs\x20**','create','t3.micro','isFile','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','getSubnetCidr','listAvailableAMIs','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','name','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','exit','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','22,80,443','maka\x20aws:create-instance','Remove\x20the\x20security\x20group\x20','Name','1874036zctXLg','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','user-data','fsi'];a7c=function(){return a2;};return a7c();}import{Log}from'../../tools/log/log.class.js';Command[a7a0(0x210)]({'name':a7a0(0x22d),'aliases':['ci'],'usage':a7a0(0x21c),'examples':[a7a0(0x209),a7a0(0x206)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x1e8)}],'validOpts':[],'shortDesc':a7a0(0x205),'description':a7a0(0x218)},async function(a,b){const a1=a7a0;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a1(0x1f5)](b[a1(0x1e8)]),i=f[a1(0x228)](h),j=g+'-'+h,k=await Actions[a1(0x204)](a1(0x1ed)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a1(0x230)](a1(0x1e7),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a1(0x1ee)][a1(0x1f3)]({'env':h});r=y,s=z,Log['success'](a1(0x22b)+r);}else try{Log[a1(0x1f9)](a1(0x20f));const A=r?r:k,B=await this[a1(0x1ee)][a1(0x207)]({'suggestion':A}),C=await Actions['ask'](a1(0x20a))||'-1';if(parseInt(C)<0x0){Log[a1(0x232)](a1(0x21a)),Log[a1(0x1f9)]('No\x20instance\x20has\x20been\x20created.');return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0x217)],Log[a1(0x1e6)](a1(0x22b)+r);break;}}}catch(E){Log[a1(0x232)](E);}l=await this[a1(0x1ee)][a1(0x203)]();const t=await Actions[a1(0x230)](a1(0x22f),!![]);let u;if(t){const F=l===''?await this[a1(0x1ee)][a1(0x203)]():l;u=await Actions[a1(0x204)]('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions['ask'](a1(0x201))||a1(0x21b),H=G[a1(0x224)](',');await this['aws'][a1(0x229)]({'description':a1(0x20d),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a1(0x1ee)]['chooseSecurityGroup'](u),n=await this[a1(0x1ee)][a1(0x215)](),p=await this[a1(0x1ee)][a1(0x1f0)]();const v=0x1,w=0x1;try{const I=await Actions['ask']('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20')||a1(0x225),J=I[a1(0x224)](':')[0x0],K=I[a1(0x224)](':')[0x1];typeof parseInt(J)===a1(0x223)&&typeof parseInt(K)===a1(0x223)&&Log['success'](a1(0x235)+J+':'+K);}catch(L){Log[a1(0x232)](L);}try{const M=await Actions['ask'](a1(0x220))||a1(0x211);typeof M===a1(0x234)&&(o=M);}catch(N){Log[a1(0x232)](N);}let x='';try{const O=await Actions[a1(0x230)](a1(0x1fa),![]);O&&(x=a7f[a1(0x1fe)](i,a1(0x221)),Log[a1(0x1f9)](a1(0x1f7)+x),await this[a1(0x222)][a1(0x1f8)]({'filePath':x,'data':''}),await Actions['confirm']('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log['error'](P);}try{const Q=await this[a1(0x1ee)][a1(0x214)](p);Log['notice']('ImageID:'+n),Log[a1(0x1f9)]('Instance\x20Count:\x20'+v+':'+w),Log['notice'](a1(0x1e9)+o),Log[a1(0x1f9)](a1(0x1ea)+r),Log[a1(0x1f9)](a1(0x22a)+m),Log[a1(0x1f9)]('Subnet:\x20'+Q);if(x){Log[a1(0x1f9)]('User\x20Data:'+x);const S=a7g[a1(0x1fb)](x)['toString']();Log[a1(0x1f9)](S);}const R=await Actions[a1(0x230)](a1(0x1f1));if(R){const T=await this[a1(0x1ee)][a1(0x1eb)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a1(0x1ff),'Value':a1(0x233)},{'Key':a1(0x20e),'Value':h},{'Key':a1(0x21e),'Value':k}],...x&&{'userData':x}});T&&(Log['success'](a1(0x216)),Log[a1(0x231)](a1(0x213)));}else{Log['notice'](a1(0x200));const U=await Actions[a1(0x230)](a1(0x1ef)+r+'\x20?',!![]);U&&(this[a1(0x1ee)][a1(0x22e)](r),d[a1(0x212)](s)&&a7g[a1(0x1f6)](s));const V=await Actions['confirm'](a1(0x21d)+m+'\x20?',!![]);V&&this[a1(0x1ee)][a1(0x1f2)](m);}}catch(W){Log[a1(0x232)](W);}}catch(X){X&&Log['error'](X),process[a1(0x219)](0x0);}},a7e);
1
+ const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x1d1))/0x1+-parseInt(Y(0x1fa))/0x2*(parseInt(Y(0x1e1))/0x3)+-parseInt(Y(0x1c3))/0x4+-parseInt(Y(0x1f6))/0x5*(parseInt(Y(0x1e4))/0x6)+parseInt(Y(0x1d8))/0x7+parseInt(Y(0x1f5))/0x8+-parseInt(Y(0x1ea))/0x9*(-parseInt(Y(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x24d52));const a7b=(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;};}()),a7a=a7b(this,function(){const Z=a7d;return a7a['toString']()['search']('(((.+)+)+)+$')[Z(0x1bf)]()[Z(0x1bb)](a7a)[Z(0x1eb)]('(((.+)+)+)+$');});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';function a7c(){const a2=['ec2create','Creating\x20user\x20data\x20file\x20in\x20','271720yPcHcj','getAppConfigPath','Setting\x20the\x20key-pair\x20to:\x20','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','1263240KUzQDq','153800HpZLsl','split','ImageID:','create','2GhXFFI','Web\x20App','Key-Pair:\x20','success','constructor','name','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','exit','toString','environment','bright','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','307284aDmjif','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','Remove\x20the\x20security\x20group\x20','ec2describeKeys','isFile','aws','env','user-data','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','error','getSubnetCidr','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','22,80,443','Would\x20you\x20like\x20to\x20include\x20user\x20data?','75316oqUDSv','deleteKeyPair','createKeyPair','Subnet:\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','1:1','ask','2045911EjbAVL','created-by','getEnvFromShorthand','No\x20instance\x20has\x20been\x20created.','listAvailableSubnets','Instance\x20Count:\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','chooseVPC','chooseSecurityGroup','572265DGPyNv','**\x20Available\x20key-pairs\x20**','Remove\x20the\x20keypair\x20','18wcxBCs','readFileSync','Security\x20Group\x20Name:\x20[','confirm','ec2createSG','notice','45JUirAp','search','User\x20Data:','EC2\x20Name:\x20['];a7c=function(){return a2;};return a7c();}import{Log}from'../../tools/log/log.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a7d(a,b);}Command[a7a0(0x1f9)]({'name':'create-instance','aliases':['ci'],'usage':'maka\x20aws:create-instance','examples':['maka\x20aws:create-instance\x20--env\x20dev','maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x1c9)}],'validOpts':[],'shortDesc':'Create\x20new\x20AWS\x20instance','description':a7a0(0x1f3)},async function(a,b){const a1=a7a0;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a1(0x1da)](b[a1(0x1c9)]),i=f[a1(0x1f1)](h),j=g+'-'+h,k=await Actions[a1(0x1d7)](a1(0x1ed)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions['confirm'](a1(0x1de),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a1(0x1c8)][a1(0x1d3)]({'env':h});r=y,s=z,Log[a1(0x1ba)](a1(0x1f2)+r);}else try{Log[a1(0x1e9)](a1(0x1e2));const A=r?r:k,B=await this[a1(0x1c8)][a1(0x1c6)]({'suggestion':A}),C=await Actions[a1(0x1d7)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a1(0x1cc)](a1(0x1ce)),Log[a1(0x1e9)](a1(0x1db));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0x1bc)],Log[a1(0x1ba)](a1(0x1f2)+r);break;}}}catch(E){Log[a1(0x1cc)](E);}l=await this[a1(0x1c8)][a1(0x1df)]();const t=await Actions[a1(0x1e7)](a1(0x1bd),!![]);let u;if(t){const F=l===''?await this[a1(0x1c8)][a1(0x1df)]():l;u=await Actions[a1(0x1d7)](a1(0x1e6)+k+']')||k;const G=await Actions[a1(0x1d7)](a1(0x1f4))||a1(0x1cf),H=G['split'](',');await this[a1(0x1c8)][a1(0x1e8)]({'description':a1(0x1b8),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a1(0x1c8)][a1(0x1e0)](u),n=await this[a1(0x1c8)]['listAvailableAMIs'](),p=await this[a1(0x1c8)][a1(0x1dc)]();const v=0x1,w=0x1;try{const I=await Actions[a1(0x1d7)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20')||a1(0x1d6),J=I[a1(0x1f7)](':')[0x0],K=I[a1(0x1f7)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)==='number'&&Log[a1(0x1ba)](a1(0x1d5)+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions[a1(0x1d7)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||'t3.micro';typeof M==='string'&&(o=M);}catch(N){Log['error'](N);}let x='';try{const O=await Actions[a1(0x1e7)](a1(0x1d0),![]);O&&(x=a7f['join'](i,a1(0x1ca)),Log[a1(0x1e9)](a1(0x1ef)+x),await this['fsi']['createFile']({'filePath':x,'data':''}),await Actions[a1(0x1e7)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log[a1(0x1cc)](P);}try{const Q=await this[a1(0x1c8)][a1(0x1cd)](p);Log['notice'](a1(0x1f8)+n),Log['notice'](a1(0x1dd)+v+':'+w),Log[a1(0x1e9)]('Instace\x20Type:\x20'+o),Log[a1(0x1e9)](a1(0x1b9)+r),Log[a1(0x1e9)]('Security\x20Group:\x20'+m),Log[a1(0x1e9)](a1(0x1d4)+Q);if(x){Log[a1(0x1e9)](a1(0x1ec)+x);const S=a7g[a1(0x1e5)](x)[a1(0x1bf)]();Log[a1(0x1e9)](S);}const R=await Actions[a1(0x1e7)](a1(0x1c2));if(R){const T=await this[a1(0x1c8)][a1(0x1ee)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a1(0x1d9),'Value':'maka-cli'},{'Key':a1(0x1c0),'Value':h},{'Key':'Name','Value':k}],...x&&{'userData':x}});T&&(Log[a1(0x1ba)](a1(0x1cb)),Log[a1(0x1c1)](a1(0x1c4)));}else{Log['notice']('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');const U=await Actions[a1(0x1e7)](a1(0x1e3)+r+'\x20?',!![]);U&&(this[a1(0x1c8)][a1(0x1d2)](r),d[a1(0x1c7)](s)&&a7g['unlinkSync'](s));const V=await Actions['confirm'](a1(0x1c5)+m+'\x20?',!![]);V&&this[a1(0x1c8)]['deleteSecurityGroup'](m);}}catch(W){Log[a1(0x1cc)](W);}}catch(X){X&&Log[a1(0x1cc)](X),process[a1(0x1be)](0x0);}},a7e);
@@ -1 +1 @@
1
- const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x166))/0x1*(-parseInt(g(0x168))/0x2)+parseInt(g(0x164))/0x3+parseInt(g(0x15a))/0x4*(-parseInt(g(0x155))/0x5)+-parseInt(g(0x162))/0x6+-parseInt(g(0x163))/0x7*(parseInt(g(0x161))/0x8)+parseInt(g(0x151))/0x9+-parseInt(g(0x15b))/0xa*(-parseInt(g(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x97f33));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x15e)]()['search'](i(0x15f))[i(0x15e)]()[i(0x154)](a8a)['search']('(((.+)+)+)+$');});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x151;let f=c[d];return f;},a8d(a,b);}function a8c(){const l=['toString','(((.+)+)+)+$','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','24wJcKum','5209512jkeqzC','513737UdHqFJ','1558335zekDow','4356297JWxpjN','4705BCJPvG','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','6XVWigY','getEnvFromShorthand','8766990tMYeta','create-key-pair','cfg','constructor','29225hRjagB','error','apply','maka\x20aws:ckp\x20--env\x20prod','maka\x20aws:create-key-pair','132jFAIvA','10rCqWZl','ckp','maka\x20aws:create-key-pair\x20--env\x20prod'];a8c=function(){return l;};return a8c();}Command['create']({'name':a8j(0x152),'aliases':[a8j(0x15c)],'usage':a8j(0x159),'examples':[a8j(0x15d),a8j(0x158)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8j(0x160),'description':a8j(0x167)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x153)][k(0x169)](b['env']);c['createKeyPair']({'env':d});}catch(f){f&&Log[k(0x156)](f),process['exit'](0x0);}},a8e);
1
+ const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x10b))/0x1*(parseInt(g(0x10f))/0x2)+-parseInt(g(0x118))/0x3*(-parseInt(g(0x119))/0x4)+parseInt(g(0x11d))/0x5*(-parseInt(g(0x112))/0x6)+parseInt(g(0x10d))/0x7*(parseInt(g(0x11a))/0x8)+-parseInt(g(0x111))/0x9+parseInt(g(0x11c))/0xa+-parseInt(g(0x10c))/0xb*(-parseInt(g(0x110))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x1dbd6));function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x109;let f=c[d];return f;},a8d(a,b);}function a8c(){const l=['createKeyPair','env','39mSSzjE','53828tGmuZL','1679712qqgfrd','create-key-pair','662470gtAtvo','285zUhJtu','constructor','create','ckp','maka\x20aws:create-key-pair','maka\x20aws:ckp\x20--env\x20prod','4zwJgMa','1661nnxBXu','7FUMlUO','maka\x20aws:create-key-pair\x20--env\x20prod','95314ItrOOO','12060PRcYWb','1117764syvPkN','17502DbqNDD','apply','search','cfg'];a8c=function(){return l;};return a8c();}const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a['toString']()['search']('(((.+)+)+)+$')['toString']()[i(0x11e)](a8a)[i(0x114)]('(((.+)+)+)+$');});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x11f)]({'name':a8j(0x11b),'aliases':[a8j(0x120)],'usage':a8j(0x109),'examples':[a8j(0x10e),a8j(0x10a)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x117)],'validOpts':[],'shortDesc':'Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','description':'\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20'},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x115)]['getEnvFromShorthand'](b[k(0x117)]);c[k(0x116)]({'env':d});}catch(f){f&&Log['error'](f),process['exit'](0x0);}},a8e);
@@ -1 +1 @@
1
- function a9c(){const r=['713253toopsw','forEach','1438318slDzPN','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','22,80,443','ask','exit','maka\x20aws:create-secuirty-group','ec2createSG','toString','(((.+)+)+)+$','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','Web\x20App','634280tqUOjx','maka\x20aws\x20create-security-group','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','maka\x20aws:csg','create','match','name','chooseVPC','Security\x20Group\x20Name:\x20[','6DiEYvu','266495ADynFK','723430ZWaFDh','search','129772EmQQvB','csg','8754736ugAfXC'];a9c=function(){return r;};return a9c();}const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x171))/0x1+parseInt(m(0x174))/0x2+-parseInt(m(0x177))/0x3+-parseInt(m(0x184))/0x4+-parseInt(m(0x172))/0x5*(parseInt(m(0x170))/0x6)+-parseInt(m(0x179))/0x7+parseInt(m(0x176))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x23b4c));const a9b=(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;};}()),a9a=a9b(this,function(){const n=a9d;return a9a[n(0x180)]()[n(0x173)](n(0x181))[n(0x180)]()['constructor'](a9a)[n(0x173)]('(((.+)+)+)+$');});function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x168;let f=c[d];return f;},a9d(a,b);}a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9o(0x16b)]({'name':'create-security-group','aliases':[a9o(0x175)],'usage':a9o(0x168),'validOpts':[],'shortDesc':a9o(0x182),'mustBeInMakaProject':!![],'description':a9o(0x169),'examples':[a9o(0x17e),a9o(0x16a)]},async function(a,b){const p=a9o,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[p(0x16e)](),h=b[p(0x16d)]?b[p(0x16d)]:''+f,i=await Actions[p(0x17c)](p(0x16f)+h+']')||h,j=await Actions['ask'](p(0x17a))||p(0x17b),k=j['split'](',');k[p(0x178)](l=>{const q=p;if(!l[q(0x16c)](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await d[p(0x17f)]({'description':p(0x183),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process[p(0x17d)](0x1);}},a9e);
1
+ const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0xee))/0x1*(parseInt(m(0xd7))/0x2)+parseInt(m(0xef))/0x3+parseInt(m(0xe3))/0x4+parseInt(m(0xd1))/0x5+-parseInt(m(0xd3))/0x6*(parseInt(m(0xe0))/0x7)+-parseInt(m(0xea))/0x8*(-parseInt(m(0xd0))/0x9)+parseInt(m(0xeb))/0xa*(-parseInt(m(0xda))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xb336f));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()['search'](o(0xe4))[o(0xd8)]()[o(0xe8)](a9a)[o(0xd4)](o(0xe4));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0xdd)]({'name':a9p(0xe5),'aliases':[a9p(0xdf)],'usage':a9p(0xf1),'validOpts':[],'shortDesc':a9p(0xed),'mustBeInMakaProject':!![],'description':a9p(0xe7),'examples':['maka\x20aws:create-secuirty-group',a9p(0xec)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0xde)](),h=b[q(0xd6)]?b['name']:''+f,i=await Actions[q(0xe1)](q(0xe9)+h+']')||h,j=await Actions[q(0xe1)](q(0xf0))||q(0xdc),k=j[q(0xd2)](',');k['forEach'](l=>{const r=q;if(!l[r(0xd5)](/^\d+$/))throw r(0xe2);}),await d['ec2createSG']({'description':q(0xdb),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0xd9)](l),process['exit'](0x1);}},a9e);function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xd0;let f=c[d];return f;},a9d(a,b);}function a9c(){const s=['1314aPSloZ','search','match','name','27506YXUbKj','toString','error','1815BFldtc','Web\x20App','22,80,443','create','chooseVPC','csg','21147UvtrWc','ask','List\x20is\x20not\x20all\x20numbers','3573116ziFQzY','(((.+)+)+)+$','create-security-group','apply','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','constructor','Security\x20Group\x20Name:\x20[','293352EovnqI','142050RjdcAl','maka\x20aws:csg','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','61gGpvTl','1614396WGfuJt','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','maka\x20aws\x20create-security-group','234rsgfqp','2578745uzVxxI','split'];a9c=function(){return s;};return a9c();}
@@ -1 +1 @@
1
- const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x1c8))/0x1+parseInt(f(0x1aa))/0x2*(parseInt(f(0x1bd))/0x3)+parseInt(f(0x1b4))/0x4+parseInt(f(0x1bb))/0x5+-parseInt(f(0x1c7))/0x6+-parseInt(f(0x1bc))/0x7+parseInt(f(0x1b6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xdd23b));function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a10d(a,b);}const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x1b9)]()[h(0x1c4)](h(0x1bf))[h(0x1b9)]()[h(0x1b1)](a10a)[h(0x1c4)](h(0x1bf));});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a10c(){const k=['8591088YoulgY','216163mksbGe','26zrVJEN','ecrDeleteRepository','\x20in\x20region\x20','.\x20Error:\x20','region','Repository\x20','decr','constructor','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','success','1542316wugyVK','\x20deleted\x20successfully\x20in\x20region\x20','21220176WsZNVI','Failed\x20to\x20delete\x20the\x20repository:\x20','apply','toString','Delete\x20an\x20Elastic\x20Container\x20Repository','2852300dqKbWL','10502170NYdxPD','3051dVzOvv','error','(((.+)+)+)+$','delete-ecr','name','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','exit','search','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','create'];a10c=function(){return k;};return a10c();}Command[a10i(0x1c6)]({'name':a10i(0x1c0),'aliases':[a10i(0x1b0)],'usage':a10i(0x1c2),'requiredOpts':[a10i(0x1c1),a10i(0x1ae)],'validOpts':[],'shortDesc':a10i(0x1ba),'examples':[a10i(0x1c5),a10i(0x1b2)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x1ab)]({'repoName':b[j(0x1c1)],'region':b[j(0x1ae)]}),Log[j(0x1b3)](j(0x1af)+b[j(0x1c1)]+j(0x1b5)+b['region']+'.'),process[j(0x1c3)](0x0);}catch(d){Log[j(0x1be)](j(0x1b7)+b[j(0x1c1)]+j(0x1ac)+b[j(0x1ae)]+j(0x1ad)+d),process[j(0x1c3)](0x1);}},a10e);
1
+ const a10h=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x1ab))/0x1*(parseInt(f(0x1b7))/0x2)+parseInt(f(0x1af))/0x3+-parseInt(f(0x1b0))/0x4+-parseInt(f(0x1b1))/0x5*(parseInt(f(0x1b3))/0x6)+-parseInt(f(0x1ae))/0x7*(-parseInt(f(0x1b6))/0x8)+-parseInt(f(0x1a6))/0x9*(parseInt(f(0x1b8))/0xa)+-parseInt(f(0x1b4))/0xb*(-parseInt(f(0x1aa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xee4d0));function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a10d(a,b);}const a10b=(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;};}()),a10a=a10b(this,function(){const g=a10d;return a10a[g(0x1a7)]()[g(0x1ba)](g(0x1b5))['toString']()[g(0x1a3)](a10a)[g(0x1ba)](g(0x1b5));});a10a();function a10c(){const j=['create','search','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','\x20deleted\x20successfully\x20in\x20region\x20','exit','region','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','name','constructor','Repository\x20','\x20in\x20region\x20','148347sbFMJS','toString','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','ecrDeleteRepository','25117692OYRRPW','604199cLVnJK','success','.\x20Error:\x20','35gvkYYH','2348403pwesWp','3248800xmOFex','5ARaRXa','Delete\x20an\x20Elastic\x20Container\x20Repository','11370498QsHhuB','11ISZQAk','(((.+)+)+)+$','3120672ywNRDg','2AtREZQ','1060WOzVtA'];a10c=function(){return j;};return a10c();}import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10h(0x1b9)]({'name':'delete-ecr','aliases':['decr'],'usage':a10h(0x1bb),'requiredOpts':['name',a10h(0x1be)],'validOpts':[],'shortDesc':a10h(0x1b2),'examples':[a10h(0x1bf),a10h(0x1a8)]},async function(a,b){const i=a10h,{aws:c}=this;try{await c[i(0x1a9)]({'repoName':b[i(0x1c0)],'region':b['region']}),Log[i(0x1ac)](i(0x1a4)+b[i(0x1c0)]+i(0x1bc)+b[i(0x1be)]+'.'),process[i(0x1bd)](0x0);}catch(d){Log['error']('Failed\x20to\x20delete\x20the\x20repository:\x20'+b[i(0x1c0)]+i(0x1a5)+b[i(0x1be)]+i(0x1ad)+d),process[i(0x1bd)](0x1);}},a10e);
@@ -1 +1 @@
1
- const a11i=a11d;function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xae;let f=c[d];return f;},a11d(a,b);}(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0xbc))/0x1*(parseInt(f(0xb6))/0x2)+-parseInt(f(0xc4))/0x3*(parseInt(f(0xc3))/0x4)+parseInt(f(0xb1))/0x5+parseInt(f(0xb7))/0x6+parseInt(f(0xae))/0x7+parseInt(f(0xb8))/0x8*(parseInt(f(0xb2))/0x9)+parseInt(f(0xc1))/0xa*(parseInt(f(0xbb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x9807f));function a11c(){const k=['44YBtgGv','987523QRRKvf','maka\x20aws:di','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','constructor','toString','689530USYykd','exit','4NnpFau','1875483GIUsuS','apply','4856005ObODcN','search','error','4301405ZKNGLd','9DLNlmu','create','maka\x20aws:describe-instances','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','2BlJkNp','2318472jLVvGZ','153464WePger','(((.+)+)+)+$','describe-instances'];a11c=function(){return k;};return a11c();}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0xc0)]()[h(0xaf)](h(0xb9))[h(0xc0)]()[h(0xbf)](a11a)[h(0xaf)](h(0xb9));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0xb3)]({'name':a11i(0xba),'aliases':['di'],'usage':a11i(0xb4),'validOpts':[],'shortDesc':a11i(0xbe),'examples':[a11i(0xb4),a11i(0xbd)],'description':a11i(0xb5)},async function(){const j=a11i;try{const {aws:a}=this;a['ec2describeInstances']();}catch(b){b&&Log[j(0xb0)](b),process[j(0xc2)](0x1);}},a11e);
1
+ const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x103))/0x1*(-parseInt(f(0x102))/0x2)+-parseInt(f(0xfc))/0x3*(parseInt(f(0x10c))/0x4)+-parseInt(f(0x10a))/0x5*(parseInt(f(0x109))/0x6)+-parseInt(f(0xf8))/0x7*(-parseInt(f(0xf9))/0x8)+parseInt(f(0xff))/0x9+-parseInt(f(0x101))/0xa*(-parseInt(f(0x104))/0xb)+parseInt(f(0xfd))/0xc*(parseInt(f(0x106))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x38e03));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0xfe)]()['search'](h(0x100))['toString']()['constructor'](a11a)['search'](h(0x100));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';function a11c(){const k=['1032QbEbgV','maka\x20aws:describe-instances','describe-instances','61565QCMkNW','8vZAMOk','create','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','3321MDqIuD','12KzQjoD','toString','1671453JlWMkG','(((.+)+)+)+$','1580wmbGef','536gZkqoz','1594bPGnGQ','12265fNartU','maka\x20aws:di','1813877MxVuvB','exit','apply','156ziNxGF','80545uZhpgW','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20'];a11c=function(){return k;};return a11c();}import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xf6;let f=c[d];return f;},a11d(a,b);}Command[a11i(0xfa)]({'name':a11i(0xf7),'aliases':['di'],'usage':a11i(0xf6),'validOpts':[],'shortDesc':a11i(0xfb),'examples':['maka\x20aws:describe-instances',a11i(0x105)],'description':a11i(0x10b)},async function(){const j=a11i;try{const {aws:a}=this;a['ec2describeInstances']();}catch(b){b&&Log['error'](b),process[j(0x107)](0x1);}},a11e);
@@ -1 +1 @@
1
- function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x142;var f=c[d];return f;},a12d(a,b);}var a12h=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0x14c))/0x1+parseInt(f(0x155))/0x2*(parseInt(f(0x142))/0x3)+-parseInt(f(0x151))/0x4*(parseInt(f(0x15a))/0x5)+parseInt(f(0x15c))/0x6*(-parseInt(f(0x15b))/0x7)+-parseInt(f(0x143))/0x8*(parseInt(f(0x152))/0x9)+-parseInt(f(0x153))/0xa*(parseInt(f(0x157))/0xb)+-parseInt(f(0x14f))/0xc*(-parseInt(f(0x14b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x2f98a));function a12c(){var j=['349410FmczOM','8DvgNNn','search','(((.+)+)+)+$','error','ec2describeKeys','constructor','exit','aws','2692040VhzSXw','147067LqRUuS','maka\x20aws:describe-key-pairs','toString','24UdQVNd','describe-key-pairs','192hJbqcT','1262727DbyeKP','37580YQCcJV','create','4ionFBM','maka\x20aws:dkp','154BcuNuG','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','dkp','40440bkxmVx','18074hJoNib','42AFxKHg'];a12c=function(){return j;};return a12c();}var a12b=(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;};}()),a12a=a12b(this,function(){var g=a12d;return a12a['toString']()[g(0x144)](g(0x145))[g(0x14e)]()[g(0x148)](a12a)[g(0x144)]('(((.+)+)+)+$');});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a12h(0x154)]({'name':a12h(0x150),'aliases':[a12h(0x159)],'usage':a12h(0x14d),'validOpts':[],'shortDesc':a12h(0x158),'examples':[a12h(0x14d),a12h(0x156)]},async function(){var i=a12h;try{this[i(0x14a)][i(0x147)]();}catch(a){a&&Log[i(0x146)](a),process[i(0x149)](0x0);}},a12e);
1
+ var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x15a))/0x1+parseInt(f(0x158))/0x2*(-parseInt(f(0x159))/0x3)+-parseInt(f(0x15b))/0x4+-parseInt(f(0x15c))/0x5*(parseInt(f(0x15f))/0x6)+-parseInt(f(0x169))/0x7*(-parseInt(f(0x165))/0x8)+parseInt(f(0x15e))/0x9*(-parseInt(f(0x162))/0xa)+parseInt(f(0x16b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x934dd));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a['toString']()[h(0x16a)](h(0x164))[h(0x16c)]()[h(0x163)](a12a)[h(0x16a)](h(0x164));});a12a();function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x158;var f=c[d];return f;},a12d(a,b);}import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12c(){var k=['896ZWBZwW','search','19586633UJnEyE','toString','aws','maka\x20aws:describe-key-pairs','16582BLuggm','6PJigDj','324477fpDFeP','874892ZNXbgo','7615TZpveR','error','45JkJSmC','126Wvbteo','ec2describeKeys','exit','1507090uNsOre','constructor','(((.+)+)+)+$','10504uQGqIy','apply','create','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS'];a12c=function(){return k;};return a12c();}import{Log}from'../../tools/log/log.class.js';Command[a12i(0x167)]({'name':'describe-key-pairs','aliases':['dkp'],'usage':a12i(0x16e),'validOpts':[],'shortDesc':a12i(0x168),'examples':['maka\x20aws:describe-key-pairs','maka\x20aws:dkp']},async function(){var j=a12i;try{this[j(0x16d)][j(0x160)]();}catch(a){a&&Log[j(0x15d)](a),process[j(0x161)](0x0);}},a12e);
@@ -1 +1 @@
1
- const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0x1b9))/0x1+-parseInt(j(0x1bb))/0x2+parseInt(j(0x1b6))/0x3+-parseInt(j(0x1af))/0x4*(parseInt(j(0x1ad))/0x5)+-parseInt(j(0x1c2))/0x6+-parseInt(j(0x1b8))/0x7*(-parseInt(j(0x1c8))/0x8)+parseInt(j(0x1b1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xe46cc));function a13c(){const q=['error','forEach','constructor','includes','success','719328MsGVzX','dsg','notice','sgId','delete-security-group','appName','35496UTZQKA','confirm','create','Deleted\x20','Deleting\x20a\x20','maka\x20aws:delete-sg','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','apply','name','search','getSecurityGroups','Not\x20deleting\x20secuirty\x20group','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','2156815mSvHXl','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','4SPJdRm','ID:\x20','6488505vMXcpI','ask','toString','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','exit','3539886nlRNNQ','\x20SG\x20NAME:\x20','1134cxrKxe','840768djycVv','(((.+)+)+)+$','584108dDpnsj','maka\x20aws:dsg'];a13c=function(){return q;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x1b3)]()[l(0x1a9)](l(0x1ba))[l(0x1b3)]()[l(0x1bf)](a13a)[l(0x1a9)](l(0x1ba));});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a13d(a,b);}a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13m(0x1ca)]({'name':a13m(0x1c6),'aliases':[a13m(0x1c3)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x1ae),'examples':[a13m(0x1a5),a13m(0x1bc)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x1c7)];const {sgList:d}=await b[n(0x1aa)]();d[n(0x1be)](function(i){const o=n;i['name'][o(0x1c0)](c)?Log[o(0x1c4)](o(0x1b0)+i['id']+o(0x1b7)+i[o(0x1a8)]+'\x20SGID:\x20'+i[o(0x1c5)]):Log['bright'](o(0x1b0)+i['id']+'\x20SG\x20NAME:\x20'+i[o(0x1a8)]+'\x20SGID:\x20'+i[o(0x1c5)]);});let f='';const g=await Actions[n(0x1b2)](n(0x1ac));d[n(0x1be)](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x1c5)]);});if(!f)throw Log[n(0x1bd)](n(0x1b4));const h=await Actions[n(0x1c9)](n(0x1a4)+f+n(0x1a6),![]);h?(await b['deleteSecurityGroup'](f),Log[n(0x1c1)](n(0x1a3)+f)):Log[n(0x1bd)](n(0x1ab)),process[n(0x1b5)](0x0);}catch(i){i&&Log[n(0x1bd)](i),process[n(0x1b5)](0x1);}},a13e);
1
+ const a13m=a13d;function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x90;let f=c[d];return f;},a13d(a,b);}(function(a,b){const j=a13d,c=a();while(!![]){try{const d=parseInt(j(0xad))/0x1+-parseInt(j(0x92))/0x2+parseInt(j(0x95))/0x3*(-parseInt(j(0xb0))/0x4)+-parseInt(j(0xae))/0x5*(parseInt(j(0xaf))/0x6)+-parseInt(j(0xa3))/0x7+-parseInt(j(0xa2))/0x8+parseInt(j(0x99))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x7ff66));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0xa6)]()['search'](l(0x97))['toString']()[l(0x9f)](a13a)[l(0xaa)](l(0x97));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a13c(){const q=['appName','exit','notice','search','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','\x20SGID:\x20','5097gCOfOs','5Bhymlx','3326466KmLKmD','4bnfCBs','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','\x20SG\x20NAME:\x20','1217928LbXpky','create','maka\x20aws:dsg','1544775atHbMz','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','(((.+)+)+)+$','deleteSecurityGroup','26420913pBkous','apply','delete-security-group','Deleted\x20','error','maka\x20aws:delete-sg','constructor','sgId','forEach','5384744ZvIimy','456589OpwZCi','getSecurityGroups','ID:\x20','toString'];a13c=function(){return q;};return a13c();}import{Actions}from'../../tools/actions/actions.class.js';Command[a13m(0x93)]({'name':a13m(0x9b),'aliases':['dsg'],'usage':a13m(0x9e),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':'Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','examples':[a13m(0x9e),a13m(0x94)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0xa7)];const {sgList:d}=await b[n(0xa4)]();d[n(0xa1)](function(i){const o=n;i['name']['includes'](c)?Log[o(0xa9)](o(0xa5)+i['id']+o(0x91)+i['name']+o(0xac)+i[o(0xa0)]):Log['bright'](o(0xa5)+i['id']+o(0x91)+i['name']+o(0xac)+i[o(0xa0)]);});let f='';const g=await Actions['ask'](n(0xab));d['forEach'](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0xa0)]);});if(!f)throw Log[n(0x9d)](n(0x90));const h=await Actions['confirm']('Deleting\x20a\x20'+f+n(0x96),![]);h?(await b[n(0x98)](f),Log['success'](n(0x9c)+f)):Log[n(0x9d)]('Not\x20deleting\x20secuirty\x20group'),process[n(0xa8)](0x0);}catch(i){i&&Log[n(0x9d)](i),process[n(0xa8)](0x1);}},a13e);
@@ -1 +1 @@
1
- const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1+parseInt(f(0xb8))/0x2+parseInt(f(0xa7))/0x3+-parseInt(f(0xb4))/0x4*(-parseInt(f(0xa9))/0x5)+parseInt(f(0xa1))/0x6*(-parseInt(f(0xb7))/0x7)+parseInt(f(0xb0))/0x8*(-parseInt(f(0xa8))/0x9)+-parseInt(f(0xad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xc5408));function a14c(){const k=['5PQigKI','apply','Completed\x20listing\x20ECR\x20repositories.','create','10273140YeLGRr','regions','search','809336PCqyAo','maka\x20aws:lecr\x20--regions=all','maka\x20aws:list-ecr','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','5904436mAgnUf','363396XhqOsN','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','1121372PocGjc','887190RzdqBq','constructor','list-ecr','24cJeUxb','success','toString','exit','(((.+)+)+)+$','lecr','3366204MRXSdC','18hpmboV'];a14c=function(){return k;};return a14c();}const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0xa3)]()[h(0xaf)]('(((.+)+)+)+$')[h(0xa3)]()[h(0xb9)](a14a)[h(0xaf)](h(0xa5));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xa0;let f=c[d];return f;},a14d(a,b);}Command[a14i(0xac)]({'name':a14i(0xa0),'aliases':[a14i(0xa6)],'usage':'maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','requiredOpts':[],'validOpts':[a14i(0xae)],'shortDesc':a14i(0xb6),'examples':[a14i(0xb2),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1',a14i(0xb1)]},async function(a,b){const j=a14i;try{const {aws:c}=this;await c['listAllEcrRepositories'](b['regions']),Log[j(0xa2)](j(0xab)),process[j(0xa4)](0x0);}catch(d){Log['error'](j(0xb3)+d),process[j(0xa4)](0x1);}},a14e);
1
+ const a14h=a14d;function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xed;let f=c[d];return f;},a14d(a,b);}(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0xfc))/0x1*(parseInt(f(0xf2))/0x2)+parseInt(f(0xff))/0x3*(-parseInt(f(0x101))/0x4)+parseInt(f(0x105))/0x5*(parseInt(f(0xfe))/0x6)+-parseInt(f(0x100))/0x7*(-parseInt(f(0xed))/0x8)+parseInt(f(0xee))/0x9+parseInt(f(0xf0))/0xa+parseInt(f(0xf4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xd62ad));function a14c(){const j=['listAllEcrRepositories','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','(((.+)+)+)+$','success','toString','exit','regions','1jGbLif','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','12ZbTovz','3mnaVGs','896OqNLKq','6912796iWhGIU','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','search','constructor','1328695ibAQUy','67448aYmgir','13531419Yuzasx','error','5031370GiOahT','maka\x20aws:lecr\x20--regions=all','2315798VNLOue','list-ecr','1606583JLNtlm'];a14c=function(){return j;};return a14c();}const a14b=(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;};}()),a14a=a14b(this,function(){const g=a14d;return a14a[g(0xf9)]()[g(0x103)](g(0xf7))['toString']()[g(0x104)](a14a)[g(0x103)](g(0xf7));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14h(0xf3),'aliases':['lecr'],'usage':a14h(0xfd),'requiredOpts':[],'validOpts':[a14h(0xfb)],'shortDesc':a14h(0xf6),'examples':['maka\x20aws:list-ecr',a14h(0x102),a14h(0xf1)]},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0xf5)](b[i(0xfb)]),Log[i(0xf8)]('Completed\x20listing\x20ECR\x20repositories.'),process['exit'](0x0);}catch(d){Log[i(0xef)]('An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'+d),process[i(0xfa)](0x1);}},a14e);
@@ -1 +1 @@
1
- const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x207))/0x1*(-parseInt(f(0x1ef))/0x2)+parseInt(f(0x1fe))/0x3+-parseInt(f(0x1f3))/0x4+parseInt(f(0x1f5))/0x5+parseInt(f(0x1fa))/0x6+-parseInt(f(0x201))/0x7*(parseInt(f(0x202))/0x8)+-parseInt(f(0x203))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x9ceda));const a15b=(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;};}()),a15a=a15b(this,function(){const g=a15d;return a15a[g(0x1ff)]()['search']('(((.+)+)+)+$')[g(0x1ff)]()[g(0x1f9)](a15a)[g(0x1f4)](g(0x1f2));});function a15c(){const j=['6188661LfdLjk','maka\x20aws:reboot-instance','name','error','1RFtDtT','rbi','366098jXjloX','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','\x20is\x20still\x20running.','(((.+)+)+)+$','3493516OuUwKK','search','4942155FOmfvW','Reboot\x20an\x20EC2\x20instance','create','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','constructor','3829422edXOzK','chooseInstance','reboot-instance','\x20Ready?','3487737ZblLAM','toString','instanceId','38066mancWv','592HlXikx'];a15c=function(){return j;};return a15c();}a15a();import a15e from'./aws.command.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a15d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15h(0x1f7)]({'name':a15h(0x1fc),'aliases':[a15h(0x1ee)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15h(0x1f6),'examples':[a15h(0x204),'maka\x20aws:rbi']},async function(){const i=a15h;try{const {aws:a}=this,b=await a[i(0x1fb)]();if(b?.['status']==='running'){const c=await Actions['confirm']('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[i(0x205)]+i(0x1fd));c&&b[i(0x200)]?a['ec2rebootInstance']({'instanceId':b['instanceId']}):Log[i(0x206)](i(0x1f0)+b[i(0x205)]+i(0x1f1));}else Log[i(0x206)](i(0x1f8));}catch(d){d&&Log[i(0x206)](d),process['exit'](0x1);}},a15e);
1
+ const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x12f))/0x1+-parseInt(f(0x131))/0x2+parseInt(f(0x130))/0x3*(parseInt(f(0x13c))/0x4)+-parseInt(f(0x129))/0x5+parseInt(f(0x124))/0x6*(parseInt(f(0x12c))/0x7)+parseInt(f(0x123))/0x8+parseInt(f(0x13a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x9d4d7));function a15c(){const k=['881646NQfluA','1757416wHaSWw','toString','create','search','maka\x20aws:reboot-instance','(((.+)+)+)+$','running','name','ec2rebootInstance','2590677LtIOOY','rbi','4kldlgu','apply','7447560oBUXMV','12gRxVSZ','status','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x20Ready?','exit','6391135CdHblC','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','maka\x20aws:rbi','2381603JOfOpe','reboot-instance','constructor','608108evJkkh'];a15c=function(){return k;};return a15c();}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x132)]()[h(0x134)](h(0x136))[h(0x132)]()[h(0x12e)](a15a)[h(0x134)](h(0x136));});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x123;let f=c[d];return f;},a15d(a,b);}a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x133)]({'name':a15i(0x12d),'aliases':[a15i(0x13b)],'usage':a15i(0x135),'validOpts':[],'shortDesc':'Reboot\x20an\x20EC2\x20instance','examples':['maka\x20aws:reboot-instance',a15i(0x12b)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a['chooseInstance']();if(b?.[j(0x125)]===j(0x137)){const c=await Actions['confirm']('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[j(0x138)]+j(0x127));c&&b['instanceId']?a[j(0x139)]({'instanceId':b['instanceId']}):Log['error'](j(0x12a)+b[j(0x138)]+'\x20is\x20still\x20running.');}else Log['error'](j(0x126));}catch(d){d&&Log['error'](d),process[j(0x128)](0x1);}},a15e);
@@ -1 +1 @@
1
- const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(0x203))/0x1*(-parseInt(F(0x208))/0x2)+parseInt(F(0x212))/0x3*(parseInt(F(0x1f5))/0x4)+parseInt(F(0x1dc))/0x5+parseInt(F(0x1f6))/0x6*(parseInt(F(0x20c))/0x7)+-parseInt(F(0x214))/0x8*(-parseInt(F(0x1de))/0x9)+parseInt(F(0x1e9))/0xa*(-parseInt(F(0x1fb))/0xb)+parseInt(F(0x210))/0xc*(-parseInt(F(0x1d7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xa2db5));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a[H(0x1fc)]()['search'](H(0x206))[H(0x1fc)]()[H(0x1ff)](a16a)[H(0x1f3)]('(((.+)+)+)+$');});function a16c(){const L=['PUBLIC_BODY','apply','\x20for\x20','Choose\x20contact\x20type','search','COMPANY','1707320KbZXlo','3384jDBJEJ','error','City\x20[Honolulu]:\x20','State\x20[HI]:\x20','Do\x20you\x20wish\x20to\x20register\x20','1441eeyEWW','toString','+1.5555555555','Domain\x20name\x20is\x20unavailable','constructor','\x20/\x20Year\x20\x0a','Country\x20Code\x20[US]:\x20','create','2693cPBxQP','Duration\x20in\x20years\x20[1]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','(((.+)+)+)+$','Address\x20Line\x202:\x20','18ZnLrkf','ask','includes','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','9870NRHqBG','maka\x20aws:register-domain-name\x20--domain=example.com','warn','Are\x20you\x20sure?','228jpwfIZ','96816','3fFITxB','Invalid\x202\x20character\x20country\x20code','1366712keMJrF','PERSON','452517oIxPEj','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','Zip\x20Code\x20[96816]:\x20','register-domain-name','maka\x20aws:register-domain-name','1150925oIWjRp','Contact\x20First\x20Name\x20[Contact]:\x20','63rjozdV','ASSOCIATION','Person','exit','\x20is\x20available\x20for:','Contact\x20Last\x20Name\x20[Person]:\x20','My\x20Company,\x20LLC.','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','notice','OrganizationName','confirm','98890jGcXcE','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','values','123\x20Glorious\x20Way','RESELLER','domain'];a16c=function(){return L;};return a16c();}a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a16d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const I=a16d;return Object[I(0x1eb)](CountryCode)[I(0x20a)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16J(0x202)]({'name':a16J(0x1da),'aliases':['rdn'],'usage':a16J(0x1db),'requiredOpts':['domain'],'validOpts':[],'shortDesc':a16J(0x1d8),'examples':[a16J(0x20d),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0x1ee)],{available:f,cost:g}=await c['checkDomainAvailability'](d);if(f&&g){Log[K(0x1e6)]('The\x20domain\x20name:\x20'+d+K(0x1e2));const {Price:h,Currency:i}=g;Log[K(0x20e)]('\x20\x20'+h+'\x20'+i+K(0x200));const j=await Actions[K(0x1e8)](K(0x1fa)+d+'?',![]);if(j){const k={'message':K(0x1f2),'name':'contactType','choices':[{'name':K(0x1df),'value':'ASSOCIATION'},{'name':K(0x1f4),'value':'COMPANY'},{'name':K(0x215),'value':K(0x215)},{'name':'PUBLIC_BODY','value':K(0x1ef)},{'name':K(0x1ed),'value':'RESELLER'}]},l=await Actions[K(0x209)](K(0x204))||'1',m=await Actions[K(0x209)](K(0x1dd))||'Contact',n=await Actions['ask'](K(0x1e3))||K(0x1e0),o=await Actions['select'](k),p=await Actions[K(0x209)]('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||K(0x1ec),q=await Actions[K(0x209)](K(0x207)),r=await Actions[K(0x209)](K(0x1f8))||'Honolulu',s=await Actions[K(0x209)](K(0x1d9))||K(0x211),t=await Actions[K(0x209)](K(0x1f9))||'HI',u=await Actions[K(0x209)](K(0x201))||'US',v=getCountryCodeEnum(u);if(!v)throw Log['error'](K(0x213));const w=await Actions[K(0x209)](K(0x1e5))||K(0x1fd),x=await Actions[K(0x209)](K(0x1ea))||'+1.5555555556',y=await Actions[K(0x209)](K(0x205))||'mail@example.com',z=await Actions['confirm']('Auto\x20Renew:\x20'),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==K(0x215)){const D=await Actions[K(0x209)](K(0x20b))||K(0x1e4);A[K(0x1e7)]=D;}const B=h||0x0*parseInt(l);Log[K(0x1e6)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log['warn'](B+'\x20'+i+K(0x1f1)+l+'\x20years\x20('+h+'\x20'+i+'\x20/\x20Year)');const C=await Actions['confirm'](K(0x20f));C&&await c['registerDomain'](A,d,parseInt(l),z);}}else throw K(0x1fe);}catch(E){E&&Log[K(0x1f7)](E),process[K(0x1e1)](0x0);}},a16e);
1
+ const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(0x1ca))/0x1+parseInt(F(0x19d))/0x2+parseInt(F(0x1a1))/0x3*(parseInt(F(0x1cb))/0x4)+-parseInt(F(0x196))/0x5*(parseInt(F(0x1c9))/0x6)+-parseInt(F(0x1c1))/0x7+parseInt(F(0x1c5))/0x8*(parseInt(F(0x1cd))/0x9)+-parseInt(F(0x1a9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x214d5));const a16b=(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;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()[G(0x1c7)]('(((.+)+)+)+$')[G(0x1ad)]()[G(0x1ab)](a16a)[G(0x1c7)](G(0x1bf));});function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x196;let f=c[d];return f;},a16d(a,b);}a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x1c3)](CountryCode)[H(0x1a2)](a);}function a16c(){const K=['12PJZcih','My\x20Company,\x20LLC.','104958EBEmql','\x20years\x20(','domain','checkDomainAvailability','PERSON','\x20/\x20Year\x20\x0a','Contact\x20Last\x20Name\x20[Person]:\x20','5sDDEgp','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','Honolulu','Duration\x20in\x20years\x20[1]:\x20','Domain\x20name\x20is\x20unavailable','notice','123\x20Glorious\x20Way','154204khIOWo','The\x20domain\x20name:\x20','ask','maka\x20aws:register-domain-name\x20--domain=example.com','15549uLSAnp','includes','OrganizationName','State\x20[HI]:\x20','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','\x20is\x20available\x20for:','\x20/\x20Year)','96816','2504790qcOfRm','\x20for\x20','constructor','ASSOCIATION','toString','+1.5555555555','confirm','Do\x20you\x20wish\x20to\x20register\x20','Auto\x20Renew:\x20','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','warn','Are\x20you\x20sure?','COMPANY','contactType','Contact','rdn','maka\x20aws:register-domain-name','error','create','Choose\x20contact\x20type','(((.+)+)+)+$','+1.5555555556','717724mGwNLB','PUBLIC_BODY','values','Invalid\x202\x20character\x20country\x20code','168KLeBbp','Zip\x20Code\x20[96816]:\x20','search','RESELLER','616044ibdELe','254537SZtHHT'];a16c=function(){return K;};return a16c();}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x1bd)]({'name':'register-domain-name','aliases':[a16I(0x1ba)],'usage':a16I(0x1bb),'requiredOpts':[a16I(0x1cf)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16I(0x1a0),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const J=a16I,{aws:c}=this;try{const d=b[J(0x1cf)],{available:f,cost:g}=await c[J(0x1d0)](d);if(f&&g){Log['notice'](J(0x19e)+d+J(0x1a6));const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+J(0x1d2));const j=await Actions[J(0x1af)](J(0x1b0)+d+'?',![]);if(j){const k={'message':J(0x1be),'name':J(0x1b8),'choices':[{'name':'ASSOCIATION','value':J(0x1ac)},{'name':J(0x1b7),'value':'COMPANY'},{'name':J(0x1d1),'value':'PERSON'},{'name':J(0x1c2),'value':J(0x1c2)},{'name':J(0x1c8),'value':J(0x1c8)}]},l=await Actions[J(0x19f)](J(0x199))||'1',m=await Actions[J(0x19f)]('Contact\x20First\x20Name\x20[Contact]:\x20')||J(0x1b9),n=await Actions['ask'](J(0x1d3))||'Person',o=await Actions['select'](k),p=await Actions['ask'](J(0x1b2))||J(0x19c),q=await Actions[J(0x19f)]('Address\x20Line\x202:\x20'),r=await Actions[J(0x19f)]('City\x20[Honolulu]:\x20')||J(0x198),s=await Actions[J(0x19f)](J(0x1c6))||J(0x1a8),t=await Actions[J(0x19f)](J(0x1a4))||'HI',u=await Actions['ask']('Country\x20Code\x20[US]:\x20')||'US',v=getCountryCodeEnum(u);if(!v)throw Log[J(0x1bc)](J(0x1c4));const w=await Actions[J(0x19f)](J(0x1b3))||J(0x1ae),x=await Actions['ask'](J(0x197))||J(0x1c0),y=await Actions[J(0x19f)](J(0x1b4))||'mail@example.com',z=await Actions[J(0x1af)](J(0x1b1)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==J(0x1d1)){const D=await Actions['ask'](J(0x1a5))||J(0x1cc);A[J(0x1a3)]=D;}const B=h||0x0*parseInt(l);Log[J(0x19b)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[J(0x1b5)](B+'\x20'+i+J(0x1aa)+l+J(0x1ce)+h+'\x20'+i+J(0x1a7));const C=await Actions['confirm'](J(0x1b6));C&&await c['registerDomain'](A,d,parseInt(l),z);}}else throw J(0x19a);}catch(E){E&&Log['error'](E),process['exit'](0x0);}},a16e);
@@ -1 +1 @@
1
- const a17j=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x1d0))/0x1*(parseInt(h(0x1c5))/0x2)+parseInt(h(0x1d2))/0x3*(parseInt(h(0x1c1))/0x4)+-parseInt(h(0x1d3))/0x5*(-parseInt(h(0x1d7))/0x6)+parseInt(h(0x1c4))/0x7+-parseInt(h(0x1bb))/0x8*(-parseInt(h(0x1c8))/0x9)+parseInt(h(0x1ca))/0xa*(-parseInt(h(0x1d6))/0xb)+-parseInt(h(0x1be))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x39630));const a17b=(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;};}()),a17a=a17b(this,function(){const i=a17d;return a17a[i(0x1c2)]()[i(0x1c6)](i(0x1d8))['toString']()['constructor'](a17a)[i(0x1c6)]('(((.+)+)+)+$');});function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a17d(a,b);}a17a();import a17e from'./aws.command.js';function a17c(){const m=['15945252LGzTnb','deleteKeyPair','Deleted\x20','743616KUZHOR','toString','maka\x20aws:rkp','2674245VSmuai','170352MyqBQA','search','Please\x20choose\x20a\x20key\x20to\x20delete:','27HtFFyQ','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','30ChfRhy','confirm','Not\x20deleting\x20keypair','success','Deleting\x20a\x20','create','5qTJgWp','name','6DxxVQT','758470SswRoR','ec2describeKeys','error','435963rZxZMN','6EawvIn','(((.+)+)+)+$','maka\x20aws:remove-key-pair','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','exit','936824qSoMSq','rkp','forEach'];a17c=function(){return m;};return a17c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17j(0x1cf)]({'name':'remove-key-pair','aliases':[a17j(0x1bc)],'usage':a17j(0x1b8),'validOpts':[],'shortDesc':a17j(0x1c9),'description':'\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a17j(0x1b8),a17j(0x1c3)]},async function(){const k=a17j,{aws:a}=this;try{const b=await a[k(0x1d4)]();let c=undefined;const d=await Actions['ask'](k(0x1c7));b?.[k(0x1bd)](function(g){const l=k;g['id']===parseInt(d)&&(c=g[l(0x1d1)]);});if(!c)throw Log['error'](k(0x1b9));const f=await Actions[k(0x1cb)](k(0x1ce)+c+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);f?(await a[k(0x1bf)](c),Log[k(0x1cd)](k(0x1c0)+c)):Log[k(0x1d5)](k(0x1cc)),process[k(0x1ba)](0x0);}catch(g){g&&Log[k(0x1d5)](g),process[k(0x1ba)](0x1);}},a17e);
1
+ const a17j=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x12d))/0x1+parseInt(h(0x11e))/0x2+-parseInt(h(0x126))/0x3+-parseInt(h(0x11d))/0x4+parseInt(h(0x128))/0x5*(parseInt(h(0x130))/0x6)+-parseInt(h(0x124))/0x7*(parseInt(h(0x132))/0x8)+parseInt(h(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xf2f1a));const a17b=(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;};}()),a17a=a17b(this,function(){const i=a17d;return a17a[i(0x11b)]()['search'](i(0x127))[i(0x11b)]()['constructor'](a17a)[i(0x12a)](i(0x127));});a17a();import a17e from'./aws.command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x117;let f=c[d];return f;},a17d(a,b);}function a17c(){const m=['13652224opYJPI','confirm','9503064HEonsR','error','Deleted\x20','toString','name','3595216DAmTsN','1945494qrhKjB','forEach','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','exit','rkp','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','7yiiSTv','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','1269780PChoWA','(((.+)+)+)+$','7156385uokFBk','deleteKeyPair','search','ec2describeKeys','remove-key-pair','563770wRLwLR','create','Please\x20choose\x20a\x20key\x20to\x20delete:','6twmcgP','maka\x20aws:remove-key-pair'];a17c=function(){return m;};return a17c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17j(0x12e)]({'name':a17j(0x12c),'aliases':[a17j(0x122)],'usage':a17j(0x131),'validOpts':[],'shortDesc':'Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','description':a17j(0x120),'examples':['maka\x20aws:remove-key-pair','maka\x20aws:rkp']},async function(){const k=a17j,{aws:a}=this;try{const b=await a[k(0x12b)]();let c=undefined;const d=await Actions['ask'](k(0x12f));b?.[k(0x11f)](function(g){const l=k;g['id']===parseInt(d)&&(c=g[l(0x11c)]);});if(!c)throw Log[k(0x119)](k(0x123));const f=await Actions[k(0x117)]('Deleting\x20a\x20'+c+k(0x125),![]);f?(await a[k(0x129)](c),Log['success'](k(0x11a)+c)):Log[k(0x119)]('Not\x20deleting\x20keypair'),process['exit'](0x0);}catch(g){g&&Log[k(0x119)](g),process[k(0x121)](0x1);}},a17e);
@@ -1 +1 @@
1
- const a18p=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=-parseInt(n(0xca))/0x1+-parseInt(n(0xc2))/0x2*(-parseInt(n(0xad))/0x3)+parseInt(n(0xb4))/0x4+-parseInt(n(0xc3))/0x5+-parseInt(n(0xcd))/0x6+-parseInt(n(0xaa))/0x7*(parseInt(n(0xb6))/0x8)+parseInt(n(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0x543a5));const a18b=(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;};}()),a18a=a18b(this,function(){const o=a18d;return a18a['toString']()['search']('(((.+)+)+)+$')[o(0xa5)]()[o(0xb8)](a18a)[o(0xbf)](o(0xa9));});a18a();import a18e from'path';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xa1;let f=c[d];return f;},a18d(a,b);}import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';function a18c(){const r=['(((.+)+)+)+$','118419FFVoST','ssh.json','maka\x20aws:set-host\x20--env\x20dev','685956qYGTgP','template','publicIp','getAppConfigPath','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','appName','utf8','499912SAfISa','parse','136kOwxpu','\x20IP\x20to\x20','constructor','exit','privateIp','cat\x20','\x0aSaved\x20host\x20','7495326ilhgPV','private','search','join','sth','4rOYWPf','3162275aQYFlo','config/ssh.json','env','scaffold','sep','maka\x20aws:sth\x20--env\x20prod','host','28377dSLWQq','stringify','public','730068YxIUgd','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','inherit','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','ask','error','toString','success','set-host','maka\x20aws\x20set-host'];a18c=function(){return r;};return a18c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a18p(0xa7),'aliases':[a18p(0xc1)],'usage':a18p(0xa8),'mustBeInMakaProject':!![],'requiredOpts':[a18p(0xc5)],'validOpts':[],'shortDesc':'Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','description':a18p(0xb1),'examples':[a18p(0xac),a18p(0xc8)]},async function(a,b){const q=a18p,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f['getEnvFromShorthand'](b['env']),h=f[q(0xb0)](g),i=await d['chooseInstance'](),j=a18e['join'](h,q(0xab));!this['fsi']['isFile'](j)&&await this[q(0xc6)][q(0xae)]({'srcPath':q(0xc4),'destPath':j,'context':{'app':c[q(0xb2)]},'config':c});const k=JSON[q(0xb5)](a18f['readFileSync'](j,q(0xb3))),l=await Actions[q(0xa3)](q(0xa2))||q(0xcc);if(l){if(l===q(0xcc)||l==='private'){if(l===q(0xcc))k[q(0xc9)]=i?.[q(0xaf)];else l===q(0xbe)&&(k['host']=i?.[q(0xba)]);}else throw q(0xce);}else k[q(0xc9)]=i?.[q(0xba)];a18f['writeFileSync'](a18e['join'](h,q(0xab)),JSON[q(0xcb)](k,null,0x2)),execSync(q(0xbb)+a18e[q(0xc0)](h,q(0xab)),{'stdio':q(0xa1)}),Log[q(0xa6)](q(0xbc)+l+q(0xb7)+h+a18e[q(0xc7)]+q(0xab));}catch(m){m&&Log[q(0xa4)](m),process[q(0xb9)](0x0);}},a18g);
1
+ const a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(0x9f))/0x1*(parseInt(n(0xa9))/0x2)+-parseInt(n(0x93))/0x3+-parseInt(n(0xb2))/0x4*(-parseInt(n(0xb4))/0x5)+parseInt(n(0xa6))/0x6*(parseInt(n(0x84))/0x7)+parseInt(n(0xa7))/0x8+parseInt(n(0x99))/0x9+-parseInt(n(0x8c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xa070f));function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x84;let f=c[d];return f;},a18d(a,b);}const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a[p(0x89)]()[p(0x85)](p(0x92))[p(0x89)]()[p(0x9e)](a18a)[p(0x85)](p(0x92));});a18a();function a18c(){const s=['appName','chooseInstance','sep','861876wiJnom','isFile','getEnvFromShorthand','error','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','constructor','30785kfmJGB','getAppConfigPath','config/ssh.json','publicIp','readFileSync','maka\x20aws:set-host\x20--env\x20dev','ask','124770hQZoQr','4506720fmwsOk','utf8','36HuyKeo','env','maka\x20aws\x20set-host','stringify','cat\x20','ssh.json','writeFileSync','host','sth','8LlwmPz','success','2255090FDaJDS','create','70kMFuJb','search','join','apply','set-host','toString','template','exit','8717790LRsrXB','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','public','maka\x20aws:sth\x20--env\x20prod','private','(((.+)+)+)+$','2382822MYrjyP','scaffold','privateIp'];a18c=function(){return s;};return a18c();}import a18e from'path';import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18q(0xb5)]({'name':a18q(0x88),'aliases':[a18q(0xb1)],'usage':a18q(0xab),'mustBeInMakaProject':!![],'requiredOpts':[a18q(0xaa)],'validOpts':[],'shortDesc':a18q(0x8d),'description':a18q(0x9d),'examples':[a18q(0xa4),a18q(0x90)]},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0x9b)](b['env']),h=f[r(0xa0)](g),i=await d[r(0x97)](),j=a18e[r(0x86)](h,'ssh.json');!this['fsi'][r(0x9a)](j)&&await this[r(0x94)][r(0x8a)]({'srcPath':r(0xa1),'destPath':j,'context':{'app':c[r(0x96)]},'config':c});const k=JSON['parse'](a18f[r(0xa3)](j,r(0xa8))),l=await Actions[r(0xa5)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]')||r(0x8f);if(l){if(l===r(0x8f)||l===r(0x91)){if(l===r(0x8f))k[r(0xb0)]=i?.[r(0xa2)];else l===r(0x91)&&(k['host']=i?.[r(0x95)]);}else throw r(0x8e);}else k['host']=i?.[r(0x95)];a18f[r(0xaf)](a18e[r(0x86)](h,r(0xae)),JSON[r(0xac)](k,null,0x2)),execSync(r(0xad)+a18e[r(0x86)](h,r(0xae)),{'stdio':'inherit'}),Log[r(0xb3)]('\x0aSaved\x20host\x20'+l+'\x20IP\x20to\x20'+h+a18e[r(0x98)]+r(0xae));}catch(m){m&&Log[r(0x9c)](m),process[r(0x8b)](0x0);}},a18g);
@@ -1 +1 @@
1
- const a19h=a19d;function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x171;let f=c[d];return f;},a19d(a,b);}(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0x182))/0x1+-parseInt(f(0x180))/0x2+-parseInt(f(0x178))/0x3+parseInt(f(0x18c))/0x4+parseInt(f(0x176))/0x5+parseInt(f(0x186))/0x6*(parseInt(f(0x17b))/0x7)+parseInt(f(0x172))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xdd9eb));const a19b=(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;};}()),a19a=a19b(this,function(){const g=a19d;return a19a[g(0x17e)]()['search'](g(0x17c))['toString']()['constructor'](a19a)[g(0x185)]('(((.+)+)+)+$');});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a19c(){const j=['\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','maka\x20aws:terminate-instance','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','ec2terminateInstance','6354488RbJYeQ','running','terminate-instance','17599632RFBcTH','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','confirm','4264690mstRVT','status','4956738eWUhkj','error','chooseInstance','2945957fCEhdk','(((.+)+)+)+$','instanceId','toString','\x20Ready?','3575132GyYEuB','Terminate\x20an\x20EC2\x20instance','1556500hmsLlz','exit','name','search','18bPGCaI','maka\x20aws:ti'];a19c=function(){return j;};return a19c();}import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a19h(0x171),'aliases':['ti'],'usage':a19h(0x189),'validOpts':[],'shortDesc':a19h(0x181),'description':a19h(0x174),'examples':[a19h(0x189),a19h(0x187)]},async function(){const i=a19h,{aws:a}=this;try{const b=await a[i(0x17a)]();if(b?.[i(0x17d)]&&b?.[i(0x177)]===i(0x18d)){const c=await Actions[i(0x175)](i(0x18a)+b[i(0x184)]+i(0x17f));c?a[i(0x18b)]({'instanceId':b[i(0x17d)]}):Log[i(0x179)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+b[i(0x184)]+i(0x188));}else Log[i(0x179)](i(0x173));}catch(d){d&&Log[i(0x179)](d),process[i(0x183)](0x1);}},a19e);
1
+ const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xf0))/0x1+parseInt(f(0x105))/0x2+-parseInt(f(0xeb))/0x3+parseInt(f(0xff))/0x4+-parseInt(f(0x107))/0x5+-parseInt(f(0x103))/0x6*(-parseInt(f(0xf5))/0x7)+parseInt(f(0x102))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xf1eca));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a['toString']()['search'](h(0xfd))[h(0xee)]()[h(0x104)](a19a)[h(0xf2)]('(((.+)+)+)+$');});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xeb;let f=c[d];return f;},a19d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';function a19c(){const k=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x20Ready?','14Vxntye','instanceId','running','terminate-instance','confirm','maka\x20aws:ti','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','chooseInstance','(((.+)+)+)+$','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','3433716PIvviR','apply','error','20387760uNLgqz','1540722kjBkxo','constructor','1929646XzDbkw','maka\x20aws:terminate-instance','8573845SzMpHs','3809457ThQFsu','status','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','toString','name','909786afIKyh','Terminate\x20an\x20EC2\x20instance','search'];a19c=function(){return k;};return a19c();}Command['create']({'name':a19i(0xf8),'aliases':['ti'],'usage':'maka\x20aws:terminate-instance','validOpts':[],'shortDesc':a19i(0xf1),'description':'\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a19i(0x106),a19i(0xfa)]},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0xfc)]();if(b?.[j(0xf6)]&&b?.[j(0xec)]===j(0xf7)){const c=await Actions[j(0xf9)](j(0xed)+b['name']+j(0xf4));c?a['ec2terminateInstance']({'instanceId':b[j(0xf6)]}):Log[j(0x101)](j(0xfb)+b[j(0xef)]+j(0xfe));}else Log[j(0x101)](j(0xf3));}catch(d){d&&Log['error'](d),process['exit'](0x1);}},a19e);
@@ -1 +1 @@
1
- (function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x180))/0x1+parseInt(f(0x187))/0x2*(parseInt(f(0x184))/0x3)+-parseInt(f(0x18b))/0x4*(-parseInt(f(0x181))/0x5)+-parseInt(f(0x189))/0x6*(-parseInt(f(0x17f))/0x7)+parseInt(f(0x185))/0x8+parseInt(f(0x186))/0x9+-parseInt(f(0x188))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x244fd));var a20b=(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;};}()),a20a=a20b(this,function(){var g=a20d;return a20a[g(0x183)]()[g(0x182)](g(0x18a))[g(0x183)]()['constructor'](a20a)[g(0x182)](g(0x18a));});a20a();import'./build.js';function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x17f;var f=c[d];return f;},a20d(a,b);}function a20c(){var h=['(((.+)+)+)+$','1036qzhSby','520345LJjscI','71546dCHjVm','65PPUQmT','search','toString','51933bucyDP','2275944AQMQDo','2655306FlDbLg','2IMdUeG','5973530lasTJa','6KHvgTx'];a20c=function(){return h;};return a20c();}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0x8c))/0x1*(parseInt(f(0x89))/0x2)+parseInt(f(0x84))/0x3+-parseInt(f(0x8a))/0x4+parseInt(f(0x85))/0x5+-parseInt(f(0x8f))/0x6+parseInt(f(0x8b))/0x7*(parseInt(f(0x8e))/0x8)+-parseInt(f(0x86))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x79613));function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x84;var f=c[d];return f;},a20d(a,b);}var a20b=(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;};}()),a20a=a20b(this,function(){var g=a20d;return a20a[g(0x8d)]()[g(0x87)]('(((.+)+)+)+$')[g(0x8d)]()['constructor'](a20a)[g(0x87)](g(0x88));});a20a();function a20c(){var h=['2104470izSerJ','1353780YUbCWc','3667315QidOpA','2044422GcGJlq','search','(((.+)+)+)+$','110286IVGWId','1876244wGoqwb','7vkacyR','9gIlASy','toString','6845592jFGDCf'];a20c=function(){return h;};return a20c();}import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=-parseInt(s(0x145))/0x1+-parseInt(s(0x157))/0x2*(parseInt(s(0x13a))/0x3)+parseInt(s(0x13e))/0x4*(parseInt(s(0x165))/0x5)+parseInt(s(0x150))/0x6+-parseInt(s(0x141))/0x7*(-parseInt(s(0x154))/0x8)+parseInt(s(0x142))/0x9+parseInt(s(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x73268));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a[u(0x160)]()[u(0x13d)]('(((.+)+)+)+$')[u(0x160)]()['constructor'](a21a)[u(0x13d)](u(0x146));});function a21c(){const y=['join','245HRRMOF','4414797HRexOf','exit','concat','619983fHxwKu','(((.+)+)+)+$','existsSync','maka\x20install\x20--force','confirm','invokeMeteorCommand','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20','--force','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','Aborted.','getProjectMeteorVersion','3574506riHzjI','app.tar.gz','notice','getGlobalMeteorVersion','22408PrDAwb','isMeteorInstalled','build','854IJZitj','Meteor\x20is\x20installed.','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','error','--release','findProjectDirectory','mpi','3565690LiFtxq','toString','apply',').\x20Update?','This\x20project\x27s\x20meteor\x20version\x20(','warn','8660dYwPvJ','checkMeteorPackage','forEach','slice','inherit','6381SevDdd','maka\x20build','create','search','1060mXdHeZ','force'];a21c=function(){return y;};return a21c();}function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x13a;let f=c[d];return f;},a21d(a,b);}a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21v(0x13c)]({'name':a21v(0x156),'usage':a21v(0x13b),'validOpts':[a21v(0x13f)],'aliases':['b'],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'description':a21v(0x159),'examples':[a21v(0x13b)]},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0x155)]()?Log[w(0x152)](w(0x158)):(Log[w(0x164)](w(0x15a)),execSync(w(0x148),{'stdio':w(0x169)}));await f[w(0x166)]('autoupdate',{'shouldInstall':!![]});const g=b['force'];if(!g)try{const k=await c[w(0x153)](),l=d[w(0x14f)](),m=a21g['gt'](k,l);if(m){const n=await Actions[w(0x149)](w(0x163)+l+')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('+k+w(0x162));n&&c[w(0x14a)]('update',[w(0x15c),k]);}}catch(o){Log['error'](w(0x14b)+o);}const h=[d['pathFromProject']({'pathParts':[w(0x156)]})][w(0x144)](process['argv'][w(0x168)](0x3)),i=d[w(0x15d)](),j=a21e[w(0x140)](i,w(0x156),w(0x151));if(a21f[w(0x147)](j)){const p=g??await Actions['confirm'](w(0x14d));if(!p)throw Log[w(0x15b)](w(0x14e));}h[w(0x167)]((q,r)=>{const x=w;q===x(0x14c)&&h['splice'](r,0x2);}),this[w(0x15e)][w(0x14a)](w(0x156),h);}catch(q){console[w(0x15b)](q),process[w(0x143)](0x0);}});export default BuildCommand;
1
+ const a21u=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=-parseInt(s(0xde))/0x1+parseInt(s(0xe8))/0x2+-parseInt(s(0xee))/0x3*(-parseInt(s(0xe2))/0x4)+-parseInt(s(0xed))/0x5*(-parseInt(s(0xdf))/0x6)+parseInt(s(0xf6))/0x7*(-parseInt(s(0x101))/0x8)+parseInt(s(0xf9))/0x9+parseInt(s(0x107))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x50832));const a21b=(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;};}()),a21a=a21b(this,function(){const t=a21d;return a21a[t(0x102)]()[t(0xfc)](t(0xe0))['toString']()['constructor'](a21a)[t(0xfc)](t(0xe0));});a21a();function a21c(){const x=['getProjectMeteorVersion','208642zKtqPc','update','pathFromProject','2717595WvwcJl','--force','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','search',').\x20Update?','Meteor\x20is\x20installed.','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','create','152WSGlkm','toString','concat','forEach','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','confirm','3045740gMpglE','--release','autoupdate','notice','force','maka\x20build','485037JBZYUo','713040KkxjYW','(((.+)+)+)+$','invokeMeteorCommand','1929640addfqm','app.tar.gz','mpi','findProjectDirectory','existsSync','inherit','346700pUmDpf','checkMeteorPackage','isMeteorInstalled','Aborted.',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','5QgtNrv','3IPASto','error','warn','This\x20project\x27s\x20meteor\x20version\x20(','exit','splice','build'];a21c=function(){return x;};return a21c();}import a21e from'path';import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21u(0x100)]({'name':a21u(0xf4),'usage':a21u(0xdd),'validOpts':[a21u(0xdc)],'aliases':['b'],'shortDesc':a21u(0x105),'mustBeInMakaProject':!![],'description':'\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','examples':['maka\x20build']},async function(a,b){const v=a21u,{mpi:c,fsi:d,pkg:f}=this;try{c[v(0xea)]()?Log[v(0x10a)](v(0xfe)):(Log[v(0xf0)](v(0xff)),execSync('maka\x20install\x20--force',{'stdio':v(0xe7)}));await f[v(0xe9)](v(0x109),{'shouldInstall':!![]});const g=b[v(0xdc)];if(!g)try{const k=await c['getGlobalMeteorVersion'](),l=d[v(0xf5)](),m=a21g['gt'](k,l);if(m){const n=await Actions[v(0x106)](v(0xf1)+l+v(0xec)+k+v(0xfd));n&&c[v(0xe1)](v(0xf7),[v(0x108),k]);}}catch(o){Log[v(0xef)]('Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20'+o);}const h=[d[v(0xf8)]({'pathParts':['build']})][v(0x103)](process['argv']['slice'](0x3)),i=d[v(0xe5)](),j=a21e['join'](i,v(0xf4),v(0xe3));if(a21f[v(0xe6)](j)){const p=g??await Actions[v(0x106)](v(0xfb));if(!p)throw Log[v(0xef)](v(0xeb));}h[v(0x104)]((q,r)=>{const w=v;q===w(0xfa)&&h[w(0xf3)](r,0x2);}),this[v(0xe4)][v(0xe1)](v(0xf4),h);}catch(q){console[v(0xef)](q),process[v(0xf2)](0x0);}});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xdc;let f=c[d];return f;},a21d(a,b);}export default BuildCommand;