@maka/maka-cli 5.1.16 → 5.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (645) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/templates/react/test/test.js +1 -0
  151. package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
  152. package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
  153. package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
  154. package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
  155. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
  156. package/bundle/obf/src/tool.js +1 -1
  157. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  158. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  159. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  161. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  162. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  164. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/https/https.class.js +1 -1
  166. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  167. package/bundle/obf/src/tools/log/log.class.js +1 -1
  168. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  170. package/bundle/obf/src/tools/options/options.class.js +1 -1
  171. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  172. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  173. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  174. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  175. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  176. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  177. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  178. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  179. package/package.json +1 -1
  180. package/test/integration/default.test.js +84 -0
  181. package/test/integration/fixtures/blaze/.maka/config.json +30 -0
  182. package/test/integration/fixtures/blaze/.tern-project +17 -0
  183. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
  184. package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
  185. package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
  186. package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
  187. package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
  188. package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
  189. package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
  190. package/test/integration/fixtures/blaze/app/client/body.html +2 -0
  191. package/test/integration/fixtures/blaze/app/client/head.html +8 -0
  192. package/test/integration/fixtures/blaze/app/client/main.js +1 -0
  193. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
  194. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
  195. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
  196. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
  197. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
  198. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
  199. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  200. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
  201. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
  202. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
  203. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
  204. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
  205. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
  206. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
  207. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
  208. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
  209. package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
  210. package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
  211. package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
  212. package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
  213. package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
  214. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  215. package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
  216. package/test/integration/fixtures/blaze/app/server/main.js +1 -0
  217. package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
  218. package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
  219. package/test/integration/fixtures/blaze/build/README +4 -0
  220. package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
  221. package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
  222. package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
  223. package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
  224. package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
  225. package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
  226. package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
  227. package/test/integration/fixtures/react/.maka/config.json +30 -0
  228. package/test/integration/fixtures/react/.tern-project +17 -0
  229. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
  230. package/test/integration/fixtures/react/app/.meteor/.id +7 -0
  231. package/test/integration/fixtures/react/app/.meteor/packages +21 -0
  232. package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
  233. package/test/integration/fixtures/react/app/.meteor/release +1 -0
  234. package/test/integration/fixtures/react/app/.meteor/versions +78 -0
  235. package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
  236. package/test/integration/fixtures/react/app/client/body.html +3 -0
  237. package/test/integration/fixtures/react/app/client/head.html +8 -0
  238. package/test/integration/fixtures/react/app/client/main.jsx +1 -0
  239. package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
  240. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
  241. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
  242. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
  243. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
  244. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
  245. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  246. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  247. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
  248. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
  249. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
  250. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  251. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
  252. package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
  253. package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
  254. package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
  255. package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
  256. package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
  257. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  258. package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
  259. package/test/integration/fixtures/react/app/server/main.jsx +1 -0
  260. package/test/integration/fixtures/react/bin/.gitkeep +1 -0
  261. package/test/integration/fixtures/react/build/.gitkeep +1 -0
  262. package/test/integration/fixtures/react/build/README +4 -0
  263. package/test/integration/fixtures/react/config/.gitkeep +1 -0
  264. package/test/integration/fixtures/react/config/development/env.sh +9 -0
  265. package/test/integration/fixtures/react/config/development/settings.json +6 -0
  266. package/test/integration/fixtures/react/config/production/env.sh +9 -0
  267. package/test/integration/fixtures/react/config/production/settings.json +6 -0
  268. package/test/integration/fixtures/react/config/staging/env.sh +9 -0
  269. package/test/integration/fixtures/react/config/staging/settings.json +6 -0
  270. package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
  271. package/test/integration/fixtures/react-apollo/.tern-project +17 -0
  272. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
  273. package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
  274. package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
  275. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
  276. package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
  277. package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
  278. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
  279. package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
  280. package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
  281. package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
  282. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
  283. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
  284. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
  285. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
  286. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
  287. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
  288. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  289. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  290. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
  291. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
  292. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  293. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
  294. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
  295. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
  296. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
  297. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
  298. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
  299. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
  300. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  301. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
  302. package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
  303. package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
  304. package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
  305. package/test/integration/fixtures/react-apollo/build/README +4 -0
  306. package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
  307. package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
  308. package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
  309. package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
  310. package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
  311. package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
  312. package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
  313. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
  314. package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
  315. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  316. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
  317. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
  318. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
  319. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
  320. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
  321. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
  322. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
  323. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
  324. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
  325. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
  326. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  327. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  328. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  329. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  330. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  331. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  332. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  333. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  334. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  335. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
  336. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
  337. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
  338. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
  339. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
  340. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  341. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
  342. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
  343. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
  344. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
  345. package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
  346. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
  347. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
  348. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
  349. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
  350. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
  351. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
  352. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
  353. package/test/integration/fixtures/react-material/.maka/config.json +30 -0
  354. package/test/integration/fixtures/react-material/.tern-project +17 -0
  355. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
  356. package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
  357. package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
  358. package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
  359. package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
  360. package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
  361. package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
  362. package/test/integration/fixtures/react-material/app/client/body.html +3 -0
  363. package/test/integration/fixtures/react-material/app/client/head.html +8 -0
  364. package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
  365. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
  366. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
  367. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
  368. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
  369. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
  370. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
  371. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  372. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  373. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
  374. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
  375. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  376. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  377. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
  378. package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
  379. package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
  380. package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
  381. package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
  382. package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
  383. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  384. package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
  385. package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
  386. package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
  387. package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
  388. package/test/integration/fixtures/react-material/build/README +4 -0
  389. package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
  390. package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
  391. package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
  392. package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
  393. package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
  394. package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
  395. package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
  396. package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
  397. package/test/integration/fixtures/react-ssr/.tern-project +17 -0
  398. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
  399. package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
  400. package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
  401. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
  402. package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
  403. package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
  404. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
  405. package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
  406. package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
  407. package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
  408. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
  409. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
  410. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
  411. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
  412. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
  413. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
  414. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  415. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
  416. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
  417. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
  418. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
  419. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
  420. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
  421. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
  422. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
  423. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  424. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
  425. package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
  426. package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
  427. package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
  428. package/test/integration/fixtures/react-ssr/build/README +4 -0
  429. package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
  430. package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
  431. package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
  432. package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
  433. package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
  434. package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
  435. package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
  436. package/test/integration/fixtures/reflux/.maka/config.json +30 -0
  437. package/test/integration/fixtures/reflux/.tern-project +17 -0
  438. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
  439. package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
  440. package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
  441. package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
  442. package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
  443. package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
  444. package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
  445. package/test/integration/fixtures/reflux/app/client/body.html +3 -0
  446. package/test/integration/fixtures/reflux/app/client/head.html +8 -0
  447. package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
  448. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
  449. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
  450. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
  451. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
  452. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
  453. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
  454. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  455. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  456. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
  457. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
  458. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
  459. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  460. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
  461. package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
  462. package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
  463. package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
  464. package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
  465. package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
  466. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  467. package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
  468. package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
  469. package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
  470. package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
  471. package/test/integration/fixtures/reflux/build/README +4 -0
  472. package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
  473. package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
  474. package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
  475. package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
  476. package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
  477. package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
  478. package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
  479. package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
  480. package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
  481. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
  482. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
  483. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
  484. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
  485. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
  486. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
  487. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
  488. package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
  489. package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
  490. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
  491. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
  492. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
  493. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
  494. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
  495. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
  496. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
  497. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  498. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  499. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
  500. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
  501. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  502. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
  503. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
  504. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
  505. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
  506. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
  507. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
  508. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
  509. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  510. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
  511. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
  512. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
  513. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
  514. package/test/integration/fixtures/reflux-apollo/build/README +4 -0
  515. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
  516. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
  517. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
  518. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
  519. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
  520. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
  521. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
  522. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
  523. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
  524. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  525. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
  526. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
  527. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
  528. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
  529. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
  530. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
  531. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
  532. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
  533. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
  534. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
  535. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  536. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  537. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  538. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  539. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  540. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  541. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  542. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  543. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  544. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
  545. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
  546. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
  547. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
  548. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
  549. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  550. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
  551. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
  552. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
  553. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
  554. package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
  555. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
  556. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
  557. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
  558. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
  559. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
  560. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
  561. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
  562. package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
  563. package/test/integration/fixtures/reflux-material/.tern-project +17 -0
  564. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
  565. package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
  566. package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
  567. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
  568. package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
  569. package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
  570. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
  571. package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
  572. package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
  573. package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
  574. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
  575. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
  576. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
  577. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
  578. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
  579. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
  580. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  581. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  582. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
  583. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
  584. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  585. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  586. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
  587. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
  588. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
  589. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
  590. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
  591. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
  592. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  593. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
  594. package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
  595. package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
  596. package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
  597. package/test/integration/fixtures/reflux-material/build/README +4 -0
  598. package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
  599. package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
  600. package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
  601. package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
  602. package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
  603. package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
  604. package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
  605. package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
  606. package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
  607. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
  608. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
  609. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
  610. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
  611. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
  612. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
  613. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
  614. package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
  615. package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
  616. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
  617. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
  618. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
  619. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
  620. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
  621. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
  622. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
  623. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
  624. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
  625. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
  626. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
  627. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
  628. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
  629. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
  630. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
  631. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
  632. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  633. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
  634. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
  635. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
  636. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
  637. package/test/integration/fixtures/reflux-ssr/build/README +4 -0
  638. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
  639. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
  640. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
  641. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
  642. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
  643. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
  644. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
  645. package/test/integration/integration_helpers.js +60 -0
@@ -1 +1 @@
1
- const a97z=a97d;(function(a,b){const w=a97d,c=a();while(!![]){try{const d=parseInt(w(0x195))/0x1+-parseInt(w(0x1a4))/0x2*(parseInt(w(0x19a))/0x3)+-parseInt(w(0x193))/0x4*(-parseInt(w(0x171))/0x5)+-parseInt(w(0x18b))/0x6*(-parseInt(w(0x16a))/0x7)+-parseInt(w(0x188))/0x8+-parseInt(w(0x184))/0x9*(-parseInt(w(0x190))/0xa)+-parseInt(w(0x1a7))/0xb*(parseInt(w(0x19d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x6f285));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a97d;if(c){const e=c[x(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const y=a97d;return a97a[y(0x196)]()['search'](y(0x18c))['toString']()['constructor'](a97a)['search'](y(0x18c));});a97a();import a97e from'fs';function a97c(){const B=['exit','fsi','5VDQxxU','letsencrypt','\x20--email\x20','ssl','uname\x20-a','Using\x20saved\x20letsencrypt\x20config','Email\x20to\x20use\x20for\x20auto-updates:\x20','maka\x20ssl\x20--env\x20dev\x20generate-csr','New\x20CSR\x20written\x20to\x20','Checking\x20remote\x20host\x20availability','parse','ssh','genCSR','cfg','getAppConfigPath','[?]\x20Domains\x20to\x20register:\x20','readFileSync','error','mkKeysDir','59031MdFMeS','letsencrypt.json','generate-ssc','env','3233296YakSWS','create','stringify','2282154HOGgdw','(((.+)+)+)+$','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.key','/ssh.json','770PxwdPL','success','appName','2888252MzGkaF','email','200965YzKPTU','toString','.crt','assign','Please\x20provide\x20a\x20command.','2169159sMTEnO','.csr','apply','312qfaNvc','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','withSpinner','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','ask','domains','sudo\x20snap\x20install\x20--classic\x20certbot','2chNVth','notice','Verifying\x20Letsencrypt\x20configuration','95579QmymMm','getMakaProjectConfig','start','join','7XhOHRY','generate-csr','existsSync','writeFileSync','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'];a97c=function(){return B;};return a97c();}import a97f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x169;let f=c[d];return f;},a97d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a97z(0x189)]({'name':a97z(0x174),'usage':'maka\x20ssl\x20[command]','validOpts':[a97z(0x1a2),a97z(0x194)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a97z(0x178),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a97z(0x19e)]},async function(a,b){const A=a97z,c=this[A(0x17e)][A(0x1a8)](),d=this['cfg']['getEnvFromShorthand'](b[A(0x187)]),f=this['cfg'][A(0x17f)](d),g=this[A(0x170)][A(0x183)]({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h===A(0x16b))SSL[A(0x17d)]({'keyName':c['appName']+A(0x18e),'csrName':c[A(0x192)]+A(0x19b),'cwd':g});else{if(h===A(0x186)){if(!a97e[A(0x16c)](a97f['join'](g,c[A(0x192)]+A(0x18e))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a97f[A(0x169)](g,c[A(0x192)]+A(0x18e));if(!a97e['existsSync'](a97f[A(0x169)](g,c['appName']+A(0x19b))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a97f['join'](g,c['appName']+'.csr');SSL['genSSC']({'keyName':c[A(0x192)]+'.key','crtName':c[A(0x192)]+A(0x197),'cwd':g}),Log['notice'](A(0x179)+g);}else{if(h===A(0x172)){let i=b[A(0x1a2)],j=b[A(0x194)];try{const q=a97e['readFileSync'](a97f['join'](f,'letsencrypt.json'))[A(0x196)](),r=JSON['parse'](q);i=b[A(0x1a2)]?b[A(0x1a2)]:r['domainNames'],j=b['email']?b[A(0x194)]:r['emailUpdate'],(!b[A(0x194)]||!b[A(0x1a2)])&&Log[A(0x1a5)](A(0x176));}catch(s){}const k=JSON[A(0x17b)](a97e[A(0x181)](f+A(0x18f))['toString']());Object[A(0x198)](k,{'env':f}),Log['notice'](A(0x17a));try{const t=SSH['ping'](A(0x175),k);if(!t)throw A(0x18d);if(t)Log[A(0x191)]('Remote\x20host\x20connection\x20successful');}catch(u){Log[A(0x182)](u);return;}const l=Log[A(0x19f)]();l[A(0x1a9)](A(0x1a6)),SSH[A(0x17c)](A(0x1a0),{...k}),SSH[A(0x17c)](A(0x1a3),{...k}),SSH[A(0x17c)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...k}),l[A(0x191)]();const m=i?i:await Actions[A(0x1a1)](A(0x180)),n=j?j:await Actions[A(0x1a1)](A(0x177));SSH['ssh'](A(0x16e)+m+A(0x173)+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON[A(0x18a)](o,null,0x2);a97e[A(0x16d)](a97f[A(0x169)](f,A(0x185)),p);}else throw A(0x199);}}}catch(v){console[A(0x182)](v),process[A(0x16f)](0x0);}});
1
+ const a97z=a97d;(function(a,b){const w=a97d,c=a();while(!![]){try{const d=-parseInt(w(0x207))/0x1*(parseInt(w(0x1f8))/0x2)+-parseInt(w(0x200))/0x3+parseInt(w(0x20d))/0x4*(-parseInt(w(0x1ec))/0x5)+-parseInt(w(0x1dd))/0x6*(parseInt(w(0x1d8))/0x7)+parseInt(w(0x1fa))/0x8*(parseInt(w(0x20c))/0x9)+parseInt(w(0x1e8))/0xa*(-parseInt(w(0x1f4))/0xb)+parseInt(w(0x1f3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xf1922));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a97d;if(c){const e=c[x(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const y=a97d;return a97a[y(0x20e)]()[y(0x1d1)](y(0x201))[y(0x20e)]()[y(0x1f0)](a97a)[y(0x1d1)](y(0x201));});a97a();import a97e from'fs';import a97f from'path';import{Actions}from'../tools/actions/actions.class.js';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a97d(a,b);}import{Log}from'../tools/log/log.class.js';function a97c(){const B=['search','apply','maka\x20ssl\x20[command]','join','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','getAppConfigPath','appName','182hNdTeE','email','stringify','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','domainNames','215316WUomIw','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','ssh','parse','genSSC','uname\x20-a','mkKeysDir','sudo\x20snap\x20install\x20--classic\x20certbot','/ssh.json','Using\x20saved\x20letsencrypt\x20config','7110510iNByvk','assign','maka\x20ssl\x20--env\x20dev\x20generate-csr','.crt','5EGzXqK','existsSync','cfg','env','constructor','error','exit','33837408bJkdRa','11CmbonY','Checking\x20remote\x20host\x20availability','domains','Verifying\x20Letsencrypt\x20configuration','1574JuaFvX','.key','15340952wXjwLO','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','.csr','getEnvFromShorthand','ssl','letsencrypt.json','5061051oKIvEc','(((.+)+)+)+$','getMakaProjectConfig','generate-csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','Please\x20provide\x20a\x20command.','434ffKfgJ','success','withSpinner','ask','readFileSync','9PgcCso','301068RHNEUv','toString','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','notice'];a97c=function(){return B;};return a97c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a97z(0x1fe),'usage':a97z(0x1d3),'validOpts':[a97z(0x1f6),'email'],'requiredOpts':[a97z(0x1ef)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a97z(0x1ea),a97z(0x1d5),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const A=a97z,c=this[A(0x1ee)][A(0x202)](),d=this[A(0x1ee)][A(0x1fd)](b['env']),f=this[A(0x1ee)][A(0x1d6)](d),g=this['fsi'][A(0x1e4)]({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h===A(0x203))SSL['genCSR']({'keyName':c[A(0x1d7)]+'.key','csrName':c['appName']+'.csr','cwd':g});else{if(h==='generate-ssc'){if(!a97e[A(0x1ed)](a97f[A(0x1d4)](g,c[A(0x1d7)]+'.key')))throw A(0x1db)+a97f[A(0x1d4)](g,c['appName']+A(0x1f9));if(!a97e[A(0x1ed)](a97f[A(0x1d4)](g,c[A(0x1d7)]+'.csr')))throw A(0x204)+a97f[A(0x1d4)](g,c['appName']+A(0x1fc));SSL[A(0x1e2)]({'keyName':c['appName']+'.key','crtName':c[A(0x1d7)]+A(0x1eb),'cwd':g}),Log[A(0x1d0)]('New\x20CSR\x20written\x20to\x20'+g);}else{if(h==='letsencrypt'){let i=b[A(0x1f6)],j=b[A(0x1d9)];try{const q=a97e[A(0x20b)](a97f[A(0x1d4)](f,'letsencrypt.json'))[A(0x20e)](),r=JSON[A(0x1e1)](q);i=b[A(0x1f6)]?b['domains']:r[A(0x1dc)],j=b[A(0x1d9)]?b[A(0x1d9)]:r[A(0x1cf)],(!b[A(0x1d9)]||!b[A(0x1f6)])&&Log[A(0x1d0)](A(0x1e7));}catch(s){}const k=JSON['parse'](a97e[A(0x20b)](f+A(0x1e6))[A(0x20e)]());Object[A(0x1e9)](k,{'env':f}),Log[A(0x1d0)](A(0x1f5));try{const t=SSH[A(0x1df)](A(0x1e3),k);if(!t)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(t)Log[A(0x208)]('Remote\x20host\x20connection\x20successful');}catch(u){Log['error'](u);return;}const l=Log[A(0x209)]();l['start'](A(0x1f7)),SSH[A(0x1e0)](A(0x20f),{...k}),SSH['ssh'](A(0x1e5),{...k}),SSH['ssh'](A(0x1de),{...k}),l[A(0x208)]();const m=i?i:await Actions[A(0x20a)]('[?]\x20Domains\x20to\x20register:\x20'),n=j?j:await Actions[A(0x20a)](A(0x205));SSH[A(0x1e0)](A(0x1fb)+m+'\x20--email\x20'+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON[A(0x1da)](o,null,0x2);a97e['writeFileSync'](a97f[A(0x1d4)](f,A(0x1ff)),p);}else throw A(0x206);}}}catch(v){console[A(0x1f1)](v),process[A(0x1f2)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x7d))/0x1+-parseInt(f(0x7e))/0x2*(parseInt(f(0x7c))/0x3)+parseInt(f(0x87))/0x4*(parseInt(f(0x83))/0x5)+-parseInt(f(0x84))/0x6+-parseInt(f(0x7b))/0x7+-parseInt(f(0x80))/0x8+-parseInt(f(0x81))/0x9*(-parseInt(f(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xcfcbc));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x7f)]()[h(0x82)](h(0x89))[h(0x7f)]()[h(0x86)](a98a)[h(0x82)](h(0x89));});a98a();function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x7b;var f=c[d];return f;},a98d(a,b);}import'./test.command.js';import'./mocha.sub.cmd.js';import'./jest.sub.cmd.js';function a98c(){var i=['constructor','411304dkaZOO','apply','(((.+)+)+)+$','8648472UisbTa','3jppYAg','1045018yLSAvr','2478262jJaIDl','toString','6684984QNHhzB','9jPRlnH','search','25liSCdu','3458400LPqsoE','31786340tjvZJx'];a98c=function(){return i;};return a98c();}
1
+ (function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0x113))/0x1*(parseInt(f(0x118))/0x2)+parseInt(f(0x114))/0x3+-parseInt(f(0x11b))/0x4+parseInt(f(0x121))/0x5+parseInt(f(0x11d))/0x6*(parseInt(f(0x11a))/0x7)+-parseInt(f(0x120))/0x8*(-parseInt(f(0x116))/0x9)+parseInt(f(0x11c))/0xa*(-parseInt(f(0x11f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x1be80));var a98b=(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;};}()),a98a=a98b(this,function(){var g=a98d;return a98a[g(0x115)]()[g(0x117)]('(((.+)+)+)+$')[g(0x115)]()[g(0x119)](a98a)['search'](g(0x11e));});a98a();function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x113;var f=c[d];return f;},a98d(a,b);}import'./test.command.js';import'./mocha.sub.cmd.js';import'./jest.sub.cmd.js';function a98c(){var h=['39318NnZDbl','639303assYea','toString','21609mQclHY','search','10KlyXRo','constructor','7fIKJnK','454744PDQvcx','1761610JKSTSo','718458VffBAq','(((.+)+)+)+$','44oxgDNB','680zeoEAn','995575FTopgV'];a98c=function(){return h;};return a98c();}
@@ -1 +1 @@
1
- const a99r=a99d;function a99c(){const t=['onlyFailures','4iVfvhD','<rootDir>/$1','^.+\x5c.module\x5c.(css|sass|scss)$','watch','apply','<rootDir>/packages','apollo','<rootDir>/public','error','Coverage\x20report\x20generated\x20in\x20the\x20\x22coverage\x22\x20directory.','coverage','jest-css-modules-transform','identity-obj-proxy','@babel/plugin-syntax-jsx','runInBand','Run\x20only\x20failed\x20tests\x20from\x20the\x20last\x20run','94747KtIrUA','jest.config.js','babel-jest','getMakaProjectConfig','jest','1776ltCXef','template','4299086qhERAH','Run\x20a\x20Jest\x20test\x20suite\x20with\x20custom\x20options','Some\x20tests\x20failed.','54VXNsCm','Error\x20running\x20Jest:\x20','2TbSsMV','test/jest/jest.setup.js','exit','log','babel.config.js','Run\x20tests\x20sequentially\x20in\x20the\x20same\x20process','Generate\x20test\x20coverage\x20report','46653wOPWUr','findAppDirectory','10DZOUZN','1180512OGxuoq','237970DAEHkp','3522078eYEkfS','config','Run\x20Jest\x20in\x20watch\x20mode','scaffold','209833wVgubJ','jsdom','**/?(*.)+(app-tests).[tj]s?(x)','search','toString','service','create','isFile','join','engines','Specify\x20a\x20custom\x20Jest\x20config\x20file','<rootDir>/private','success','fsi','checkNpmPackage','clearCache','pkg','/node_modules/','/node_modules','6rNMXbv','@testing-library/react','eslint/babel.config.js','@apollo/react-testing','jest.setup.js','updateSnapshot','(((.+)+)+)+$','Runs\x20Jest\x20tests\x20in\x20the\x20specified\x20file\x20or\x20directory\x20with\x20optional\x20Jest\x20configurations,\x20including\x20coverage\x20reports.','runCLI'];a99c=function(){return t;};return a99c();}(function(a,b){const o=a99d,c=a();while(!![]){try{const d=-parseInt(o(0x124))/0x1*(parseInt(o(0x130))/0x2)+parseInt(o(0x137))/0x3*(-parseInt(o(0x114))/0x4)+-parseInt(o(0x13b))/0x5*(parseInt(o(0x10a))/0x6)+-parseInt(o(0x13c))/0x7+parseInt(o(0x13a))/0x8*(-parseInt(o(0x12e))/0x9)+-parseInt(o(0x139))/0xa*(parseInt(o(0x12b))/0xb)+parseInt(o(0x129))/0xc*(parseInt(o(0x140))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x6e41c));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a99d;if(c){const e=c[p(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const q=a99d;return a99a[q(0x144)]()[q(0x143)](q(0x110))[q(0x144)]()['constructor'](a99a)[q(0x143)](q(0x110));});a99a();import{Command}from'../../command.js';import a99e from'./test.command.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x108;let f=c[d];return f;},a99d(a,b);}import a99f from'jest';import a99g from'path';Command[a99r(0x146)]({'name':a99r(0x128),'usage':'maka\x20test:jest\x20<file|directory>\x20[--options]','shortDesc':a99r(0x12c),'description':a99r(0x111),'mustBeInMakaProject':!![],'validOpts':[{'name':a99r(0x117),'boolFlag':!![],'description':a99r(0x13e)},{'name':a99r(0x11e),'boolFlag':!![],'description':a99r(0x136)},{'name':a99r(0x10f),'boolFlag':!![],'description':'Update\x20Jest\x20snapshots'},{'name':a99r(0x122),'boolFlag':!![],'description':a99r(0x135)},{'name':a99r(0x113),'boolFlag':!![],'description':a99r(0x123)},{'name':a99r(0x13d),'description':a99r(0x14a),'regex':/^.+\.js$/},{'name':'clearCache','boolFlag':!![],'description':'Clear\x20Jest\x20cache\x20before\x20running\x20tests'}]},async function(a,b){const s=a99r,c=this['fsi'][s(0x138)](),d=this[s(0x14d)]['findProjectDirectory']();await this[s(0x150)][s(0x14e)]([s(0x10b),s(0x121),s(0x11f),s(0x120),'jest-environment-jsdom'],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});const e=this['cfg'][s(0x127)]();e[s(0x149)]['graphql']===s(0x11a)&&await this[s(0x150)][s(0x14e)]([s(0x10d)],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});if(b[s(0x14f)]){await a99f[s(0x112)]({'_':[],'$0':s(0x128),'clearCache':!![]},[c]);return;}const f=a99g['join'](d,s(0x13d),s(0x10e)),g=this['fsi'][s(0x147)](f);!g&&await this[s(0x13f)][s(0x12a)]({'srcPath':s(0x131),'destPath':f,'framework':'service','context':{'noRename':!![]}});const h=a99g[s(0x148)](c,s(0x125)),i=this[s(0x14d)][s(0x147)](h);!i&&await this[s(0x13f)]['template']({'srcPath':'test/jest/jest.config.js','destPath':h,'framework':s(0x145),'context':{'noRename':!![]}});const j=a99g[s(0x148)](c,s(0x134)),k=this[s(0x14d)][s(0x147)](j);!k&&await this[s(0x13f)][s(0x12a)]({'srcPath':s(0x10c),'destPath':j,'framework':'service','context':{'noRename':!![]}});const l={'_':a,'$0':s(0x128),'testEnvironment':s(0x141),'watch':b[s(0x117)]||![],'coverage':b[s(0x11e)]||![],'updateSnapshot':b[s(0x10f)]||![],'runInBand':b[s(0x122)]||![],'onlyFailures':b['onlyFailures']||![],'config':b['config']||undefined,'rootDir':c,'coverageDirectory':a99g['join'](d,s(0x11e)),'testPathIgnorePatterns':[s(0x109),s(0x119),s(0x11b),s(0x14b)],'testMatch':[s(0x142)],'transform':{'^.+\x5c.(js|jsx|ts|tsx)$':s(0x126),'.+\x5c.(css|styl|less|sass|scss)$':'jest-css-modules-transform'},'transformIgnorePatterns':[s(0x108),s(0x116)],'setupFiles':[f],'moduleNameMapper':{'\x5c.(css|less|scss)$':s(0x120),'^/(.*)$':s(0x115)}};try{const {results:m}=await a99f['runCLI'](l,[c]);m[s(0x14c)]?(console[s(0x133)]('Tests\x20completed\x20successfully.'),b[s(0x11e)]&&console['log'](s(0x11d))):(console[s(0x11c)](s(0x12d)),process[s(0x132)](0x1));}catch(n){console[s(0x11c)](s(0x12f)+n['message']),process[s(0x132)](0x1);}},a99e);
1
+ const a99r=a99d;(function(a,b){const o=a99d,c=a();while(!![]){try{const d=-parseInt(o(0x1af))/0x1+-parseInt(o(0x1e7))/0x2*(-parseInt(o(0x1ac))/0x3)+-parseInt(o(0x1ea))/0x4*(-parseInt(o(0x1c3))/0x5)+-parseInt(o(0x1dc))/0x6*(parseInt(o(0x1bc))/0x7)+-parseInt(o(0x1de))/0x8*(-parseInt(o(0x1bb))/0x9)+parseInt(o(0x1b1))/0xa+-parseInt(o(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xd7620));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a99d;if(c){const e=c[p(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const q=a99d;return a99a['toString']()[q(0x1c6)](q(0x1c7))[q(0x1cb)]()['constructor'](a99a)[q(0x1c6)](q(0x1c7));});function a99c(){const t=['Runs\x20Jest\x20tests\x20in\x20the\x20specified\x20file\x20or\x20directory\x20with\x20optional\x20Jest\x20configurations,\x20including\x20coverage\x20reports.','93SayLef','runCLI','onlyFailures','75971JHdRWG','apollo','6028650cnJbYi','exit','findAppDirectory','jest-css-modules-transform','log','cfg','jsdom','service','Run\x20a\x20Jest\x20test\x20suite\x20with\x20custom\x20options','@apollo/react-testing','1665WBwYuQ','580195bELqQD','graphql','fsi','template','jest.config.js','Update\x20Jest\x20snapshots','<rootDir>/$1','545335HKYtef','@testing-library/react','babel-jest','search','(((.+)+)+)+$','test/jest/jest.setup.js','<rootDir>/private','identity-obj-proxy','toString','create','**/?(*.)+(app-tests).[tj]s?(x)','eslint/babel.config.js','join','<rootDir>/public','error','@babel/plugin-syntax-jsx','Specify\x20a\x20custom\x20Jest\x20config\x20file','clearCache','engines','test/jest/jest.config.js','scaffold','Error\x20running\x20Jest:\x20','jest.setup.js','Run\x20only\x20failed\x20tests\x20from\x20the\x20last\x20run','getMakaProjectConfig','66cRntkD','maka\x20test:jest\x20<file|directory>\x20[--options]','63592tYBouN','runInBand','watch','Clear\x20Jest\x20cache\x20before\x20running\x20tests','jest','coverage','/node_modules','checkNpmPackage','Tests\x20completed\x20successfully.','2978KWhgCM','5145899QnyNrR','isFile','8LlCbhZ','jest-environment-jsdom','apply','pkg','Run\x20Jest\x20in\x20watch\x20mode','findProjectDirectory','config','updateSnapshot','success','/node_modules/','Some\x20tests\x20failed.'];a99c=function(){return t;};return a99c();}a99a();import{Command}from'../../command.js';import a99e from'./test.command.js';import a99f from'jest';import a99g from'path';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a99d(a,b);}Command[a99r(0x1cc)]({'name':'jest','usage':a99r(0x1dd),'shortDesc':a99r(0x1b9),'description':a99r(0x1ab),'mustBeInMakaProject':!![],'validOpts':[{'name':a99r(0x1e0),'boolFlag':!![],'description':a99r(0x1ee)},{'name':a99r(0x1e3),'boolFlag':!![],'description':'Generate\x20test\x20coverage\x20report'},{'name':a99r(0x1a7),'boolFlag':!![],'description':a99r(0x1c1)},{'name':a99r(0x1df),'boolFlag':!![],'description':'Run\x20tests\x20sequentially\x20in\x20the\x20same\x20process'},{'name':a99r(0x1ae),'boolFlag':!![],'description':a99r(0x1da)},{'name':'config','description':a99r(0x1d3),'regex':/^.+\.js$/},{'name':'clearCache','boolFlag':!![],'description':a99r(0x1e1)}]},async function(a,b){const s=a99r,c=this[s(0x1be)][s(0x1b3)](),d=this['fsi'][s(0x1ef)]();await this[s(0x1ed)][s(0x1e5)]([s(0x1c4),s(0x1d2),'jest-css-modules-transform',s(0x1ca),s(0x1eb)],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});const e=this[s(0x1b6)][s(0x1db)]();e[s(0x1d5)][s(0x1bd)]===s(0x1b0)&&await this[s(0x1ed)][s(0x1e5)]([s(0x1ba)],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});if(b[s(0x1d4)]){await a99f[s(0x1ad)]({'_':[],'$0':s(0x1e2),'clearCache':!![]},[c]);return;}const f=a99g[s(0x1cf)](d,s(0x1a6),s(0x1d9)),g=this[s(0x1be)][s(0x1e9)](f);!g&&await this[s(0x1d7)][s(0x1bf)]({'srcPath':s(0x1c8),'destPath':f,'framework':'service','context':{'noRename':!![]}});const h=a99g[s(0x1cf)](c,s(0x1c0)),i=this[s(0x1be)][s(0x1e9)](h);!i&&await this[s(0x1d7)][s(0x1bf)]({'srcPath':s(0x1d6),'destPath':h,'framework':s(0x1b8),'context':{'noRename':!![]}});const j=a99g[s(0x1cf)](c,'babel.config.js'),k=this['fsi']['isFile'](j);!k&&await this[s(0x1d7)][s(0x1bf)]({'srcPath':s(0x1ce),'destPath':j,'framework':'service','context':{'noRename':!![]}});const l={'_':a,'$0':s(0x1e2),'testEnvironment':s(0x1b7),'watch':b[s(0x1e0)]||![],'coverage':b[s(0x1e3)]||![],'updateSnapshot':b[s(0x1a7)]||![],'runInBand':b[s(0x1df)]||![],'onlyFailures':b[s(0x1ae)]||![],'config':b['config']||undefined,'rootDir':c,'coverageDirectory':a99g[s(0x1cf)](d,s(0x1e3)),'testPathIgnorePatterns':[s(0x1e4),'<rootDir>/packages',s(0x1d0),s(0x1c9)],'testMatch':[s(0x1cd)],'transform':{'^.+\x5c.(js|jsx|ts|tsx)$':s(0x1c5),'.+\x5c.(css|styl|less|sass|scss)$':s(0x1b4)},'transformIgnorePatterns':[s(0x1a9),'^.+\x5c.module\x5c.(css|sass|scss)$'],'setupFiles':[f],'moduleNameMapper':{'\x5c.(css|less|scss)$':'identity-obj-proxy','^/(.*)$':s(0x1c2)}};try{const {results:m}=await a99f[s(0x1ad)](l,[c]);m[s(0x1a8)]?(console['log'](s(0x1e6)),b[s(0x1e3)]&&console[s(0x1b5)]('Coverage\x20report\x20generated\x20in\x20the\x20\x22coverage\x22\x20directory.')):(console[s(0x1d1)](s(0x1aa)),process['exit'](0x1));}catch(n){console[s(0x1d1)](s(0x1d8)+n['message']),process[s(0x1b2)](0x1);}},a99e);
@@ -1 +1 @@
1
- const a100w=a100d;(function(a,b){const t=a100d,c=a();while(!![]){try{const d=parseInt(t(0x1e2))/0x1+parseInt(t(0x19e))/0x2+-parseInt(t(0x1bc))/0x3+parseInt(t(0x1b8))/0x4+parseInt(t(0x1b2))/0x5+-parseInt(t(0x1e3))/0x6*(-parseInt(t(0x1aa))/0x7)+-parseInt(t(0x1d2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x1b29e));const a100b=(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;};}()),a100a=a100b(this,function(){const u=a100d;return a100a[u(0x1bf)]()[u(0x1b4)](u(0x1d8))['toString']()[u(0x19d)](a100a)[u(0x1b4)]('(((.+)+)+)+$');});a100a();function a100c(){const z=['driver','forEach','config','--packages','cfg','process.env','constructor','34710RsYEjL','.maka','exit','@testing-library/dom\x20meteor-node-stubs\x20chai','fsi','jasmine','--driver','getEnvFromShorthand','isFile','concat','once','splice','21HUIAYR','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','test','warn','mocha','getAppConfigPath','port','sanjo:jasmine','405035kVoZZG','settings.json','search','createFile','--settings','env','449512DQoztI','notice','cwd','pkg','157020ndwWUO','inspect','findProjectDirectory','toString','test-packages','maka\x20install\x20meteor\x20--force','error','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','slice','readFileSync','rawLogs','driver-package','This\x20project\x20does\x20not\x20have\x20a\x20mocha\x20test\x20driver','driverPackage','--full-app','processAndRunGenerator','Node\x20Env\x20Config:\x20','utf8','unit','Meteor\x20is\x20installed.','local','2449344MRQfWf','argv','isMeteorInstalled','Meteor\x20Settings:\x20','config.json','inherit','(((.+)+)+)+$','engines','mpi','relative','checkNpmPackage','none','--env','meteortesting:mocha','join','invokeMeteorCommand','118129eeQQsa','281802pvajGR','packages','--driver-package'];a100c=function(){return z;};return a100c();}import a100e from'fs';import a100f from'path';import a100g from'dotenv';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x19d;let f=c[d];return f;},a100d(a,b);}import{execSync}from'child_process';import a100h from'./test.command.js';import a100i from'../../generators/maka.gen.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const v=a100d;a100e['openSync'](a,'r'),a100g[v(0x1e8)]({'path':a});};Command['create']({'name':'mocha','mustBeInMakaProject':!![],'validOpts':['once',a100w(0x1e4),'driver',a100w(0x1ca),a100w(0x1cf),a100w(0x1b7),a100w(0x1c7),a100w(0x1b0),a100w(0x1bd),'testAppPath'],'usage':'maka\x20test:mocha','aliases':['m'],'shortDesc':a100w(0x1c4),'examples':[]},async function(a,b){const x=a100w;try{this[x(0x1da)][x(0x1d4)]()?Log[x(0x1b9)](x(0x1d0)):(Log[x(0x1ad)](x(0x1ab)),execSync(x(0x1c1),{'stdio':x(0x1d7)}));this[x(0x1bb)][x(0x1dc)](x(0x1a1),{'shouldInstall':!![]});const c=b['env']?this[x(0x1ea)][x(0x1a5)](b[x(0x1b7)]):'local';(!b[x(0x1cf)]||!!b[x(0x1a8)])&&(a=a[x(0x1a7)]([x(0x1cb)]));b[x(0x1cf)]&&delete b[x(0x1cf)];let d=b[x(0x1c8)]||b[x(0x1e6)]||x(0x1dd);if(d==='none'){const l=JSON['parse'](a100e[x(0x1c6)](a100f['join'](this[x(0x1a2)][x(0x1be)](),x(0x19f),x(0x1d6)),x(0x1ce)));if(l[x(0x1d9)][x(0x1ac)]===x(0x1a3))d=x(0x1b1);else l[x(0x1d9)][x(0x1ac)]===x(0x1ae)&&(d=x(0x1df));}if(d===x(0x1dd))throw x(0x1c9);(!b['driver-package']||!b[x(0x1e6)])&&(a=a[x(0x1a7)]([x(0x1e5),d]));const f=this['cfg']['checkConfigExists']('local');if(!f){Log[x(0x1ad)]('Your\x20local\x20config\x20has\x20gone\x20missing,\x20remaking\x20it...');const m=this[x(0x1a2)]['findProjectDirectory']();await a100i[x(0x1cc)](x(0x1e8),[x(0x1d1)],{'cwd':m,'root':!![]});}const g=this[x(0x1ea)][x(0x1af)](c),h=a100f['join'](g,x(0x1eb));let i=a100f['join'](g,'settings.json');b['settings']?i=b['settings']:i=a100f[x(0x1e0)](g,x(0x1b3));if(this[x(0x1a2)][x(0x1a6)](h)){const n=a100f[x(0x1db)](process[x(0x1ba)](),h);Log[x(0x1b9)](x(0x1cd)+n),syncSource(h);}else{const o=a100f[x(0x1db)](process[x(0x1ba)](),h);Log['info']('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+o),this['fsi'][x(0x1b5)]({'filePath':h,'data':''});}if(this[x(0x1a2)][x(0x1a6)](i)){const p=a100f['relative'](process[x(0x1ba)](),i);Log[x(0x1b9)](x(0x1d5)+p),a=a[x(0x1a7)]([x(0x1b6),i]);}else{const q=a100f[x(0x1db)](process[x(0x1ba)](),i);Log['warn'](x(0x1c3)+q);}const j=process[x(0x1d3)][x(0x1c5)](0x2)['filter'](r=>r!==x(0x1de))['filter'](r=>r!==x(0x1ac))['filter'](r=>r!==a[0x0]);j[x(0x1e7)]((r,s)=>{const y=x;(r==='--env'||r===y(0x1a4))&&j[y(0x1a9)](s,0x2),r===y(0x1e9)&&j[y(0x1a9)](s,0x1);});const k=b[x(0x1e4)]?x(0x1c0):x(0x1ac);await this['mpi'][x(0x1e1)](k,a[x(0x1a7)](j));}catch(r){console[x(0x1c2)](r),process[x(0x1a0)](0x0);}},a100h);
1
+ const a100x=a100d;(function(a,b){const t=a100d,c=a();while(!![]){try{const d=parseInt(t(0x163))/0x1*(parseInt(t(0x133))/0x2)+parseInt(t(0x158))/0x3*(-parseInt(t(0x156))/0x4)+-parseInt(t(0x147))/0x5*(-parseInt(t(0x13a))/0x6)+-parseInt(t(0x167))/0x7+-parseInt(t(0x14b))/0x8*(-parseInt(t(0x168))/0x9)+parseInt(t(0x13d))/0xa*(-parseInt(t(0x17a))/0xb)+parseInt(t(0x173))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x9515f));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a100d;if(c){const e=c[u(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const v=a100d;return a100a[v(0x17c)]()[v(0x141)](v(0x165))[v(0x17c)]()[v(0x14d)](a100a)['search'](v(0x165));});a100a();import a100e from'fs';import a100f from'path';import a100g from'dotenv';import{execSync}from'child_process';import a100h from'./test.command.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x131;let f=c[d];return f;},a100d(a,b);}import a100i from'../../generators/maka.gen.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const w=a100d;a100e[w(0x145)](a,'r'),a100g['config']({'path':a});};function a100c(){const A=['3hTqAxK','getAppConfigPath','checkNpmPackage','Your\x20local\x20config\x20has\x20gone\x20missing,\x20remaking\x20it...','config.json','Meteor\x20Settings:\x20','--full-app','exit','checkConfigExists','none','join','3441EQkjlO','meteortesting:mocha','(((.+)+)+)+$','warn','3781057gyJsOa','135GBLHdk','config','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','mpi','maka\x20test:mocha','Meteor\x20is\x20installed.','env','relative','jasmine','argv','notice','3578676fhjGcd','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','pkg','forEach','--packages','cwd','209GVvfOJ','packages','toString','test','filter','578dDXooH','createFile','splice','local','once','utf8','rawLogs','48sJLuIs','create','maka\x20install\x20meteor\x20--force','597790sfRXja','inherit','port','settings','search','apply','unit','error','openSync','--env','615220ZpZZmL','test-packages','--driver-package','engines','430312nqVPNB','process.env','constructor','--driver','mocha','settings.json','isFile','Node\x20Env\x20Config:\x20','driverPackage','driver-package','concat','3189008IJTOwO','fsi'];a100c=function(){return A;};return a100c();}Command[a100x(0x13b)]({'name':a100x(0x14f),'mustBeInMakaProject':!![],'validOpts':[a100x(0x137),'packages','driver',a100x(0x153),'unit',a100x(0x16e),a100x(0x139),a100x(0x13f),'inspect','testAppPath'],'usage':a100x(0x16c),'aliases':['m'],'shortDesc':a100x(0x16a),'examples':[]},async function(a,b){const y=a100x;try{this[y(0x16b)]['isMeteorInstalled']()?Log['notice'](y(0x16d)):(Log[y(0x166)](y(0x175)),execSync(y(0x13c),{'stdio':y(0x13e)}));this[y(0x176)][y(0x15a)]('@testing-library/dom\x20meteor-node-stubs\x20chai',{'shouldInstall':!![]});const c=b[y(0x16e)]?this['cfg']['getEnvFromShorthand'](b['env']):y(0x136);(!b[y(0x143)]||!!b[y(0x137)])&&(a=a[y(0x155)]([y(0x15e)]));b[y(0x143)]&&delete b[y(0x143)];let d=b[y(0x154)]||b['driver']||y(0x161);if(d===y(0x161)){const l=JSON['parse'](a100e['readFileSync'](a100f['join'](this['fsi']['findProjectDirectory'](),'.maka',y(0x15c)),y(0x138)));if(l[y(0x14a)][y(0x131)]===y(0x170))d='sanjo:jasmine';else l[y(0x14a)]['test']===y(0x14f)&&(d=y(0x164));}if(d===y(0x161))throw'This\x20project\x20does\x20not\x20have\x20a\x20mocha\x20test\x20driver';(!b[y(0x154)]||!b['driver'])&&(a=a[y(0x155)]([y(0x149),d]));const f=this['cfg'][y(0x160)](y(0x136));if(!f){Log[y(0x166)](y(0x15b));const m=this[y(0x157)]['findProjectDirectory']();await a100i['processAndRunGenerator'](y(0x169),['local'],{'cwd':m,'root':!![]});}const g=this['cfg'][y(0x159)](c),h=a100f['join'](g,y(0x14c));let i=a100f[y(0x162)](g,'settings.json');b['settings']?i=b[y(0x140)]:i=a100f[y(0x162)](g,y(0x150));if(this[y(0x157)][y(0x151)](h)){const n=a100f[y(0x16f)](process[y(0x179)](),h);Log['notice'](y(0x152)+n),syncSource(h);}else{const o=a100f[y(0x16f)](process[y(0x179)](),h);Log['info']('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+o),this['fsi'][y(0x134)]({'filePath':h,'data':''});}if(this[y(0x157)][y(0x151)](i)){const p=a100f['relative'](process[y(0x179)](),i);Log[y(0x172)](y(0x15d)+p),a=a[y(0x155)](['--settings',i]);}else{const q=a100f['relative'](process[y(0x179)](),i);Log[y(0x166)](y(0x174)+q);}const j=process[y(0x171)]['slice'](0x2)[y(0x132)](r=>r!==y(0x146))['filter'](r=>r!==y(0x131))[y(0x132)](r=>r!==a[0x0]);j[y(0x177)]((r,s)=>{const z=y;(r===z(0x146)||r===z(0x14e))&&j['splice'](s,0x2),r===z(0x178)&&j[z(0x135)](s,0x1);});const k=b[y(0x17b)]?y(0x148):'test';await this[y(0x16b)]['invokeMeteorCommand'](k,a[y(0x155)](j));}catch(r){console[y(0x144)](r),process[y(0x15f)](0x0);}},a100h);
@@ -1 +1 @@
1
- const a101h=a101d;function a101c(){const i=['6229962KrUAiW','32fBwQRd','5RTHXtY','590474ttdrPX','22lXMEId','5BquBqu','\x0a\x20\x20\x20\x20Run\x20a\x20meteor\x20test\x20driver,\x20or\x20utilize\x20a\x20headless\x20test\x20suite.\x0a\x20\x20','toString','564552uvPelF','14495AzevHR','2421644XmsxcQ','7zwgQqP','22584WinjyK','(((.+)+)+)+$','4252176IQutvB','Run\x20a\x20Meteor\x20Test\x20Driver','search','test','7318960UfTQnp','constructor'];a101c=function(){return i;};return a101c();}(function(a,b){const f=a101d,c=a();while(!![]){try{const d=-parseInt(f(0xed))/0x1*(-parseInt(f(0xeb))/0x2)+parseInt(f(0xf6))/0x3+parseInt(f(0xf2))/0x4*(-parseInt(f(0xea))/0x5)+parseInt(f(0xe8))/0x6*(-parseInt(f(0xf3))/0x7)+-parseInt(f(0xe9))/0x8*(-parseInt(f(0xf0))/0x9)+-parseInt(f(0xe6))/0xa*(-parseInt(f(0xec))/0xb)+-parseInt(f(0xf4))/0xc*(parseInt(f(0xf1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0xd3741));function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xe3;let f=c[d];return f;},a101d(a,b);}const a101b=(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;};}()),a101a=a101b(this,function(){const g=a101d;return a101a[g(0xef)]()[g(0xe4)](g(0xf5))[g(0xef)]()[g(0xe7)](a101a)['search']('(((.+)+)+)+$');});a101a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const TestCommand=Command['create']({'name':a101h(0xe5),'usage':'maka\x20test:<sub-command>','shortDesc':a101h(0xe3),'description':a101h(0xee),'validOpts':[]},async function(){throw UsageError;});export default TestCommand;
1
+ const a101h=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=parseInt(f(0x175))/0x1*(-parseInt(f(0x17e))/0x2)+-parseInt(f(0x170))/0x3+-parseInt(f(0x16c))/0x4*(parseInt(f(0x176))/0x5)+-parseInt(f(0x177))/0x6*(-parseInt(f(0x16d))/0x7)+-parseInt(f(0x178))/0x8+parseInt(f(0x171))/0x9+-parseInt(f(0x16e))/0xa*(-parseInt(f(0x17c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x3f655));const a101b=(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;};}()),a101a=a101b(this,function(){const g=a101d;return a101a[g(0x172)]()[g(0x17a)](g(0x179))['toString']()['constructor'](a101a)['search'](g(0x179));});function a101c(){const i=['(((.+)+)+)+$','search','Run\x20a\x20Meteor\x20Test\x20Driver','1667171rSeBdS','\x0a\x20\x20\x20\x20Run\x20a\x20meteor\x20test\x20driver,\x20or\x20utilize\x20a\x20headless\x20test\x20suite.\x0a\x20\x20','2ANoqqF','24MmPhAo','1324757CIrOyd','30xGOLlU','test','587610iSUVyB','4140774bcMozD','toString','maka\x20test:<sub-command>','create','111196PELvYD','94655mUQDND','6SgwUkV','3389592bvEHIO'];a101c=function(){return i;};return a101c();}a101a();import{Command}from'../../command.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x16c;let f=c[d];return f;},a101d(a,b);}import{UsageError}from'../../error.js';const TestCommand=Command[a101h(0x174)]({'name':a101h(0x16f),'usage':a101h(0x173),'shortDesc':a101h(0x17b),'description':a101h(0x17d),'validOpts':[]},async function(){throw UsageError;});export default TestCommand;
@@ -1 +1 @@
1
- var a102i=a102d;(function(a,b){var f=a102d,c=a();while(!![]){try{var d=parseInt(f(0xd7))/0x1+-parseInt(f(0xd6))/0x2+-parseInt(f(0xe0))/0x3+parseInt(f(0xdf))/0x4*(parseInt(f(0xd5))/0x5)+parseInt(f(0xda))/0x6+parseInt(f(0xdd))/0x7+parseInt(f(0xd4))/0x8*(-parseInt(f(0xdc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x9ed92));function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0xd4;var f=c[d];return f;},a102d(a,b);}function a102c(){var j=['130BeKsvx','313852nXYEFt','446838hoiYbX','search','(((.+)+)+)+$','4930416jniLAK','undo','8808633PxEurF','2288181FhlUDb','apply','75620XrGxvs','902046ATplPH','toString','constructor','8PaRWYw'];a102c=function(){return j;};return a102c();}var a102b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a102d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){var h=a102d;return a102a[h(0xe1)]()['search'](h(0xd9))[h(0xe1)]()[h(0xe2)](a102a)[h(0xd8)](h(0xd9));});a102a();import{Command}from'../command.js';import a102e from'../generators/maka.gen.js';Command['create']({'name':a102i(0xdb),'aliases':['u'],'validOpts':[],'shortDesc':'Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','experimental':!![]},async function(){a102e['undo']();});
1
+ function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0x19d;var f=c[d];return f;},a102d(a,b);}function a102c(){var k=['(((.+)+)+)+$','3climTj','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','177431Lexpzy','19686GAIUGc','search','toString','undo','constructor','4975245eJyigf','831110rJnVxf','apply','801080ODvarY','create','1358584EQoBLM','12IpUKJN','773160vgegGd'];a102c=function(){return k;};return a102c();}var a102i=a102d;(function(a,b){var f=a102d,c=a();while(!![]){try{var d=-parseInt(f(0x1a0))/0x1+parseInt(f(0x1a1))/0x2+parseInt(f(0x19e))/0x3*(parseInt(f(0x1ab))/0x4)+parseInt(f(0x1ad))/0x5*(-parseInt(f(0x1ac))/0x6)+-parseInt(f(0x1a7))/0x7+-parseInt(f(0x1a9))/0x8+parseInt(f(0x1a6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x3007e));var a102b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a102d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){var h=a102d;return a102a[h(0x1a3)]()[h(0x1a2)](h(0x19d))[h(0x1a3)]()[h(0x1a5)](a102a)[h(0x1a2)](h(0x19d));});a102a();import{Command}from'../command.js';import a102e from'../generators/maka.gen.js';Command[a102i(0x1aa)]({'name':a102i(0x1a4),'aliases':['u'],'validOpts':[],'shortDesc':a102i(0x19f),'experimental':!![]},async function(){var j=a102i;a102e[j(0x1a4)]();});
@@ -1 +1 @@
1
- const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x14a))/0x1+-parseInt(j(0x135))/0x2*(parseInt(j(0x134))/0x3)+parseInt(j(0x15a))/0x4*(-parseInt(j(0x14b))/0x5)+-parseInt(j(0x143))/0x6+-parseInt(j(0x133))/0x7+-parseInt(j(0x145))/0x8*(parseInt(j(0x150))/0x9)+parseInt(j(0x132))/0xa*(parseInt(j(0x142))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x21e1d));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0x131)]()[l(0x13c)](l(0x14d))[l(0x131)]()[l(0x12f)](a103a)['search'](l(0x14d));});function a103c(){const o=['\x20uninstalled.','filter','702732QBaswb','rmSync','info','confirm','constructor','version','toString','1803110DCyGOE','1815289vANdrC','159690DslBFn','4CxlMAN','maka\x20uninstall\x20[version]','\x20is\x20not\x20installed.','No\x20Meteor\x20versions\x20installed.','homedir','Meteor\x20','Removing\x20Meteor\x20','search','Select\x20a\x20Meteor\x20version\x20to\x20uninstall:','meteor','exit','\x20(Windows\x20fallback)','length','77hYcuBS','1242642JQqHLi','Uninstall\x20a\x20specific\x20Meteor\x20version','24eMlqIx','readdirSync','uninstall','create','Meteor\x20version\x20','189479TvWxkE','5lzsEeJ','join','(((.+)+)+)+$','error','win32','556020bNWIwo','existsSync','apply','notice','remove','platform','rmdir','releases'];a103c=function(){return o;};return a103c();}a103a();import a103e from'fs';import a103f from'os';import a103g from'path';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x12c;let f=c[d];return f;},a103d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';Command[a103m(0x148)]({'name':a103m(0x147),'aliases':['rm',a103m(0x154)],'shortDesc':a103m(0x144),'usage':a103m(0x136),'validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const n=a103m;try{const b=process[n(0x155)]===n(0x14f),c=b?'meteor.bat':n(0x13e),d=a103g[n(0x14c)](a103f[n(0x139)](),'.meteor',n(0x157));!a103e[n(0x151)](d)&&(Log[n(0x14e)](n(0x138)),process[n(0x13f)](0x1));const e=a103e[n(0x146)](d)[n(0x159)](i=>a103e['existsSync'](a103g[n(0x14c)](d,i,'.meteor',c)));e['length']===0x0&&(Log[n(0x14e)](n(0x138)),process[n(0x13f)](0x1));let f=a[0x0];!f?e[n(0x141)]===0x1?f=e[0x0]['toString']():(Log[n(0x153)]('You\x20have\x20multiple\x20Meteor\x20installations'),f=await Actions['select']({'message':n(0x13d),'name':n(0x130),'choices':e['map'](i=>({'value':i,'name':i}))})):f=f[n(0x131)]();const g=a103g[n(0x14c)](d,f);!a103e[n(0x151)](g)&&(Log[n(0x14e)](n(0x149)+f+n(0x137)),process[n(0x13f)](0x1));const h=await Actions[n(0x12e)]('Are\x20you\x20sure\x20you\x20want\x20to\x20uninstall\x20Meteor\x20'+f+'?',![]);!h&&(Log[n(0x12d)]('Aborted.'),process[n(0x13f)](0x0)),a103e[n(0x12c)](g,{'recursive':!![],'force':!![]}),a103e['existsSync'](g)&&b&&await SpawnAsync['withSpinner'](n(0x156),['/s','/q',g],{'message':n(0x13b)+f+n(0x140)}),Log['success'](n(0x13a)+f+n(0x158));}catch(i){Log['error'](i),process[n(0x13f)](0x1);}});
1
+ const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=-parseInt(j(0x1fb))/0x1*(parseInt(j(0x1f3))/0x2)+-parseInt(j(0x1dd))/0x3*(-parseInt(j(0x208))/0x4)+-parseInt(j(0x1e8))/0x5+parseInt(j(0x1ed))/0x6*(-parseInt(j(0x206))/0x7)+-parseInt(j(0x1f7))/0x8+parseInt(j(0x1f6))/0x9*(parseInt(j(0x1df))/0xa)+parseInt(j(0x1e7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x5006d));function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1db;let f=c[d];return f;},a103d(a,b);}const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0x1ff)]()['search'](l(0x203))['toString']()[l(0x1e2)](a103a)[l(0x1f1)](l(0x203));});a103a();import a103e from'fs';import a103f from'os';import a103g from'path';import{Log}from'../tools/log/log.class.js';function a103c(){const o=['select','104COyMPp','create','homedir','Are\x20you\x20sure\x20you\x20want\x20to\x20uninstall\x20Meteor\x20','withSpinner','map','You\x20have\x20multiple\x20Meteor\x20installations','3033AZUupY','Meteor\x20','1090uNIuye','meteor','success','constructor','uninstall','meteor.bat','join','filter','21694563OSaxzU','1872435agFyTD','remove','rmSync','exit','Select\x20a\x20Meteor\x20version\x20to\x20uninstall:','13506hNejMX','rmdir','Meteor\x20version\x20','.meteor','search','version','2168SUGwWU','existsSync','releases','63ishyUc','2964360dNrSlu','\x20uninstalled.','apply','length','267WCNfCQ','No\x20Meteor\x20versions\x20installed.','error','confirm','toString','readdirSync','\x20(Windows\x20fallback)','win32','(((.+)+)+)+$','info','notice','1981SlcaJO'];a103c=function(){return o;};return a103c();}import{Command}from'../command.js';import{Actions}from'../tools/actions/actions.class.js';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';Command[a103m(0x209)]({'name':a103m(0x1e3),'aliases':['rm',a103m(0x1e9)],'shortDesc':'Uninstall\x20a\x20specific\x20Meteor\x20version','usage':'maka\x20uninstall\x20[version]','validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const n=a103m;try{const b=process['platform']===n(0x202),c=b?n(0x1e4):n(0x1e0),d=a103g[n(0x1e5)](a103f[n(0x20a)](),n(0x1f0),n(0x1f5));!a103e[n(0x1f4)](d)&&(Log[n(0x1fd)]('No\x20Meteor\x20versions\x20installed.'),process[n(0x1eb)](0x1));const e=a103e[n(0x200)](d)[n(0x1e6)](i=>a103e[n(0x1f4)](a103g[n(0x1e5)](d,i,'.meteor',c)));e[n(0x1fa)]===0x0&&(Log[n(0x1fd)](n(0x1fc)),process['exit'](0x1));let f=a[0x0];!f?e['length']===0x1?f=e[0x0]['toString']():(Log[n(0x205)](n(0x1dc)),f=await Actions[n(0x207)]({'message':n(0x1ec),'name':n(0x1f2),'choices':e[n(0x1db)](i=>({'value':i,'name':i}))})):f=f[n(0x1ff)]();const g=a103g['join'](d,f);!a103e[n(0x1f4)](g)&&(Log['error'](n(0x1ef)+f+'\x20is\x20not\x20installed.'),process[n(0x1eb)](0x1));const h=await Actions[n(0x1fe)](n(0x20b)+f+'?',![]);!h&&(Log[n(0x204)]('Aborted.'),process[n(0x1eb)](0x0)),a103e[n(0x1ea)](g,{'recursive':!![],'force':!![]}),a103e[n(0x1f4)](g)&&b&&await SpawnAsync[n(0x20c)](n(0x1ee),['/s','/q',g],{'message':'Removing\x20Meteor\x20'+f+n(0x201)}),Log[n(0x1e1)](n(0x1de)+f+n(0x1f8));}catch(i){Log['error'](i),process[n(0x1eb)](0x1);}});
@@ -1 +1 @@
1
- function a104d(a,b){var c=a104c();return a104d=function(d,e){d=d-0x178;var f=c[d];return f;},a104d(a,b);}function a104c(){var h=['constructor','2513301SgQrox','357176FLVpVM','search','(((.+)+)+)+$','1543731AKtceh','8764OmZcOY','117KolyXL','toString','272874JeNTHI','532913PKHmIn','452060sRKloY','565CvujoB'];a104c=function(){return h;};return a104c();}(function(a,b){var f=a104d,c=a();while(!![]){try{var d=-parseInt(f(0x178))/0x1+parseInt(f(0x179))/0x2+parseInt(f(0x180))/0x3+-parseInt(f(0x181))/0x4*(-parseInt(f(0x17a))/0x5)+parseInt(f(0x184))/0x6+parseInt(f(0x17c))/0x7+parseInt(f(0x17d))/0x8*(-parseInt(f(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x4435c));var a104b=(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;};}()),a104a=a104b(this,function(){var g=a104d;return a104a[g(0x183)]()[g(0x17e)](g(0x17f))['toString']()[g(0x17b)](a104a)[g(0x17e)](g(0x17f));});a104a();import'./version.js';import'./use.sub.cmd.js';import'./list.sub.cmd.js';
1
+ function a104d(a,b){var c=a104c();return a104d=function(d,e){d=d-0x1f4;var f=c[d];return f;},a104d(a,b);}(function(a,b){var f=a104d,c=a();while(!![]){try{var d=parseInt(f(0x1f8))/0x1+parseInt(f(0x1f4))/0x2*(parseInt(f(0x201))/0x3)+-parseInt(f(0x1fd))/0x4*(-parseInt(f(0x1fc))/0x5)+parseInt(f(0x1f7))/0x6+-parseInt(f(0x1f6))/0x7+-parseInt(f(0x1fe))/0x8+-parseInt(f(0x1fa))/0x9*(parseInt(f(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xe0886));var a104b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a104d;if(c){var e=c[g(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){var h=a104d;return a104a[h(0x200)]()[h(0x202)]('(((.+)+)+)+$')[h(0x200)]()[h(0x1f5)](a104a)[h(0x202)](h(0x1fb));});a104a();import'./version.js';function a104c(){var i=['(((.+)+)+)+$','65qgvEqB','207964nOnZNw','638192flRudc','apply','toString','707412xnsIpW','search','2oYOrOp','constructor','7690137HdrdrF','10389480fLjcUS','334987TkbiWA','48630QgqrsC','1629orbvdb'];a104c=function(){return i;};return a104c();}import'./use.sub.cmd.js';import'./list.sub.cmd.js';
@@ -1 +1 @@
1
- function a105c(){const s=['existsSync','list','1630984dVVhru','.meteor','4887904LxZZyi','4Psbdtf','Installed\x20Meteor\x20versions:\x0a','meteor','readdirSync','exit','meteor.bat','length','\x20(active)','filter','bin','18dqJjeE','1164380qeCEjZ','homedir','maka\x20version:list','22166130BYtPvI','log','804543oFIJdT','info','create','win32','toString','platform','10891MMwmOK','join','5sSBrtt','search','(((.+)+)+)+$','4002738PGORNC','List\x20installed\x20Meteor\x20versions','error','releases'];a105c=function(){return s;};return a105c();}function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x135;let f=c[d];return f;},a105d(a,b);}const a105p=a105d;(function(a,b){const n=a105d,c=a();while(!![]){try{const d=parseInt(n(0x136))/0x1*(-parseInt(n(0x144))/0x2)+-parseInt(n(0x154))/0x3+parseInt(n(0x14f))/0x4+-parseInt(n(0x138))/0x5*(parseInt(n(0x13b))/0x6)+-parseInt(n(0x143))/0x7+parseInt(n(0x141))/0x8*(-parseInt(n(0x14e))/0x9)+parseInt(n(0x152))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x6c8bc));const a105b=(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;};}()),a105a=a105b(this,function(){const o=a105d;return a105a[o(0x158)]()[o(0x139)](o(0x13a))[o(0x158)]()['constructor'](a105a)[o(0x139)](o(0x13a));});a105a();import a105e from'fs';import a105f from'os';import a105g from'path';import a105h from'./version.js';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';Command[a105p(0x156)]({'name':a105p(0x140),'aliases':['ls'],'shortDesc':a105p(0x13c),'usage':a105p(0x151),'validOpts':[],'requiredOpts':[]},async function(){const q=a105p;try{const a=process[q(0x135)]===q(0x157),b=a?q(0x149):q(0x146),c=a105g[q(0x137)](a105f[q(0x150)](),q(0x142),q(0x13e)),d=a105g[q(0x137)](a105f[q(0x150)](),q(0x142),q(0x14d),b);let f=null;if(a105e[q(0x13f)](d))try{const h=a105e['realpathSync'](d);console[q(0x153)](h);const i=h['match'](/releases[\\/](.+?)[\\/]\.meteor[\\/]meteor(\.bat)?$/);if(i)f=i[0x1];}catch(j){f=null;}if(!a105e[q(0x13f)](c)){Log[q(0x155)]('No\x20Meteor\x20versions\x20installed.');return;}const g=a105e[q(0x147)](c)[q(0x14c)](k=>a105e['existsSync'](a105g[q(0x137)](c,k,q(0x142),b)));if(g[q(0x14a)]===0x0){Log[q(0x155)]('No\x20Meteor\x20versions\x20installed.');return;}Log[q(0x155)](q(0x145)),g['forEach'](k=>{const r=q,l=k===f?'*':'\x20',m=k===f?k+r(0x14b):k;console['log'](l+'\x20'+m);}),console[q(0x153)]();}catch(k){Log[q(0x13d)](k),process[q(0x148)](0x1);}},a105h);
1
+ const a105p=a105d;(function(a,b){const n=a105d,c=a();while(!![]){try{const d=-parseInt(n(0x1e5))/0x1+parseInt(n(0x1da))/0x2*(-parseInt(n(0x1f7))/0x3)+parseInt(n(0x1de))/0x4+-parseInt(n(0x1d8))/0x5+-parseInt(n(0x1df))/0x6+parseInt(n(0x1d6))/0x7+parseInt(n(0x1db))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x2f66b));const a105b=(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;};}()),a105a=a105b(this,function(){const o=a105d;return a105a[o(0x1f1)]()[o(0x1e0)](o(0x1dc))[o(0x1f1)]()[o(0x1ec)](a105a)[o(0x1e0)](o(0x1dc));});a105a();import a105e from'fs';import a105f from'os';import a105g from'path';function a105c(){const s=['1641195yyWMUB','forEach','22YEJbAT','9157560rvseSb','(((.+)+)+)+$','log','172052fZEaUI','2072526EUCrNM','search','.meteor','match','releases','join','206879aNRacC','maka\x20version:list','exit','homedir','readdirSync','List\x20installed\x20Meteor\x20versions','No\x20Meteor\x20versions\x20installed.','constructor','create','meteor','info','realpathSync','toString','error','filter','length','existsSync','\x20(active)','95679xFRcCu','win32','1664663qlbciY','platform'];a105c=function(){return s;};return a105c();}import a105h from'./version.js';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a105d(a,b);}Command[a105p(0x1ed)]({'name':'list','aliases':['ls'],'shortDesc':a105p(0x1ea),'usage':a105p(0x1e6),'validOpts':[],'requiredOpts':[]},async function(){const q=a105p;try{const a=process[q(0x1d7)]===q(0x1f8),b=a?'meteor.bat':q(0x1ee),c=a105g[q(0x1e4)](a105f[q(0x1e8)](),q(0x1e1),q(0x1e3)),d=a105g[q(0x1e4)](a105f['homedir'](),'.meteor','bin',b);let f=null;if(a105e[q(0x1f5)](d))try{const h=a105e[q(0x1f0)](d);console['log'](h);const i=h[q(0x1e2)](/releases[\\/](.+?)[\\/]\.meteor[\\/]meteor(\.bat)?$/);if(i)f=i[0x1];}catch(j){f=null;}if(!a105e[q(0x1f5)](c)){Log['info']('No\x20Meteor\x20versions\x20installed.');return;}const g=a105e[q(0x1e9)](c)[q(0x1f3)](k=>a105e[q(0x1f5)](a105g[q(0x1e4)](c,k,q(0x1e1),b)));if(g[q(0x1f4)]===0x0){Log[q(0x1ef)](q(0x1eb));return;}Log[q(0x1ef)]('Installed\x20Meteor\x20versions:\x0a'),g[q(0x1d9)](k=>{const r=q,l=k===f?'*':'\x20',m=k===f?k+r(0x1f6):k;console[r(0x1dd)](l+'\x20'+m);}),console[q(0x1dd)]();}catch(k){Log[q(0x1f2)](k),process[q(0x1e7)](0x1);}},a105h);
@@ -1 +1 @@
1
- const a106m=a106d;(function(a,b){const k=a106d,c=a();while(!![]){try{const d=-parseInt(k(0x1b1))/0x1*(parseInt(k(0x1af))/0x2)+-parseInt(k(0x187))/0x3+parseInt(k(0x196))/0x4+-parseInt(k(0x195))/0x5*(parseInt(k(0x192))/0x6)+-parseInt(k(0x19a))/0x7+parseInt(k(0x199))/0x8+parseInt(k(0x18a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x84355));const a106b=(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;};}()),a106a=a106b(this,function(){const l=a106d;return a106a[l(0x1ac)]()[l(0x1ad)](l(0x18b))['toString']()['constructor'](a106a)['search'](l(0x18b));});a106a();import a106e from'fs';import a106f from'os';import a106g from'path';import a106h from'../maka.cmd.js';import a106i from'./version.js';import{Log}from'../../tools/log/log.class.js';function a106c(){const o=['(((.+)+)+)+$','meteor.bat','writeFileSync','filter','\x20is\x20not\x20installed.','maka\x20version:use\x20[version]','use','1059276bKrouO','select','win32','20ylIWXB','1775688ppeXCG','length','VERSION','6457912quIcnS','491946tVYmTv','join','Install\x20version\x20','create','linkVersionAsCurrent','notice','install','meteor','readdirSync','exit','.meteor','utf8','error','releases','existsSync','Meteor\x20version\x20','No\x20Meteor\x20versions\x20installed.','platform','toString','search','processAndRunCommand','386iPHpgJ','homedir','479nzYOPk','version','1802094MmsmHd','Set\x20a\x20current\x20Meteor\x20version','map','6839739kKXFax'];a106c=function(){return o;};return a106c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x187;let f=c[d];return f;},a106d(a,b);}Command[a106m(0x19d)]({'name':a106m(0x191),'aliases':['u'],'shortDesc':a106m(0x188),'usage':a106m(0x190),'validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const n=a106m;try{const {mpi:b}=this,c=process[n(0x1ab)]===n(0x194),d=c?n(0x18c):n(0x1a1),e=a106g[n(0x19b)](a106f[n(0x1b0)](),n(0x1a4),n(0x1a7));!a106e['existsSync'](e)&&(Log['error'](n(0x1aa)),process[n(0x1a3)](0x1));const f=a106e[n(0x1a2)](e)[n(0x18e)](i=>a106e[n(0x1a8)](a106g[n(0x19b)](e,i,n(0x1a4),d)));f[n(0x197)]===0x0&&(Log[n(0x1a6)](n(0x1aa)),process[n(0x1a3)](0x1));let g=a[0x0];!g?f[n(0x197)]===0x1?g=f[0x0][n(0x1ac)]():(Log[n(0x19f)]('You\x20have\x20multiple\x20Meteor\x20installations'),g=await Actions[n(0x193)]({'message':'Select\x20a\x20Meteor\x20version\x20to\x20use:','name':n(0x1b2),'choices':f[n(0x189)](i=>({'value':i,'name':i}))})):g=g[n(0x1ac)]();const h=a106g[n(0x19b)](e,g,n(0x1a4),d);if(!a106e[n(0x1a8)](h)){Log[n(0x1a6)](n(0x1a9)+g+n(0x18f));const i=await Actions['confirm'](n(0x19c)+g+'?',!![]);i&&await a106h[n(0x1ae)](n(0x1a0),[n(0x1a1)],{'release':g});}b[n(0x19e)](g),a106e[n(0x18d)](a106g[n(0x19b)](a106f['homedir'](),n(0x1a4),n(0x198)),g,n(0x1a5)),Log['success']('Now\x20using\x20Meteor\x20'+g);}catch(j){Log[n(0x1a6)](j),process['exit'](0x1);}},a106i);
1
+ const a106n=a106d;(function(a,b){const k=a106d,c=a();while(!![]){try{const d=parseInt(k(0x134))/0x1*(-parseInt(k(0x121))/0x2)+-parseInt(k(0x125))/0x3+parseInt(k(0x12c))/0x4+-parseInt(k(0x137))/0x5+parseInt(k(0x13c))/0x6*(-parseInt(k(0x135))/0x7)+-parseInt(k(0x115))/0x8+parseInt(k(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xce1b4));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a106d;if(c){const e=c[l(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const m=a106d;return a106a[m(0x13d)]()[m(0x111)](m(0x123))['toString']()['constructor'](a106a)['search'](m(0x123));});a106a();import a106e from'fs';function a106c(){const p=['(((.+)+)+)+$','readdirSync','4022139SMSlOO','platform','No\x20Meteor\x20versions\x20installed.','map','Now\x20using\x20Meteor\x20','maka\x20version:use\x20[version]','Install\x20version\x20','6366468HcGdZl','length','create','Set\x20a\x20current\x20Meteor\x20version','meteor.bat','\x20is\x20not\x20installed.','notice','confirm','7dYPWHt','245bsNWMk','existsSync','6084965dwOPak','Select\x20a\x20Meteor\x20version\x20to\x20use:','homedir','version','install','219918ICwIio','toString','search','VERSION','filter','writeFileSync','5886584rlxVgY','apply','error','processAndRunCommand','meteor','46574325DhWALn','.meteor','utf8','success','You\x20have\x20multiple\x20Meteor\x20installations','join','use','384556krJveO','Meteor\x20version\x20'];a106c=function(){return p;};return a106c();}import a106f from'os';import a106g from'path';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x111;let f=c[d];return f;},a106d(a,b);}import a106h from'../maka.cmd.js';import a106i from'./version.js';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a106n(0x12e)]({'name':a106n(0x120),'aliases':['u'],'shortDesc':a106n(0x12f),'usage':a106n(0x12a),'validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const o=a106n;try{const {mpi:b}=this,c=process[o(0x126)]==='win32',d=c?o(0x130):o(0x119),e=a106g['join'](a106f['homedir'](),o(0x11b),'releases');!a106e[o(0x136)](e)&&(Log[o(0x117)]('No\x20Meteor\x20versions\x20installed.'),process['exit'](0x1));const f=a106e[o(0x124)](e)[o(0x113)](i=>a106e['existsSync'](a106g[o(0x11f)](e,i,'.meteor',d)));f[o(0x12d)]===0x0&&(Log[o(0x117)](o(0x127)),process['exit'](0x1));let g=a[0x0];!g?f[o(0x12d)]===0x1?g=f[0x0][o(0x13d)]():(Log[o(0x132)](o(0x11e)),g=await Actions['select']({'message':o(0x138),'name':o(0x13a),'choices':f[o(0x128)](i=>({'value':i,'name':i}))})):g=g[o(0x13d)]();const h=a106g[o(0x11f)](e,g,'.meteor',d);if(!a106e[o(0x136)](h)){Log['error'](o(0x122)+g+o(0x131));const i=await Actions[o(0x133)](o(0x12b)+g+'?',!![]);i&&await a106h[o(0x118)](o(0x13b),[o(0x119)],{'release':g});}b['linkVersionAsCurrent'](g),a106e[o(0x114)](a106g['join'](a106f[o(0x139)](),o(0x11b),o(0x112)),g,o(0x11c)),Log[o(0x11d)](o(0x129)+g);}catch(j){Log['error'](j),process['exit'](0x1);}},a106i);
@@ -1 +1 @@
1
- const a107k=a107d;(function(a,b){const h=a107d,c=a();while(!![]){try{const d=parseInt(h(0x1d7))/0x1*(parseInt(h(0x1d1))/0x2)+-parseInt(h(0x1e4))/0x3+parseInt(h(0x1cd))/0x4*(parseInt(h(0x1e7))/0x5)+-parseInt(h(0x1d4))/0x6*(parseInt(h(0x1da))/0x7)+-parseInt(h(0x1c7))/0x8*(parseInt(h(0x1db))/0x9)+-parseInt(h(0x1e6))/0xa*(-parseInt(h(0x1d0))/0xb)+parseInt(h(0x1ce))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xbba57));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a107d;if(c){const e=c[i(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const j=a107d;return a107a[j(0x1cb)]()[j(0x1e9)](j(0x1cc))['toString']()[j(0x1ec)](a107a)[j(0x1e9)]('(((.+)+)+)+$');});function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a107d(a,b);}a107a();import a107e from'semver';function a107c(){const m=['getGlobalMeteorVersion','\x0a\x20\x20***\x20VERBOSE\x20FLAG\x20DISABLED\x20DUE\x20TO\x20METEOR\x20CHECK\x20ON\x20VERSION\x20<\x203.0\x20***\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','----------------------Project----------------------------','toString','(((.+)+)+)+$','2278852cBjRYd','10953780OkNFxa','maka\x20v','11EmWGzE','4564sOcveV','Project\x27s\x20Meteor\x20Version\x20','Maka\x20','186BiZOBQ','5.1.16','apply','590UTVhXS','notice','getProjectMeteorVersion','310653VAngSV','67707cjjTJx','create','fsi','compareMakaToLatest','replace','maka\x20version','majestic','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','exit','3221814IluutX','error','13447990tUWFao','5LYUgcd','----------------------System----------------------------','search','warn','System\x27s\x20Meteor\x20Version\x20','constructor','bright','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','version','verbose','1016hOAgEs'];a107c=function(){return m;};return a107c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const pjson={'version':a107k(0x1d5)},Version=Command[a107k(0x1dc)]({'name':a107k(0x1c5),'aliases':['v'],'usage':a107k(0x1e0),'maxArgLength':0x1,'validOpts':[a107k(0x1c6)],'shortDesc':a107k(0x1e2),'examples':[a107k(0x1cf),'maka\x20version'],'description':a107k(0x1c9)},async function(a,b){const l=a107k;try{Log[l(0x1e1)](l(0x1d3)+pjson[l(0x1c5)]),await this['fsi']['compareMakaToLatest']();if(b[l(0x1c6)]){await this[l(0x1dd)][l(0x1de)](),Log[l(0x1ed)](l(0x1e8));const c=await this['mpi'][l(0x1c8)]();Log['bright']((l(0x1eb)+c)[l(0x1df)]('\x0a',''));if(this[l(0x1dd)]['isMakaProject']()){Log['bright'](l(0x1ca));const d=this[l(0x1dd)][l(0x1d9)]();try{!a107e['valid'](d)?Log[l(0x1ea)](l(0x1d2)+d[l(0x1df)]('\x0a','')):Log[l(0x1d8)](l(0x1d2)+d[l(0x1df)]('\x0a',''));}catch(f){Log[l(0x1e5)]('An\x20error\x20occurred\x20while\x20processing\x20the\x20Meteor\x20version:\x20'+f),Log[l(0x1e5)]('This\x20often\x20happens\x20when\x20Meteor\x20doesn\x27t\x20use\x20SemVer');}Log[l(0x1ed)](l(0x1ee));}}}catch(g){console[l(0x1e5)](g),process[l(0x1e3)](0x0);}});export default Version;
1
+ const a107k=a107d;(function(a,b){const h=a107d,c=a();while(!![]){try{const d=parseInt(h(0x1e6))/0x1+-parseInt(h(0x1ec))/0x2*(-parseInt(h(0x1f4))/0x3)+parseInt(h(0x1e2))/0x4+parseInt(h(0x1df))/0x5+-parseInt(h(0x201))/0x6*(-parseInt(h(0x1ff))/0x7)+-parseInt(h(0x1fd))/0x8*(parseInt(h(0x1db))/0x9)+-parseInt(h(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xbdaab));const a107b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a107d;if(c){const e=c[i(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){const j=a107d;return a107a[j(0x1f5)]()['search']('(((.+)+)+)+$')['toString']()[j(0x1f2)](a107a)[j(0x1f0)](j(0x1e9));});a107a();import a107e from'semver';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const pjson={'version':a107k(0x1e3)},Version=Command[a107k(0x1f1)]({'name':a107k(0x1e4),'aliases':['v'],'usage':a107k(0x1de),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a107k(0x1f6),'examples':[a107k(0x1fa),a107k(0x1de)],'description':a107k(0x200)},async function(a,b){const l=a107k;try{Log[l(0x1f7)](l(0x1fe)+pjson[l(0x1e4)]),await this['fsi'][l(0x1f3)]();if(b[l(0x1e7)]){await this['fsi']['compareMakaToLatest'](),Log[l(0x1ef)]('----------------------System----------------------------');const c=await this[l(0x1eb)]['getGlobalMeteorVersion']();Log[l(0x1ef)]((l(0x1e0)+c)[l(0x1dd)]('\x0a',''));if(this[l(0x1ed)][l(0x202)]()){Log['bright'](l(0x1fb));const d=this['fsi']['getProjectMeteorVersion']();try{!a107e['valid'](d)?Log[l(0x1ee)](l(0x1ea)+d[l(0x1dd)]('\x0a','')):Log[l(0x1f9)]('Project\x27s\x20Meteor\x20Version\x20'+d[l(0x1dd)]('\x0a',''));}catch(f){Log[l(0x1e5)](l(0x1f8)+f),Log[l(0x1e5)]('This\x20often\x20happens\x20when\x20Meteor\x20doesn\x27t\x20use\x20SemVer');}Log['bright'](l(0x1dc));}}}catch(g){console[l(0x1e5)](g),process[l(0x1e8)](0x0);}});export default Version;function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x1db;let f=c[d];return f;},a107d(a,b);}function a107c(){const m=['toString','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','majestic','An\x20error\x20occurred\x20while\x20processing\x20the\x20Meteor\x20version:\x20','notice','maka\x20v','----------------------Project----------------------------','apply','1910536CzCwwt','Maka\x20','2828onNFKs','\x0a\x20\x20***\x20VERBOSE\x20FLAG\x20DISABLED\x20DUE\x20TO\x20METEOR\x20CHECK\x20ON\x20VERSION\x20<\x203.0\x20***\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','13836NJowac','isMakaProject','54XBOJiI','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','replace','maka\x20version','844080RWMjgD','System\x27s\x20Meteor\x20Version\x20','8716660nPIkmj','1693656lgMJvz','5.1.18','version','error','1281620KZUjra','verbose','exit','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','mpi','551938gFIgWe','fsi','warn','bright','search','create','constructor','compareMakaToLatest','3sbMIoH'];a107c=function(){return m;};return a107c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a108d,c=a();while(!![]){try{var d=-parseInt(f(0x88))/0x1+-parseInt(f(0x89))/0x2+-parseInt(f(0x85))/0x3+parseInt(f(0x83))/0x4*(parseInt(f(0x8d))/0x5)+parseInt(f(0x8c))/0x6+parseInt(f(0x84))/0x7+parseInt(f(0x8e))/0x8*(parseInt(f(0x86))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xc4051));function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x83;var f=c[d];return f;},a108d(a,b);}var a108b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a108d;if(c){var e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){var h=a108d;return a108a[h(0x8f)]()['search']('(((.+)+)+)+$')[h(0x8f)]()[h(0x8a)](a108a)['search'](h(0x8b));});a108a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}export class MustBeLoggedIn{}function a108c(){var i=['1377696GfYDFY','constructor','(((.+)+)+)+$','1305588SBPqDj','5145vdikzX','8KEZZbD','toString','636Yijoas','8626702NgAyUG','1932768rVcQkK','11645973CAJDwt','apply','771591rptlnj'];a108c=function(){return i;};return a108c();}
1
+ (function(a,b){var f=a108d,c=a();while(!![]){try{var d=-parseInt(f(0x1dd))/0x1*(-parseInt(f(0x1de))/0x2)+parseInt(f(0x1d6))/0x3+-parseInt(f(0x1d5))/0x4*(-parseInt(f(0x1db))/0x5)+-parseInt(f(0x1d0))/0x6*(parseInt(f(0x1d9))/0x7)+parseInt(f(0x1d2))/0x8*(parseInt(f(0x1d4))/0x9)+-parseInt(f(0x1cf))/0xa*(-parseInt(f(0x1da))/0xb)+parseInt(f(0x1ce))/0xc*(-parseInt(f(0x1dc))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x7f79a));var a108b=(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;};}()),a108a=a108b(this,function(){var g=a108d;return a108a[g(0x1d8)]()[g(0x1d1)](g(0x1d3))[g(0x1d8)]()[g(0x1d7)](a108a)[g(0x1d1)]('(((.+)+)+)+$');});a108a();export class UsageError{}function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a108d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a108c(){var h=['toString','3415342FkuuPE','11vDbpqs','5IjEmpW','668200WXGfTB','1dhAMdi','743054kNtdiN','300UNieKF','5015310Spuuwf','6JWKQeV','search','8170832zjorgC','(((.+)+)+)+$','9raPoOq','1580960Oorgqh','16176AzbyhX','constructor'];a108c=function(){return h;};return a108c();}export class NoMeteorFoundError{}export class MustBeLoggedIn{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const a109k=a109d;function a109c(){const l=['existsSync','89666TbYHjx','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','(((.+)+)+)+$','writeFileSync','apply','search','homedir','2955870Ffdntb','constructor','2851539AGeXlH','.maka','7108098NAvciY','join','9bXOhAP','.meteor','stringify','1517335CQtgae','7785704cRjvNA','global-config.json','env','4420268ljukqV','7jorjPk'];a109c=function(){return l;};return a109c();}(function(a,b){const h=a109d,c=a();while(!![]){try{const d=parseInt(h(0xfa))/0x1*(parseInt(h(0x104))/0x2)+-parseInt(h(0xf6))/0x3+parseInt(h(0x101))/0x4+-parseInt(h(0xfd))/0x5+parseInt(h(0xf8))/0x6*(parseInt(h(0x102))/0x7)+-parseInt(h(0xfe))/0x8+parseInt(h(0xf4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xc1f74));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a109d;if(c){const e=c[i(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const j=a109d;return a109a['toString']()[j(0xf2)](j(0x106))['toString']()[j(0xf5)](a109a)[j(0xf2)]('(((.+)+)+)+$');});a109a();import a109e from'path';import a109f from'os';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xf1;let f=c[d];return f;},a109d(a,b);}import a109g from'fs';const homeDir=a109f[a109k(0xf3)](),GLOBAL_CONFIG=a109k(0xff),pathToGlobalMakaConfig=a109e[a109k(0xf9)](homeDir,a109k(0xfb),a109k(0xf7),GLOBAL_CONFIG);if(!a109g[a109k(0x103)](pathToGlobalMakaConfig)){const jsonData=JSON[a109k(0xfc)]({},null,0x2);a109g[a109k(0x107)](pathToGlobalMakaConfig,jsonData);}process[a109k(0x100)]['NODE_OPTIONS']=a109k(0x105);import'./maka.js';
2
+ const a109k=a109d;(function(a,b){const h=a109d,c=a();while(!![]){try{const d=-parseInt(h(0x74))/0x1+-parseInt(h(0x75))/0x2+parseInt(h(0x81))/0x3*(-parseInt(h(0x86))/0x4)+-parseInt(h(0x80))/0x5+parseInt(h(0x71))/0x6+-parseInt(h(0x79))/0x7*(parseInt(h(0x7f))/0x8)+-parseInt(h(0x82))/0x9*(-parseInt(h(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x51e25));function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x6f;let f=c[d];return f;},a109d(a,b);}const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a109d;if(c){const e=c[i(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const j=a109d;return a109a[j(0x7d)]()[j(0x73)](j(0x7c))[j(0x7d)]()[j(0x78)](a109a)[j(0x73)]('(((.+)+)+)+$');});a109a();import a109e from'path';import a109f from'os';import a109g from'fs';const homeDir=a109f[a109k(0x83)](),GLOBAL_CONFIG=a109k(0x85),pathToGlobalMakaConfig=a109e[a109k(0x6f)](homeDir,a109k(0x7b),a109k(0x76),GLOBAL_CONFIG);function a109c(){const l=['7179VALgbK','9wpLFwy','homedir','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','global-config.json','572WyNRDt','join','stringify','2801640NuEWtu','13619710BmLKnA','search','302743LqzuaL','742120ZXmspU','.maka','existsSync','constructor','186011XYtzaf','env','.meteor','(((.+)+)+)+$','toString','apply','48YCltgR','1590370uWMkuB'];a109c=function(){return l;};return a109c();}if(!a109g[a109k(0x77)](pathToGlobalMakaConfig)){const jsonData=JSON[a109k(0x70)]({},null,0x2);a109g['writeFileSync'](pathToGlobalMakaConfig,jsonData);}process[a109k(0x7a)]['NODE_OPTIONS']=a109k(0x84);import'./maka.js';
@@ -1 +1 @@
1
- const a110v=a110d;(function(a,b){const r=a110d,c=a();while(!![]){try{const d=-parseInt(r(0x202))/0x1*(-parseInt(r(0x1e3))/0x2)+parseInt(r(0x1ec))/0x3*(parseInt(r(0x1a0))/0x4)+-parseInt(r(0x1dc))/0x5+-parseInt(r(0x207))/0x6*(parseInt(r(0x1fd))/0x7)+parseInt(r(0x1ca))/0x8+-parseInt(r(0x1b7))/0x9+-parseInt(r(0x1e7))/0xa*(parseInt(r(0x1fb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x4fc74));function a110c(){const M=['history.json','config','_generators','_historyFilePath','maxOptsLength','addGenerator','\x20not\x20found.\x20Cannot\x20undo.','existsSync','server','dir','constructor','Server','name','help','2250100ynizhr','search','Name','appPathPrefix','Generator.create\x20requires\x20a\x20handler\x20function!','validateEngines','exit','1065690UtbgQh','undo','There\x20is\x20no\x20Meteor\x20application\x20here','length','1667530fnnUlx','push','experimental','Please\x20run\x20\x22maka\x20install\x20meteor\x22','setColorMode','45RBjMhc','getMakaProjectConfig','handleGenerateError','checkWhere','assign','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20generator','both','Generator\x20requires\x20a\x20name','processAndRunGenerator','shortDesc','filter','transactionId','DARK','call','requiredEngines','11niEfgT','writeHistory','881776XULAVN','where','Generator\x20format\x20is\x20incorrect','writeFileSync','Alias','1eqqFAP','(((.+)+)+)+$','LIGHT','findProjectDirectory','split','6BBTiCy','getGlobalConfig','Generator\x20','opts','includes','apply','validateMakaProject','slice','readFileSync','No\x20resource\x20name\x20specified','replace','select','bind','No\x20undo\x20handler\x20defined\x20for\x20','fullNameChain','Too\x20many\x20options','generatorName','fsi','_handler','client','toString','reverse','pathFromProject','invoke','.maka','message','projectConfig','find','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','from','\x20not\x20found','resourceNameRequired','readHistory','statSync','warn','addToHistory','deepen','126104kxJCIq','validateParams','_undoHandler','minArgLength','addGenerator\x20requires\x20a\x20Generator\x20instance','create','Too\x20many\x20arguments','keys','Too\x20few\x20options','\x20generator.\x20Skipping\x20undo.','pop','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','notice','shift','sep','light','parse','lib','Description','utf-8','findGeneratorByName','chdir','options','2382984dxXMNs','join','Generator\x20requires\x20a\x20handler\x20function','error','map','Both','bright','function','maxArgLength','pallet','forEach','stringify','params','Too\x20few\x20arguments','details','number','resourceName','usage','cfg','2628432joJseA','Client','match','root'];a110c=function(){return M;};return a110c();}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a110d;if(c){const e=c[s(0x180)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const t=a110d;return a110a[t(0x18f)]()[t(0x1dd)](t(0x203))['toString']()[t(0x1d8)](a110a)[t(0x1dd)](t(0x203));});a110a();import a110e from'path';import a110f from'fs';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x17f;let f=c[d];return f;},a110d(a,b);}import a110g from'cli-table';import{v4 as a110h}from'uuid';import{kebabCase}from'change-case';import a110i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a110h();async function inside(a='.',b){const u=a110d,c=process['cwd']();try{return process[u(0x1b5)](a),await b();}finally{process['chdir'](c);}}export class Generator extends Tool{[a110v(0x1b6)];['fullNameChain'];[a110v(0x195)];[a110v(0x1d0)];['_historyFilePath'];['_undoHandler'];['_genTransactionId'];[a110v(0x18d)];constructor(a,b,c){const w=a110v;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[w(0x1da)])throw new Error(w(0x1f3));if(typeof b!==w(0x1be))throw new Error(w(0x1b9));this[w(0x1d0)]=[];a[w(0x19a)]===undefined&&(a[w(0x19a)]=!![]);this[w(0x1b6)]=Object['assign']({},a),this[w(0x1da)]=this[w(0x1b6)][w(0x1da)],this[w(0x18d)]=b[w(0x187)](this);try{this[w(0x1d1)]=this[w(0x18c)][w(0x191)]({'pathParts':[w(0x193),w(0x1ce)]})||a110e[w(0x1b8)]('.',w(0x193),w(0x1ce));}catch(d){Log['error'](d);}c&&(this[w(0x1a2)]=c[w(0x187)](this));}['getHistoryFileSize'](){const x=a110v;if(a110f[x(0x1d5)](this['_historyFilePath'])){const a=a110f[x(0x19c)](this[x(0x1d1)]);return a['size'];}return 0x0;}['readHistory'](){const y=a110v;if(!a110f['existsSync'](this['_historyFilePath']))return[];return JSON[y(0x1b0)](a110f[y(0x183)](this[y(0x1d1)],y(0x1b3)));}[a110v(0x1fc)](a){const z=a110v;this['_historyFilePath']&&!a110f[z(0x1d5)](this['_historyFilePath'])&&a110f['writeFileSync'](this[z(0x1d1)],JSON[z(0x1c2)]([])),a110f[z(0x200)](this[z(0x1d1)],JSON[z(0x1c2)](a,null,0x2));}[a110v(0x19e)](a){const A=a110v;try{a?.[A(0x1c3)]?.[A(0x20a)]['config']&&delete a[A(0x1c3)][A(0x20a)][A(0x1cf)];const b=this[A(0x19b)](),c={'generatorName':this['fullNameChain'],'transactionId':TRANSACTION_ID,'details':a};b[A(0x1e8)](c);const d=Buffer[A(0x198)](JSON['stringify'](b))[A(0x1e6)];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b[A(0x1ad)]();}this['writeHistory'](b);}catch(f){Log[A(0x1ba)](f);}}async[a110v(0x1e4)](){const B=a110v,a=this['readHistory']();if(a[B(0x1e6)]===0x0){Log[B(0x19d)]('Nothing\x20to\x20undo.');return;}const b=a[B(0x1aa)](),c=b[B(0x1f7)],d=a['filter'](e=>e[B(0x1f7)]===c);d[B(0x1e8)](b),d[B(0x190)]();for(const e of d){const f=this[B(0x1b4)](e[B(0x18b)]);if(!f){Log[B(0x1ba)](B(0x209)+e['generatorName']+B(0x1d4));continue;}if(f[B(0x1a2)]){}else Log[B(0x19d)](B(0x188)+e[B(0x18b)]+B(0x1a9));}this[B(0x1fc)](a[B(0x1f6)](g=>g['transactionId']!==c));}static[a110v(0x1a5)](a,b,c,d){const C=a110v;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==C(0x1be))throw new Error(C(0x1e0));const e=new Generator(a,b,c);d=d||a110i;const f=d?d[C(0x189)]:'';return e[C(0x189)]=f?f+':'+a[C(0x1da)]:a[C(0x1da)],Object[C(0x1f0)](e,{'parent':d?.[C(0x1b6)]?.['name']}),d[C(0x1d3)](e),e;}['addGenerator'](a){const D=a110v;if(!(a instanceof Generator))throw new Error(D(0x1a4));this[D(0x1d0)][D(0x1e8)](a);}async[a110v(0x1f4)](a,b=[],c={}){const E=a110v;let d;try{const f=a?.[E(0x206)](':');if(!f||f[E(0x1e6)]===0x0)throw E(0x1ff);let g=this[E(0x1d0)],h;for(const i of f){h=g[E(0x196)](j=>j[E(0x1cc)](i));if(!h)throw E(0x209)+i+E(0x199);g=h[E(0x1d0)];}if(h)d=await h[E(0x192)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log[E(0x1ba)](j);}return d;}[a110v(0x1b4)](a){const F=a110v,b=a?.[F(0x206)](':');if(!b||b[F(0x1e6)]===0x0)return Log[F(0x1ba)](F(0x1ff)),null;let c=this[F(0x1d0)],d;for(const e of b){d=c[F(0x196)](f=>f[F(0x1cc)](e));if(!d)return Log[F(0x1ba)](F(0x209)+e+F(0x199)),null;c=d[F(0x1d0)];}return d||null;}async[a110v(0x192)](a,b){const G=a110v,c=a[G(0x182)]();b[G(0x1c7)]=c[0x0];const {config:d}=b;try{const f=await this[G(0x1c9)][G(0x208)](),g=f[G(0x1c0)]===G(0x1af)?ColorMode[G(0x204)]:ColorMode[G(0x1f8)];Log[G(0x1eb)](g);const h=a[0x0]===_prevGen||a[G(0x1e6)]===0x0&&this['_generators']['length']>=0x0,i=b[G(0x1db)]||b['h'];if(h&&i){if(this[G(0x1d0)][G(0x1e6)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!i){if(this[G(0x1b6)]['mustBeInMakaProject']){if(!d){const j=this[G(0x181)]();if(!j)throw new MustBeInProjectError();this[G(0x195)]=this['cfg'][G(0x1ed)]();}else this[G(0x195)]=d;}if(this[G(0x1b6)]['mustHaveMeteorInstalled']){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[G(0x1b6)][G(0x1a3)]==='number'){if(a[G(0x1e6)]<this[G(0x1b6)][G(0x1a3)]){Log[G(0x1ba)](G(0x1c4));throw new UsageError();}}if(typeof this[G(0x1b6)][G(0x1bf)]==='number'){if(a[G(0x1e6)]>this[G(0x1b6)][G(0x1bf)]){Log['error'](G(0x1a6));throw new UsageError();}}if(typeof this[G(0x1b6)]['minOptsLength']===G(0x1c6)){if(Object[G(0x1a7)](b)['length']<this['options']['minOptsLength']){Log[G(0x1ba)](G(0x1a8));throw new UsageError();}}if(typeof this[G(0x1b6)][G(0x1d2)]===G(0x1c6)){if(Object['keys'](b)[G(0x1e6)]>=this[G(0x1b6)][G(0x1d2)]){Log[G(0x1ba)](G(0x18a));throw new UsageError();}}}this['options'][G(0x1fa)]&&this[G(0x1e1)](this[G(0x1b6)][G(0x1fa)]);await this[G(0x1a1)](a,b,this[G(0x1b6)]);if(!b['resourceName']&&this[G(0x1b6)][G(0x19a)]){Log[G(0x1ba)](G(0x184));throw new UsageError();}_prevGen=a[0x0];}catch(l){this[G(0x1ee)](l),process[G(0x1e2)](0x1);}return await inside(b['cwd'],async()=>{const H=G;try{if(!b[H(0x1cd)]&&!this[H(0x18c)][H(0x205)]())throw new MustBeInProjectError();const m=b['resourceName']?.[H(0x185)](/\\/g,'/')['split']('/');!b[H(0x1d7)]&&(m?.['length']>0x1?(b[H(0x1c7)]=m[H(0x1aa)](),c[0x0]=b['resourceName'],b[H(0x1d7)]=m[H(0x1bb)](o=>{return kebabCase(o);})[H(0x1b8)](a110e[H(0x1ae)])):b['dir']='');if(this[H(0x1b6)][H(0x1ef)]){if(!b[H(0x1fe)]){const p=await Actions[H(0x186)]({'message':'Location','name':'colLocAnswer','choices':[{'name':H(0x1cb),'value':'client'},{'name':H(0x1d9),'value':'server'},{'name':H(0x1bc),'value':H(0x1f2)}]});b[H(0x1fe)]=p;}const o=[H(0x1f2),H(0x18e),H(0x1d6)];if(!o[H(0x17f)](b['where'])){Log[H(0x1ba)](H(0x1ab));throw new UsageError();}switch(b[H(0x1fe)]){case H(0x1f2):b[H(0x1df)]=H(0x1b1);break;case'server':b[H(0x1df)]=H(0x1d6);break;case'client':b[H(0x1df)]=H(0x18e);break;default:b['appPathPrefix']='';}}const n=await this['_handler'][H(0x1f9)](this,c,b);return n&&this[H(0x19e)]({'params':{'args':c,'opts':this[H(0x18c)][H(0x19f)](b)},'success':n?.['success'],'message':n?.[H(0x194)],'details':n?.[H(0x1c5)]}),n;}catch(q){this[H(0x1ee)](q);}});}['listGenerators'](){this['tableList'](this['_generators']);}[a110v(0x1ee)](a){const I=a110v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[I(0x1b6)];Log[I(0x1c8)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[I(0x1ac)]('Generators:'),this['tableList'](this[I(0x1d0)]);else{if(a instanceof MustBeInProjectError)Log[I(0x1ba)](I(0x1f1));else{if(a instanceof NoMeteorFoundError)Log[I(0x1ba)](I(0x197)),Log['notice'](I(0x1ea));else a instanceof NoMeteorAppFoundError&&Log[I(0x1ba)](I(0x1e5));}}}['tableList'](a){const J=a110v,b=new a110g({});b[J(0x1e8)]([J(0x1de),J(0x201),J(0x1b2)]),a['sort']((c,d)=>{const K=J;return c[K(0x1da)]['localeCompare'](d[K(0x1da)]);})[J(0x1c1)](c=>{const L=J,d=c[L(0x1e9)](),e=d?'(experimental)\x20'+c[L(0x1f5)]():c['shortDesc']();b[L(0x1e8)]([c[L(0x1da)],c['aliases'](),e]);}),Log[J(0x1bd)](b['toString']());}}
1
+ const a110v=a110d;(function(a,b){const r=a110d,c=a();while(!![]){try{const d=parseInt(r(0x161))/0x1+parseInt(r(0x197))/0x2+-parseInt(r(0x1ae))/0x3+parseInt(r(0x180))/0x4+-parseInt(r(0x1c4))/0x5+parseInt(r(0x176))/0x6*(parseInt(r(0x169))/0x7)+parseInt(r(0x172))/0x8*(-parseInt(r(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xccd06));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a110d;if(c){const e=c[s(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const t=a110d;return a110a[t(0x1ad)]()['search'](t(0x195))[t(0x1ad)]()['constructor'](a110a)['search'](t(0x195));});a110a();import a110e from'path';import a110f from'fs';import a110g from'cli-table';import{v4 as a110h}from'uuid';import{kebabCase}from'change-case';import a110i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';function a110c(){const N=['details','reverse','processAndRunGenerator','_generators','writeFileSync','Generator\x20requires\x20a\x20handler\x20function','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','keys','Generator.create\x20requires\x20a\x20handler\x20function!','No\x20undo\x20handler\x20defined\x20for\x20','number','slice','error','client','bright','toString','4721022OKdEpO','cwd','existsSync','colLocAnswer','assign','resourceName','experimental','Generators:','maxArgLength','mustHaveMeteorInstalled','config','sort','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','setColorMode','filter','_historyFilePath','pallet','forEach','Client','cfg','pop','Description','368480AzjzMr','Too\x20many\x20arguments','Both','create','lib','shift','findGeneratorByName','addGenerator','addToHistory','Generator\x20requires\x20a\x20name','push','undo','.maka','params','Generator\x20not\x20found','call','getHistoryFileSize','from','requiredEngines','Generator\x20','Server','getGlobalConfig','opts','\x20generator.\x20Skipping\x20undo.','name','aliases','message','replace','invoke','find','fullNameChain','validateEngines','354036ouNXwZ','statSync','_handler','includes','Name','tableList','help','match','236789jHvpVx','exit','validateParams','readHistory','generatorName','_undoHandler','where','listGenerators','minArgLength','169144stMvpX','light','apply','shortDesc','138JqrSsS','both','chdir','mustBeInMakaProject','Nothing\x20to\x20undo.','function','Generator.create\x20requires\x20some\x20options!','stringify','\x20not\x20found','projectConfig','6207160iZSikA','\x20not\x20found.\x20Cannot\x20undo.','306BmNARG','options','writeHistory','readFileSync','split','usage','validateMakaProject','transactionId','appPathPrefix','Location','fsi','length','success','_genTransactionId','sep','getMakaProjectConfig','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20generator','findProjectDirectory','dir','(((.+)+)+)+$','join','1042606TJFyhu','notice','root','bind','minOptsLength','server','handleGenerateError'];a110c=function(){return N;};return a110c();}import{Tool}from'./tool.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x15d;let f=c[d];return f;},a110d(a,b);}import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a110h();async function inside(a='.',b){const u=a110d,c=process[u(0x1af)]();try{return process[u(0x178)](a),await b();}finally{process[u(0x178)](c);}}export class Generator extends Tool{['options'];[a110v(0x15f)];[a110v(0x17f)];[a110v(0x1a1)];[a110v(0x1bd)];[a110v(0x16e)];[a110v(0x18f)];[a110v(0x163)];constructor(a,b,c){const w=a110v;super();if(!a)throw new Error(w(0x1ba));if(!a[w(0x1dc)])throw new Error(w(0x1cd));if(typeof b!==w(0x17b))throw new Error(w(0x1a3));this[w(0x1a1)]=[];a['resourceNameRequired']===undefined&&(a['resourceNameRequired']=!![]);this[w(0x183)]=Object['assign']({},a),this[w(0x1dc)]=this['options'][w(0x1dc)],this[w(0x163)]=b[w(0x19a)](this);try{this[w(0x1bd)]=this['fsi']['pathFromProject']({'pathParts':['.maka','history.json']})||a110e[w(0x196)]('.',w(0x1d0),'history.json');}catch(d){Log[w(0x1aa)](d);}c&&(this[w(0x16e)]=c[w(0x19a)](this));}[a110v(0x1d4)](){const x=a110v;if(a110f[x(0x1b0)](this[x(0x1bd)])){const a=a110f[x(0x162)](this['_historyFilePath']);return a['size'];}return 0x0;}[a110v(0x16c)](){const y=a110v;if(!a110f[y(0x1b0)](this[y(0x1bd)]))return[];return JSON['parse'](a110f[y(0x185)](this[y(0x1bd)],'utf-8'));}['writeHistory'](a){const z=a110v;this[z(0x1bd)]&&!a110f[z(0x1b0)](this['_historyFilePath'])&&a110f[z(0x1a2)](this[z(0x1bd)],JSON[z(0x17d)]([])),a110f[z(0x1a2)](this[z(0x1bd)],JSON[z(0x17d)](a,null,0x2));}[a110v(0x1cc)](a){const A=a110v;try{a?.[A(0x1d1)]?.[A(0x1da)][A(0x1b8)]&&delete a[A(0x1d1)][A(0x1da)][A(0x1b8)];const b=this[A(0x16c)](),c={'generatorName':this[A(0x15f)],'transactionId':TRANSACTION_ID,'details':a};b['push'](c);const d=Buffer[A(0x1d5)](JSON[A(0x17d)](b))['length'];while(d>MAX_HISTORY_SIZE&&b[A(0x18d)]>0x0){b[A(0x1c9)]();}this[A(0x184)](b);}catch(f){Log['error'](f);}}async[a110v(0x1cf)](){const B=a110v,a=this['readHistory']();if(a['length']===0x0){Log['warn'](B(0x17a));return;}const b=a[B(0x1c2)](),c=b[B(0x189)],d=a[B(0x1bc)](e=>e[B(0x189)]===c);d['push'](b),d[B(0x19f)]();for(const e of d){const f=this[B(0x1ca)](e[B(0x16d)]);if(!f){Log[B(0x1aa)]('Generator\x20'+e[B(0x16d)]+B(0x181));continue;}if(f[B(0x16e)]){}else Log['warn'](B(0x1a7)+e[B(0x16d)]+B(0x1db));}this['writeHistory'](a[B(0x1bc)](g=>g[B(0x189)]!==c));}static[a110v(0x1c7)](a,b,c,d){const C=a110v;if(!a)throw new Error(C(0x17c));if(typeof b!==C(0x17b))throw new Error(C(0x1a6));const e=new Generator(a,b,c);d=d||a110i;const f=d?d['fullNameChain']:'';return e[C(0x15f)]=f?f+':'+a[C(0x1dc)]:a['name'],Object[C(0x1b2)](e,{'parent':d?.[C(0x183)]?.[C(0x1dc)]}),d['addGenerator'](e),e;}[a110v(0x1cb)](a){const D=a110v;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[D(0x1a1)][D(0x1ce)](a);}async[a110v(0x1a0)](a,b=[],c={}){const E=a110v;let d;try{const f=a?.[E(0x186)](':');if(!f||f[E(0x18d)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this[E(0x1a1)],h;for(const i of f){h=g['find'](j=>j['match'](i));if(!h)throw E(0x1d7)+i+E(0x17e);g=h['_generators'];}if(h)d=await h[E(0x15d)](b,c);else throw E(0x1d2);}catch(j){Log['error'](j);}return d;}[a110v(0x1ca)](a){const F=a110v,b=a?.[F(0x186)](':');if(!b||b[F(0x18d)]===0x0)return Log[F(0x1aa)]('Generator\x20format\x20is\x20incorrect'),null;let c=this['_generators'],d;for(const e of b){d=c[F(0x15e)](f=>f[F(0x168)](e));if(!d)return Log[F(0x1aa)](F(0x1d7)+e+F(0x17e)),null;c=d['_generators'];}return d||null;}async[a110v(0x15d)](a,b){const G=a110v,c=a[G(0x1a9)]();b[G(0x1b3)]=c[0x0];const {config:d}=b;try{const f=await this['cfg'][G(0x1d9)](),g=f[G(0x1be)]===G(0x173)?ColorMode['LIGHT']:ColorMode['DARK'];Log[G(0x1bb)](g);const h=a[0x0]===_prevGen||a[G(0x18d)]===0x0&&this[G(0x1a1)][G(0x18d)]>=0x0,i=b[G(0x167)]||b['h'];if(h&&i){if(this[G(0x1a1)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!i){if(this[G(0x183)][G(0x179)]){if(!d){const j=this[G(0x188)]();if(!j)throw new MustBeInProjectError();this[G(0x17f)]=this[G(0x1c1)][G(0x191)]();}else this[G(0x17f)]=d;}if(this[G(0x183)][G(0x1b7)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this['options'][G(0x171)]===G(0x1a8)){if(a[G(0x18d)]<this[G(0x183)][G(0x171)]){Log[G(0x1aa)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options'][G(0x1b6)]===G(0x1a8)){if(a[G(0x18d)]>this['options']['maxArgLength']){Log[G(0x1aa)](G(0x1c5));throw new UsageError();}}if(typeof this['options'][G(0x19b)]===G(0x1a8)){if(Object[G(0x1a5)](b)[G(0x18d)]<this[G(0x183)]['minOptsLength']){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this[G(0x183)]['maxOptsLength']===G(0x1a8)){if(Object[G(0x1a5)](b)[G(0x18d)]>=this[G(0x183)]['maxOptsLength']){Log[G(0x1aa)]('Too\x20many\x20options');throw new UsageError();}}}this[G(0x183)][G(0x1d6)]&&this[G(0x160)](this[G(0x183)][G(0x1d6)]);await this[G(0x16b)](a,b,this[G(0x183)]);if(!b[G(0x1b3)]&&this['options']['resourceNameRequired']){Log[G(0x1aa)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(l){this[G(0x19d)](l),process[G(0x16a)](0x1);}return await inside(b[G(0x1af)],async()=>{const H=G;try{if(!b[H(0x199)]&&!this[H(0x18c)][H(0x193)]())throw new MustBeInProjectError();const m=b[H(0x1b3)]?.[H(0x1df)](/\\/g,'/')[H(0x186)]('/');!b['dir']&&(m?.[H(0x18d)]>0x1?(b['resourceName']=m['pop'](),c[0x0]=b[H(0x1b3)],b[H(0x194)]=m['map'](o=>{return kebabCase(o);})[H(0x196)](a110e[H(0x190)])):b[H(0x194)]='');if(this['options']['checkWhere']){if(!b['where']){const p=await Actions['select']({'message':H(0x18b),'name':H(0x1b1),'choices':[{'name':H(0x1c0),'value':H(0x1ab)},{'name':H(0x1d8),'value':H(0x19c)},{'name':H(0x1c6),'value':H(0x177)}]});b['where']=p;}const o=['both',H(0x1ab),'server'];if(!o[H(0x164)](b[H(0x16f)])){Log[H(0x1aa)](H(0x1a4));throw new UsageError();}switch(b[H(0x16f)]){case H(0x177):b['appPathPrefix']=H(0x1c8);break;case H(0x19c):b[H(0x18a)]=H(0x19c);break;case'client':b['appPathPrefix']=H(0x1ab);break;default:b[H(0x18a)]='';}}const n=await this[H(0x163)][H(0x1d3)](this,c,b);return n&&this[H(0x1cc)]({'params':{'args':c,'opts':this[H(0x18c)]['deepen'](b)},'success':n?.[H(0x18e)],'message':n?.[H(0x1de)],'details':n?.[H(0x19e)]}),n;}catch(q){this[H(0x19d)](q);}});}[a110v(0x170)](){const I=a110v;this[I(0x166)](this['_generators']);}[a110v(0x19d)](a){const J=a110v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[J(0x183)];Log[J(0x187)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[J(0x198)](J(0x1b5)),this[J(0x166)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[J(0x1aa)](J(0x192));else{if(a instanceof NoMeteorFoundError)Log[J(0x1aa)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[J(0x198)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[J(0x1aa)]('There\x20is\x20no\x20Meteor\x20application\x20here');}}}[a110v(0x166)](a){const K=a110v,b=new a110g({});b[K(0x1ce)]([K(0x165),'Alias',K(0x1c3)]),a[K(0x1b9)]((c,d)=>{const L=K;return c[L(0x1dc)]['localeCompare'](d[L(0x1dc)]);})[K(0x1bf)](c=>{const M=K,d=c[M(0x1b4)](),e=d?'(experimental)\x20'+c['shortDesc']():c[M(0x175)]();b[M(0x1ce)]([c[M(0x1dc)],c[M(0x1dd)](),e]);}),Log[K(0x1ac)](b[K(0x1ad)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x1ab))/0x1+parseInt(f(0x1a8))/0x2*(-parseInt(f(0x1a3))/0x3)+parseInt(f(0x1a2))/0x4+-parseInt(f(0x1a7))/0x5+parseInt(f(0x1a1))/0x6*(parseInt(f(0x19e))/0x7)+-parseInt(f(0x1a6))/0x8*(-parseInt(f(0x19c))/0x9)+-parseInt(f(0x1a5))/0xa*(-parseInt(f(0x1a0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xa2cb5));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x1a4)]()[h(0x1a9)]('(((.+)+)+)+$')[h(0x1a4)]()[h(0x1aa)](a111a)[h(0x1a9)](h(0x19f));});a111a();function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x19c;var f=c[d];return f;},a111d(a,b);}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';function a111c(){var i=['toString','12609390nyBkoA','2421400AZcxAw','3954940smPrdn','2dQTZFo','search','constructor','135087imDpbN','27bUmpCI','apply','7OEUbZt','(((.+)+)+)+$','11YWRTuf','1128300xMFJul','819948eeBKlx','3717885FbDuyA'];a111c=function(){return i;};return a111c();}import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';import'./aws/_index.js';
1
+ function a111c(){var i=['4843285XMCuqE','6156112CaSHJF','1077848QGyLSl','toString','3617764yfxcvd','3tCzTfm','29976870zZGiuc','search','apply','constructor','27xBbluN','1LNpmXS','3187780sRwehT','6301962CUqHOo','(((.+)+)+)+$','7Qphylz'];a111c=function(){return i;};return a111c();}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x17b))/0x1*(-parseInt(f(0x182))/0x2)+parseInt(f(0x175))/0x3*(parseInt(f(0x174))/0x4)+-parseInt(f(0x180))/0x5+parseInt(f(0x17d))/0x6+parseInt(f(0x17f))/0x7*(parseInt(f(0x181))/0x8)+parseInt(f(0x17a))/0x9*(parseInt(f(0x17c))/0xa)+-parseInt(f(0x176))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x80591));var a111b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a111d;if(c){var e=c[g(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){var h=a111d;return a111a[h(0x173)]()['search'](h(0x17e))[h(0x173)]()[h(0x179)](a111a)[h(0x177)](h(0x17e));});a111a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x173;var f=c[d];return f;},a111d(a,b);}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';import'./aws/_index.js';
@@ -1 +1 @@
1
- const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0x1d4))/0x1+parseInt(x(0x214))/0x2*(parseInt(x(0x20e))/0x3)+-parseInt(x(0x1f8))/0x4+parseInt(x(0x1d3))/0x5*(parseInt(x(0x1ff))/0x6)+-parseInt(x(0x1d6))/0x7*(-parseInt(x(0x1d0))/0x8)+-parseInt(x(0x1ea))/0x9+-parseInt(x(0x1de))/0xa*(-parseInt(x(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x71eab));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a['toString']()[z(0x1f7)](z(0x1c5))[z(0x1d1)]()[z(0x20f)](a112a)[z(0x1f7)]('(((.+)+)+)+$');});a112a();import{Generator}from'../generator.js';function a112c(){const C=['findAppDirectory','API\x20boundaries\x20to\x20create','{\x20name:\x20\x27','engines','api/typeDefs.js','express-rate-limit','search','852004kOeNGD','typeDefs.','template','dir','-graphql-api.','checkNpmPackage','resolvers.','612nCHijd','mdg:validated-method','graphql','withMethods','withGql','projectConfig','setProjectConfig','api/graphql-api.js','error','api/apollo-gateway.js','-api\x27;','register-','RPC\x20(Methods)','-rpc-methods.','index.','669ZmnQBT','constructor','ddp-rate-limiter','Apollo\x20Gateway\x20is\x20a\x20way\x20to\x20combine\x20multiple\x20GraphQL\x20APIs\x20into\x20a\x20single\x20API.\x20It\x20is\x20a\x20way\x20to\x20federate\x20multiple\x20GraphQL\x20APIs.','maka\x20g:api\x20Todos','express','3574StAQql','scaffold','/imports/api/apollo-gateway.','withRest','api/api.js','(((.+)+)+)+$','imports','injectIntoFile','isFile','\x27)\x20},','info','@apollo/subgraph','injectAtEndOfFile','pkg','api','\x27,\x20url:\x20Meteor.absoluteUrl(\x27graphql/','376jtxYSg','toString','Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','35095xDajRV','406054GCBguM','engines.api','51478UQkJKK','includes','startup','push','apply','-rest-api.','apollo','fsi','1070AIMYdi','checkMeteorPackage','REST\x20API','import\x20\x27./register-','-api.','@apollo/server','server','cfg','subgraphs:\x20[','17424BJyrOu','maka:rest','pathFromApp','4895163HMGjvT','maka\x20{generate,\x20g}:{api}\x20<resource-name>','length','api/methods.js','tsx','exit','@apollo/gateway'];a112c=function(){return C;};return a112c();}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a112e from'path';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a112d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a112A(0x1ce),'aliases':['a'],'usage':a112A(0x1eb),'shortDesc':a112A(0x1d2),'validOpts':[a112A(0x1fb)],'examples':[a112A(0x212)],'mustBeInMakaProject':!![],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20create\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const B=a112A;try{const {scaffold:c}=this,d=this[B(0x204)],f=[{'name':B(0x20b),'value':B(0x202)}];f[B(0x1d9)]({'name':B(0x1e0),'value':'withRest'}),f[B(0x1d9)]({'name':'GraphQL','value':B(0x203)});const g={'message':B(0x1f2),'name':'apiAnswers','choices':f},h=await Actions['ask']('API\x20Version?\x20[v1]')||'v1',i=await Actions['checkbox'](g);i[B(0x1ec)]===0x0&&(Log['error']('No\x20API\x20boundaries\x20selected'),process[B(0x1ef)](0x1));let j='js';d[B(0x1f4)]['js']===B(0x1ee)&&(j='ts');const k=this[B(0x1dd)][B(0x1f1)](),l=k+a112e['normalize'](B(0x1c2)+j),m=this[B(0x1dd)][B(0x1c8)](l);!m&&d[B(0x1f4)]['graphql']===B(0x1dc)&&Log[B(0x1ca)](B(0x211));const n=b['resourceName'],o=kebabCase(n),p=b['dir']?'/'+b['dir']+'/':'/',q={'name':pascalCase(n),'apiVersion':h,'fileName':o,'camelCase':camelCase(n),'optsDir':p,'api':d[B(0x1f4)][B(0x1ce)],'graphql':d[B(0x1f4)][B(0x201)],'test':d[B(0x1f4)]['test'],'noRename':!![],'withMethods':i[B(0x1d7)](B(0x202)),'withRest':i['includes'](B(0x1c3)),'withGql':i[B(0x1d7)](B(0x203))};let r=![];q[B(0x203)]&&(r=m?![]:await Actions['confirm']('Do\x20you\x20want\x20to\x20enable\x20Apollo\x20Gateway?\x20(recommended)'));q[B(0x1c3)]&&(this[B(0x1e5)][B(0x205)](B(0x1d5),'rest'),await this[B(0x1cd)]['checkMeteorPackage']([B(0x1e8)],{'shouldInstall':!![]}),await this[B(0x1c1)][B(0x1fa)]({'srcPath':B(0x1c4),'destPath':this['scaffold']['pathFromApp']({'pathParts':['imports',B(0x1ce),h,p,o,o+'-'+h+B(0x1db)+j]}),'context':q,'config':d}));q[B(0x202)]&&(await this[B(0x1cd)][B(0x1df)]([B(0x210),B(0x200)],{'shouldInstall':!![]}),await this[B(0x1c1)]['template']({'srcPath':B(0x1ed),'destPath':this[B(0x1c1)][B(0x1e9)]({'pathParts':['imports',B(0x1ce),h,p,o,o+'-'+h+B(0x20c)+j]}),'context':q,'config':d}));if(q[B(0x203)]){await this[B(0x1cd)][B(0x1fd)](['express',B(0x1e3),B(0x1cb),'graphql-tag',B(0x1f6),B(0x201)],{'shouldInstall':!![]}),await this[B(0x1c1)][B(0x1fa)]({'srcPath':B(0x206),'destPath':this[B(0x1c1)][B(0x1e9)]({'pathParts':[B(0x1c6),B(0x1ce),h,p,o,o+'-'+h+B(0x1fc)+j]}),'context':q,'config':d});const t=this[B(0x1c1)]['pathFromApp']({'pathParts':[B(0x1c6),B(0x1ce),h,p,o,'graphql',B(0x1f9)+j]});await this[B(0x1c1)][B(0x1fa)]({'srcPath':B(0x1f5),'destPath':t,'context':q,'config':d});const u=this[B(0x1c1)]['pathFromApp']({'pathParts':[B(0x1c6),'api',h,p,o,B(0x201),B(0x1fe)+j]});await this[B(0x1c1)][B(0x1fa)]({'srcPath':'api/resolvers.js','destPath':u,'context':q,'config':d});if(r){await this[B(0x1cd)][B(0x1fd)]([B(0x1f0),B(0x213)],{'shouldInstall':!![]}),await this[B(0x1c1)][B(0x1fa)]({'srcPath':B(0x208),'destPath':l,'context':q,'config':d}),await c[B(0x1c7)]({'filePath':l,'content':B(0x1f3)+o+h+B(0x1cf)+h+'/'+o+B(0x1c9),'begin':B(0x1e6),'end':']'});const v=this['scaffold'][B(0x1e9)]({'pathParts':[B(0x1c6),B(0x1d8),B(0x1e4),B(0x20d)+d[B(0x1f4)]['js']]});await this[B(0x1c1)][B(0x1cc)]({'filePath':v,'content':'import\x20\x27/imports/api/apollo-gateway.'+j+'\x27;'});}m&&await c[B(0x1c7)]({'filePath':l,'content':B(0x1f3)+o+h+B(0x1cf)+h+'/'+o+B(0x1c9),'begin':'subgraphs:\x20[','end':']'});}await this[B(0x1c1)][B(0x1fa)]({'srcPath':'api/register-api.js','destPath':this[B(0x1c1)][B(0x1e9)]({'pathParts':[B(0x1c6),B(0x1d8),B(0x1e4),B(0x20a)+o+B(0x1e2)+j]}),'context':q,'config':d,'force':!![]});const s=this[B(0x1c1)][B(0x1e9)]({'pathParts':['imports',B(0x1d8),B(0x1e4),B(0x20d)+d[B(0x1f4)]['js']]});await this[B(0x1c1)]['injectAtEndOfFile']({'filePath':s,'content':B(0x1e1)+o+B(0x209)});}catch(w){console[B(0x207)](w),process[B(0x1ef)](0x1);}});
1
+ function a112c(){const C=['includes','resolvers.','954452iWnmZk','(((.+)+)+)+$','subgraphs:\x20[','api/methods.js','-graphql-api.','ddp-rate-limiter','rest','410WFZvgu','checkMeteorPackage','checkNpmPackage','GraphQL','toString','withGql','Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','mdg:validated-method','import\x20\x27./register-','injectAtEndOfFile','pkg','\x0a\x20\x20Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20create\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','324bMUkzi','index.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','findAppDirectory','pathFromApp','8558220PGGFIR','ask','apollo','25rnDpBc','push','startup','template','server','@apollo/subgraph','graphql-tag','confirm','/imports/api/apollo-gateway.','isFile','imports','withMethods','api/api.js','-rpc-methods.','api/resolvers.js','-rest-api.','register-','engines','normalize','api','tsx','API\x20boundaries\x20to\x20create','API\x20Version?\x20[v1]','No\x20API\x20boundaries\x20selected','scaffold','length','-api\x27;','express','apply','cfg','\x27)\x20},','maka\x20g:api\x20Todos','test','787381ohawrS','36047803ABSCpL','{\x20name:\x20\x27','112rLRytc','345PIqboN','Do\x20you\x20want\x20to\x20enable\x20Apollo\x20Gateway?\x20(recommended)','exit','api/graphql-api.js','info','1776318KtxoGU','280179ecMcQF','constructor','api/register-api.js','-api.','\x27,\x20url:\x20Meteor.absoluteUrl(\x27graphql/','resourceName','engines.api','REST\x20API','fsi','error','checkbox','injectIntoFile','@apollo/gateway','withRest','api/apollo-gateway.js','graphql','dir','setProjectConfig','maka:rest'];a112c=function(){return C;};return a112c();}const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0x1db))/0x1+parseInt(x(0x204))/0x2*(-parseInt(x(0x1d6))/0x3)+parseInt(x(0x1f1))/0x4*(parseInt(x(0x20c))/0x5)+-parseInt(x(0x209))/0x6+parseInt(x(0x1d2))/0x7*(-parseInt(x(0x1d5))/0x8)+-parseInt(x(0x1dc))/0x9*(-parseInt(x(0x1f8))/0xa)+parseInt(x(0x1d3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xe809d));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x1fc)]()['search'](z(0x1f2))[z(0x1fc)]()[z(0x1dd)](a112a)['search']('(((.+)+)+)+$');});function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a112d(a,b);}a112a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a112e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'api','aliases':['a'],'usage':a112A(0x206),'shortDesc':a112A(0x1fe),'validOpts':[a112A(0x1ec)],'examples':[a112A(0x1d0)],'mustBeInMakaProject':!![],'description':a112A(0x203)},async function(a,b){const B=a112A;try{const {scaffold:c}=this,d=this['projectConfig'],f=[{'name':'RPC\x20(Methods)','value':'withMethods'}];f[B(0x20d)]({'name':B(0x1e3),'value':'withRest'}),f[B(0x20d)]({'name':B(0x1fb),'value':B(0x1fd)});const g={'message':B(0x1c6),'name':'apiAnswers','choices':f},h=await Actions[B(0x20a)](B(0x1c7))||'v1',i=await Actions[B(0x1e6)](g);i[B(0x1ca)]===0x0&&(Log[B(0x1e5)](B(0x1c8)),process[B(0x1d8)](0x1));let j='js';d['engines']['js']===B(0x220)&&(j='ts');const k=this['fsi'][B(0x207)](),l=k+a112e[B(0x21e)](B(0x214)+j),m=this[B(0x1e4)][B(0x215)](l);!m&&d[B(0x21d)][B(0x1eb)]===B(0x20b)&&Log[B(0x1da)]('Apollo\x20Gateway\x20is\x20a\x20way\x20to\x20combine\x20multiple\x20GraphQL\x20APIs\x20into\x20a\x20single\x20API.\x20It\x20is\x20a\x20way\x20to\x20federate\x20multiple\x20GraphQL\x20APIs.');const n=b[B(0x1e1)],o=kebabCase(n),p=b[B(0x1ec)]?'/'+b[B(0x1ec)]+'/':'/',q={'name':pascalCase(n),'apiVersion':h,'fileName':o,'camelCase':camelCase(n),'optsDir':p,'api':d[B(0x21d)]['api'],'graphql':d[B(0x21d)][B(0x1eb)],'test':d[B(0x21d)][B(0x1d1)],'noRename':!![],'withMethods':i[B(0x1ef)](B(0x217)),'withRest':i[B(0x1ef)]('withRest'),'withGql':i[B(0x1ef)](B(0x1fd))};let r=![];q[B(0x1fd)]&&(r=m?![]:await Actions[B(0x213)](B(0x1d7)));q[B(0x1e9)]&&(this[B(0x1ce)][B(0x1ed)](B(0x1e2),B(0x1f7)),await this['pkg'][B(0x1f9)]([B(0x1ee)],{'shouldInstall':!![]}),await this[B(0x1c9)][B(0x20f)]({'srcPath':B(0x218),'destPath':this[B(0x1c9)][B(0x208)]({'pathParts':[B(0x216),B(0x21f),h,p,o,o+'-'+h+B(0x21b)+j]}),'context':q,'config':d}));q[B(0x217)]&&(await this[B(0x202)]['checkMeteorPackage']([B(0x1f6),B(0x1ff)],{'shouldInstall':!![]}),await this[B(0x1c9)][B(0x20f)]({'srcPath':B(0x1f4),'destPath':this[B(0x1c9)][B(0x208)]({'pathParts':[B(0x216),B(0x21f),h,p,o,o+'-'+h+B(0x219)+j]}),'context':q,'config':d}));if(q['withGql']){await this['pkg'][B(0x1fa)]([B(0x1cc),'@apollo/server',B(0x211),B(0x212),'express-rate-limit',B(0x1eb)],{'shouldInstall':!![]}),await this['scaffold']['template']({'srcPath':B(0x1d9),'destPath':this[B(0x1c9)]['pathFromApp']({'pathParts':['imports',B(0x21f),h,p,o,o+'-'+h+B(0x1f5)+j]}),'context':q,'config':d});const t=this[B(0x1c9)][B(0x208)]({'pathParts':['imports',B(0x21f),h,p,o,B(0x1eb),'typeDefs.'+j]});await this[B(0x1c9)][B(0x20f)]({'srcPath':'api/typeDefs.js','destPath':t,'context':q,'config':d});const u=this['scaffold'][B(0x208)]({'pathParts':[B(0x216),B(0x21f),h,p,o,B(0x1eb),B(0x1f0)+j]});await this[B(0x1c9)][B(0x20f)]({'srcPath':B(0x21a),'destPath':u,'context':q,'config':d});if(r){await this[B(0x202)][B(0x1fa)]([B(0x1e8),B(0x1cc)],{'shouldInstall':!![]}),await this[B(0x1c9)][B(0x20f)]({'srcPath':B(0x1ea),'destPath':l,'context':q,'config':d}),await c['injectIntoFile']({'filePath':l,'content':B(0x1d4)+o+h+B(0x1e0)+h+'/'+o+B(0x1cf),'begin':B(0x1f3),'end':']'});const v=this[B(0x1c9)]['pathFromApp']({'pathParts':['imports','startup','server',B(0x205)+d['engines']['js']]});await this[B(0x1c9)][B(0x201)]({'filePath':v,'content':'import\x20\x27/imports/api/apollo-gateway.'+j+'\x27;'});}m&&await c[B(0x1e7)]({'filePath':l,'content':B(0x1d4)+o+h+B(0x1e0)+h+'/'+o+B(0x1cf),'begin':'subgraphs:\x20[','end':']'});}await this[B(0x1c9)][B(0x20f)]({'srcPath':B(0x1de),'destPath':this[B(0x1c9)][B(0x208)]({'pathParts':[B(0x216),B(0x20e),B(0x210),B(0x21c)+o+B(0x1df)+j]}),'context':q,'config':d,'force':!![]});const s=this[B(0x1c9)][B(0x208)]({'pathParts':[B(0x216),B(0x20e),B(0x210),'index.'+d[B(0x21d)]['js']]});await this[B(0x1c9)][B(0x201)]({'filePath':s,'content':B(0x200)+o+B(0x1cb)});}catch(w){console[B(0x1e5)](w),process['exit'](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a113d,c=a();while(!![]){try{var d=-parseInt(f(0x111))/0x1*(parseInt(f(0x117))/0x2)+-parseInt(f(0x10f))/0x3*(-parseInt(f(0x118))/0x4)+-parseInt(f(0x119))/0x5+parseInt(f(0x10d))/0x6*(parseInt(f(0x110))/0x7)+parseInt(f(0x112))/0x8*(parseInt(f(0x10e))/0x9)+parseInt(f(0x115))/0xa*(parseInt(f(0x11b))/0xb)+-parseInt(f(0x114))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x494eb));function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0x10d;var f=c[d];return f;},a113d(a,b);}var a113b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a113d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){var h=a113d;return a113a[h(0x113)]()[h(0x116)](h(0x11c))[h(0x113)]()['constructor'](a113a)[h(0x116)]('(((.+)+)+)+$');});a113a();function a113c(){var i=['toString','16099680GzoVvH','95210bRdcaK','search','111452zVTnhd','8nfJodc','145735XmIclm','apply','649RjtriE','(((.+)+)+)+$','12BkxYsT','225szaZWz','823269wJjgmA','2029643Qpsbrk','4MhqcNH','65112agKsmc'];a113c=function(){return i;};return a113c();}import'./aws.js';import'./cloudformation/_index.js';
1
+ (function(a,b){var f=a113d,c=a();while(!![]){try{var d=-parseInt(f(0xd4))/0x1+-parseInt(f(0xdf))/0x2*(-parseInt(f(0xdb))/0x3)+-parseInt(f(0xd5))/0x4*(-parseInt(f(0xd7))/0x5)+-parseInt(f(0xda))/0x6+-parseInt(f(0xdc))/0x7+-parseInt(f(0xd8))/0x8*(parseInt(f(0xd9))/0x9)+-parseInt(f(0xdd))/0xa*(-parseInt(f(0xe2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x4adeb));var a113b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a113d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){var h=a113d;return a113a[h(0xd6)]()[h(0xe1)](h(0xe0))[h(0xd6)]()['constructor'](a113a)['search'](h(0xe0));});a113a();import'./aws.js';import'./cloudformation/_index.js';function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0xd4;var f=c[d];return f;},a113d(a,b);}function a113c(){var i=['3608073CnDMWu','2137780sCIiZF','apply','2DtRyjc','(((.+)+)+)+$','search','44gmbOXZ','31674vWmRzj','1108neBFFu','toString','6445AWZtJi','8IgoZxC','3081069ZkUdKb','641694qtIAwg','272715NbfjZy'];a113c=function(){return i;};return a113c();}
@@ -1 +1 @@
1
- const a114i=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=-parseInt(f(0x7a))/0x1*(parseInt(f(0x81))/0x2)+parseInt(f(0x89))/0x3+-parseInt(f(0x8b))/0x4+parseInt(f(0x8a))/0x5+parseInt(f(0x8c))/0x6+-parseInt(f(0x7e))/0x7*(-parseInt(f(0x7f))/0x8)+-parseInt(f(0x84))/0x9*(-parseInt(f(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xbcedf));function a114c(){const j=['maka\x20g:aws','1888066GUhahM','apply','(((.+)+)+)+$','5826681NTXCml','10CRHZDO','toString','maka\x20{generate,\x20g}:{aws}:<name>','create','2071185PrvDvt','133010WAxkYI','3735672IfOQZJ','6204024pnAlhk','1JOViVX','search','constructor','Generate\x20AWS\x20templates','2002zkrLWj','7088bzUycT'];a114c=function(){return j;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a114d;if(c){const e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const h=a114d;return a114a[h(0x86)]()[h(0x7b)](h(0x83))['toString']()[h(0x7c)](a114a)[h(0x7b)](h(0x83));});a114a();import{Generator}from'../../generator.js';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x7a;let f=c[d];return f;},a114d(a,b);}const AWSGen=Generator[a114i(0x88)]({'name':'aws','usage':a114i(0x87),'shortDesc':a114i(0x7d),'minArgLength':0x1,'isPro':![],'validOpts':[],'resourceNameRequired':![],'examples':[a114i(0x80)],'experimental':!![]},async function(){});export default AWSGen;
1
+ const a114h=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=-parseInt(f(0x116))/0x1*(-parseInt(f(0x105))/0x2)+-parseInt(f(0x115))/0x3+parseInt(f(0x117))/0x4*(parseInt(f(0x10c))/0x5)+parseInt(f(0x10d))/0x6+parseInt(f(0x111))/0x7+parseInt(f(0x10e))/0x8*(-parseInt(f(0x10f))/0x9)+-parseInt(f(0x112))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xa13e8));const a114b=(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;};}()),a114a=a114b(this,function(){const g=a114d;return a114a[g(0x10a)]()[g(0x106)](g(0x107))[g(0x10a)]()[g(0x110)](a114a)[g(0x106)](g(0x107));});a114a();import{Generator}from'../../generator.js';const AWSGen=Generator[a114h(0x113)]({'name':a114h(0x114),'usage':a114h(0x10b),'shortDesc':a114h(0x109),'minArgLength':0x1,'isPro':![],'validOpts':[],'resourceNameRequired':![],'examples':[a114h(0x108)],'experimental':!![]},async function(){});export default AWSGen;function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x105;let f=c[d];return f;},a114d(a,b);}function a114c(){const i=['4432MfcTLr','68qvNNbH','search','(((.+)+)+)+$','maka\x20g:aws','Generate\x20AWS\x20templates','toString','maka\x20{generate,\x20g}:{aws}:<name>','460smnpwE','4473876updWCV','1899944MtQMSw','18gacLdJ','constructor','5499326xpkqnU','2115050ptMSeL','create','aws','3519225MgKNnT','26083NjTIFA'];a114c=function(){return i;};return a114c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0x1e5))/0x1*(parseInt(f(0x1ec))/0x2)+-parseInt(f(0x1e8))/0x3+parseInt(f(0x1f0))/0x4*(parseInt(f(0x1e6))/0x5)+parseInt(f(0x1ef))/0x6*(parseInt(f(0x1e2))/0x7)+parseInt(f(0x1e7))/0x8*(parseInt(f(0x1e3))/0x9)+-parseInt(f(0x1ee))/0xa*(parseInt(f(0x1f2))/0xb)+-parseInt(f(0x1e4))/0xc*(-parseInt(f(0x1f1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x53261));function a115c(){var i=['296023QmbqZi','227238WwZahG','(((.+)+)+)+$','4527838RqnmUd','9BtCSfv','336IYFCFX','30lCabhA','152380qHyUce','484152BKKwFC','1372548syHYvp','apply','toString','constructor','24580IrWIdI','search','160tZaOZD','6OglIVa','20NnimXc'];a115c=function(){return i;};return a115c();}var a115b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a115d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){var h=a115d;return a115a[h(0x1ea)]()[h(0x1ed)](h(0x1f3))['toString']()[h(0x1eb)](a115a)[h(0x1ed)](h(0x1f3));});function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x1e2;var f=c[d];return f;},a115d(a,b);}a115a();import'./cloudformation.js';import'./create-ec2-instance.cf.gen.js';
1
+ (function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0x153))/0x1*(-parseInt(f(0x147))/0x2)+parseInt(f(0x151))/0x3*(parseInt(f(0x148))/0x4)+parseInt(f(0x14b))/0x5*(parseInt(f(0x14a))/0x6)+-parseInt(f(0x149))/0x7+-parseInt(f(0x152))/0x8+-parseInt(f(0x14e))/0x9+-parseInt(f(0x14c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xb92ca));function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x147;var f=c[d];return f;},a115d(a,b);}function a115c(){var h=['2704568FGgrwb','1OTqsKu','1419226ZQaqcS','316KgpGgT','1836569RPGqQw','42yhKHss','906435QVDeMq','12894020lajnvU','constructor','5867091QSWnrK','toString','search','50187oHSkok'];a115c=function(){return h;};return a115c();}var a115b=(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;};}()),a115a=a115b(this,function(){var g=a115d;return a115a[g(0x14f)]()['search']('(((.+)+)+)+$')[g(0x14f)]()[g(0x14d)](a115a)[g(0x150)]('(((.+)+)+)+$');});a115a();import'./cloudformation.js';import'./create-ec2-instance.cf.gen.js';
@@ -1 +1 @@
1
- const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0xb7))/0x1+parseInt(f(0xb0))/0x2*(parseInt(f(0xb4))/0x3)+-parseInt(f(0xbd))/0x4+parseInt(f(0xb1))/0x5*(-parseInt(f(0xbe))/0x6)+parseInt(f(0xbf))/0x7*(-parseInt(f(0xb9))/0x8)+parseInt(f(0xb3))/0x9+parseInt(f(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xad369));const a116b=(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;};}()),a116a=a116b(this,function(){const g=a116d;return a116a[g(0xba)]()[g(0xb5)](g(0xaf))['toString']()[g(0xb2)](a116a)[g(0xb5)](g(0xaf));});a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xaf;let f=c[d];return f;},a116d(a,b);}import a116e from'../aws.js';const CFGen=Generator[a116h(0xc0)]({'name':a116h(0xbc),'aliases':['cf'],'usage':a116h(0xbb),'shortDesc':a116h(0xb8),'resourceNameRequired':![],'validOpts':[''],'isPro':![],'examples':['maka\x20g:aws:cf'],'experimental':!![]},async function(){},async function(){},a116e);export default CFGen;function a116c(){const i=['create','(((.+)+)+)+$','18EQxHMk','15635ETjqhs','constructor','6725511QfWQJm','93009Zcmbib','search','8147920NwdqiO','704529rcKLSa','AWS\x20Cloudformation\x20templates','21536WGbKlz','toString','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','cloudformation','3673180NWXCpk','1038sDolrk','980OMURAP'];a116c=function(){return i;};return a116c();}
1
+ const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x76))/0x1*(parseInt(f(0x6f))/0x2)+-parseInt(f(0x67))/0x3+parseInt(f(0x71))/0x4+-parseInt(f(0x64))/0x5*(parseInt(f(0x69))/0x6)+-parseInt(f(0x68))/0x7+parseInt(f(0x70))/0x8*(parseInt(f(0x6d))/0x9)+-parseInt(f(0x65))/0xa*(-parseInt(f(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6b025));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x6a)]()[h(0x6b)](h(0x66))[h(0x6a)]()['constructor'](a116a)[h(0x6b)](h(0x66));});a116a();import{Generator}from'../../../generator.js';import a116e from'../aws.js';const CFGen=Generator[a116i(0x6e)]({'name':a116i(0x73),'aliases':['cf'],'usage':a116i(0x72),'shortDesc':'AWS\x20Cloudformation\x20templates','resourceNameRequired':![],'validOpts':[''],'isPro':![],'examples':[a116i(0x6c)],'experimental':!![]},async function(){},async function(){},a116e);function a116c(){const j=['6960cOjVYz','toString','search','maka\x20g:aws:cf','21501tGJBKf','create','10VEDhup','2896PQLpEm','628068jkmJxf','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','cloudformation','apply','33uuyzVm','12271vfANNN','380vnkZMP','1116150nmekNg','(((.+)+)+)+$','1126365cjrOel','3612777dTsDuX'];a116c=function(){return j;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x64;let f=c[d];return f;},a116d(a,b);}export default CFGen;
@@ -1 +1 @@
1
- const a117q=a117d;(function(a,b){const o=a117d,c=a();while(!![]){try{const d=-parseInt(o(0x197))/0x1+parseInt(o(0x19d))/0x2*(-parseInt(o(0x1ae))/0x3)+parseInt(o(0x1a9))/0x4*(parseInt(o(0x1b4))/0x5)+-parseInt(o(0x1a0))/0x6+-parseInt(o(0x1ad))/0x7*(-parseInt(o(0x1aa))/0x8)+parseInt(o(0x1ac))/0x9+-parseInt(o(0x1a1))/0xa*(-parseInt(o(0x1a4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x6b239));const a117b=(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;};}()),a117a=a117b(this,function(){const p=a117d;return a117a[p(0x1b7)]()['search'](p(0x1af))[p(0x1b7)]()[p(0x1b6)](a117a)[p(0x19a)](p(0x1af));});a117a();import a117e from'path';import{Actions}from'../../../tools/actions/actions.class.js';import{capitalCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x197;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a117c(){const s=['toString','create-ec2-instance','637278GjthWu','ec2describeKeys','chooseSecurityGroup','search','notice','No\x20instance\x20has\x20been\x20created.','3338pomcJO','cloudformation','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','1808388cQydOT','1710hfbnDp','cec2i','error','40821GSULmJ','Please\x20choose\x20a\x20key\x20to\x20use:\x20','findProjectDirectory','ami-055744c75048d8296','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','50244rWlXsc','1008jpzBQp','template','1263708gyfAbV','11690JESUCx','537VKxkwM','(((.+)+)+)+$','maka\x20g:aws:cf:cec2i','aws','exit','cloudformation/create-ec2-instance.template','275pJRYtz','Setting\x20the\x20key-pair\x20to:\x20','constructor'];a117c=function(){return s;};return a117c();}import a117f from'./cloudformation.js';const CEC2Gen=Generator['create']({'name':a117q(0x1b8),'aliases':[a117q(0x1a2)],'usage':a117q(0x1a8),'resourceNameRequired':![],'shortDesc':a117q(0x19f),'mustBeInMakaProject':!![],'validOpts':[''],'isPro':![],'examples':[a117q(0x1b0)],'experimental':!![]},async function(){const r=a117q,{aws:a,fsi:b,scaffold:c,projectConfig:d}=this;try{const f=b[r(0x1a6)](),g=a117e['join'](f,r(0x19e)),h=await a[r(0x198)](),i=await Actions['ask'](r(0x1a5))||'-1';if(parseInt(i)<0x0){Log[r(0x1a3)]('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'),Log[r(0x19b)](r(0x19c));return;}let j='';if(h)for(const m of h){if(parseInt(i)===m['id']){j=m['name'],Log['success'](r(0x1b5)+j);break;}}const k=await a[r(0x199)](),l={'amiId':r(0x1a7),'keyPair':j,'sgId':k,'instanceName':capitalCase(d['appName'])['replaceAll']('-','\x20')};await c[r(0x1ab)]({'srcPath':r(0x1b3),'destPath':a117e['join'](g,'create-ec2-instance.template'),'framework':r(0x1b1),'context':l,'config':d,'ignore':![]});}catch(n){Log[r(0x1a3)](n),process[r(0x1b2)](0x1);}},async function(){},a117f);export default CEC2Gen;
1
+ function a117c(){const t=['constructor','4Zljsth','451aCEZOI','exit','ec2describeKeys','ami-055744c75048d8296','error','2215645aiGvME','create','Setting\x20the\x20key-pair\x20to:\x20','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','4AZfTUJ','868878ZwCAKt','chooseSecurityGroup','30852EewMEg','4255248mYbGuq','create-ec2-instance.template','appName','success','join','apply','No\x20instance\x20has\x20been\x20created.','397740FrrMtQ','940hSEkMl','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','1114248PYCeFD','7JqfnLj','aws','cec2i','search','2527784OYWNBM','toString'];a117c=function(){return t;};return a117c();}const a117r=a117d;(function(a,b){const o=a117d,c=a();while(!![]){try{const d=parseInt(o(0x18e))/0x1+-parseInt(o(0x1a0))/0x2*(-parseInt(o(0x1a1))/0x3)+parseInt(o(0x196))/0x4*(-parseInt(o(0x19c))/0x5)+parseInt(o(0x1a4))/0x6+parseInt(o(0x18f))/0x7*(-parseInt(o(0x193))/0x8)+-parseInt(o(0x1a3))/0x9*(-parseInt(o(0x18c))/0xa)+-parseInt(o(0x197))/0xb*(parseInt(o(0x18b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x942ad));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a117d;if(c){const e=c[p(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const q=a117d;return a117a[q(0x194)]()[q(0x192)]('(((.+)+)+)+$')[q(0x194)]()[q(0x195)](a117a)[q(0x192)]('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x189;let f=c[d];return f;},a117d(a,b);}a117a();import a117e from'path';import{Actions}from'../../../tools/actions/actions.class.js';import{capitalCase}from'change-case';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117f from'./cloudformation.js';const CEC2Gen=Generator[a117r(0x19d)]({'name':'create-ec2-instance','aliases':[a117r(0x191)],'usage':a117r(0x18d),'resourceNameRequired':![],'shortDesc':a117r(0x19f),'mustBeInMakaProject':!![],'validOpts':[''],'isPro':![],'examples':['maka\x20g:aws:cf:cec2i'],'experimental':!![]},async function(){const s=a117r,{aws:a,fsi:b,scaffold:c,projectConfig:d}=this;try{const f=b['findProjectDirectory'](),g=a117e[s(0x1a8)](f,'cloudformation'),h=await a[s(0x199)](),i=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(i)<0x0){Log[s(0x19b)]('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'),Log['notice'](s(0x18a));return;}let j='';if(h)for(const m of h){if(parseInt(i)===m['id']){j=m['name'],Log[s(0x1a7)](s(0x19e)+j);break;}}const k=await a[s(0x1a2)](),l={'amiId':s(0x19a),'keyPair':j,'sgId':k,'instanceName':capitalCase(d[s(0x1a6)])['replaceAll']('-','\x20')};await c['template']({'srcPath':'cloudformation/create-ec2-instance.template','destPath':a117e[s(0x1a8)](g,s(0x1a5)),'framework':s(0x190),'context':l,'config':d,'ignore':![]});}catch(n){Log['error'](n),process[s(0x198)](0x1);}},async function(){},a117f);export default CEC2Gen;