@maka/maka-cli 5.1.17 → 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.17",
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
- const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x1f0))/0x1+parseInt(n(0x1cd))/0x2*(-parseInt(n(0x1f8))/0x3)+parseInt(n(0x1c2))/0x4+-parseInt(n(0x1f3))/0x5*(parseInt(n(0x1f9))/0x6)+-parseInt(n(0x1d8))/0x7+-parseInt(n(0x1d5))/0x8+parseInt(n(0x1b3))/0x9*(parseInt(n(0x1b9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x4fad7));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x1d6)]()['search'](p(0x1ea))['toString']()[p(0x1e9)](a0a)['search'](p(0x1ea));});a0a();function a0c(){const C=['chdir','constructor','(((.+)+)+)+$','mustBeInMakaProject','exit','cfg','Command\x20requires\x20a\x20handler\x20function','pallet','496641WAdQCS','light','addCommand','10stXtzn','find','run','There\x20is\x20no\x20Meteor\x20application\x20here','apply','12kZroUd','1022898UtwprV','notice','assign','keys','LIGHT','addCommand\x20requires\x20a\x20Command\x20instance','Alias','push','_handler','Please\x20run\x20\x22maka\x20login\x22','error','split','Too\x20few\x20arguments','header','_commands','join','maxArgLength','processAndRunCommand','validateMeteorInstall','function','usage','1719JTRqir','aliases','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','Command\x20','(experimental)\x20','maxOptsLength','77100bkHGqN','mpi','setColorMode','projectConfig','localeCompare','name','Command.create\x20requires\x20some\x20options!','shortDesc','Command.create\x20requires\x20a\x20handler\x20function!','1665024kdPWCW','DARK','call','tableList','experimental','minOptsLength','Too\x20many\x20arguments','invoke','generate','match','Command\x20not\x20found','283756vIiWnT','murder','cwd','number','Sub-Commands:','getMakaProjectConfig','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','63664XfkYEP','toString','create','1046010bPITsM','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateParams','\x20not\x20found','validateMakaProject','unshift','minArgLength','forEach','maybeProxyCommandToMeteor','Description','help','play','options','Command\x20format\x20is\x20incorrect','length','bind'];a0c=function(){return C;};return a0c();}import a0e from'cli-table';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1ad;let f=c[d];return f;},a0d(a,b);}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='';async function inside(a='.',b){const q=a0d,c=process['cwd']();try{return process[q(0x1e8)](a),await b();}finally{process[q(0x1e8)](c);}}export class Command extends Tool{[a0r(0x1e4)];['projectConfig'];[a0r(0x207)];[a0r(0x201)];constructor(a,b){const s=a0r;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[s(0x1be)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(s(0x1ee));this[s(0x1e4)]=Object[s(0x1fb)]({},a),this[s(0x1be)]=this[s(0x1e4)][s(0x1be)],this['_commands']=[],this[s(0x201)]=b[s(0x1e7)](this);}static[a0r(0x1d7)](a,b,c){const t=a0r;if(!a)throw new Error(t(0x1bf));if(typeof b!==t(0x1b1))throw new Error(t(0x1c1));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[t(0x1e4)]?.[t(0x1be)]}),c[t(0x1f2)](d),d;}['addCommand'](a){const u=a0r;if(!(a instanceof Command))throw new Error(u(0x1fe));this[u(0x207)][u(0x200)](a);}async['run'](a,b){const v=a0r;try{a=a||[],b=b||{};try{const c=await this[v(0x1ed)]['getGlobalConfig'](),d=c[v(0x1ef)]===v(0x1f1)?ColorMode[v(0x1fd)]:ColorMode[v(0x1c3)];Log[v(0x1bb)](d);}catch(f){Log[v(0x203)](f),process[v(0x1ec)](0x0);}return await inside(b[v(0x1cf)],async()=>{const w=v;return await this[w(0x1c9)](a,b);});}catch(g){process[v(0x1ec)](0x1);}}async[a0r(0x1c9)](a,b){const x=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[x(0x1e4)];try{if(this[x(0x1e4)][x(0x1be)]!==x(0x1ca)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[x(0x1e6)]===0x0)&&this['_commands'][x(0x1e6)]>=0x0,h=b[x(0x1e2)]||b['h'];if(g&&h){if(this[x(0x207)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[x(0x1e4)][x(0x1eb)]){const i=this[x(0x1dc)]();if(!i)throw new MustBeInProjectError();this[x(0x1bc)]=this[x(0x1ed)][x(0x1d2)]();}if(this[x(0x1e4)]['mustBeLoggedIn']){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this[x(0x1e4)]['mustHaveMeteorInstalled']){const k=this[x(0x1b0)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[x(0x1e4)][x(0x1de)]===x(0x1d0)){if(a[x(0x1e6)]<this[x(0x1e4)]['minArgLength']){Log[x(0x203)](x(0x205));throw new UsageError();}}if(typeof this['options'][x(0x1ae)]===x(0x1d0)){if(a['length']>=this[x(0x1e4)][x(0x1ae)]){Log['error'](x(0x1c8));throw new UsageError();}}if(typeof this[x(0x1e4)][x(0x1c7)]===x(0x1d0)){if(Object[x(0x1fc)](b)[x(0x1e6)]<this[x(0x1e4)][x(0x1c7)]){Log[x(0x203)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[x(0x1e4)]['maxOptsLength']===x(0x1d0)){if(Object['keys'](b)[x(0x1e6)]>=this['options'][x(0x1b8)]){Log[x(0x203)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this[x(0x1da)](a,b,this[x(0x1e4)]),_prevCmd=a[0x0];}return await this[x(0x201)][x(0x1c4)](this,a,b);}catch(l){Log[x(0x1b2)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[x(0x1fa)](x(0x1d1)),this[x(0x1c5)](this[x(0x207)]),Log[x(0x206)](x(0x1b5));else{if(l instanceof MustBeInProjectError)Log[x(0x203)](x(0x1d3));else{if(l instanceof NoMeteorFoundError)Log[x(0x203)](x(0x1d9)),Log[x(0x1fa)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[x(0x203)](x(0x1f6));else l instanceof MustBeLoggedIn&&(Log['error'](x(0x1d4)),Log[x(0x1fa)](x(0x202)));}}}process[x(0x1ec)](0x1);}}['tableList'](a){const y=a0r,b=new a0e({});b[y(0x200)](['Name',y(0x1ff),y(0x1e1)]),a['sort']((c,d)=>{const z=y;return c[z(0x1be)][z(0x1bd)](d[z(0x1be)]);})[y(0x1df)](c=>{const A=y;if(c[A(0x1be)]!==A(0x1ce)&&c[A(0x1be)]!==A(0x1e3)){const d=c[A(0x1c6)](),e=d?A(0x1b7)+c[A(0x1c0)]():c[A(0x1c0)]();b[A(0x200)]([c['name'],c[A(0x1b4)](),e]);}}),Log['bright'](b[y(0x1d6)]());}async[a0r(0x1af)](a,b=[],c={}){const B=a0r;try{const d=a?.[B(0x204)](':');if(!d||d[B(0x1e6)]===0x0)throw B(0x1e5);if(d[0x0]===B(0x1ca)||d[0x0]==='g'&&d[B(0x1e6)]>0x1){const h=this['_commands']['find'](j=>j[B(0x1cb)](B(0x1ca)));if(!h)throw'Command\x20not\x20found';const i=d['slice'](0x1)[B(0x1ad)](':');return b[B(0x1dd)](i),await h[B(0x1f5)](b,c);}let f=this[B(0x207)],g;for(const j of d){g=f[B(0x1f4)](k=>k['match'](j));if(!g)try{await this[B(0x1ba)][B(0x1e0)]();}catch(k){throw B(0x1b6)+j+B(0x1db);}g&&(f=g[B(0x207)]);}if(g){const l=await g['run'](b,c);return l;}else throw B(0x1cc);}catch(m){Log[B(0x203)](m),process[B(0x1ec)](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(0x1a6))/0x1*(-parseInt(f(0x19f))/0x2)+-parseInt(f(0x1a4))/0x3+parseInt(f(0x19d))/0x4*(-parseInt(f(0x19a))/0x5)+-parseInt(f(0x1a9))/0x6*(parseInt(f(0x1a0))/0x7)+-parseInt(f(0x1a8))/0x8*(-parseInt(f(0x19c))/0x9)+parseInt(f(0x1a7))/0xa*(parseInt(f(0x1a2))/0xb)+parseInt(f(0x1a3))/0xc*(parseInt(f(0x1aa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x70073));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a['toString']()['search'](h(0x19e))[h(0x1a5)]()[h(0x1a1)](a1a)['search'](h(0x19e));});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';function a1c(){var i=['(((.+)+)+)+$','1267382UjQduH','2145787feGFAL','constructor','11Yoiusz','12uQWPaK','1717254jJpmGI','toString','1xKEsos','5719650xkQwVU','5736824xXBBGo','6tLBOeo','16072927ctHNMW','42610ozNyjE','apply','9EEZhkE','260klBZhR'];a1c=function(){return i;};return a1c();}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';import'./ssh.js';import'./ssl.js';import'./murder.js';import'./proxy.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x19a;var f=c[d];return f;},a1d(a,b);}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 a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x97))/0x1+-parseInt(h(0x9b))/0x2+parseInt(h(0x95))/0x3*(-parseInt(h(0xac))/0x4)+-parseInt(h(0x93))/0x5+parseInt(h(0xad))/0x6*(parseInt(h(0xb1))/0x7)+parseInt(h(0x9f))/0x8+parseInt(h(0x9a))/0x9*(parseInt(h(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xe9c12));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(0xb6)]()[i(0x9e)]('(((.+)+)+)+$')[i(0xb6)]()[i(0xb3)](a2a)[i(0x9e)](i(0xa3));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x90;let f=c[d];return f;},a2d(a,b);}import a2e from'readline';function a2c(){const n=['9717670CtEBVd','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','createInterface','944680EuTFBG','cert','339VWRMmb','openapikey','1414177UAIEng','exit','isFile','27pSVhNY','3703934AXAkvz','stdin','cacert','search','9080272Fhdlie','openai','parse','getGlobalConfig','(((.+)+)+)+$','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','message','You:\x20','choices','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','ChatGPT\x20style\x20AI\x20interface','fsi','text','17652vUTkzJ','6SQWntT','askGPT','toLowerCase','Using\x20OpenAI\x20Key\x20','6026104KoodaV','close','constructor','bright','error','toString','cfg','notice','create'];a2c=function(){return n;};return a2c();}const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e[j(0x92)]({'input':process[j(0x9c)],'output':process['stdout']});c['question'](j(0xa6),async d=>{const k=j;if(d[k(0xaf)]()===k(0x98)){c[k(0xb2)]();return;}try{const e=await HTTPS[k(0xae)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0xa1)](e['data']);if(f[k(0xb5)])throw new Error(f[k(0xb5)][k(0xa5)]);Log[k(0xb4)]('GPT:\x20'+f?.[k(0xa7)][0x0]?.[k(0xab)]['trim']());}catch(g){Log[k(0xb5)](g),process['exit'](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2l(0xb9)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':['cacert',a2l(0x96)],'shortDesc':a2l(0xa9),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x9d)]&&(this[m(0xaa)][m(0x99)](b['cacert'])?(c=b['cacert'],Log[m(0xb8)]('Using\x20CA\x20Cert\x20'+c)):Log[m(0xb5)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+c));const d=await this[m(0xb7)][m(0xa2)]();if(d[m(0x94)]){if(this[m(0xaa)][m(0x99)](d[m(0x94)]))c=d[m(0x94)];else throw Log[m(0xb5)](m(0xa8)+c);}let f='';if(b[m(0x96)])f=b[m(0x96)],Log['notice'](m(0xb0)+f);else{if(d[m(0xa0)])f=d[m(0xa0)];else throw Log[m(0xb5)](m(0xa4));}Log[m(0xb4)](m(0x91)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0x98)](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(0x1d0))/0x1+-parseInt(f(0x1cb))/0x2*(-parseInt(f(0x1c1))/0x3)+parseInt(f(0x1c4))/0x4*(parseInt(f(0x1c7))/0x5)+-parseInt(f(0x1c2))/0x6*(-parseInt(f(0x1bf))/0x7)+parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1cc))/0x9)+-parseInt(f(0x1c6))/0xa*(-parseInt(f(0x1c9))/0xb)+parseInt(f(0x1c3))/0xc*(-parseInt(f(0x1cf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x8b1d4));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x1ca)]()[h(0x1cd)]('(((.+)+)+)+$')[h(0x1ca)]()[h(0x1c5)](a3a)[h(0x1cd)](h(0x1c0));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';function a3c(){var i=['28170lRiuny','5MElcGj','apply','2893iJVbDI','toString','83852VafETt','469539kXLHSc','search','96jBweeq','3250zdawIf','994356GJxZPa','4591601TkYgVW','(((.+)+)+)+$','45ZZeNXh','6iWPfls','4812CAxkmg','1059064AbMErf','constructor'];a3c=function(){return i;};return a3c();}import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a3d(a,b);}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(0x115))/0x1+parseInt(f(0x11e))/0x2*(parseInt(f(0x11b))/0x3)+-parseInt(f(0x118))/0x4*(-parseInt(f(0x121))/0x5)+-parseInt(f(0x120))/0x6*(parseInt(f(0x113))/0x7)+-parseInt(f(0x117))/0x8+parseInt(f(0x112))/0x9*(-parseInt(f(0x11a))/0xa)+parseInt(f(0x116))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x23b9a));function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x111;let f=c[d];return f;},a4d(a,b);}const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x11f)]()['search'](h(0x11d))[h(0x11f)]()['constructor'](a4a)[h(0x111)]('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x11c)]({'name':'aws','usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':a4i(0x122),'description':a4i(0x114)},async function(){throw UsageError;});function a4c(){const j=['169281aKoYdV','5384038CDNFOq','731216QtIezA','36BjMidS','apply','5450DGRXNV','3Wfrlyx','create','(((.+)+)+)+$','175394gspMgx','toString','6PYPQmq','49530kFeLGL','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','search','981EphHqv','1399237SBNSfg','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'];a4c=function(){return j;};return a4c();}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(0x159))/0x1*(-parseInt(f(0x151))/0x2)+-parseInt(f(0x14e))/0x3+parseInt(f(0x149))/0x4*(-parseInt(f(0x147))/0x5)+parseInt(f(0x154))/0x6+parseInt(f(0x155))/0x7*(-parseInt(f(0x153))/0x8)+parseInt(f(0x145))/0x9*(parseInt(f(0x15c))/0xa)+parseInt(f(0x13f))/0xb*(-parseInt(f(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x82e57));function a5c(){const k=['Repository\x20URI:\x20','apply','maka\x20aws:create-ecr\x20--name=my-new-repo','search','987162tcefXF','cecr','Repository\x20created\x20successfully.','6pQjpZv','$metadata','32hCNkze','4272912GTZLXF','514171WWNMZL','823272PVOrTH','Create\x20an\x20Elastic\x20Container\x20Repository','repository','235602lyUpvm','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','httpStatusCode','10lBPqra','create','11vIzvMq','ecrCreateRepository','notice','maka\x20aws:cecr\x20--name=my-new-repo','create-ecr','error','7766469XAlvmr','success','1317845MShDQC','repositoryUri','16KMVJCD'];a5c=function(){return k;};return a5c();}const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a['toString']()[h(0x14d)]('(((.+)+)+)+$')['toString']()['constructor'](a5a)[h(0x14d)]('(((.+)+)+)+$');});a5a();import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x13f;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0x15d)]({'name':a5i(0x143),'aliases':[a5i(0x14f)],'usage':'maka\x20aws:create-ecr','requiredOpts':['name'],'validOpts':['region'],'shortDesc':a5i(0x157),'examples':[a5i(0x14c),a5i(0x142),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const j=a5i;try{const c=await this['aws'][j(0x140)](b);c&&c[j(0x152)][j(0x15b)]===0xc8&&c[j(0x158)]?(Log[j(0x146)](j(0x150)),Log[j(0x141)](j(0x14a)+c[j(0x158)][j(0x148)])):Log[j(0x144)](j(0x15a)),process['exit'](0x0);}catch(d){Log[j(0x144)](d),process['exit'](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
- function a6c(){const m=['aws','maka\x20aws:create-hosted-zone\x20--domain=example.com','24665841QMWJEv','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','2763900vBIKll','6kQpuCP','create-hosted-zone','7003717zlhjvL','route53CreateHostedZone','exit','15lYcoOx','Instance\x20not\x20found','create','domain','Set\x20hosted\x20zone\x20to\x20an\x20instance?','apply','chooseInstance','confirm','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','651164zUUrYv','maka\x20aws:chz\x20--domain=example.com','8235400OakWcA','(((.+)+)+)+$','1064148gwDGUz','error','toString','publicIp','search','constructor','74651Pllfhi'];a6c=function(){return m;};return a6c();}const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0xea))/0x1+-parseInt(h(0xe4))/0x2*(parseInt(h(0xd2))/0x3)+parseInt(h(0xe0))/0x4*(parseInt(h(0xd7))/0x5)+parseInt(h(0xd1))/0x6+-parseInt(h(0xd4))/0x7+-parseInt(h(0xe2))/0x8+parseInt(h(0xcf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xa3a0b));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0xdc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0xe6)]()['search'](j(0xe3))[j(0xe6)]()[j(0xe9)](a6a)[j(0xe8)]('(((.+)+)+)+$');});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xce;let f=c[d];return f;},a6d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6k(0xd9)]({'name':a6k(0xd3),'aliases':['chz'],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6k(0xda)],'validOpts':[],'shortDesc':a6k(0xdf),'examples':[a6k(0xce),a6k(0xe1)]},async function(a,b){const l=a6k;try{const c=b[l(0xda)];this[l(0xeb)][l(0xd5)](c);const d=await Actions[l(0xde)](l(0xdb));if(d){const f=await this[l(0xeb)][l(0xdd)]();if(f?.['id']){if(!f['publicIp'])throw Log[l(0xe5)](l(0xd0));this[l(0xeb)]['linkEC2ToRoute53'](f['id'],f[l(0xe7)],c);}else throw l(0xd8);}}catch(g){g&&Log[l(0xe5)](g),process[l(0xd6)](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 a7a1=a7d;function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xeb;let f=c[d];return f;},a7d(a,b);}(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x12e))/0x1+-parseInt(Y(0x11d))/0x2+-parseInt(Y(0x11e))/0x3+-parseInt(Y(0xef))/0x4*(parseInt(Y(0x12b))/0x5)+-parseInt(Y(0x127))/0x6*(-parseInt(Y(0x10a))/0x7)+parseInt(Y(0x101))/0x8+-parseInt(Y(0xf8))/0x9*(-parseInt(Y(0x100))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x5dad9));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a['toString']()[a0(0x133)]('(((.+)+)+)+$')['toString']()[a0(0x11b)](a7a)[a0(0x133)](a0(0x137));});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';import{Log}from'../../tools/log/log.class.js';Command[a7a1(0x123)]({'name':a7a1(0x12a),'aliases':['ci'],'usage':'maka\x20aws:create-instance','examples':['maka\x20aws:create-instance\x20--env\x20dev',a7a1(0xf4)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x109)}],'validOpts':[],'shortDesc':'Create\x20new\x20AWS\x20instance','description':a7a1(0xfa)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0xf2)](b[a2(0x109)]),i=f[a2(0xfc)](h),j=g+'-'+h,k=await Actions['ask'](a2(0x12d)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x116)](a2(0xf7),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x12f)][a2(0x103)]({'env':h});r=y,s=z,Log[a2(0x10c)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[a2(0x115)](a2(0x11c));const A=r?r:k,B=await this[a2(0x12f)][a2(0xfd)]({'suggestion':A}),C=await Actions[a2(0xed)](a2(0x105))||'-1';if(parseInt(C)<0x0){Log[a2(0x121)](a2(0x132)),Log[a2(0x115)]('No\x20instance\x20has\x20been\x20created.');return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x110)],Log[a2(0x10c)](a2(0xfb)+r);break;}}}catch(E){Log[a2(0x121)](E);}l=await this[a2(0x12f)][a2(0xf5)]();const t=await Actions[a2(0x116)](a2(0xfe),!![]);let u;if(t){const F=l===''?await this['aws'][a2(0xf5)]():l;u=await Actions['ask'](a2(0x122)+k+']')||k;const G=await Actions[a2(0xed)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||'22,80,443',H=G[a2(0x102)](',');await this[a2(0x12f)][a2(0x11a)]({'description':a2(0x108),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this['aws'][a2(0x111)](u),n=await this[a2(0x12f)]['listAvailableAMIs'](),p=await this[a2(0x12f)][a2(0x118)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0xed)](a2(0xf9))||a2(0xf1),J=I['split'](':')[0x0],K=I['split'](':')[0x1];typeof parseInt(J)===a2(0xf3)&&typeof parseInt(K)===a2(0xf3)&&Log[a2(0x10c)](a2(0xec)+J+':'+K);}catch(L){Log[a2(0x121)](L);}try{const M=await Actions['ask'](a2(0x12c))||a2(0x10b);typeof M===a2(0x130)&&(o=M);}catch(N){Log[a2(0x121)](N);}let x='';try{const O=await Actions['confirm'](a2(0x11f),![]);O&&(x=a7f[a2(0x126)](i,a2(0x114)),Log[a2(0x115)](a2(0x106)+x),await this[a2(0x10f)][a2(0xee)]({'filePath':x,'data':''}),await Actions[a2(0x116)](a2(0x128)));}catch(P){Log[a2(0x121)](P);}try{const Q=await this[a2(0x12f)][a2(0xeb)](p);Log[a2(0x115)](a2(0x119)+n),Log[a2(0x115)](a2(0x10d)+v+':'+w),Log[a2(0x115)](a2(0x129)+o),Log[a2(0x115)](a2(0x112)+r),Log[a2(0x115)]('Security\x20Group:\x20'+m),Log[a2(0x115)](a2(0x107)+Q);if(x){Log[a2(0x115)](a2(0x135)+x);const S=a7g['readFileSync'](x)[a2(0x134)]();Log[a2(0x115)](S);}const R=await Actions['confirm'](a2(0x131));if(R){const T=await this[a2(0x12f)]['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0xf6),'Value':a2(0xf0)},{'Key':'environment','Value':h},{'Key':a2(0x125),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x10c)](a2(0x104)),Log[a2(0x113)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x115)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');const U=await Actions['confirm'](a2(0x120)+r+'\x20?',!![]);U&&(this[a2(0x12f)][a2(0xff)](r),d[a2(0x117)](s)&&a7g[a2(0x136)](s));const V=await Actions[a2(0x116)]('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);V&&this['aws'][a2(0x124)](m);}}catch(W){Log[a2(0x121)](W);}}catch(X){X&&Log['error'](X),process['exit'](0x0);}},a7e);function a7c(){const a3=['1564839bPEHkL','Would\x20you\x20like\x20to\x20include\x20user\x20data?','Remove\x20the\x20keypair\x20','error','Security\x20Group\x20Name:\x20[','create','deleteSecurityGroup','Name','join','6LcncfO','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','Instace\x20Type:\x20','create-instance','5yOaohV','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','EC2\x20Name:\x20[','483395IEuPAs','aws','string','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','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','search','toString','User\x20Data:','unlinkSync','(((.+)+)+)+$','getSubnetCidr','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','ask','createFile','1220988qezrhf','maka-cli','1:1','getEnvFromShorthand','number','maka\x20aws:ci\x20--env\x20prod','chooseVPC','created-by','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','27tIPYKK','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\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','Setting\x20the\x20key-pair\x20to:\x20','getAppConfigPath','ec2describeKeys','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','deleteKeyPair','1031950gTVfXz','3036888xLSUOC','split','createKeyPair','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Creating\x20user\x20data\x20file\x20in\x20','Subnet:\x20','Web\x20App','env','692062eogPMj','t3.micro','success','Instance\x20Count:\x20','apply','fsi','name','chooseSecurityGroup','Key-Pair:\x20','bright','user-data','notice','confirm','isFile','listAvailableSubnets','ImageID:','ec2createSG','constructor','**\x20Available\x20key-pairs\x20**','121784wNcQur'];a7c=function(){return a3;};return a7c();}
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
- function a8c(){const l=['30wAnpZv','apply','642593EnPNvy','2516936HYIYBR','exit','toString','995868bRJGcY','(((.+)+)+)+$','getEnvFromShorthand','68QlbIWx','maka\x20aws:create-key-pair\x20--env\x20prod','env','maka\x20aws:ckp\x20--env\x20prod','create','1060538CSomAT','225507yUOSPx','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','error','41899610ERfBSP','ckp','createKeyPair','6074840vERaee','constructor','maka\x20aws:create-key-pair','\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','36isLbLP','search','create-key-pair'];a8c=function(){return l;};return a8c();}const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x114))/0x1+parseInt(g(0x10c))/0x2+parseInt(g(0x115))/0x3*(parseInt(g(0x10f))/0x4)+parseInt(g(0x11b))/0x5+-parseInt(g(0x106))/0x6*(parseInt(g(0x108))/0x7)+-parseInt(g(0x109))/0x8*(-parseInt(g(0x103))/0x9)+-parseInt(g(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xa1559));function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x103;let f=c[d];return f;},a8d(a,b);}const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x10b)]()[i(0x104)](i(0x10d))['toString']()[i(0x11c)](a8a)[i(0x104)](i(0x10d));});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x113)]({'name':a8j(0x105),'aliases':[a8j(0x119)],'usage':a8j(0x11d),'examples':[a8j(0x110),a8j(0x112)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x111)],'validOpts':[],'shortDesc':a8j(0x116),'description':a8j(0x11e)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this['cfg'][k(0x10e)](b[k(0x111)]);c[k(0x11a)]({'env':d});}catch(f){f&&Log[k(0x117)](f),process[k(0x10a)](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
- const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x18d))/0x1+-parseInt(m(0x18f))/0x2+-parseInt(m(0x18c))/0x3+parseInt(m(0x18a))/0x4+parseInt(m(0x194))/0x5*(parseInt(m(0x180))/0x6)+parseInt(m(0x192))/0x7*(parseInt(m(0x181))/0x8)+parseInt(m(0x17f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xdb134));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x17b)]()['search'](o(0x183))[o(0x17b)]()['constructor'](a9a)['search']('(((.+)+)+)+$');});function a9c(){const r=['name','\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','ask','maka\x20aws\x20create-security-group','6399188MkqlLf','csg','17583fXAIgk','1368338szRpSS','maka\x20aws:csg','3039002SXStyR','split','Web\x20App','7gUDiUi','create','55GEyKHL','chooseVPC','ec2createSG','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','toString','maka\x20aws:create-secuirty-group','apply','create-security-group','16021368FLhQJd','220314rGpefo','57392scIRaV','Security\x20Group\x20Name:\x20[','(((.+)+)+)+$','22,80,443','forEach'];a9c=function(){return r;};return a9c();}a9a();function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x17a;let f=c[d];return f;},a9d(a,b);}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(0x193)]({'name':a9p(0x17e),'aliases':[a9p(0x18b)],'usage':a9p(0x189),'validOpts':[],'shortDesc':'Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','mustBeInMakaProject':!![],'description':a9p(0x187),'examples':[a9p(0x17c),a9p(0x18e)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x195)](),h=b[q(0x186)]?b[q(0x186)]:''+f,i=await Actions[q(0x188)](q(0x182)+h+']')||h,j=await Actions[q(0x188)](q(0x17a))||q(0x184),k=j[q(0x190)](',');k[q(0x185)](l=>{if(!l['match'](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await d[q(0x196)]({'description':q(0x191),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process['exit'](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(0x70))/0x1+-parseInt(f(0x77))/0x2*(parseInt(f(0x7b))/0x3)+-parseInt(f(0x7f))/0x4*(parseInt(f(0x6e))/0x5)+-parseInt(f(0x72))/0x6*(parseInt(f(0x78))/0x7)+parseInt(f(0x69))/0x8+-parseInt(f(0x7e))/0x9*(-parseInt(f(0x66))/0xa)+parseInt(f(0x80))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xec067));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x67)]()[h(0x82)](h(0x7d))['toString']()[h(0x71)](a10a)[h(0x82)](h(0x7d));});a10a();import a10e from'./aws.command.js';function a10c(){const k=['apply','\x20in\x20region\x20','exit','5IsnPLT','error','233345xaBdLh','constructor','110820phZZAh','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','ecrDeleteRepository','Failed\x20to\x20delete\x20the\x20repository:\x20','region','2674498MPyBhI','70srgLns','name','delete-ecr','3tgHaSP','decr','(((.+)+)+)+$','456633VCsGwX','6201556GaSEmg','23942358HjsHiK','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','search','170GMsvAi','toString','\x20deleted\x20successfully\x20in\x20region\x20','9866680pELGiv','create'];a10c=function(){return k;};return a10c();}import{Command}from'../../command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x66;let f=c[d];return f;},a10d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a10i(0x6a)]({'name':a10i(0x7a),'aliases':[a10i(0x7c)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10i(0x79),'region'],'validOpts':[],'shortDesc':'Delete\x20an\x20Elastic\x20Container\x20Repository','examples':[a10i(0x73),a10i(0x81)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x74)]({'repoName':b[j(0x79)],'region':b[j(0x76)]}),Log['success']('Repository\x20'+b[j(0x79)]+j(0x68)+b[j(0x76)]+'.'),process[j(0x6d)](0x0);}catch(d){Log[j(0x6f)](j(0x75)+b[j(0x79)]+j(0x6c)+b[j(0x76)]+'.\x20Error:\x20'+d),process[j(0x6d)](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 a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x1c1))/0x1+parseInt(f(0x1c7))/0x2*(-parseInt(f(0x1bf))/0x3)+-parseInt(f(0x1cc))/0x4*(-parseInt(f(0x1c3))/0x5)+parseInt(f(0x1c8))/0x6*(parseInt(f(0x1c5))/0x7)+parseInt(f(0x1bc))/0x8+-parseInt(f(0x1c0))/0x9+parseInt(f(0x1bb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xb1a6f));const a11b=(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;};}()),a11a=a11b(this,function(){const g=a11d;return a11a[g(0x1c9)]()['search']('(((.+)+)+)+$')[g(0x1c9)]()[g(0x1c6)](a11a)['search']('(((.+)+)+)+$');});function a11c(){const j=['791625TUIVuu','error','7BdZIux','constructor','1229422GLeoIQ','4702494uYLdBJ','toString','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','20qPLUEr','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','3055100DyIyWZ','4302232XQysxJ','create','describe-instances','3HvfDvp','9101322nNBOTF','65031oVhMbS','ec2describeInstances'];a11c=function(){return j;};return a11c();}a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1ba;let f=c[d];return f;},a11d(a,b);}Command[a11h(0x1bd)]({'name':a11h(0x1be),'aliases':['di'],'usage':a11h(0x1ca),'validOpts':[],'shortDesc':a11h(0x1ba),'examples':[a11h(0x1ca),'maka\x20aws:di'],'description':a11h(0x1cb)},async function(){const i=a11h;try{const {aws:a}=this;a[i(0x1c2)]();}catch(b){b&&Log[i(0x1c4)](b),process['exit'](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
- var a12h=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0xec))/0x1*(parseInt(f(0xdc))/0x2)+-parseInt(f(0xde))/0x3+parseInt(f(0xdd))/0x4+parseInt(f(0xe7))/0x5*(-parseInt(f(0xe6))/0x6)+-parseInt(f(0xea))/0x7+parseInt(f(0xee))/0x8+-parseInt(f(0xe9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x621f0));function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xdb;var f=c[d];return f;},a12d(a,b);}function a12c(){var j=['107192KudoYq','1240544MOFkDu','1084227nPIDEP','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','constructor','(((.+)+)+)+$','search','toString','aws','dkp','12XKQCKe','797190vMiTAh','maka\x20aws:dkp','216756XrOeZz','762825IiyYRh','create','5VkuUfU','ec2describeKeys','5097056etiQYO','maka\x20aws:describe-key-pairs'];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[g(0xe3)]()[g(0xe2)](g(0xe1))['toString']()[g(0xe0)](a12a)[g(0xe2)](g(0xe1));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a12h(0xeb)]({'name':'describe-key-pairs','aliases':[a12h(0xe5)],'usage':a12h(0xdb),'validOpts':[],'shortDesc':a12h(0xdf),'examples':['maka\x20aws:describe-key-pairs',a12h(0xe8)]},async function(){var i=a12h;try{this[i(0xe4)][i(0xed)]();}catch(a){a&&Log['error'](a),process['exit'](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(0x175))/0x1+parseInt(j(0x15d))/0x2*(-parseInt(j(0x162))/0x3)+-parseInt(j(0x157))/0x4+parseInt(j(0x16b))/0x5*(-parseInt(j(0x16a))/0x6)+parseInt(j(0x174))/0x7*(-parseInt(j(0x165))/0x8)+-parseInt(j(0x16f))/0x9+parseInt(j(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x4a6dc));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a['toString']()[l(0x155)]('(((.+)+)+)+$')[l(0x158)]()['constructor'](a13a)[l(0x155)](l(0x167));});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x155;let f=c[d];return f;},a13d(a,b);}a13a();function a13c(){const p=['name','Not\x20deleting\x20secuirty\x20group','646326ivBJdX','getSecurityGroups','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','exit','\x20SGID:\x20','151221eUEGlM','240431uMmmCf','error','success','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','dsg','search','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','850320SFcSBN','toString','ask','16816330jwseTc','sgId','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','66494OFRLLL','apply','delete-security-group','maka\x20aws:delete-sg','bright','15BvdSTv','notice','ID:\x20','40IEwEWi','create','(((.+)+)+)+$','Deleting\x20a\x20','forEach','157554KJzWKN','110eYedsg','confirm'];a13c=function(){return p;};return a13c();}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(0x166)]({'name':a13m(0x15f),'aliases':[a13m(0x179)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x156),'examples':[a13m(0x160),'maka\x20aws:dsg']},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a['appName'];const {sgList:d}=await b[n(0x170)]();d[n(0x169)](function(i){const o=n;i['name']['includes'](c)?Log[o(0x163)](o(0x164)+i['id']+'\x20SG\x20NAME:\x20'+i[o(0x16d)]+o(0x173)+i[o(0x15b)]):Log[o(0x161)](o(0x164)+i['id']+'\x20SG\x20NAME:\x20'+i[o(0x16d)]+o(0x173)+i['sgId']);});let f='';const g=await Actions[n(0x159)](n(0x15c));d[n(0x169)](function(i){i['id']===parseInt(g)&&(f=i['sgId']);});if(!f)throw Log[n(0x176)](n(0x178));const h=await Actions[n(0x16c)](n(0x168)+f+n(0x171),![]);h?(await b['deleteSecurityGroup'](f),Log[n(0x177)]('Deleted\x20'+f)):Log[n(0x176)](n(0x16e)),process['exit'](0x0);}catch(i){i&&Log[n(0x176)](i),process[n(0x172)](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 a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x70))/0x1*(parseInt(f(0x6f))/0x2)+parseInt(f(0x72))/0x3*(parseInt(f(0x7d))/0x4)+parseInt(f(0x74))/0x5*(parseInt(f(0x81))/0x6)+-parseInt(f(0x7f))/0x7*(-parseInt(f(0x88))/0x8)+parseInt(f(0x85))/0x9+parseInt(f(0x79))/0xa+-parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xab616));function a14c(){const j=['510128UtSfAc','maka\x20aws:lecr\x20--regions=all','2MjjVzB','1113446iCLPaD','exit','36111cijgGi','(((.+)+)+)+$','5lYYLPL','list-ecr','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','regions','search','3179630PbyYOX','create','lecr','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','236vrxuKq','toString','63WxZcyW','maka\x20aws:list-ecr','5025498mWqpHb','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','listAllEcrRepositories','34659768tXaBkx','2698137QOpzXU','error','constructor'];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['toString']()['search'](g(0x73))[g(0x7e)]()[g(0x87)](a14a)[g(0x78)](g(0x73));});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-0x6f;let f=c[d];return f;},a14d(a,b);}Command[a14h(0x7a)]({'name':a14h(0x75),'aliases':[a14h(0x7b)],'usage':a14h(0x76),'requiredOpts':[],'validOpts':[a14h(0x77)],'shortDesc':a14h(0x7c),'examples':[a14h(0x80),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1',a14h(0x89)]},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0x83)](b[i(0x77)]),Log['success']('Completed\x20listing\x20ECR\x20repositories.'),process[i(0x71)](0x0);}catch(d){Log[i(0x86)](i(0x82)+d),process[i(0x71)](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 a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(parseInt(f(0x1b6))/0x2)+-parseInt(f(0x1b2))/0x3+-parseInt(f(0x1b5))/0x4*(parseInt(f(0x1a6))/0x5)+-parseInt(f(0x1b4))/0x6*(parseInt(f(0x1a7))/0x7)+parseInt(f(0x1a0))/0x8*(parseInt(f(0x1a2))/0x9)+-parseInt(f(0x1aa))/0xa+parseInt(f(0x1b3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xa49a4));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a['toString']()[h(0x1ac)](h(0x19d))['toString']()[h(0x1a8)](a15a)['search']('(((.+)+)+)+$');});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x199;let f=c[d];return f;},a15d(a,b);}a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';function a15c(){const k=['114XtXcGl','39988aIkheX','2ESdICq','exit','\x20is\x20still\x20running.','running','ec2rebootInstance','(((.+)+)+)+$','create','reboot-instance','16UPJTtw','maka\x20aws:rbi','5981886KPLJfW','name','Reboot\x20an\x20EC2\x20instance','error','270dsvlgd','19481moyJJg','constructor','confirm','5724250mARjes','maka\x20aws:reboot-instance','search','482186lOyQTJ','rbi','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','apply','instanceId','106179lBZlIB','695761JULeTK'];a15c=function(){return k;};return a15c();}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x19e)]({'name':a15i(0x19f),'aliases':[a15i(0x1ae)],'usage':a15i(0x1ab),'validOpts':[],'shortDesc':a15i(0x1a4),'examples':[a15i(0x1ab),a15i(0x1a1)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a['chooseInstance']();if(b?.['status']===j(0x19b)){const c=await Actions[j(0x1a9)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b['name']+'\x20Ready?');c&&b[j(0x1b1)]?a[j(0x19c)]({'instanceId':b[j(0x1b1)]}):Log[j(0x1a5)](j(0x1af)+b[j(0x1a3)]+j(0x19a));}else Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log[j(0x1a5)](d),process[j(0x199)](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 a16c(){const L=['ASSOCIATION','(((.+)+)+)+$','Invalid\x202\x20character\x20country\x20code','confirm','My\x20Company,\x20LLC.','toString','City\x20[Honolulu]:\x20','+1.5555555555','State\x20[HI]:\x20','2598cGvtMG','\x20is\x20available\x20for:','34794gLQGBe','\x20years\x20(','50190KTMvmQ','+1.5555555556','error','notice','980750xdhnLR','745ORaJuG','PERSON','123\x20Glorious\x20Way','\x20/\x20Year)','includes','values','Contact\x20First\x20Name\x20[Contact]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','Zip\x20Code\x20[96816]:\x20','registerDomain','Country\x20Code\x20[US]:\x20','Address\x20Line\x202:\x20','search','27dPIqob','Do\x20you\x20wish\x20to\x20register\x20','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','COMPANY','maka\x20aws:register-domain-name\x20--domain=example.com','register-domain-name','domain','1085068vObHkq','OrganizationName','81875IDUTfI','The\x20domain\x20name:\x20','Honolulu','warn','Person','Domain\x20name\x20is\x20unavailable','ask','48uBaofo','rdn','Contact','apply','Duration\x20in\x20years\x20[1]:\x20','11tcycrN','96816','\x20/\x20Year\x20\x0a','contactType','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','PUBLIC_BODY','77651EmZsLt','constructor','RESELLER','Are\x20you\x20sure?','maka\x20aws:register-domain-name','select','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','Choose\x20contact\x20type','Organization\x20Name\x20[My\x20Company,\x20LLC.]:'];a16c=function(){return L;};return a16c();}(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(0x110))/0x1+parseInt(F(0x139))/0x2*(-parseInt(F(0x14b))/0x3)+parseInt(F(0x10e))/0x4+parseInt(F(0x13e))/0x5*(-parseInt(F(0x135))/0x6)+parseInt(F(0x122))/0x7+-parseInt(F(0x117))/0x8*(parseInt(F(0x137))/0x9)+parseInt(F(0x13d))/0xa*(parseInt(F(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x24506));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a['toString']()[H(0x14a)](H(0x12d))[H(0x131)]()[H(0x123)](a16a)['search']('(((.+)+)+)+$');});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';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x10a;let f=c[d];return f;},a16d(a,b);}import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const I=a16d;return Object[I(0x143)](CountryCode)[I(0x142)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command['create']({'name':a16J(0x10c),'aliases':[a16J(0x118)],'usage':a16J(0x126),'requiredOpts':[a16J(0x10d)],'validOpts':[],'shortDesc':a16J(0x129),'examples':[a16J(0x10b),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0x10d)],{available:f,cost:g}=await c['checkDomainAvailability'](d);if(f&&g){Log[K(0x13c)](K(0x111)+d+K(0x136));const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+K(0x11e));const j=await Actions[K(0x12f)](K(0x14c)+d+'?',![]);if(j){const k={'message':K(0x12a),'name':K(0x11f),'choices':[{'name':K(0x12c),'value':K(0x12c)},{'name':K(0x10a),'value':K(0x10a)},{'name':K(0x13f),'value':K(0x13f)},{'name':K(0x121),'value':K(0x121)},{'name':K(0x124),'value':K(0x124)}]},l=await Actions['ask'](K(0x11b))||'1',m=await Actions[K(0x116)](K(0x144))||K(0x119),n=await Actions[K(0x116)]('Contact\x20Last\x20Name\x20[Person]:\x20')||K(0x114),o=await Actions[K(0x127)](k),p=await Actions['ask']('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||K(0x140),q=await Actions[K(0x116)](K(0x149)),r=await Actions[K(0x116)](K(0x132))||K(0x112),s=await Actions['ask'](K(0x146))||K(0x11d),t=await Actions[K(0x116)](K(0x134))||'HI',u=await Actions['ask'](K(0x148))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0x13b)](K(0x12e));const w=await Actions['ask'](K(0x120))||K(0x133),x=await Actions['ask'](K(0x14d))||K(0x13a),y=await Actions[K(0x116)](K(0x145))||'mail@example.com',z=await Actions[K(0x12f)]('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(0x13f)){const D=await Actions['ask'](K(0x12b))||K(0x130);A[K(0x10f)]=D;}const B=h||0x0*parseInt(l);Log[K(0x13c)](K(0x128)),Log[K(0x113)](B+'\x20'+i+'\x20for\x20'+l+K(0x138)+h+'\x20'+i+K(0x141));const C=await Actions[K(0x12f)](K(0x125));C&&await c[K(0x147)](A,d,parseInt(l),z);}}else throw K(0x115);}catch(E){E&&Log[K(0x13b)](E),process['exit'](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
- function a17c(){const n=['apply','constructor','exit','ask','4145716CGchXU','toString','search','create','20SgjJcx','maka\x20aws:rkp','6981667HmqAaF','233934bPyBMW','Deleting\x20a\x20','success','error','96nNIvQa','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','2101959zjqvxr','deleteKeyPair','Not\x20deleting\x20keypair','3qfwPXk','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','441115fDcnkG','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','Please\x20choose\x20a\x20key\x20to\x20delete:','name','556976lkXaOZ','6qtQXgQ','(((.+)+)+)+$','maka\x20aws:remove-key-pair','rkp','1091953yzNAiV'];a17c=function(){return n;};return a17c();}const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x94))/0x1+-parseInt(h(0x80))/0x2+-parseInt(h(0x89))/0x3*(-parseInt(h(0x99))/0x4)+parseInt(h(0x8b))/0x5*(parseInt(h(0x90))/0x6)+-parseInt(h(0x8f))/0x7*(-parseInt(h(0x84))/0x8)+-parseInt(h(0x86))/0x9*(-parseInt(h(0x9d))/0xa)+-parseInt(h(0x9f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xab9e9));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x9a)]()[j(0x9b)](j(0x91))['toString']()[j(0x96)](a17a)['search'](j(0x91));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x80;let f=c[d];return f;},a17d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0x9c)]({'name':'remove-key-pair','aliases':[a17k(0x93)],'usage':a17k(0x92),'validOpts':[],'shortDesc':a17k(0x8c),'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':[a17k(0x92),a17k(0x9e)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a['ec2describeKeys']();let c=undefined;const d=await Actions[l(0x98)](l(0x8d));b?.['forEach'](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x8e)]);});if(!c)throw Log[l(0x83)](l(0x8a));const f=await Actions['confirm'](l(0x81)+c+l(0x85),![]);f?(await a[l(0x87)](c),Log[l(0x82)]('Deleted\x20'+c)):Log[l(0x83)](l(0x88)),process[l(0x97)](0x0);}catch(g){g&&Log['error'](g),process[l(0x97)](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 a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=-parseInt(n(0x1f2))/0x1*(parseInt(n(0x1df))/0x2)+-parseInt(n(0x1cc))/0x3*(-parseInt(n(0x1db))/0x4)+-parseInt(n(0x1e7))/0x5+-parseInt(n(0x1eb))/0x6*(parseInt(n(0x1e2))/0x7)+-parseInt(n(0x1c8))/0x8*(-parseInt(n(0x1ed))/0x9)+parseInt(n(0x1de))/0xa*(-parseInt(n(0x1cd))/0xb)+parseInt(n(0x1e1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xcd4c5));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a[p(0x1d3)]()['search'](p(0x1e5))[p(0x1d3)]()[p(0x1c6)](a18a)[p(0x1f3)]('(((.+)+)+)+$');});a18a();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';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a18d(a,b);}function a18c(){const s=['That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','apply','scaffold','3683964BTvWNx','sep','5907771OOlpak','host','fsi','publicIp','isFile','4083UaJoUq','search','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','create','appName','ask','constructor','join','16bsGHYI','public','env','\x20IP\x20to\x20','3909rtJsHJ','19151ZhiXrH','sth','utf8','error','set-host','privateIp','toString','parse','private','getEnvFromShorthand','getAppConfigPath','inherit','maka\x20aws:set-host\x20--env\x20dev','template','924CMKsJV','ssh.json','stringify','8370FHZSzr','28sVkUAQ','exit','19037964xWHVuF','7qsvniT','maka\x20aws\x20set-host','maka\x20aws:sth\x20--env\x20prod','(((.+)+)+)+$','\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','1155270hlJect'];a18c=function(){return s;};return a18c();}import{Log}from'../../tools/log/log.class.js';Command[a18q(0x1f5)]({'name':a18q(0x1d1),'aliases':[a18q(0x1ce)],'usage':a18q(0x1e3),'mustBeInMakaProject':!![],'requiredOpts':[a18q(0x1ca)],'validOpts':[],'shortDesc':a18q(0x1f4),'description':a18q(0x1e6),'examples':[a18q(0x1d9),a18q(0x1e4)]},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0x1d6)](b[r(0x1ca)]),h=f[r(0x1d7)](g),i=await d['chooseInstance'](),j=a18e[r(0x1c7)](h,r(0x1dc));!this[r(0x1ef)][r(0x1f1)](j)&&await this[r(0x1ea)][r(0x1da)]({'srcPath':'config/ssh.json','destPath':j,'context':{'app':c[r(0x1c4)]},'config':c});const k=JSON[r(0x1d4)](a18f['readFileSync'](j,r(0x1cf))),l=await Actions[r(0x1c5)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]')||r(0x1c9);if(l){if(l===r(0x1c9)||l==='private'){if(l===r(0x1c9))k['host']=i?.[r(0x1f0)];else l===r(0x1d5)&&(k[r(0x1ee)]=i?.['privateIp']);}else throw r(0x1e8);}else k['host']=i?.[r(0x1d2)];a18f['writeFileSync'](a18e[r(0x1c7)](h,r(0x1dc)),JSON[r(0x1dd)](k,null,0x2)),execSync('cat\x20'+a18e['join'](h,r(0x1dc)),{'stdio':r(0x1d8)}),Log['success']('\x0aSaved\x20host\x20'+l+r(0x1cb)+h+a18e[r(0x1ec)]+r(0x1dc));}catch(m){m&&Log[r(0x1d0)](m),process[r(0x1e0)](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 a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x1d9))/0x1*(parseInt(f(0x1e8))/0x2)+-parseInt(f(0x1e0))/0x3*(parseInt(f(0x1e3))/0x4)+parseInt(f(0x1ed))/0x5+-parseInt(f(0x1da))/0x6+parseInt(f(0x1e2))/0x7+parseInt(f(0x1d8))/0x8*(parseInt(f(0x1d6))/0x9)+-parseInt(f(0x1e5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xe988e));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0x1ec)]()[h(0x1f2)](h(0x1eb))['toString']()[h(0x1f1)](a19a)['search'](h(0x1eb));});a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a19d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a19c(){const k=['ec2terminateInstance','terminate-instance','maka\x20aws:ti','18615xxgXXH','\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','11342268gXLMwG','620HvMqDa','exit','33148790ECeVIu','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','error','36jNKYyr','status','name','(((.+)+)+)+$','toString','5538450XCBJVd','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','running','maka\x20aws:terminate-instance','constructor','search','apply','108mphlrc','chooseInstance','815064beSqqB','90411gWDyJF','2068776VeYEca','confirm','create'];a19c=function(){return k;};return a19c();}Command[a19i(0x1dc)]({'name':a19i(0x1de),'aliases':['ti'],'usage':a19i(0x1f0),'validOpts':[],'shortDesc':'Terminate\x20an\x20EC2\x20instance','description':a19i(0x1e1),'examples':[a19i(0x1f0),a19i(0x1df)]},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0x1d7)]();if(b?.['instanceId']&&b?.[j(0x1e9)]===j(0x1ef)){const c=await Actions[j(0x1db)](j(0x1ee)+b[j(0x1ea)]+'\x20Ready?');c?a[j(0x1dd)]({'instanceId':b['instanceId']}):Log[j(0x1e7)](j(0x1e6)+b[j(0x1ea)]+'\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).');}else Log[j(0x1e7)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log['error'](d),process[j(0x1e4)](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(0xe2))/0x1*(parseInt(f(0xe6))/0x2)+parseInt(f(0xdc))/0x3+-parseInt(f(0xe3))/0x4+-parseInt(f(0xe7))/0x5+-parseInt(f(0xe9))/0x6*(parseInt(f(0xdb))/0x7)+-parseInt(f(0xe0))/0x8*(parseInt(f(0xdf))/0x9)+-parseInt(f(0xe4))/0xa*(-parseInt(f(0xdd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xceb35));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a['toString']()[h(0xe1)](h(0xde))[h(0xe5)]()[h(0xe8)](a20a)[h(0xe1)](h(0xde));});a20a();function a20c(){var i=['2093500JgMyOK','constructor','12WpeaFq','apply','13832Ebewne','4264692UClteA','208417upEbGH','(((.+)+)+)+$','171zkXYxz','675032usNWxB','search','69962sTCzIP','4264116zrNfio','2030pjkMWe','toString','38qgrDFq'];a20c=function(){return i;};return a20c();}function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0xdb;var f=c[d];return f;},a20d(a,b);}import'./build.js';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(0xab))/0x1*(-parseInt(s(0xc1))/0x2)+parseInt(s(0xa2))/0x3+parseInt(s(0xc8))/0x4*(parseInt(s(0xad))/0x5)+parseInt(s(0xaf))/0x6*(parseInt(s(0xb1))/0x7)+-parseInt(s(0xc0))/0x8*(parseInt(s(0xa3))/0x9)+-parseInt(s(0xc3))/0xa+-parseInt(s(0xbd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x3d020));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a[u(0xc9)]()[u(0x9f)](u(0xb6))[u(0xc9)]()['constructor'](a21a)['search'](u(0xb6));});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x9b;let f=c[d];return f;},a21d(a,b);}a21a();function a21c(){const y=['\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','getProjectMeteorVersion','maka\x20install\x20--force','argv','4TGluzy','toString','This\x20project\x27s\x20meteor\x20version\x20(','pathFromProject','getGlobalMeteorVersion','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','inherit','search','invokeMeteorCommand','existsSync','629430LPlEpk','1116wlkHHm','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20','notice','forEach',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','create','apply','Aborted.','1jarPXG','confirm','1386345QYBsBR','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','5094APbiHh','error','3255WiZdxU','exit','findProjectDirectory','isMeteorInstalled','build','(((.+)+)+)+$','Meteor\x20is\x20installed.','slice','app.tar.gz','force','--force','maka\x20build','3240358LIdNsq','autoupdate','concat','19232taHlQb','175546LGapih','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','1270750SNlhbP'];a21c=function(){return y;};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[a21v(0xa8)]({'name':a21v(0xb5),'usage':a21v(0xbc),'validOpts':[a21v(0xba)],'aliases':['b'],'shortDesc':a21v(0x9d),'mustBeInMakaProject':!![],'description':a21v(0xc4),'examples':['maka\x20build']},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0xb4)]()?Log[w(0xa5)](w(0xb7)):(Log['warn'](w(0xae)),execSync(w(0xc6),{'stdio':w(0x9e)}));await f['checkMeteorPackage'](w(0xbe),{'shouldInstall':!![]});const g=b['force'];if(!g)try{const k=await c[w(0x9c)](),l=d[w(0xc5)](),m=a21g['gt'](k,l);if(m){const n=await Actions[w(0xac)](w(0xca)+l+w(0xa7)+k+').\x20Update?');n&&c[w(0xa0)]('update',['--release',k]);}}catch(o){Log['error'](w(0xa4)+o);}const h=[d[w(0x9b)]({'pathParts':['build']})][w(0xbf)](process[w(0xc7)][w(0xb8)](0x3)),i=d[w(0xb3)](),j=a21e['join'](i,w(0xb5),w(0xb9));if(a21f[w(0xa1)](j)){const p=g??await Actions[w(0xac)](w(0xc2));if(!p)throw Log[w(0xb0)](w(0xaa));}h[w(0xa6)]((q,r)=>{const x=w;q===x(0xbb)&&h['splice'](r,0x2);}),this['mpi'][w(0xa0)](w(0xb5),h);}catch(q){console['error'](q),process[w(0xb2)](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;