@maka/maka-cli 4.7.16 → 4.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/.eslintrc.json +29 -29
  2. package/.mocharc.json +3 -3
  3. package/README.md +21 -21
  4. package/bundle/obf/package.json +126 -126
  5. package/bundle/obf/src/README.md +21 -21
  6. package/bundle/obf/src/command.js +1 -1
  7. package/bundle/obf/src/commands/_index.js +1 -1
  8. package/bundle/obf/src/commands/ai.js +1 -1
  9. package/bundle/obf/src/commands/aws/_index.js +1 -1
  10. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  11. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/build/_index.js +1 -1
  24. package/bundle/obf/src/commands/build/build.js +1 -1
  25. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/create.js +1 -1
  27. package/bundle/obf/src/commands/debug.js +1 -1
  28. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  29. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  30. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/_index.js +1 -1
  33. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/play.command.js +1 -1
  35. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/generate.js +1 -1
  73. package/bundle/obf/src/commands/get/_index.js +1 -1
  74. package/bundle/obf/src/commands/get/get.command.js +1 -1
  75. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  78. package/bundle/obf/src/commands/help.js +1 -1
  79. package/bundle/obf/src/commands/install.js +1 -1
  80. package/bundle/obf/src/commands/jsdoc.js +1 -1
  81. package/bundle/obf/src/commands/lint.js +1 -1
  82. package/bundle/obf/src/commands/login.js +1 -1
  83. package/bundle/obf/src/commands/logout.js +1 -1
  84. package/bundle/obf/src/commands/logs.js +1 -1
  85. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  86. package/bundle/obf/src/commands/murder.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/run/_index.js +1 -1
  90. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/run/run.command.js +1 -1
  92. package/bundle/obf/src/commands/set/_index.js +1 -1
  93. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/set.command.js +1 -1
  96. package/bundle/obf/src/commands/ssh.js +1 -1
  97. package/bundle/obf/src/commands/ssl.js +1 -1
  98. package/bundle/obf/src/commands/test.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/kit.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  119. package/bundle/obf/src/generators/layout.js +1 -1
  120. package/bundle/obf/src/generators/maka.gen.js +1 -1
  121. package/bundle/obf/src/generators/methods.js +1 -1
  122. package/bundle/obf/src/generators/package.js +1 -1
  123. package/bundle/obf/src/generators/page.js +1 -1
  124. package/bundle/obf/src/generators/publish.js +1 -1
  125. package/bundle/obf/src/generators/route.js +1 -1
  126. package/bundle/obf/src/generators/service.js +1 -1
  127. package/bundle/obf/src/generators/services/_index.js +1 -1
  128. package/bundle/obf/src/generators/services/openssl.js +1 -1
  129. package/bundle/obf/src/generators/services/translation.js +1 -1
  130. package/bundle/obf/src/maka.js +1 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  132. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  133. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  134. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  135. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  136. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  137. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  138. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  139. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  140. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  141. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  142. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  143. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  144. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  145. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  146. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  147. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  148. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  149. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  150. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  151. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  152. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  153. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  154. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  155. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  156. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  157. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  158. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  159. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  160. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  161. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  162. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  163. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  164. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  165. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  166. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  167. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  168. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  180. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  181. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  182. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  183. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  184. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  185. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  186. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  187. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  188. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  189. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  190. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  191. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  192. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  193. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  194. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  195. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  196. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  197. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  198. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  199. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  200. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  201. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  202. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  203. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  204. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  205. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  206. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  207. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  208. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  209. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  210. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  211. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  212. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  213. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  214. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  215. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  216. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  217. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  218. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  219. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  220. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  221. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  222. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  223. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  224. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  225. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  226. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  227. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  228. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  229. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  230. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  231. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  232. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  233. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  234. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  235. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  236. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  237. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  238. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  239. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  240. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  241. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  242. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  243. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  244. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  245. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  246. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  247. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  248. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  249. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  250. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  251. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  252. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  253. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  254. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  255. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  256. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  257. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  258. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  260. package/bundle/obf/src/templates/react/component/component.css +6 -6
  261. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  262. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  263. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  264. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  265. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  266. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  267. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  268. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  269. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  270. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  271. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  272. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  273. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  274. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  275. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  276. package/bundle/obf/src/templates/react/route/route.js +8 -8
  277. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  278. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  279. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  280. package/bundle/obf/src/templates/react/test/test.js +1 -1
  281. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  282. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  283. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  284. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  285. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  286. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  287. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  288. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  289. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  290. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  291. package/bundle/obf/src/tool.js +1 -1
  292. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  293. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  294. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  295. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  296. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  297. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  298. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  299. package/bundle/obf/src/tools/https/https.class.js +1 -1
  300. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  301. package/bundle/obf/src/tools/log/log.class.js +1 -1
  302. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  303. package/bundle/obf/src/tools/options/options.class.js +1 -1
  304. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  305. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  306. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  308. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  310. package/jest.config.js +11 -11
  311. package/obfuscator.json +29 -29
  312. package/package.json +126 -126
  313. package/tsconfig.json +23 -23
  314. package/.vs/VSWorkspaceState.json +0 -15
  315. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  316. package/.vs/maka-cli-src/FileContentIndex/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  320. package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
  321. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  322. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  323. package/.vs/slnx.sqlite +0 -0
@@ -1 +1 @@
1
- const a81p=a81d;(function(a,b){const m=a81d,c=a();while(!![]){try{const d=-parseInt(m(0xdf))/0x1*(-parseInt(m(0xf2))/0x2)+parseInt(m(0x104))/0x3*(parseInt(m(0xdd))/0x4)+parseInt(m(0xf0))/0x5*(-parseInt(m(0xdc))/0x6)+parseInt(m(0xfa))/0x7*(parseInt(m(0xe5))/0x8)+parseInt(m(0xe9))/0x9*(parseInt(m(0xfb))/0xa)+parseInt(m(0xec))/0xb*(parseInt(m(0xe2))/0xc)+-parseInt(m(0xe7))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x84da3));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a81d;if(c){const e=c[n(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const o=a81d;return a81a['toString']()['search'](o(0xfc))[o(0x100)]()[o(0xe1)](a81a)[o(0xf5)](o(0xfc));});a81a();import a81e from'fs';import a81f from'path';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xd8;let f=c[d];return f;},a81d(a,b);}import a81g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a81h from'../generators/maka.gen.js';function a81c(){const r=['isFile','fsi','55cbwAOw','targetPort','getAppConfigPath','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','700ztvmzp','.key','211610kuAoyx','maka\x20proxy\x20--target-host\x20http://192.168.1.20','targetHost','search','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','proxy','sslconfig','genCSR','7FiAkwk','13210nypBTz','(((.+)+)+)+$','listen','.crt','create','toString','apply','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','localhost','1473VAqHYp','readFileSync','utf8','listenPort','maka\x20proxy','=>\x20SSL\x20Proxy\x20forwarding\x20','mkKeysDir','processAndRunGenerator','30192FVlNSQ','5364arVGtH','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','9EuIeAv','genSSC','constructor','1828716GqByCE','.csr','appName','5730712ANeWUE','\x20to\x20','37164764LskHbS','join','6939BhxCVB'];a81c=function(){return r;};return a81c();}Command[a81p(0xff)]({'name':a81p(0xf7),'usage':a81p(0xd8),'mustBeInMakaProject':!![],'validOpts':['help',a81p(0xed),'listenPort',a81p(0xf4)],'maxArgLength':0x1,'shortDesc':a81p(0xde),'description':a81p(0xf6),'examples':[a81p(0xd8),a81p(0xef),a81p(0xf3)]},async function(a,b){const q=a81p,c=this[q(0xeb)]['getMakaProjectConfig'](),d='development',e=this[q(0xeb)][q(0xee)](d),f=this[q(0xeb)][q(0xda)]({'configPath':e}),g=b[q(0xed)]?Number(b[q(0xed)]):0xbb8,h=b[q(0x107)]?Number(b[q(0x107)]):0xd73,i=b[q(0xf4)]?b[q(0xf4)]:q(0x103),j=a81f[q(0xe8)](f,c[q(0xe4)]+'.key'),k=a81f[q(0xe8)](f,c[q(0xe4)]+q(0xfe));(!this[q(0xeb)][q(0xea)](j)||!this[q(0xeb)][q(0xea)](k))&&(await a81h[q(0xdb)](q(0xf8),[],{'env':d}),SSL[q(0xf9)]({'keyName':c[q(0xe4)]+q(0xf1),'csrName':c[q(0xe4)]+q(0xe3),'cwd':f}),SSL[q(0xe0)]({'keyName':c[q(0xe4)]+'.key','crtName':c[q(0xe4)]+q(0xfe),'cwd':f}));if(g===h){Log['error'](q(0x102));throw new UsageError();}const l={'ssl':{'key':a81e[q(0x105)](j,q(0x106)),'cert':a81e[q(0x105)](k,q(0x106))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a81g['createProxyServer'](l)[q(0xfd)](Number(h)),Log['bright'](q(0xd9)+h+q(0xe6)+g);});
1
+ const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x1f0))/0x1*(-parseInt(m(0x1f8))/0x2)+parseInt(m(0x1fe))/0x3*(parseInt(m(0x20b))/0x4)+-parseInt(m(0x20f))/0x5*(parseInt(m(0x20d))/0x6)+-parseInt(m(0x211))/0x7*(parseInt(m(0x1ef))/0x8)+parseInt(m(0x1ee))/0x9*(parseInt(m(0x200))/0xa)+parseInt(m(0x1f5))/0xb*(parseInt(m(0x208))/0xc)+-parseInt(m(0x215))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x91180));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x210)]()[o(0x209)](o(0x1eb))[o(0x210)]()['constructor'](a82a)[o(0x209)](o(0x1eb));});a82a();import a82e from'fs';import a82f from'path';function a82c(){const r=['toString','2002EEvRtA','mkKeysDir','readFileSync','.csr','1507779ZKyDVF','utf8','development','(((.+)+)+)+$','sslconfig','processAndRunGenerator','18cqzAFi','6984BfxoKL','35783KLOcVH','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','appName','164692BGsqto','.key','maka\x20proxy\x20--target-host\x20http://192.168.1.20','4OVhRFS','getAppConfigPath','bright','getMakaProjectConfig','targetHost','error','1185MldlTf','apply','4982570uQbRBs','listenPort','createProxyServer','join','genSSC','isFile','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genCSR','360guTeol','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','4124ppxnQH','localhost','4928328Udzwva','targetPort','5ZdFmSO'];a82c=function(){return r;};return a82c();}import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a82d(a,b);}Command['create']({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help',a82p(0x20e),a82p(0x201),a82p(0x1fc)],'maxArgLength':0x1,'shortDesc':a82p(0x20a),'description':a82p(0x1f3),'examples':['maka\x20proxy',a82p(0x1f2),a82p(0x1f7)]},async function(a,b){const q=a82p,c=this[q(0x1f1)][q(0x1fb)](),d=q(0x217),e=this[q(0x1f1)][q(0x1f9)](d),f=this['fsi'][q(0x212)]({'configPath':e}),g=b[q(0x20e)]?Number(b[q(0x20e)]):0xbb8,h=b[q(0x201)]?Number(b[q(0x201)]):0xd73,i=b[q(0x1fc)]?b['targetHost']:q(0x20c),j=a82f[q(0x203)](f,c[q(0x1f4)]+q(0x1f6)),k=a82f[q(0x203)](f,c[q(0x1f4)]+'.crt');(!this[q(0x1f1)]['isFile'](j)||!this[q(0x1f1)][q(0x205)](k))&&(await a82h[q(0x1ed)](q(0x1ec),[],{'env':d}),SSL[q(0x207)]({'keyName':c['appName']+q(0x1f6),'csrName':c['appName']+q(0x214),'cwd':f}),SSL[q(0x204)]({'keyName':c[q(0x1f4)]+q(0x1f6),'crtName':c[q(0x1f4)]+'.crt','cwd':f}));if(g===h){Log[q(0x1fd)](q(0x206));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x213)](j,q(0x216)),'cert':a82e['readFileSync'](k,q(0x216))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x202)](l)['listen'](Number(h)),Log[q(0x1fa)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a82q=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0x126))/0x1+parseInt(n(0x122))/0x2*(parseInt(n(0x10e))/0x3)+-parseInt(n(0x12a))/0x4*(-parseInt(n(0x115))/0x5)+-parseInt(n(0x11e))/0x6+-parseInt(n(0x10f))/0x7+-parseInt(n(0x135))/0x8+-parseInt(n(0x11f))/0x9*(-parseInt(n(0x123))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x364bc));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a82d;if(c){const e=c[o(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const p=a82d;return a82a[p(0x136)]()[p(0x111)](p(0x110))[p(0x136)]()[p(0x13a)](a82a)[p(0x111)](p(0x110));});function a82c(){const s=['Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','6WnGmmJ','4380NLxmWU','ssh','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','216123NqClLY','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','maka\x20reconfig','780772BKDsLF','env','pm2\x20delete\x20all','reconfig','uname\x20-a','getAppConfigPath','readFileSync','success','ses.json','reconfigure','ssh.json','93360nfHCHE','toString','ping','sshSync','pm2.config.js','constructor','notice','_keys','142383IevbvN','1774941rTYXwW','(((.+)+)+)+$','search','Checking\x20remote\x20host\x20availability','existsSync','parse','10SRGJhP','apply','scp','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','assign','~/settings.json','~/pm2.config.js','join','settings.json','1662186DiRvEF','324odeYXc','~/ses.json'];a82c=function(){return s;};return a82c();}a82a();function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x10e;let f=c[d];return f;},a82d(a,b);}import a82e from'fs';import a82f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a82q(0x133),'aliases':[a82q(0x12d)],'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a82q(0x129),'isPro':!![],'shortDesc':a82q(0x121),'description':a82q(0x118),'examples':[a82q(0x128)]},async function(a,b){const r=a82q;try{const c=this['fsi'][r(0x12f)](b[r(0x12b)]),d=a82f[r(0x11c)](c,r(0x134)),f=a82e[r(0x130)](d)['toString'](),g=JSON[r(0x114)](f);Object[r(0x119)](g,{'env':c}),Log[r(0x13b)](r(0x112));const h=SSH[r(0x137)](r(0x12e),g);if(!h)throw r(0x127);if(h)Log[r(0x131)]('Remote\x20host\x20connection\x20successful');const i=a82f[r(0x11c)](c,r(0x13c),r(0x132));if(a82e[r(0x113)](i)){const l={'source':i,'dest':r(0x120),'verbose':!![]};SSH[r(0x117)](l,{...g});}const j=a82f[r(0x11c)](c,r(0x139));SSH[r(0x117)]({'source':j,'dest':r(0x11b),'verbose':!![]},{...g});const k=a82f[r(0x11c)](c,r(0x11d));SSH[r(0x117)]({'source':k,'dest':r(0x11a),'verbose':!![]},{...g}),SSH[r(0x138)](r(0x12c),g),await SSH[r(0x124)](r(0x125),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
1
+ const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x10c))/0x1*(parseInt(n(0x10e))/0x2)+parseInt(n(0x122))/0x3*(-parseInt(n(0x105))/0x4)+parseInt(n(0x112))/0x5+parseInt(n(0x114))/0x6+-parseInt(n(0x115))/0x7+parseInt(n(0x11c))/0x8+parseInt(n(0x111))/0x9*(-parseInt(n(0x108))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xbf28e));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x117)]()[p(0xfe)](p(0x119))[p(0x117)]()[p(0x129)](a83a)[p(0xfe)]('(((.+)+)+)+$');});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xfd;let f=c[d];return f;},a83d(a,b);}a83a();import a83e from'fs';import a83f from'path';function a83c(){const s=['toString','scp','(((.+)+)+)+$','sshSync','~/pm2.config.js','674832NXaokx','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','ssh','pm2\x20delete\x20all','existsSync','257805zeylyG','~/ses.json','readFileSync','Checking\x20remote\x20host\x20availability','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','reconfigure','uname\x20-a','constructor','join','_keys','pm2.config.js','exit','success','assign','search','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','ses.json','create','~/settings.json','maka\x20reconfig','settings.json','52MNNNJe','fsi','reconfig','760lZHFjb','Remote\x20host\x20connection\x20successful','notice','apply','1191205RWagoG','parse','2beVyBd','ping','getAppConfigPath','247824FUVkCQ','6362285VZydRP','env','9345342eKlsiq','788844ggUqeA','maka\x20reconfig\x20--env\x20prod'];a83c=function(){return s;};return a83c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0x101)]({'name':a83q(0x127),'aliases':[a83q(0x107)],'validOpts':[''],'requiredOpts':[a83q(0x113)],'mustBeInMakaProject':!![],'usage':a83q(0x103),'isPro':!![],'shortDesc':a83q(0x11e),'description':a83q(0xff),'examples':[a83q(0x116)]},async function(a,b){const r=a83q;try{const c=this[r(0x106)][r(0x110)](b[r(0x113)]),d=a83f[r(0x12a)](c,'ssh.json'),f=a83e[r(0x124)](d)['toString'](),g=JSON[r(0x10d)](f);Object[r(0xfd)](g,{'env':c}),Log[r(0x10a)](r(0x125));const h=SSH[r(0x10f)](r(0x128),g);if(!h)throw r(0x11d);if(h)Log[r(0x12e)](r(0x109));const i=a83f[r(0x12a)](c,r(0x12b),r(0x100));if(a83e[r(0x121)](i)){const l={'source':i,'dest':r(0x123),'verbose':!![]};SSH[r(0x118)](l,{...g});}const j=a83f['join'](c,r(0x12c));SSH[r(0x118)]({'source':j,'dest':r(0x11b),'verbose':!![]},{...g});const k=a83f[r(0x12a)](c,r(0x104));SSH['scp']({'source':k,'dest':r(0x102),'verbose':!![]},{...g}),SSH[r(0x11a)](r(0x120),g),await SSH[r(0x11f)](r(0x126),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x12d)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x142))/0x1*(-parseInt(f(0x141))/0x2)+-parseInt(f(0x145))/0x3*(parseInt(f(0x148))/0x4)+-parseInt(f(0x143))/0x5+-parseInt(f(0x14b))/0x6*(-parseInt(f(0x147))/0x7)+parseInt(f(0x149))/0x8*(parseInt(f(0x14c))/0x9)+-parseInt(f(0x13e))/0xa+-parseInt(f(0x140))/0xb*(-parseInt(f(0x14a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x87354));var a85b=(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;};}()),a85a=a85b(this,function(){var g=a85d;return a85a[g(0x13f)]()['search'](g(0x146))[g(0x13f)]()[g(0x144)](a85a)[g(0x13d)](g(0x146));});a85a();import'./run.command.js';import'./docker.sub.cmd.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x13d;var f=c[d];return f;},a85d(a,b);}function a85c(){var h=['3306964WeWEpA','288buOpTz','1620204lZQuoy','4332TiCVTO','247230oyJkGJ','search','432960rxhWQL','toString','22YTHLCT','2qBEFce','439981Yuhrtn','217400KRafPf','constructor','3GoUQss','(((.+)+)+)+$','6286niVTRq'];a85c=function(){return h;};return a85c();}
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xa1))/0x1+-parseInt(f(0x98))/0x2*(-parseInt(f(0xa3))/0x3)+-parseInt(f(0x9f))/0x4+-parseInt(f(0x9d))/0x5+-parseInt(f(0x9a))/0x6+-parseInt(f(0x9e))/0x7+parseInt(f(0x9c))/0x8*(parseInt(f(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x1ff16));function a84c(){var i=['search','162489WhewKO','constructor','54KGrfoJ','4yuDyUX','(((.+)+)+)+$','79632VAXamv','apply','499952xSrSBG','548780nVlMLB','1706817KdJqRa','777384ObkTmf','toString','208753pdnArD'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x96;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0xa2)](h(0x99))[h(0xa0)]()[h(0x96)](a84a)[h(0xa2)](h(0x99));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a83l=a83d;(function(a,b){const i=a83d,c=a();while(!![]){try{const d=-parseInt(i(0x1a9))/0x1+-parseInt(i(0x1b6))/0x2*(-parseInt(i(0x1b5))/0x3)+-parseInt(i(0x1bf))/0x4+-parseInt(i(0x1b2))/0x5*(-parseInt(i(0x1a3))/0x6)+-parseInt(i(0x1b1))/0x7+-parseInt(i(0x1aa))/0x8+-parseInt(i(0x1a1))/0x9*(-parseInt(i(0x1bb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xea036));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a83d;if(c){const e=c[j(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const k=a83d;return a83a[k(0x1a5)]()[k(0x1b4)](k(0x1bc))[k(0x1a5)]()[k(0x1b9)](a83a)[k(0x1b4)](k(0x1bc));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';function a83c(){const n=['42LpeRvv','32740xdPnme','docker-compose\x20--project-directory\x20','existsSync','constructor','templateContent','640RwbvbH','(((.+)+)+)+$','appName','join','539696LrCbAe','notice','inherit','642483OzBZjY','PM2\x20Config\x20File:\x20','675858jQNdrc','create','toString','fsi','docker-compose.yaml','apply','1836600VFWZBo','13811488mVfAZP','exit','\x20up\x20--remove-orphans','docker','createFile','pm2.config.js','Docker\x20Compose\x20Path:\x20','11240803epRFTN','65tsMxKS','maka\x20run\x20docker','search'];a83c=function(){return n;};return a83c();}import a83f from'path';import a83g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a83l(0x1a4)]({'name':a83l(0x1ad),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a83l(0x1b3),'isPro':!![],'validOpts':['']},async function(){const m=a83l;try{const a=this[m(0x1a6)]['getMakaProjectConfig'](),b=this[m(0x1a6)]['getAppConfigPath'](m(0x1ad)),c=a83f[m(0x1be)](b,m(0x1a7)),d=a83f[m(0x1be)](b,m(0x1af));Log['notice'](m(0x1a2)+d),Log[m(0x1c0)](m(0x1b0)+c);if(!a83g[m(0x1b8)](c)){const f={'app':a[m(0x1bd)],'appFileCase':paramCase(a[m(0x1bd)])},g=this[m(0x1a6)][m(0x1ba)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][m(0x1ae)]({'filePath':c,'data':g});}execSync(m(0x1b7)+b+m(0x1ac),{'stdio':m(0x1a0)});}catch(h){process[m(0x1ab)](0x1);}},a83e);
1
+ const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x137))/0x1+parseInt(i(0x12d))/0x2+-parseInt(i(0x13b))/0x3*(-parseInt(i(0x12a))/0x4)+-parseInt(i(0x13a))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x13e))/0x7+-parseInt(i(0x12c))/0x8+-parseInt(i(0x131))/0x9*(parseInt(i(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb1ddf));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x125)]()[k(0x12e)](k(0x13c))['toString']()[k(0x139)](a85a)[k(0x12e)]('(((.+)+)+)+$');});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a85c(){const n=['apply','27oxVabh','docker-compose\x20--project-directory\x20','templateContent','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','config/docker-compose.yaml','4938630JnhOAW','67919imOppp','existsSync','constructor','5lrptmm','3UwBbwP','(((.+)+)+)+$','create','3393859GTHUlv','appName','exit','Docker\x20Compose\x20Path:\x20','PM2\x20Config\x20File:\x20','getAppConfigPath','inherit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose.yaml','fsi','toString','4112112RiRaXp','notice','join','getMakaProjectConfig','1721116LawFyh','docker','3079512uEbDPj','1853368vKycAl','search','maka\x20run\x20docker'];a85c=function(){return n;};return a85c();}import{paramCase}from'change-case';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x11f;let f=c[d];return f;},a85d(a,b);}Command[a85l(0x13d)]({'name':a85l(0x12b),'aliases':['d'],'shortDesc':a85l(0x122),'description':a85l(0x134),'usage':a85l(0x12f),'isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this['fsi'][m(0x129)](),b=this['fsi'][m(0x120)](m(0x12b)),c=a85f['join'](b,m(0x123)),d=a85f[m(0x128)](b,'pm2.config.js');Log[m(0x127)](m(0x11f)+d),Log['notice'](m(0x141)+c);if(!a85g[m(0x138)](c)){const f={'app':a[m(0x13f)],'appFileCase':paramCase(a[m(0x13f)])},g=this['fsi'][m(0x133)]({'srcPath':m(0x135),'context':f})+'\x0a';this[m(0x124)]['createFile']({'filePath':c,'data':g});}execSync(m(0x132)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x121)});}catch(h){process[m(0x140)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(0x9f))/0x1*(parseInt(p(0xb3))/0x2)+parseInt(p(0xa9))/0x3*(parseInt(p(0x93))/0x4)+-parseInt(p(0x7a))/0x5*(-parseInt(p(0x9b))/0x6)+parseInt(p(0x91))/0x7*(-parseInt(p(0x8c))/0x8)+-parseInt(p(0x8a))/0x9*(-parseInt(p(0x8e))/0xa)+-parseInt(p(0x7e))/0xb*(-parseInt(p(0x8d))/0xc)+parseInt(p(0xa3))/0xd*(-parseInt(p(0x76))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x9322b));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a84d;if(c){const e=c[q(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const r=a84d;return a84a[r(0xae)]()[r(0xa1)](r(0xac))[r(0xae)]()[r(0x84)](a84a)['search'](r(0xac));});a84a();import a84e from'path';import a84f from'fs';import a84g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const w=['inspect','production','verbose','constructor','checkMeteorPackage','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','web.browser.legacy','mobileServer','isFile','56907eGbuur','push','2008OdUiUO','5613864OtYXvt','1280YLSaHA','fsi','settings.json','31143jKZQzb','concat','4jTICnC','splice','Meteor\x20Settings:\x20','development','apply','run','allowIncompatibleUpdate','split','245640DqCiel','excludeArchs','createFile','findProjectDirectory','1FJsIcL','Run\x20your\x20Meteor\x20application','search','--production','24641084xYfqXQ','error','local','argv','port','Node\x20Env\x20Config:\x20','3556347vNewel','ios','length','(((.+)+)+)+$','extraPackages','toString','rawLogs','slice','process.env','app','1976918XeAJqZ','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','--settings','notice','isDirectory','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','14CWpkUI','info','exit','.meteor','20FNGyhI','config','join','filter','11cnKxrw','env','cordova-build'];a84c=function(){return w;};return a84c();}const syncSource=function(a){const s=a84d;a84f['openSync'](a,'r'),a84g[s(0x7b)]({'path':a});},Run=Command['create']({'name':a84t(0x98),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a84t(0xa0),'description':a84t(0x75),'validOpts':[a84t(0x7f),a84t(0xaf),a84t(0xa7),a84t(0x81),a84t(0x88),a84t(0x83),a84t(0x99),a84t(0xad),'x',a84t(0x9c),a84t(0x82),'ci']},async function(a,b){const u=a84t;try{await this[u(0x8f)][u(0x85)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===u(0xaa)){const l=this[u(0x8f)][u(0x9e)](),m=a84e[u(0x7c)](l,u(0xb2),u(0x79),u(0xa5),u(0x80));this[u(0x8f)][u(0xb7)](m)&&await rimraf(m);}!b[u(0x9c)]&&!b['x']&&(a=a[u(0x92)](['--exclude-archs',u(0x87)]));if(b[u(0x88)]&&typeof b[u(0x88)]==='boolean')throw u(0x86);const d=b[u(0x7f)]?b['env']:u(0x96),f=this['fsi']['getAppConfigPath'](d),g=a84e[u(0x7c)](f,u(0xb1));let h=a84e['join'](f,u(0x90));b['settings']?h=b['settings']:h=a84e[u(0x7c)](f,u(0x90));this['fsi'][u(0x89)](g)?(Log[u(0xb6)](u(0xa8)+g),syncSource(g)):(Log[u(0x77)](u(0xb4)+g),this['fsi'][u(0x9d)]({'filePath':g,'data':''}));this['fsi'][u(0x89)](h)?(Log[u(0xb6)](u(0x95)+h),a=a[u(0x92)]([u(0xb5),h])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[u(0x9a)](a84e['sep']),j=i[i[u(0xab)]-0x1];j==='production'&&a[u(0x8b)](u(0xa2));const k=process[u(0xa6)][u(0xb0)](0x2)[u(0x7d)](n=>n!=='run')['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n==='--env'&&k[v(0x94)](o,0x2),n==='-e'&&k['splice'](o,0x2);}),this[u(0x8f)]['invokeMeteorCommand'](u(0x98),a['concat'](k));}catch(n){Log[u(0xa4)](n),process[u(0x78)](0x1);}});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x75;let f=c[d];return f;},a84d(a,b);}export default Run;
1
+ const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x106))/0x1*(-parseInt(p(0x135))/0x2)+parseInt(p(0x12d))/0x3+parseInt(p(0x117))/0x4*(parseInt(p(0xfa))/0x5)+parseInt(p(0x128))/0x6*(parseInt(p(0xf5))/0x7)+parseInt(p(0x12c))/0x8+-parseInt(p(0xf7))/0x9+-parseInt(p(0x11f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x34834));function a86c(){const v=['slice','--env','3CwoNoE','app','production','forEach','process.env','allowIncompatibleUpdate','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','boolean','verbose','warn','extraPackages','splice','port','run','filter','settings','12PVlKAd','(((.+)+)+)+$','--exclude-archs','development','env','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','argv','notice','2574950YgEAdY','error','rawLogs','getAppConfigPath','sep','invokeMeteorCommand','constructor','split','Meteor\x20Settings:\x20','1842QWNaMr','exit','isFile','Run\x20your\x20Meteor\x20application','838168zufzbn','713316UjgmTE','push','web.browser.legacy','join','mobileServer','--production','search','--settings','11318LlVuqg','ios','cordova-build','toString','openSync','info','4004YpQcHV','inspect','3266208aasjes','.meteor','length','557215lqfYyV','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','local','settings.json','createFile','Node\x20Env\x20Config:\x20','checkMeteorPackage','isDirectory','concat','config'];a86c=function(){return v;};return a86c();}const a86b=(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;};}()),a86a=a86b(this,function(){const q=a86d;return a86a['toString']()[q(0x133)](q(0x118))[q(0x138)]()[q(0x125)](a86a)[q(0x133)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const r=a86d;a86f[r(0x139)](a,'r'),a86g[r(0x103)]({'path':a});},Run=Command['create']({'name':a86s(0x114),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86s(0x12b),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86s(0x11b),a86s(0x121),a86s(0x113),a86s(0xf6),'mobileServer',a86s(0x10f),a86s(0x10b),a86s(0x111),'x','excludeArchs',a86s(0x108),'ci']},async function(a,b){const t=a86s;try{await this[t(0x10d)][t(0x100)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x136)){const l=this[t(0x10d)]['findProjectDirectory'](),m=a86e[t(0x130)](l,t(0x107),t(0xf8),t(0xfc),t(0x137));this[t(0x10d)][t(0x101)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[t(0x102)]([t(0x119),t(0x12f)]));if(b['mobileServer']&&typeof b[t(0x131)]===t(0x10e))throw t(0x11c);const d=b[t(0x11b)]?b[t(0x11b)]:t(0x11a),f=this[t(0x10d)][t(0x122)](d),g=a86e[t(0x130)](f,t(0x10a));let h=a86e['join'](f,'settings.json');b[t(0x116)]?h=b[t(0x116)]:h=a86e['join'](f,t(0xfd));this[t(0x10d)][t(0x12a)](g)?(Log[t(0x11e)](t(0xff)+g),syncSource(g)):(Log[t(0xf4)](t(0xfb)+g),this[t(0x10d)][t(0xfe)]({'filePath':g,'data':''}));this[t(0x10d)]['isFile'](h)?(Log[t(0x11e)](t(0x127)+h),a=a[t(0x102)]([t(0x134),h])):Log[t(0x110)](t(0x10c)+h);const i=f[t(0x126)](a86e[t(0x123)]),j=i[i[t(0xf9)]-0x1];j===t(0x108)&&a[t(0x12e)](t(0x132));const k=process[t(0x11d)][t(0x104)](0x2)[t(0x115)](n=>n!==t(0x114))['filter'](n=>n!==a[0x0]);k[t(0x109)]((n,o)=>{const u=t;n===u(0x105)&&k[u(0x112)](o,0x2),n==='-e'&&k[u(0x112)](o,0x2);}),this[t(0x10d)][t(0x124)]('run',a['concat'](k));}catch(n){Log[t(0x120)](n),process[t(0x129)](0x1);}});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xf4;let f=c[d];return f;},a86d(a,b);}export default Run;
@@ -1 +1 @@
1
- function a89c(){var h=['737156uWazKa','1220056pJYXcG','3291CnsitZ','62635wokGLz','119042OvSmgM','5577723vyCejk','590YCaPnH','54rNtymU','(((.+)+)+)+$','1908zPZpRE','constructor','toString','1RpqCFf','search','313466tMoJsZ'];a89c=function(){return h;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x150;var f=c[d];return f;},a89d(a,b);}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x159))/0x1*(-parseInt(f(0x15b))/0x2)+-parseInt(f(0x15e))/0x3*(parseInt(f(0x156))/0x4)+-parseInt(f(0x150))/0x5*(parseInt(f(0x154))/0x6)+parseInt(f(0x15c))/0x7+-parseInt(f(0x15d))/0x8+parseInt(f(0x152))/0x9+parseInt(f(0x153))/0xa*(parseInt(f(0x151))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x661fd));var a89b=(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;};}()),a89a=a89b(this,function(){var g=a89d;return a89a[g(0x158)]()['search'](g(0x155))['toString']()[g(0x157)](a89a)[g(0x15a)](g(0x155));});a89a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a87c(){var i=['2206500vignXd','914000ouCGcU','673453pZIFRu','11504rykdUb','7eMVxbn','search','toString','(((.+)+)+)+$','apply','378710iLbGro','3XKExbe','3177jOsiMz','333913RKTSfR','132WjYrLX','65kUVJgK','53828qyKYwe'];a87c=function(){return i;};return a87c();}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1f5))/0x1+parseInt(f(0x1f2))/0x2*(-parseInt(f(0x1f3))/0x3)+parseInt(f(0x1f8))/0x4*(-parseInt(f(0x1f7))/0x5)+parseInt(f(0x1f9))/0x6*(parseInt(f(0x1ed))/0x7)+-parseInt(f(0x1fc))/0x8*(-parseInt(f(0x1f4))/0x9)+parseInt(f(0x1fa))/0xa+-parseInt(f(0x1fb))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x40310));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x1ef)]()[h(0x1ee)](h(0x1f0))['toString']()['constructor'](a87a)[h(0x1ee)](h(0x1f0));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a86j=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=parseInt(h(0x141))/0x1*(-parseInt(h(0x15d))/0x2)+parseInt(h(0x156))/0x3*(-parseInt(h(0x14e))/0x4)+parseInt(h(0x13d))/0x5+parseInt(h(0x13a))/0x6*(-parseInt(h(0x151))/0x7)+parseInt(h(0x154))/0x8*(parseInt(h(0x152))/0x9)+-parseInt(h(0x158))/0xa*(parseInt(h(0x14b))/0xb)+-parseInt(h(0x150))/0xc*(-parseInt(h(0x15c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xd0906));const a86b=(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;};}()),a86a=a86b(this,function(){const i=a86d;return a86a[i(0x155)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a86a)[i(0x143)]('(((.+)+)+)+$');});function a86c(){const l=['global-config','13858754AwMuLe','54qelQlb','exit','workspace','openai','setGlobalConfig','Set\x20allowInsecure:\x20','1715634QRpnnR','fsi','Set\x20OpenAI\x20Key:\x20','3197515QZVhZz','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20global\x20Maka-CLI\x20settings','cacert','16091tEsZQL','Set\x20workspace:\x20','search','dark','resolve','pallet','Could\x20not\x20find\x20directory','boolean','isDirectory','disallowInsecure','5981635kvoACa','isFile','create','26328aChEhj','error','24XeKIZP','7pzzDti','9iZBlEF','success','8971672psjvoo','toString','561YDseuq','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','20XDcFqD','maka\x20set:global-config\x20--cacert\x20<path>','allowInsecure'];a86c=function(){return l;};return a86c();}a86a();import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x138;let f=c[d];return f;},a86d(a,b);}import a86f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86j(0x14d)]({'name':a86j(0x15b),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a86j(0x15a),'boolFlag':!![]},{'name':a86j(0x14a),'boolFlag':!![]},{'name':a86j(0x15f),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a86j(0x146),'values':['light',a86j(0x144)]}],'shortDesc':a86j(0x13f),'description':a86j(0x13e),'examples':[a86j(0x159),'maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a86j;try{if(b[k(0x140)]){if(this['fsi'][k(0x14c)](b[k(0x140)]))await this[k(0x13b)][k(0x138)]({'cert':b['cacert']}),Log[k(0x153)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0x140)]===k(0x148)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':k(0x157)+b[k(0x140)];throw Log['error'](c);}}if(b[k(0x15f)]){const d=this[k(0x13b)][k(0x149)](b[k(0x15f)]);if(d)await this[k(0x13b)][k(0x138)]({'workspace':a86e[k(0x145)](b[k(0x15f)])}),Log[k(0x153)](k(0x142)+a86e[k(0x145)](b[k(0x15f)]));else throw Log['error'](k(0x147));}b[k(0x160)]&&(await this[k(0x13b)][k(0x138)]({'openai':b[k(0x160)]}),Log[k(0x153)](k(0x13c)+b[k(0x160)]));b[k(0x146)]&&(await this['fsi'][k(0x138)]({'pallet':b[k(0x146)]}),Log[k(0x153)]('Set\x20color\x20pallet\x20to:\x20'+b['pallet']));if(b[k(0x15a)]){if(b[k(0x15a)]&&b[k(0x14a)])throw Log[k(0x14f)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x15a)];b[k(0x14a)]&&(f=![]),await this['fsi'][k(0x138)]({'allowInsecure':f}),Log[k(0x153)](k(0x139)+f);}process[k(0x15e)](0x0);}catch(g){console[k(0x14f)](g),process[k(0x15e)](0x0);}},a86f);
1
+ const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x15a))/0x1+-parseInt(h(0x17a))/0x2*(-parseInt(h(0x16e))/0x3)+-parseInt(h(0x169))/0x4+-parseInt(h(0x177))/0x5+parseInt(h(0x175))/0x6+parseInt(h(0x173))/0x7*(-parseInt(h(0x16d))/0x8)+parseInt(h(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x70371));function a88c(){const m=['22216UrAtfX','4011iPBlVm','Set\x20CA\x20Cert\x20Path:\x20','Set\x20global\x20Maka-CLI\x20settings','setGlobalConfig','openai','385sfEkKI','Set\x20workspace:\x20','2192028rZYUVA','maka\x20set:gc\x20--workspace\x20<path>','3403040xgkYnB','fsi','One\x20or\x20the\x20other\x20buddy','596nKQCeF','8344791aUJEFU','toString','apply','maka\x20set:global-config','maka\x20set:global-config\x20--cacert\x20<path>','success','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','workspace','maka\x20set:gc\x20--insecure\x20<path>','exit','186066FpHdok','(((.+)+)+)+$','error','resolve','isFile','global-config','Set\x20color\x20pallet\x20to:\x20','allowInsecure','pallet','boolean','isDirectory','disallowInsecure','Set\x20OpenAI\x20Key:\x20','cacert','Could\x20not\x20find\x20directory','2336212EkAsws','constructor','search','dark'];a88c=function(){return m;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x17c)]()[j(0x16b)](j(0x15b))[j(0x17c)]()[j(0x16a)](a88a)['search'](j(0x15b));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x159;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x15f),'usage':a88k(0x17e),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x167),'boolFlag':![]},{'name':a88k(0x161),'boolFlag':!![]},{'name':a88k(0x165),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x162),'values':['light',a88k(0x16c)]}],'shortDesc':a88k(0x170),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a88k(0x17f),a88k(0x183),a88k(0x176)]},async function(a,b){const l=a88k;try{if(b['cacert']){if(this[l(0x178)][l(0x15e)](b[l(0x167)]))await this[l(0x178)][l(0x171)]({'cert':b[l(0x167)]}),Log['success'](l(0x16f)+b[l(0x167)]);else{const c=typeof b[l(0x167)]===l(0x163)?l(0x181):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x167)];throw Log[l(0x15c)](c);}}if(b[l(0x182)]){const d=this[l(0x178)][l(0x164)](b['workspace']);if(d)await this[l(0x178)]['setGlobalConfig']({'workspace':a88e[l(0x15d)](b[l(0x182)])}),Log[l(0x180)](l(0x174)+a88e[l(0x15d)](b[l(0x182)]));else throw Log[l(0x15c)](l(0x168));}b[l(0x172)]&&(await this[l(0x178)][l(0x171)]({'openai':b['openai']}),Log[l(0x180)](l(0x166)+b['openai']));b['pallet']&&(await this['fsi'][l(0x171)]({'pallet':b[l(0x162)]}),Log[l(0x180)](l(0x160)+b[l(0x162)]));if(b[l(0x161)]){if(b[l(0x161)]&&b[l(0x165)])throw Log['error'](l(0x179));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),await this['fsi'][l(0x171)]({'allowInsecure':f}),Log[l(0x180)]('Set\x20allowInsecure:\x20'+f);}process[l(0x159)](0x0);}catch(g){console[l(0x15c)](g),process[l(0x159)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xf5))/0x1+parseInt(f(0xf9))/0x2*(parseInt(f(0xfd))/0x3)+-parseInt(f(0xf7))/0x4*(parseInt(f(0xf0))/0x5)+parseInt(f(0xf3))/0x6*(parseInt(f(0xfe))/0x7)+parseInt(f(0xfa))/0x8*(parseInt(f(0xef))/0x9)+parseInt(f(0xf1))/0xa*(-parseInt(f(0xf8))/0xb)+parseInt(f(0xf2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x94dcf));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0x100)]('(((.+)+)+)+$')[h(0xff)]()[h(0xee)](a87a)[h(0x100)](h(0xfb));});a87a();import a87e from'./set.command.js';function a87c(){var j=['7lIuiDE','toString','search','constructor','6345SfgpyR','541935JWjxEZ','151370ZzQmVY','1904484sqiudy','2082PSVBAX','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','1164838ZELcmX','Set\x20local\x20maka\x20app\x20settings','4VddfFv','209yjSdGu','1052KlMPtP','9384fxBlwr','(((.+)+)+)+$','apply','6756qKXoNY'];a87c=function(){return j;};return a87c();}function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xee;var f=c[d];return f;},a87d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'local-config','usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a87i(0xf6),'validOpts':[],'description':a87i(0xf4)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a87e);
1
+ var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1+parseInt(f(0x19d))/0x2+-parseInt(f(0x1a0))/0x3*(-parseInt(f(0x19c))/0x4)+parseInt(f(0x195))/0x5*(-parseInt(f(0x196))/0x6)+-parseInt(f(0x18f))/0x7*(-parseInt(f(0x19a))/0x8)+-parseInt(f(0x194))/0x9*(-parseInt(f(0x19e))/0xa)+-parseInt(f(0x193))/0xb*(parseInt(f(0x198))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe6ce0));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x192)]()[h(0x1a4)](h(0x19b))[h(0x192)]()[h(0x197)](a89a)[h(0x1a4)](h(0x19b));});a89a();function a89c(){var k=['43408716YVbsXs','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','8ZCuCHy','(((.+)+)+)+$','2010068uQXZEu','2586666GZAFsK','2510nBeRug','create','6ryoNKI','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet','apply','search','4099102fXyllI','Set\x20local\x20maka\x20app\x20settings','840481pXYEkI','toString','11oAvRTY','46719lXPLRf','2323030ZfnFvx','6SWJKuf','constructor'];a89c=function(){return k;};return a89c();}import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x18f;var f=c[d];return f;},a89d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x19f)]({'name':'local-config','usage':a89i(0x1a1),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x190),'validOpts':[],'description':a89i(0x199)},async function(){var j=a89i;Log['notice'](j(0x1a2));},a89e);
@@ -1 +1 @@
1
- function a88c(){const k=['toString','apply','6914LGtZZG','7267210MsZDpZ','34917myHqNI','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','3293939jVHTEk','17269UxNQcN','findSubCommand','220uGOctP','340314PzPgLl','set','7675488HcOdhw','5WjLPXr','maka\x20set:<sub-command>','constructor','search','74PcZVsP','(((.+)+)+)+$','472rCXfQy','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally'];a88c=function(){return k;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x111;let f=c[d];return f;},a88d(a,b);}const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1*(-parseInt(f(0x123))/0x2)+-parseInt(f(0x116))/0x3*(-parseInt(f(0x11b))/0x4)+-parseInt(f(0x11f))/0x5*(-parseInt(f(0x11c))/0x6)+parseInt(f(0x119))/0x7*(-parseInt(f(0x125))/0x8)+parseInt(f(0x11e))/0x9+-parseInt(f(0x115))/0xa+-parseInt(f(0x118))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9abbf));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0x112)]()['search'](h(0x124))[h(0x112)]()[h(0x121)](a88a)[h(0x122)]('(((.+)+)+)+$');});a88a();import{Command}from'../../command.js';const SetCommand=Command['create']({'name':a88i(0x11d),'usage':a88i(0x120),'shortDesc':a88i(0x111),'description':a88i(0x117),'validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this[j(0x11a)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(parseInt(f(0x192))/0x2)+-parseInt(f(0x1a0))/0x3+-parseInt(f(0x195))/0x4*(-parseInt(f(0x199))/0x5)+parseInt(f(0x193))/0x6*(-parseInt(f(0x1a1))/0x7)+parseInt(f(0x19b))/0x8+parseInt(f(0x198))/0x9*(-parseInt(f(0x196))/0xa)+parseInt(f(0x190))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd37d7));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x19f)]()[h(0x18f)]('(((.+)+)+)+$')[h(0x19f)]()[h(0x19a)](a90a)[h(0x18f)](h(0x18e));});function a90c(){const k=['(((.+)+)+)+$','search','20718368xVJvgx','set','22HfyFMC','1344FewZof','create','8DZtVkb','2103430Ndwyiy','maka\x20set:<sub-command>','36NzKcHK','843420alQhyK','constructor','4687408MOCHtb','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','apply','findSubCommand','toString','487668BkqbBm','147QHyUnA','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','runSubCommand','84717cCRrOF'];a90c=function(){return k;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x18d;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x194)]({'name':a90i(0x191),'usage':a90i(0x197),'shortDesc':a90i(0x1a2),'description':a90i(0x19c),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x19e)](c);d&&this[j(0x1a3)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=parseInt(j(0x115))/0x1+parseInt(j(0x12b))/0x2*(parseInt(j(0x123))/0x3)+parseInt(j(0x11d))/0x4+parseInt(j(0x110))/0x5+-parseInt(j(0x117))/0x6*(parseInt(j(0x11c))/0x7)+parseInt(j(0x128))/0x8+-parseInt(j(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xa8e2c));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a['toString']()[l(0x116)](l(0x112))['toString']()[l(0x114)](a90a)['search']('(((.+)+)+)+$');});a90a();import a90e from'fs';function a90c(){const o=['ssh.json','3985355zDVPPq','readFileSync','(((.+)+)+)+$','verbose','constructor','18858cLwVnz','search','6BqFlcV','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','toString','env','maka\x20ssh\x20--env\x20staging','2391697nboFdE','1614676chPjFZ','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','error','create','sshSync','maka\x20ssh\x20--env\x20prod','39567SiTnnj','19718415aStyvr','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','apply','parse','9812904fXPEJJ','maka\x20ssh\x20<command>','exit','118PptXkM'];a90c=function(){return o;};return a90c();}import a90f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x110;let f=c[d];return f;},a90d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a90m(0x120)]({'name':'ssh','usage':a90m(0x129),'mustBeInMakaProject':!![],'requiredOpts':[a90m(0x11a)],'validOpts':[a90m(0x11a),'verbose'],'isPro':!![],'shortDesc':a90m(0x125),'examples':['maka\x20ssh\x20--env\x20dev',a90m(0x11b),a90m(0x122),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a90m(0x118),a90m(0x11e)]},async function(a,b){const n=a90m;try{const c=this['fsi']['getAppConfigPath'](b[n(0x11a)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a90f['join'](c,n(0x12c)),g=a90e[n(0x111)](f)[n(0x119)](),h=JSON[n(0x127)](g);Object['assign'](h,{'env':c}),SSH[n(0x121)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x113)]});}catch(i){Log[n(0x11f)](i),process[n(0x12a)](0x1);}});
1
+ function a91c(){const o=['apply','search','2354229sCQITN','1146850MgjxUD','552228IjMnBY','20yJXTxk','parse','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','length','ssh.json','env','assign','error','fsi','create','2295804rkElfL','34xhpbnz','32104EUzDtP','toString','(((.+)+)+)+$','140853EVAShE','join','maka\x20ssh\x20--env\x20prod','1106IwhHTJ','611154jabihL','verbose'];a91c=function(){return o;};return a91c();}const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xba;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xd0))/0x1+-parseInt(j(0xc8))/0x2*(-parseInt(j(0xcc))/0x3)+parseInt(j(0xc7))/0x4+-parseInt(j(0xd5))/0x5+parseInt(j(0xba))/0x6+-parseInt(j(0xcf))/0x7*(parseInt(j(0xc9))/0x8)+parseInt(j(0xd4))/0x9*(parseInt(j(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x7d2e4));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xca)]()['search'](l(0xcb))['toString']()['constructor'](a91a)[l(0xd3)]('(((.+)+)+)+$');});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xc6)]({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0xc2)],'validOpts':[a91m(0xc2),a91m(0xd1)],'isPro':!![],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0xce),a91m(0xbf),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0xbe)]},async function(a,b){const n=a91m;try{const c=this[n(0xc5)]['getAppConfigPath'](b[n(0xc2)]);let d='';a[n(0xc0)]>0x0&&(d=a[0x0]);const f=a91f[n(0xcd)](c,n(0xc1)),g=a91e['readFileSync'](f)[n(0xca)](),h=JSON[n(0xbc)](g);Object[n(0xc3)](h,{'env':c}),SSH[n(0xbd)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xd1)]});}catch(i){Log[n(0xc4)](i),process['exit'](0x1);}});
@@ -1 +1 @@
1
- const a91y=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=-parseInt(v(0xc6))/0x1*(-parseInt(v(0xdc))/0x2)+parseInt(v(0xd3))/0x3*(-parseInt(v(0xf1))/0x4)+parseInt(v(0xf4))/0x5*(-parseInt(v(0xe0))/0x6)+parseInt(v(0xc8))/0x7+parseInt(v(0xc5))/0x8*(parseInt(v(0xe7))/0x9)+parseInt(v(0xd1))/0xa*(-parseInt(v(0xef))/0xb)+-parseInt(v(0xc7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xc5f10));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a91d;if(c){const e=c[w(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const x=a91d;return a91a[x(0xbb)]()[x(0xe2)]('(((.+)+)+)+$')['toString']()[x(0xea)](a91a)[x(0xe2)]('(((.+)+)+)+$');});function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xba;let f=c[d];return f;},a91d(a,b);}function a91c(){const A=['env','Create\x20and\x20manage\x20your\x20SSL\x20operations.','domainNames','sudo\x20snap\x20install\x20--classic\x20certbot','ssh','41960JeDUgt','letsencrypt.json','3XqUZjG','notice','uname\x20-a','fsi','assign','New\x20CSR\x20written\x20to\x20','create','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','mkKeysDir','33566FQNvlv','appName','letsencrypt','success','5298wmtZXg','Checking\x20remote\x20host\x20availability','search','email','ssl','join','[?]\x20Domains\x20to\x20register:\x20','90918ijNGIp','readFileSync','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','constructor','error','.csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.crt','2156gsbCtc','Verifying\x20Letsencrypt\x20configuration','1141892HzMegi','withSpinner','emailUpdate','7510oCIGqU','maka\x20ssl\x20--env\x20dev\x20generate-csr','genSSC','domains','Using\x20saved\x20letsencrypt\x20config','toString','maka\x20ssl\x20[command]','\x20--email\x20','ping','apply','Email\x20to\x20use\x20for\x20auto-updates:\x20','existsSync','.key','Remote\x20host\x20connection\x20successful','parse','920ZjLDpR','90aOwanc','6980820OxszqK','8081206NqwWpO','genCSR','generate-ssc','getAppConfigPath'];a91c=function(){return A;};return a91c();}a91a();import a91e from'fs';import a91f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a91y(0xd9)]({'name':a91y(0xe4),'usage':a91y(0xbc),'validOpts':[a91y(0xf7),a91y(0xe3)],'requiredOpts':[a91y(0xcc)],'shortDesc':a91y(0xcd),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91y(0xf5),a91y(0xda),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a91y,c=this[z(0xd6)]['getMakaProjectConfig'](),d=this[z(0xd6)][z(0xcb)](b[z(0xcc)]),f=this[z(0xd6)][z(0xdb)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xc9)]({'keyName':c['appName']+z(0xc2),'csrName':c[z(0xdd)]+z(0xec),'cwd':f});else{if(g===z(0xca)){if(!a91e[z(0xc1)](a91f['join'](f,c[z(0xdd)]+z(0xc2))))throw z(0xe9)+a91f[z(0xe5)](f,c[z(0xdd)]+z(0xc2));if(!a91e[z(0xc1)](a91f[z(0xe5)](f,c[z(0xdd)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a91f['join'](f,c[z(0xdd)]+'.csr');SSL[z(0xf6)]({'keyName':c['appName']+z(0xc2),'crtName':c[z(0xdd)]+z(0xee),'cwd':f}),Log[z(0xd4)](z(0xd8)+f);}else{if(g===z(0xde)){let h=b['domains'],i=b['email'];try{const p=a91e[z(0xe8)](a91f[z(0xe5)](d,z(0xd2)))[z(0xbb)](),q=JSON['parse'](p);h=b['domains']?b[z(0xf7)]:q[z(0xce)],i=b[z(0xe3)]?b[z(0xe3)]:q[z(0xf3)],(!b[z(0xe3)]||!b['domains'])&&Log[z(0xd4)](z(0xba));}catch(r){}const j=JSON[z(0xc4)](a91e[z(0xe8)](d+'/ssh.json')[z(0xbb)]());Object[z(0xd7)](j,{'env':d}),Log[z(0xd4)](z(0xe1));try{const s=SSH[z(0xbe)](z(0xd5),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xdf)](z(0xc3));}catch(t){Log[z(0xeb)](t);return;}const k=Log[z(0xf2)]();k['start'](z(0xf0)),SSH['ssh'](z(0xed),{...j}),SSH[z(0xd0)](z(0xcf),{...j}),SSH[z(0xd0)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xdf)]();const l=h?h:await Actions['ask'](z(0xe6)),m=i?i:await Actions['ask'](z(0xc0));SSH[z(0xd0)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xbd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a91e['writeFileSync'](a91f[z(0xe5)](d,z(0xd2)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0xeb)](u),process['exit'](0x0);}});
1
+ const a92x=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x195))/0x1+parseInt(v(0x17c))/0x2*(-parseInt(v(0x1b4))/0x3)+parseInt(v(0x1a9))/0x4*(parseInt(v(0x17e))/0x5)+-parseInt(v(0x19f))/0x6+-parseInt(v(0x1b6))/0x7*(parseInt(v(0x1b5))/0x8)+parseInt(v(0x182))/0x9+parseInt(v(0x1ac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xacd88));function a92c(){const z=['parse','withSpinner','genCSR','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','maka\x20ssl\x20[command]','1150938ZItpwD','Remote\x20host\x20connection\x20successful','Create\x20and\x20manage\x20your\x20SSL\x20operations.','domains','start','Using\x20saved\x20letsencrypt\x20config','search','.key','domainNames','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','867702uBqBtO','readFileSync','fsi','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','getMakaProjectConfig','letsencrypt','.csr','success','appName','104bliZyi','ssh','letsencrypt.json','3927190sQQECF','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','(((.+)+)+)+$','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','writeFileSync','ssl','uname\x20-a','error','2238348FEHQwy','88MMyacG','709681koMIpu','maka\x20ssl\x20--env\x20dev\x20generate-csr','ask','2wMgHgm','genSSC','216455hiCBWq','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','constructor','402291tzgCLb','generate-csr','join','stringify','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','email','exit','Verifying\x20Letsencrypt\x20configuration','existsSync','[?]\x20Domains\x20to\x20register:\x20','/ssh.json','env','notice'];a92c=function(){return z;};return a92c();}const a92b=(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;};}()),a92a=a92b(this,function(){const w=a92d;return a92a[w(0x180)]()[w(0x19b)](w(0x1ae))[w(0x180)]()[w(0x181)](a92a)['search'](w(0x1ae));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x17c;let f=c[d];return f;},a92d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a92x(0x1b1),'usage':a92x(0x194),'validOpts':['domains',a92x(0x188)],'requiredOpts':['env'],'shortDesc':a92x(0x197),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92x(0x1b7),a92x(0x1af),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a92x,c=this[y(0x1a1)][y(0x1a4)](),d=this[y(0x1a1)]['getAppConfigPath'](b[y(0x18e)]),f=this[y(0x1a1)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x183))SSL[y(0x192)]({'keyName':c[y(0x1a8)]+y(0x19c),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a92e[y(0x18b)](a92f[y(0x184)](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x19c));if(!a92e[y(0x18b)](a92f['join'](f,c['appName']+y(0x1a6))))throw y(0x19e)+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x1a6));SSL[y(0x17d)]({'keyName':c[y(0x1a8)]+y(0x19c),'crtName':c[y(0x1a8)]+'.crt','cwd':f}),Log[y(0x18f)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===y(0x1a5)){let h=b[y(0x198)],i=b[y(0x188)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))['toString'](),q=JSON[y(0x190)](p);h=b[y(0x198)]?b[y(0x198)]:q[y(0x19d)],i=b[y(0x188)]?b[y(0x188)]:q['emailUpdate'],(!b[y(0x188)]||!b[y(0x198)])&&Log[y(0x18f)](y(0x19a));}catch(r){}const j=JSON[y(0x190)](a92e[y(0x1a0)](d+y(0x18d))[y(0x180)]());Object['assign'](j,{'env':d}),Log['notice'](y(0x187));try{const s=SSH[y(0x1a3)](y(0x1b2),j);if(!s)throw y(0x17f);if(s)Log['success'](y(0x196));}catch(t){Log[y(0x1b3)](t);return;}const k=Log[y(0x191)]();k[y(0x199)](y(0x18a)),SSH[y(0x1aa)](y(0x1ad),{...j}),SSH['ssh'](y(0x186),{...j}),SSH[y(0x1aa)](y(0x1a2),{...j}),k[y(0x1a7)]();const l=h?h:await Actions[y(0x1b8)](y(0x18c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](y(0x193)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x185)](n,null,0x2);a92e[y(0x1b0)](a92f['join'](d,y(0x1ab)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[y(0x1b3)](u),process[y(0x189)](0x0);}});
@@ -1 +1 @@
1
- function a92c(){const t=['join','test','parse','getAppConfigPath','1038348bwGkxK','tests','--full-app','--settings','apply','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','12343610TkxMHS','exit','38KkLSxW','(((.+)+)+)+$','toString','invokeMeteorCommand','85587IRqzaD','error','jasmine','driverPackage','64840ccHAWG','env','--env','1358917oUOqoq','test-packages','development','unit','Cannot\x20find\x20Node\x20Environment\x20File:\x20','argv','config.json','Node\x20Env\x20Config:\x20','fsi','--packages','create','182752tlhvTR','process.env','utf8','packages','forEach','testAppPath','maka\x20test','driver','inspect','splice','none','isFile','concat','engines','5QVZZmp','readFileSync','meteortesting:mocha','1179CnPZoY','warn','filter','once','slice','driver-package','Meteor\x20Settings:\x20','search','config','findProjectDirectory','5914074iifcrJ','settings.json','.maka','constructor'];a92c=function(){return t;};return a92c();}const a92q=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xf4;let f=c[d];return f;},a92d(a,b);}(function(a,b){const m=a92d,c=a();while(!![]){try{const d=-parseInt(m(0x128))/0x1+-parseInt(m(0x130))/0x2*(-parseInt(m(0x134))/0x3)+parseInt(m(0x105))/0x4+parseInt(m(0x113))/0x5*(parseInt(m(0x120))/0x6)+parseInt(m(0xfa))/0x7+parseInt(m(0xf7))/0x8*(parseInt(m(0x116))/0x9)+-parseInt(m(0x12e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x87e33));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a92d;if(c){const e=c[n(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const o=a92d;return a92a[o(0x132)]()[o(0x11d)](o(0x131))[o(0x132)]()[o(0x123)](a92a)[o(0x11d)](o(0x131));});a92a();import a92e from'fs';import a92f from'path';import a92g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a92d;a92e['openSync'](a,'r'),a92g[p(0x11e)]({'path':a});};Command[a92q(0x104)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a92q(0x119),a92q(0x108),a92q(0x10c),a92q(0xf6),a92q(0xfd),a92q(0xf8),'rawLogs','port',a92q(0x10d),a92q(0x10a)],'usage':a92q(0x10b),'aliases':['t',a92q(0x129)],'shortDesc':a92q(0x12d),'examples':[]},function(a,b){const r=a92q;try{let c=this[r(0x102)][r(0x127)](r(0xfc));b['env']&&(c=this[r(0x102)][r(0x127)](b[r(0xf8)]));(!b[r(0xfd)]||!!b['once'])&&(a=a['concat']([r(0x12a)]));b[r(0xfd)]&&delete b[r(0xfd)];let d=b[r(0x11b)]||b[r(0x10c)]||r(0x10f);if(d===r(0x10f)){const j=JSON[r(0x126)](a92e[r(0x114)](a92f['join'](this[r(0x102)][r(0x11f)](),r(0x122),r(0x100)),r(0x107)));if(j[r(0x112)]['test']===r(0xf5))d='sanjo:jasmine';else j[r(0x112)][r(0x125)]==='mocha'&&(d=r(0x115));}if(d===r(0x10f))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x11b)]||!b[r(0x10c)])&&(a=a[r(0x111)](['--driver-package',d]));const f=a92f[r(0x124)](c,r(0x121));this[r(0x102)][r(0x110)](f)?(Log['notice'](r(0x11c)+f),a=a['concat']([r(0x12b),f])):Log[r(0x117)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a92f[r(0x124)](c,r(0x106));this[r(0x102)][r(0x110)](g)?(Log['notice'](r(0x101)+g),syncSource(g)):Log[r(0x117)](r(0xfe)+g);const h=process[r(0xff)][r(0x11a)](0x2)[r(0x118)](k=>k!==r(0xf9))[r(0x118)](k=>k!==r(0x125))[r(0x118)](k=>k!==a[0x0]);h[r(0x109)]((k,l)=>{const s=r;(k===s(0xf9)||k==='--driver')&&h['splice'](l,0x2),k===s(0x103)&&h[s(0x10e)](l,0x1);});const i=b[r(0x108)]?r(0xfb):'test';this[r(0x102)][r(0x133)](i,a[r(0x111)](h));}catch(k){console[r(0xf4)](k),process[r(0x12f)](0x0);}});
1
+ const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1b1))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x1a5))/0x3)+parseInt(m(0x1cf))/0x4+parseInt(m(0x1c9))/0x5*(-parseInt(m(0x1b9))/0x6)+parseInt(m(0x1a0))/0x7*(-parseInt(m(0x1d0))/0x8)+-parseInt(m(0x1a7))/0x9+parseInt(m(0x1b3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x53b9b));const a93b=(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;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0x19c)]()['search']('(((.+)+)+)+$')[n(0x19c)]()['constructor'](a93a)[n(0x1bc)](n(0x1c4));});a93a();import a93e from'fs';import a93f from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x199;let f=c[d];return f;},a93d(a,b);}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x1d1)](a,'r'),a93g['config']({'path':a});};function a93c(){const s=['maka\x20test','Node\x20Env\x20Config:\x20','none','--env','(((.+)+)+)+$','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','meteortesting:mocha','jasmine','--full-app','10ihSfoT','tests','join','testAppPath','driverPackage','mocha','1810856szWRpi','58328kNNcPZ','openSync','forEach','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','findProjectDirectory','unit','once','packages','create','toString','filter','Cannot\x20find\x20Node\x20Environment\x20File:\x20','invokeMeteorCommand','658Bkiynh','isFile','--packages','driver','env','3hBIcsv','test','4889223DUxWoK','notice','.maka','process.env','fsi','--settings','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','config.json','exit','409718mygXIL','108780zWebsp','concat','15438330yNCmrp','engines','development','sanjo:jasmine','getAppConfigPath','--driver-package','334104kRWeSB','readFileSync','port','search','inspect','error','warn'];a93c=function(){return s;};return a93c();}Command[a93p(0x19b)]({'name':a93p(0x1a6),'mustBeInMakaProject':!![],'validOpts':[a93p(0x199),a93p(0x19a),a93p(0x1a3),a93p(0x1cd),a93p(0x1d6),a93p(0x1a4),'rawLogs',a93p(0x1bb),a93p(0x1bd),a93p(0x1cc)],'usage':a93p(0x1c0),'aliases':['t',a93p(0x1ca)],'shortDesc':a93p(0x1d4),'examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x1ab)][q(0x1b7)](q(0x1b5));b['env']&&(c=this['fsi']['getAppConfigPath'](b[q(0x1a4)]));(!b[q(0x1d6)]||!!b[q(0x199)])&&(a=a['concat']([q(0x1c8)]));b[q(0x1d6)]&&delete b[q(0x1d6)];let d=b['driver-package']||b['driver']||q(0x1c2);if(d===q(0x1c2)){const j=JSON['parse'](a93e[q(0x1ba)](a93f[q(0x1cb)](this[q(0x1ab)][q(0x1d5)](),q(0x1a9),q(0x1ae)),'utf8'));if(j[q(0x1b4)][q(0x1a6)]===q(0x1c7))d=q(0x1b6);else j[q(0x1b4)][q(0x1a6)]===q(0x1ce)&&(d=q(0x1c6));}if(d===q(0x1c2))throw q(0x1ad);(!b['driver-package']||!b['driver'])&&(a=a[q(0x1b2)]([q(0x1b8),d]));const f=a93f[q(0x1cb)](c,'settings.json');this[q(0x1ab)][q(0x1a1)](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[q(0x1b2)]([q(0x1ac),f])):Log[q(0x1bf)](q(0x1c5)+f);const g=a93f[q(0x1cb)](c,q(0x1aa));this[q(0x1ab)][q(0x1a1)](g)?(Log[q(0x1a8)](q(0x1c1)+g),syncSource(g)):Log[q(0x1bf)](q(0x19e)+g);const h=process[q(0x1d3)]['slice'](0x2)[q(0x19d)](k=>k!==q(0x1c3))['filter'](k=>k!==q(0x1a6))[q(0x19d)](k=>k!==a[0x0]);h[q(0x1d2)]((k,l)=>{const r=q;(k===r(0x1c3)||k==='--driver')&&h['splice'](l,0x2),k===r(0x1a2)&&h['splice'](l,0x1);});const i=b[q(0x19a)]?'test-packages':q(0x1a6);this[q(0x1ab)][q(0x19f)](i,a[q(0x1b2)](h));}catch(k){console[q(0x1be)](k),process[q(0x1af)](0x0);}});
@@ -1 +1 @@
1
- const a93n=a93d;function a93c(){const p=['840844GsGSIR','\x20node\x20-v','error','\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','notice','216768mNkqnr','fsi','974067sIyQoW','win32','Project\x27s\x20Meteor\x20Node\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','majestic','(((.+)+)+)+$','7LeqjYd','4.7.16','----------------------System----------------------------','7398944aLjpnm','node\x20-v','exit','version','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','isMakaProject',')\x20to\x20at\x20least\x20meteor\x27s\x20(','platform','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','toString','1673744cBAQqD','verbose','meteor','\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','apply','maka\x20version','maka\x20version\x20--verbose','623945wObzLb','search','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','2140524igUXSh','warn','bright','maka\x20v','replace','Maka\x20'];a93c=function(){return p;};return a93c();}(function(a,b){const k=a93d,c=a();while(!![]){try{const d=parseInt(k(0xc8))/0x1+-parseInt(k(0xb7))/0x2+-parseInt(k(0xcf))/0x3+parseInt(k(0xcd))/0x4+parseInt(k(0xbe))/0x5+-parseInt(k(0xc2))/0x6*(parseInt(k(0xa8))/0x7)+parseInt(k(0xab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x6818a));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0xb6)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a93a)[m(0xbf)](m(0xa7));});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xa4;let f=c[d];return f;},a93d(a,b);}a93a();import{execSync}from'child_process';import a93e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a93n(0xa9)};Command['create']({'name':'version','aliases':['v'],'usage':a93n(0xbc),'maxArgLength':0x1,'validOpts':[a93n(0xb8)],'shortDesc':a93n(0xa5),'examples':[a93n(0xc5),'maka\x20version',a93n(0xbd)],'description':a93n(0xcb)},async function(a,b){const o=a93n;try{const c=process[o(0xb3)]===o(0xd0)?'meteor.bat':o(0xb9);Log[o(0xa6)](o(0xc7)+pjson[o(0xae)]),await this[o(0xce)]['compareMakaToLatest']();if(b[o(0xb8)]){await this[o(0xce)]['compareMakaToLatest'](),Log['bright'](o(0xaa));const d=this[o(0xce)]['getGlobalMeteorVersion']();Log[o(0xc4)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xc6)]('\x0a',''));const f=execSync(c+o(0xc9))[o(0xb6)]()[o(0xc6)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xc4)](o(0xc0)+f);const g=execSync(o(0xac))[o(0xb6)]()[o(0xc6)](/\r?\n|\r/,'')['replace']('v','');a93e['gt'](f,g)?(Log[o(0xc3)](o(0xb5)+g),Log[o(0xc3)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0xb2)+f+')')):Log[o(0xc4)](o(0xb5)+g);if(this[o(0xce)][o(0xb1)]()){Log['bright']('----------------------Project----------------------------');const h=this[o(0xce)]['getProjectMeteorVersion']();a93e['gt'](d,h)?(Log[o(0xc3)](o(0xb4)+h[o(0xc6)]('\x0a','')),Log['warn'](o(0xb0)+d+'\x22')):Log[o(0xcc)]((o(0xb4)+h)['replace']('\x0a',''));const i=await this[o(0xce)][o(0xc1)]();i==='N/A'?(Log[o(0xc3)](o(0xa4)+i),Log[o(0xc3)](o(0xaf))):Log[o(0xc4)](o(0xa4)+i),Log[o(0xc4)](o(0xba));}}}catch(j){console[o(0xca)](j),process[o(0xad)](0x0);}});
1
+ const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x178))/0x1*(-parseInt(k(0x183))/0x2)+-parseInt(k(0x1a1))/0x3*(-parseInt(k(0x175))/0x4)+parseInt(k(0x1a2))/0x5*(-parseInt(k(0x17f))/0x6)+-parseInt(k(0x198))/0x7*(-parseInt(k(0x179))/0x8)+parseInt(k(0x16f))/0x9*(-parseInt(k(0x17c))/0xa)+-parseInt(k(0x18d))/0xb*(-parseInt(k(0x19e))/0xc)+parseInt(k(0x184))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x34fb7));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x16e;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x17b)]()['search'](m(0x16e))['toString']()[m(0x19c)](a94a)[m(0x199)](m(0x16e));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x17d)};function a94c(){const p=['warn','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20version\x20--verbose','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','majestic','\x20node\x20-v','----------------------Project----------------------------','meteor','7689oGkgcr','Project\x27s\x20Meteor\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','N/A','win32','apply','isMakaProject','System\x27s\x20Meteor\x20Version\x20','1725591eSrbPc','search','\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','fsi','constructor','getProjectMeteorVersion','5268MUwZlU','Maka\x20','maka\x20version','135LdFSQN','5HcoiTF','(((.+)+)+)+$','29034vatVmW','exit','platform','meteor.bat','bright','\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','3448QYVNIH','----------------------System----------------------------','replace','49571sHBiPI','8nnibHv','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','toString','890GVboUU','4.7.17',')\x20to\x20at\x20least\x20meteor\x27s\x20(','494028UAzPEM','verbose','error','compareMakaToLatest','4PJFUTP','1214785KPIlBE'];a94c=function(){return p;};return a94c();}Command['create']({'name':'version','aliases':['v'],'usage':a94n(0x1a0),'maxArgLength':0x1,'validOpts':[a94n(0x180)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v','maka\x20version',a94n(0x187)],'description':a94n(0x174)},async function(a,b){const o=a94n;try{const c=process[o(0x171)]===o(0x194)?o(0x172):o(0x18c);Log[o(0x189)](o(0x19f)+pjson['version']),await this['fsi'][o(0x182)]();if(b[o(0x180)]){await this[o(0x19b)][o(0x182)](),Log['bright'](o(0x176));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x173)]((o(0x197)+d)['replace']('\x0a',''));const f=execSync(c+o(0x18a))['toString']()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');Log[o(0x173)](o(0x186)+f);const g=execSync('node\x20-v')[o(0x17b)]()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');a94e['gt'](f,g)?(Log[o(0x185)](o(0x191)+g),Log[o(0x185)](o(0x188)+g+o(0x17e)+f+')')):Log[o(0x173)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x19b)][o(0x196)]()){Log[o(0x173)](o(0x18b));const h=this['fsi'][o(0x19d)]();a94e['gt'](d,h)?(Log['warn'](o(0x192)+h['replace']('\x0a','')),Log[o(0x185)](o(0x190)+d+'\x22')):Log['notice']((o(0x192)+h)['replace']('\x0a',''));const i=await this[o(0x19b)][o(0x18f)]();i===o(0x193)?(Log[o(0x185)](o(0x18e)+i),Log['warn'](o(0x17a))):Log['bright'](o(0x18e)+i),Log[o(0x173)](o(0x19a));}}}catch(j){console[o(0x181)](j),process[o(0x170)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x10b))/0x1+-parseInt(f(0x110))/0x2+parseInt(f(0x10e))/0x3*(-parseInt(f(0x109))/0x4)+parseInt(f(0x10c))/0x5*(-parseInt(f(0x108))/0x6)+-parseInt(f(0x10d))/0x7*(parseInt(f(0x10f))/0x8)+parseInt(f(0x111))/0x9+parseInt(f(0x10a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xcc40e));var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x106)]()[g(0x107)]('(((.+)+)+)+$')[g(0x106)]()['constructor'](a95a)[g(0x107)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x106;var f=c[d];return f;},a95d(a,b);}function a95c(){var h=['587874LqhOKV','4FcwQUW','1319370VnHmVs','1085647LCjeHD','50AzqWSx','2800kErWMe','174897HdTplu','5232iUBIBE','308eYRWPy','8269929tYTNbc','toString','search'];a95c=function(){return h;};return a95c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1e0))/0x1*(parseInt(f(0x1da))/0x2)+parseInt(f(0x1de))/0x3+-parseInt(f(0x1e3))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1dd))/0x6+-parseInt(f(0x1e4))/0x7*(parseInt(f(0x1d7))/0x8)+-parseInt(f(0x1db))/0x9*(-parseInt(f(0x1dc))/0xa)+parseInt(f(0x1d6))/0xb*(-parseInt(f(0x1e2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x634fa));function a95c(){var h=['394329xNfiBe','(((.+)+)+)+$','11349444YFcdJT','340oLFqKN','28WWBJub','11eMXCQo','194672zZZSmG','search','toString','4rTceGY','878211GKdJkD','50iUlrwF','1557384HIBOMA','1153641LOyuiy','2845DHIckB'];a95c=function(){return h;};return a95c();}var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x1d9)]()[g(0x1d8)](g(0x1e1))[g(0x1d9)]()['constructor'](a95a)[g(0x1d8)](g(0x1e1));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1db;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1dc))/0x1+parseInt(f(0x1df))/0x2*(-parseInt(f(0x1e7))/0x3)+-parseInt(f(0x1e8))/0x4+-parseInt(f(0x1e3))/0x5+parseInt(f(0x1e1))/0x6*(parseInt(f(0x1e4))/0x7)+parseInt(f(0x1e9))/0x8+-parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1e6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xd7b24));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x1ea)]()['search'](h(0x1e2))['toString']()[h(0x1e0)](a96a)[h(0x1de)](h(0x1e2));});a96a(),process[a96i(0x1e5)][a96i(0x1dd)]=a96i(0x1ec);import'./maka.js';function a96c(){var j=['apply','544735dvKNwX','NODE_OPTIONS','search','303540WGwxMl','constructor','524526BkzxEI','(((.+)+)+)+$','777715HLNLUL','77idIZhX','env','840TUqHAj','9fSODjY','98348aGfvNA','1008320aIocxp','toString','104571tupwSP','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a96c=function(){return j;};return a96c();}
2
+ var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x152))/0x1+-parseInt(f(0x156))/0x2*(parseInt(f(0x14c))/0x3)+parseInt(f(0x146))/0x4+parseInt(f(0x154))/0x5+parseInt(f(0x153))/0x6*(-parseInt(f(0x14d))/0x7)+parseInt(f(0x14e))/0x8*(-parseInt(f(0x147))/0x9)+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x5331c));function a96c(){var j=['6uxPYoE','181805xPsbQY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2kUtsBI','387800jnDIvp','439713yYNhBw','apply','9856100OyxArA','(((.+)+)+)+$','toString','790494chYWFl','3528301apkAJI','40ljWGFw','env','NODE_OPTIONS','constructor','233669GeWQnO'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()['search'](h(0x14a))[h(0x14b)]()[h(0x151)](a96a)['search'](h(0x14a));});a96a(),process[a96i(0x14f)][a96i(0x150)]=a96i(0x155);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x146;var f=c[d];return f;},a96d(a,b);}import'./maka.js';
@@ -1 +1 @@
1
- const a97t=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=parseInt(q(0xd3))/0x1*(parseInt(q(0xe0))/0x2)+-parseInt(q(0xba))/0x3+parseInt(q(0xdd))/0x4+-parseInt(q(0x102))/0x5+parseInt(q(0xb7))/0x6*(parseInt(q(0xc6))/0x7)+parseInt(q(0xd5))/0x8*(-parseInt(q(0xca))/0x9)+parseInt(q(0xda))/0xa*(parseInt(q(0xe1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x5a1ef));function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xaa;let f=c[d];return f;},a97d(a,b);}const a97b=(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;};}()),a97a=a97b(this,function(){const r=a97d;return a97a[r(0xbe)]()[r(0xf7)](r(0xc1))[r(0xbe)]()[r(0xb1)](a97a)[r(0xf7)](r(0xc1));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';import a97g from'./generators/maka.gen.js';function a97c(){const F=['maxOptsLength','Server','split','Both','appPathPrefix','where','call','cwd','33146ytmpSN','invoke','1648Qquanw','minArgLength','server','fsi','usage','12970nvyHUQ','number','both','1825460ajLusT','_handler','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','42vMuQUq','4246NobZeX','Generator.create\x20requires\x20some\x20options!','maxArgLength','noNeedResource','Too\x20few\x20options','pallet','shortDesc','error','Generator\x20not\x20found','validateEngines','requiredEngines','bind','handleGenerateError','sort','Generators:','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','validateMakaSubscription','addGenerator','aliases','sep','setColorMode','chdir','search','push','Please\x20run\x20\x22maka\x20install\x20meteor\x22','pop','options','minOptsLength','Generator\x20requires\x20a\x20name','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Name','getGlobalConfig','client','1811445yOJAzq','name','forEach','tableList','LIGHT','No\x20resource\x20name\x20specified','notice','assign','length','findProjectDirectory','constructor','There\x20is\x20no\x20Meteor\x20application\x20here','list','validateMakaProject','function','listGenerators','80394jJYQiQ','join','exit','1633983kfwzow','dir','Generator.create\x20requires\x20a\x20handler\x20function!','resourceName','toString','replace','DARK','(((.+)+)+)+$','checkWhere','light','help','processAndRunGenerator','154OdtJem','Generator\x20requires\x20a\x20handler\x20function','localeCompare','_generators','29349aUEImN'];a97c=function(){return F;};return a97c();}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='';async function inside(a='.',b){const s=a97d,c=process[s(0xd2)]();let d=null;try{process[s(0xf6)](a),d=await b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a97t(0xfb)];['_generators'];constructor(a,b){const u=a97t;super();if(!a)throw new Error(u(0xdf));if(!a['name'])throw new Error(u(0xfd));if(typeof b!==u(0xb5))throw new Error(u(0xc7));this['_generators']=[],this[u(0xfb)]=Object[u(0xae)]({},a),this['name']=this[u(0xfb)][u(0x103)],this[u(0xde)]=b[u(0xec)](this);}static['create'](a,b,c){const v=a97t;if(!a)throw new Error(v(0xe2));if(typeof b!=='function')throw new Error(v(0xbc));const d=new Generator(a,b);return c=c||a97g,Object[v(0xae)](d,{'parent':c?.[v(0xfb)]?.['name']}),c[v(0xf2)](d),d;}['addGenerator'](a){const w=a97t;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[w(0xc9)]['push'](a);}async[a97t(0xc5)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.['split'](':');if(!f||f['length']===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this['_generators'],h;for(const i of f){h=g['find'](j=>j['match'](i));if(!h)throw'Generator\x20'+i+'\x20not\x20found';await this[x(0xf1)](h),g=h[x(0xc9)];}if(h)d=await h[x(0xd4)](b,c);else throw x(0xe9);}catch(j){Log[x(0xe8)](j);}return d;}async[a97t(0xd4)](a,b){const y=a97t,c=a['slice']();b[y(0xbd)]=c[0x0];try{const d=await this[y(0xd8)][y(0x100)](),f=d[y(0xe6)]===y(0xc3)?ColorMode[y(0xab)]:ColorMode[y(0xc0)];Log[y(0xf5)](f),await this[y(0xf1)](this);const g=a[0x0]===_prevGen||a['length']===0x0&&this[y(0xc9)]['length']>=0x0,h=b[y(0xc4)]||b['h'];if(g&&h){if(this[y(0xc9)][y(0xaf)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[y(0xfb)]['mustBeInMakaProject']){const i=this[y(0xb4)]();if(!i)throw new MustBeInProjectError();}if(this[y(0xfb)]['mustHaveMeteorInstalled']){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0xfb)][y(0xd6)]===y(0xdb)){if(a[y(0xaf)]<this[y(0xfb)][y(0xd6)]){Log[y(0xe8)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[y(0xfb)][y(0xe3)]===y(0xdb)){if(a[y(0xaf)]>this['options'][y(0xe3)]){Log[y(0xe8)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[y(0xfb)][y(0xfc)]===y(0xdb)){if(Object['keys'](b)[y(0xaf)]<this[y(0xfb)]['minOptsLength']){Log[y(0xe8)](y(0xe5));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===y(0xdb)){if(Object['keys'](b)['length']>=this['options'][y(0xcb)]){Log[y(0xe8)]('Too\x20many\x20options');throw new UsageError();}}}this[y(0xfb)]['requiredEngines']&&this[y(0xea)](this['options'][y(0xeb)]);await this['validateParams'](a,b,this[y(0xfb)]);if(!b[y(0xbd)]&&!this[y(0xfb)][y(0xe4)]){Log[y(0xe8)](y(0xac));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0xed)](k),process[y(0xb9)](0x1);}return await inside(b[y(0xd2)],async()=>{const z=y;try{if(!b['root']&&!this[z(0xd8)][z(0xb0)]())throw new MustBeInProjectError();const l=b[z(0xbd)]?.[z(0xbf)](/\\/g,'/')[z(0xcd)]('/');!b[z(0xbb)]&&(l?.[z(0xaf)]>0x1?(b[z(0xbd)]=l[z(0xfa)](),c[0x0]=b[z(0xbd)],b[z(0xbb)]=l['map'](m=>{return paramCase(m);})[z(0xb8)](a97e[z(0xf4)])):b[z(0xbb)]='');if(this[z(0xfb)][z(0xc2)]){if(!b[z(0xd0)]){const n={'type':z(0xb3),'name':'colLocAnswer','message':'Location','choices':[{'name':'Client','value':'client'},{'name':z(0xcc),'value':z(0xd7)},{'name':z(0xce),'value':'both'}]},{colLocAnswer:o}=await Actions[z(0xfb)](n);o?b['where']=o:b[z(0xd0)]=z(0xdc);}const m=[z(0xdc),z(0x101),'server'];if(!m['includes'](b[z(0xd0)])){Log[z(0xe8)](z(0xf0));throw new UsageError();}switch(b[z(0xd0)]){case'both':b['appPathPrefix']='lib';break;case z(0xd7):b[z(0xcf)]=z(0xd7);break;case z(0x101):b['appPathPrefix']=z(0x101);break;default:b['appPathPrefix']='';}}return await this[z(0xde)][z(0xd1)](this,c,b);}catch(p){this['handleGenerateError'](p);}});}[a97t(0xb6)](){const A=a97t;this[A(0xaa)](this['_generators']);}['handleGenerateError'](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0xfb)];Log[B(0xd9)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0xad)](B(0xef)),this[B(0xaa)](this[B(0xc9)]);else{if(a instanceof MustBeInProjectError)Log[B(0xe8)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[B(0xe8)](B(0xfe)),Log[B(0xad)](B(0xf9));else a instanceof NoMeteorAppFoundError&&Log['error'](B(0xb2));}}}[a97t(0xaa)](a){const C=a97t,b=new a97f({});b[C(0xf8)]([C(0xff),'Alias','Description']),a[C(0xee)]((c,d)=>{const D=C;return c['name'][D(0xc8)](d['name']);})[C(0x104)](c=>{const E=C;b[E(0xf8)]([c['name'],c[E(0xf3)](),c[E(0xe7)]()]);}),Log['bright'](b[C(0xbe)]());}}
1
+ const a97t=a97d;function a97c(){const F=['37113LzUpBk','processAndRunGenerator','split','validateMeteorInstall','Server','appPathPrefix','addGenerator\x20requires\x20a\x20Generator\x20instance','maxOptsLength','Too\x20many\x20options','chdir','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','search','error','assign','validateEngines','Generator\x20format\x20is\x20incorrect','8320312iXwUUY','(((.+)+)+)+$','DARK','26YRrjBx','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','match','both','bright','fsi','maxArgLength','length','bind','minArgLength','join','options','invoke','25aAfAhA','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','map','resourceName','Too\x20few\x20options','pallet','There\x20is\x20no\x20Meteor\x20application\x20here','399873kMBfXc','minOptsLength','Both','mustHaveMeteorInstalled','aliases','mustBeInMakaProject','lib','includes','client','_handler','_generators','light','push','sep','colLocAnswer','name','findProjectDirectory','localeCompare','cwd','create','Generators:','Too\x20few\x20arguments','keys','Generator\x20requires\x20a\x20handler\x20function','Alias','notice','checkWhere','addGenerator','78264yxtYvE','Generator\x20','list','sort','root','dir','1311150IXbuTM','No\x20resource\x20name\x20specified','Too\x20many\x20arguments','handleGenerateError','LIGHT','getGlobalConfig','Generator.create\x20requires\x20a\x20handler\x20function!','\x20not\x20found','toString','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','3000609lNsMzx','tableList','Location','number','Client','where','server','function','requiredEngines','constructor','setColorMode','5254648EesbYC','Generator.create\x20requires\x20some\x20options!'];a97c=function(){return F;};return a97c();}function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x151;let f=c[d];return f;},a97d(a,b);}(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x18e))/0x1+-parseInt(q(0x17a))/0x2*(-parseInt(q(0x167))/0x3)+-parseInt(q(0x1aa))/0x4+parseInt(q(0x187))/0x5*(parseInt(q(0x1b0))/0x6)+-parseInt(q(0x177))/0x7+parseInt(q(0x165))/0x8+parseInt(q(0x15a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x9b2e9));const a97b=(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;};}()),a97a=a97b(this,function(){const r=a97d;return a97a[r(0x158)]()[r(0x172)](r(0x178))[r(0x158)]()[r(0x163)](a97a)['search'](r(0x178));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';import a97g 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='';async function inside(a='.',b){const s=a97d,c=process[s(0x1a0)]();let d=null;try{process[s(0x170)](a),d=await b();}finally{process[s(0x170)](c);}return d;}export class Generator extends Tool{['options'];[a97t(0x198)];constructor(a,b){const u=a97t;super();if(!a)throw new Error(u(0x171));if(!a[u(0x19d)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(u(0x1a5));this['_generators']=[],this[u(0x185)]=Object[u(0x174)]({},a),this['name']=this['options']['name'],this[u(0x197)]=b[u(0x182)](this);}static[a97t(0x1a1)](a,b,c){const v=a97t;if(!a)throw new Error(v(0x166));if(typeof b!==v(0x161))throw new Error(v(0x156));const d=new Generator(a,b);return c=c||a97g,Object['assign'](d,{'parent':c?.[v(0x185)]?.[v(0x19d)]}),c[v(0x1a9)](d),d;}['addGenerator'](a){const w=a97t;if(!(a instanceof Generator))throw new Error(w(0x16d));this[w(0x198)]['push'](a);}async[a97t(0x168)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.[x(0x169)](':');if(!f||f[x(0x181)]===0x0)throw x(0x176);let g=this[x(0x198)],h;for(const i of f){h=g['find'](j=>j[x(0x17c)](i));if(!h)throw x(0x1ab)+i+x(0x157);await this['validateMakaSubscription'](h),g=h[x(0x198)];}if(h)d=await h[x(0x186)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log[x(0x173)](j);}return d;}async[a97t(0x186)](a,b){const y=a97t,c=a['slice']();b[y(0x18a)]=c[0x0];try{const d=await this[y(0x17f)][y(0x155)](),f=d[y(0x18c)]===y(0x199)?ColorMode[y(0x154)]:ColorMode[y(0x179)];Log[y(0x164)](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[y(0x181)]===0x0&&this[y(0x198)][y(0x181)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[y(0x198)][y(0x181)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][y(0x193)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[y(0x185)][y(0x191)]){const j=this[y(0x16a)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0x185)][y(0x183)]==='number'){if(a['length']<this[y(0x185)]['minArgLength']){Log[y(0x173)](y(0x1a3));throw new UsageError();}}if(typeof this[y(0x185)][y(0x180)]===y(0x15d)){if(a[y(0x181)]>this[y(0x185)]['maxArgLength']){Log[y(0x173)](y(0x152));throw new UsageError();}}if(typeof this[y(0x185)][y(0x18f)]===y(0x15d)){if(Object[y(0x1a4)](b)[y(0x181)]<this[y(0x185)][y(0x18f)]){Log[y(0x173)](y(0x18b));throw new UsageError();}}if(typeof this['options'][y(0x16e)]===y(0x15d)){if(Object[y(0x1a4)](b)[y(0x181)]>=this[y(0x185)]['maxOptsLength']){Log[y(0x173)](y(0x16f));throw new UsageError();}}}this[y(0x185)][y(0x162)]&&this[y(0x175)](this[y(0x185)][y(0x162)]);await this['validateParams'](a,b,this[y(0x185)]);if(!b[y(0x18a)]&&!this[y(0x185)]['noNeedResource']){Log[y(0x173)](y(0x151));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0x153)](k),process['exit'](0x1);}return await inside(b[y(0x1a0)],async()=>{const z=y;try{if(!b[z(0x1ae)]&&!this[z(0x17f)][z(0x19e)]())throw new MustBeInProjectError();const l=b['resourceName']?.['replace'](/\\/g,'/')['split']('/');!b[z(0x1af)]&&(l?.[z(0x181)]>0x1?(b[z(0x18a)]=l['pop'](),c[0x0]=b[z(0x18a)],b[z(0x1af)]=l[z(0x189)](m=>{return paramCase(m);})[z(0x184)](a97e[z(0x19b)])):b[z(0x1af)]='');if(this[z(0x185)][z(0x1a8)]){if(!b[z(0x15f)]){const n={'type':z(0x1ac),'name':z(0x19c),'message':z(0x15c),'choices':[{'name':z(0x15e),'value':z(0x196)},{'name':z(0x16b),'value':'server'},{'name':z(0x190),'value':'both'}]},{colLocAnswer:o}=await Actions[z(0x185)](n);o?b[z(0x15f)]=o:b['where']=z(0x17d);}const m=[z(0x17d),'client',z(0x160)];if(!m[z(0x195)](b[z(0x15f)])){Log[z(0x173)](z(0x159));throw new UsageError();}switch(b['where']){case'both':b[z(0x16c)]=z(0x194);break;case z(0x160):b[z(0x16c)]=z(0x160);break;case z(0x196):b[z(0x16c)]=z(0x196);break;default:b[z(0x16c)]='';}}return await this[z(0x197)]['call'](this,c,b);}catch(p){this[z(0x153)](p);}});}['listGenerators'](){const A=a97t;this[A(0x15b)](this[A(0x198)]);}[a97t(0x153)](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0x185)];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x1a7)](B(0x1a2)),this['tableList'](this[B(0x198)]);else{if(a instanceof MustBeInProjectError)Log[B(0x173)](B(0x17b));else{if(a instanceof NoMeteorFoundError)Log[B(0x173)](B(0x188)),Log[B(0x1a7)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[B(0x173)](B(0x18d));}}}[a97t(0x15b)](a){const C=a97t,b=new a97f({});b['push'](['Name',C(0x1a6),'Description']),a[C(0x1ad)]((c,d)=>{const D=C;return c['name'][D(0x19f)](d['name']);})['forEach'](c=>{const E=C;b[E(0x19a)]([c[E(0x19d)],c[E(0x192)](),c['shortDesc']()]);}),Log[C(0x17e)](b[C(0x158)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a124d,c=a();while(!![]){try{var d=-parseInt(f(0x1cf))/0x1*(-parseInt(f(0x1ce))/0x2)+parseInt(f(0x1d5))/0x3*(parseInt(f(0x1d2))/0x4)+-parseInt(f(0x1d3))/0x5*(parseInt(f(0x1ca))/0x6)+parseInt(f(0x1cb))/0x7+-parseInt(f(0x1cc))/0x8+parseInt(f(0x1cd))/0x9+-parseInt(f(0x1d0))/0xa*(-parseInt(f(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xaa1b4));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x1d7)](h(0x1d4))[h(0x1d8)]()[h(0x1d9)](a124a)[h(0x1d7)]('(((.+)+)+)+$');});a124a();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';function a124c(){var i=['constructor','366rlJnfX','6527689yifUmc','9456888iPCXzQ','5749290qbsbdo','46TOgxLE','5246tMQYYg','6150KykQHD','apply','2457532YgakYK','113530mtCbIW','(((.+)+)+)+$','3CCjNCU','17127CFgewq','search','toString'];a124c=function(){return i;};return a124c();}import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a124d(a,b);}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0xf9))/0x1*(-parseInt(f(0xfe))/0x2)+-parseInt(f(0xfd))/0x3+parseInt(f(0x106))/0x4*(parseInt(f(0xfa))/0x5)+parseInt(f(0x102))/0x6+parseInt(f(0xff))/0x7*(parseInt(f(0x103))/0x8)+-parseInt(f(0xfb))/0x9+-parseInt(f(0x104))/0xa*(parseInt(f(0x101))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xe0fc1));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x105)]()['search']('(((.+)+)+)+$')[h(0x105)]()['constructor'](a98a)[h(0x100)](h(0xfc));});a98a();import'./services/_index.js';import'./api.js';function a98c(){var i=['10681992YHkQKg','440jELxpa','20mAdpTm','toString','66376vWppiR','apply','745qNaKBB','505CuIbgf','10247004UzncDF','(((.+)+)+)+$','4313307LDpyma','4254dyZHbB','196525OfHszx','search','16979622ZQGlvg'];a98c=function(){return i;};return a98c();}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';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xf8;var f=c[d];return f;},a98d(a,b);}import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
@@ -1 +1 @@
1
- const a98x=a98d;(function(a,b){const u=a98d,c=a();while(!![]){try{const d=-parseInt(u(0x1fa))/0x1*(-parseInt(u(0x1d2))/0x2)+parseInt(u(0x1b6))/0x3*(parseInt(u(0x1bf))/0x4)+-parseInt(u(0x1a4))/0x5*(parseInt(u(0x1ea))/0x6)+-parseInt(u(0x1fc))/0x7+-parseInt(u(0x1d5))/0x8+-parseInt(u(0x1af))/0x9+-parseInt(u(0x1e3))/0xa*(-parseInt(u(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x4f154));const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a98d;if(c){const e=c[v(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const w=a98d;return a98a[w(0x1cf)]()[w(0x1a2)](w(0x1f2))['toString']()[w(0x1a5)](a98a)[w(0x1a2)](w(0x1f2));});function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x1a1;let f=c[d];return f;},a98d(a,b);}a98a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a98e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a98c(){const A=['-api\x27;','pathFromApp','API\x20boundaries\x20to\x20create','Fixtures','5136372zmswwJ','ddp-rate-limiter','injectIntoFile','Publications','injectAtEndOfFile','getMakaProjectConfig','rest-api.','262221UlvcRC','withPubs','apiAnswers','test','push','fixtures.','engines','rewriteDestinationPathForEngine','api/methods.js','20IUnbDp','/imports/api','fsi','checkbox','rpc-methods.','typeDefs.','apollo','api/publications.js','resourceName','mongo','withFixtures','const','api/typeDefs.js','typeList.push(','error','/graphql/typeDefs','toString','graphql','api','10LFNpHk','maka:check','maka\x20{generate,\x20g}:{api}\x20<resource-name>','4959368MUQEYp','if\x20\x5c(typeList','template','RPC\x20(Methods)','withRest','Resolvers\x20}\x20from\x20\x27','api/tests.js','index.','765941LYxxRQ','withMethods','injectAtBeginningOfFile','register-','api/resolvers.js','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\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-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','220SBrrwb','\x0aimport\x20{\x20resolvers\x20as\x20','exit','apply','GraphQL','create','import\x20\x27./register-','12ainuBh','processAndRunGenerator','api/api.js','includes','dir','TypeDefs\x20}\x20from\x20\x27','mdg:validated-method','.app-tests.','(((.+)+)+)+$','-api.','rest','none','maka:rest','options','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','withValue','21789yPGxoh','import\x20{\x20typeDefs\x20as\x20','721525powbAQ','Resolvers);\x0a\x0a','collection','search','maka\x20g:api\x20Todos','1150585rmPIuQ','constructor','imports','tsx','startup','/graphql/resolvers','server'];a98c=function(){return A;};return a98c();}Generator[a98x(0x1e8)]({'name':a98x(0x1d1),'aliases':['a'],'usage':a98x(0x1d4),'shortDesc':a98x(0x1f8),'validOpts':[a98x(0x1ee)],'examples':[a98x(0x1a3)],'description':a98x(0x1e2)},async function(a,b){const y=a98x;try{const c=this['fsi'][y(0x1b4)](),d=[{'name':y(0x1d8),'value':y(0x1de)},{'name':y(0x1ae),'value':y(0x1c9)},{'name':y(0x1b2),'value':'withPubs'}];c[y(0x1bc)][y(0x1d1)]===y(0x1f4)&&d[y(0x1ba)]({'name':'REST\x20API','value':y(0x1d9)});c[y(0x1bc)][y(0x1d0)]===y(0x1c5)&&d[y(0x1ba)]({'name':y(0x1e7),'value':'withGql'});const f={'type':y(0x1c2),'name':y(0x1b8),'message':y(0x1ad),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x1f7)](f);g['length']===0x0&&(Log[y(0x1cd)]('No\x20API\x20boundaries\x20selected'),process[y(0x1e5)](0x1)),await this[y(0x1c1)][y(0x1f9)](c,async()=>{const z=y,h=b[z(0x1c7)],i=paramCase(h),j=camelCase(h),k=b[z(0x1ee)]?'/'+b[z(0x1ee)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c['engines']['api'],'graphql':c['engines'][z(0x1d0)],'test':c[z(0x1bc)]['test'],'noRename':!![],'withPubs':g['includes'](z(0x1b7)),'withFixtures':g[z(0x1ed)]('withFixtures'),'withMethods':g['includes']('withMethods'),'withRest':g[z(0x1ed)]('withRest')};let m='js';c['engines']['js']===z(0x1a7)&&(m='ts');await this[z(0x1c1)]['checkMeteorPackage']([z(0x1f6),z(0x1d3),z(0x1b0),z(0x1f0),z(0x1c8)],{'shouldInstall':!![]}),await a98e[z(0x1eb)](z(0x1a1),[i],{'config':c,'where':z(0x1aa)});c['engines'][z(0x1d1)]===z(0x1f4)&&(l[z(0x1d9)]&&await this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1ec),'destPath':this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1d1),b[z(0x1ee)],i,z(0x1b5)+m]}),'context':l,'config':c}));l[z(0x1de)]&&await this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1be),'destPath':this[z(0x1c1)]['pathFromApp']({'pathParts':[z(0x1a6),'api',b[z(0x1ee)],i,z(0x1c3)+m]}),'context':l,'config':c});l[z(0x1c9)]&&await this[z(0x1c1)][z(0x1d7)]({'srcPath':'api/fixtures.js','destPath':this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1d1),b[z(0x1ee)],i,z(0x1bb)+m]}),'context':l,'config':c});c[z(0x1bc)][z(0x1b9)]!==z(0x1f5)&&this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1db),'destPath':this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1d1),b[z(0x1ee)],i,i+z(0x1f1)+m]}),'context':l,'config':c});l[z(0x1b7)]&&await this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1c6),'destPath':this[z(0x1c1)][z(0x1ac)]({'pathParts':['imports',z(0x1d1),b[z(0x1ee)],i,'publications.'+m]}),'context':l,'config':c});if(c[z(0x1bc)]['graphql']===z(0x1c5)){if(g[z(0x1ed)]('withGql')){const o=this[z(0x1c1)][z(0x1ac)]({'pathParts':['imports',z(0x1a8),z(0x1aa),'index.'+c['engines']['js']]}),p=this[z(0x1c1)][z(0x1bd)]({'pathParts':[o],'config':c}),q=this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1d1),b[z(0x1ee)],i,z(0x1d0),z(0x1c4)+m]}),r=z(0x1c0)+k+i+z(0x1ce);this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1cb),'destPath':q,'context':l,'config':c}),await this[z(0x1c1)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x1fb)+j+z(0x1ef)+r+'\x27;\x0a'}),await this[z(0x1c1)][z(0x1b1)]({'filePath':p,'content':z(0x1cc)+j+'TypeDefs);\x0a','begin':'const','end':z(0x1d6)});const s=this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1d1),b[z(0x1ee)],i,'graphql','resolvers.'+m]}),t=z(0x1c0)+k+i+z(0x1a9);await this[z(0x1c1)][z(0x1d7)]({'srcPath':z(0x1e1),'destPath':s,'context':l,'config':c}),await this[z(0x1c1)][z(0x1df)]({'filePath':p,'content':z(0x1e4)+j+z(0x1da)+t+'\x27;'}),await this[z(0x1c1)][z(0x1b1)]({'filePath':p,'content':'resolverList.push('+j+z(0x1fd),'begin':z(0x1ca),'end':z(0x1d6)});}}await this[z(0x1c1)][z(0x1d7)]({'srcPath':'api/register-api.js','destPath':this['fsi'][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1a8),z(0x1aa),z(0x1e0)+i+z(0x1f3)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x1c1)][z(0x1ac)]({'pathParts':[z(0x1a6),z(0x1a8),'server',z(0x1dc)+c[z(0x1bc)]['js']]});await this[z(0x1c1)][z(0x1b3)]({'filePath':n,'content':z(0x1e9)+i+z(0x1ab)});});}catch(h){console[y(0x1cd)](h),process['exit'](0x0);}});
1
+ const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x204))/0x1+-parseInt(u(0x20a))/0x2*(parseInt(u(0x202))/0x3)+-parseInt(u(0x21e))/0x4*(parseInt(u(0x225))/0x5)+-parseInt(u(0x22f))/0x6+-parseInt(u(0x21c))/0x7+parseInt(u(0x212))/0x8+-parseInt(u(0x22e))/0x9*(-parseInt(u(0x20f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xa8b5f));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x214)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x206)]()[w(0x1fd)](w(0x217))['toString']()[w(0x1fb)](a99a)[w(0x1fd)](w(0x217));});a99a();function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a99d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';function a99c(){const A=['rewriteDestinationPathForEngine','TypeDefs\x20}\x20from\x20\x27','9YtVqkZ','1506942rxnzln','none','.app-tests.','index.','-api\x27;','template','mongo','checkbox','withRest','api/register-api.js','if\x20\x5c(typeList','fsi','test','api/fixtures.js','apollo','processAndRunGenerator','getMakaProjectConfig','withValue','Fixtures','server','rpc-methods.','/imports/api','api/methods.js','injectIntoFile','\x27;\x0a','startup','error','const','withFixtures','maka:rest','publications.','api/resolvers.js','pathFromApp','typeDefs.','withGql','dir','import\x20{\x20typeDefs\x20as\x20','graphql','constructor','fixtures.','search','apiAnswers','api/tests.js','engines','resolverList.push(','6ZMIhaR','TypeDefs);\x0a','191909XDBmtb','create','toString','RPC\x20(Methods)','/graphql/resolvers','length','1164188tARZXG','typeList.push(','includes','import\x20\x27./register-','exit','25369390MUiPWl','ddp-rate-limiter','REST\x20API','6991032aQidjC','/graphql/typeDefs','apply','API\x20boundaries\x20to\x20create','api/api.js','(((.+)+)+)+$','rest','imports','rest-api.','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','7747446OZAzSn','tsx','34628IdlWhi','options','resolvers.','maka:check','push','\x0aimport\x20{\x20resolvers\x20as\x20','register-','225mMFyir','injectAtBeginningOfFile','api','api/publications.js','withPubs','checkMeteorPackage','withMethods'];a99c=function(){return A;};return a99c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x205)]({'name':a99x(0x227),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x21b),'validOpts':['dir'],'examples':['maka\x20g:api\x20Todos'],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\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-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const y=a99x;try{const c=this[y(0x23a)][y(0x23f)](),d=[{'name':y(0x207),'value':y(0x22b)},{'name':y(0x241),'value':y(0x1f1)},{'name':'Publications','value':y(0x229)}];c['engines']['api']===y(0x218)&&d[y(0x222)]({'name':y(0x211),'value':'withRest'});c[y(0x200)]['graphql']===y(0x23d)&&d[y(0x222)]({'name':'GraphQL','value':y(0x1f7)});const f={'type':y(0x236),'name':y(0x1fe),'message':y(0x215),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x21f)](f);g[y(0x209)]===0x0&&(Log[y(0x1ef)]('No\x20API\x20boundaries\x20selected'),process['exit'](0x1)),await this['fsi'][y(0x240)](c,async()=>{const z=y,h=b['resourceName'],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[z(0x1f8)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x200)][z(0x227)],'graphql':c[z(0x200)][z(0x1fa)],'test':c['engines'][z(0x23b)],'noRename':!![],'withPubs':g[z(0x20c)](z(0x229)),'withFixtures':g[z(0x20c)]('withFixtures'),'withMethods':g[z(0x20c)](z(0x22b)),'withRest':g['includes'](z(0x237))};let m='js';c[z(0x200)]['js']===z(0x21d)&&(m='ts');await this[z(0x23a)][z(0x22a)]([z(0x1f2),z(0x221),z(0x210),'mdg:validated-method',z(0x235)],{'shouldInstall':!![]}),await a99e[z(0x23e)]('collection',[i],{'config':c,'where':z(0x1e8)});c[z(0x200)][z(0x227)]===z(0x218)&&(l[z(0x237)]&&await this[z(0x23a)]['template']({'srcPath':z(0x216),'destPath':this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,z(0x21a)+m]}),'context':l,'config':c}));l[z(0x22b)]&&await this[z(0x23a)][z(0x234)]({'srcPath':z(0x1eb),'destPath':this['fsi'][z(0x1f5)]({'pathParts':['imports',z(0x227),b[z(0x1f8)],i,z(0x1e9)+m]}),'context':l,'config':c});l['withFixtures']&&await this[z(0x23a)][z(0x234)]({'srcPath':z(0x23c),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,z(0x1fc)+m]}),'context':l,'config':c});c[z(0x200)][z(0x23b)]!==z(0x230)&&this[z(0x23a)][z(0x234)]({'srcPath':z(0x1ff),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,i+z(0x231)+m]}),'context':l,'config':c});l[z(0x229)]&&await this['fsi'][z(0x234)]({'srcPath':z(0x228),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',z(0x227),b[z(0x1f8)],i,z(0x1f3)+m]}),'context':l,'config':c});if(c['engines']['graphql']===z(0x23d)){if(g[z(0x20c)](z(0x1f7))){const o=this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),z(0x1e8),z(0x232)+c[z(0x200)]['js']]}),p=this[z(0x23a)][z(0x22c)]({'pathParts':[o],'config':c}),q=this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,'graphql',z(0x1f6)+m]}),r=z(0x1ea)+k+i+z(0x213);this[z(0x23a)][z(0x234)]({'srcPath':'api/typeDefs.js','destPath':q,'context':l,'config':c}),await this[z(0x23a)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x1f9)+j+z(0x22d)+r+z(0x1ed)}),await this[z(0x23a)][z(0x1ec)]({'filePath':p,'content':z(0x20b)+j+z(0x203),'begin':z(0x1f0),'end':z(0x239)});const s=this[z(0x23a)]['pathFromApp']({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,'graphql',z(0x220)+m]}),t=z(0x1ea)+k+i+z(0x208);await this[z(0x23a)][z(0x234)]({'srcPath':z(0x1f4),'destPath':s,'context':l,'config':c}),await this[z(0x23a)][z(0x226)]({'filePath':p,'content':z(0x223)+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this['fsi']['injectIntoFile']({'filePath':p,'content':z(0x201)+j+'Resolvers);\x0a\x0a','begin':'const','end':z(0x239)});}}await this[z(0x23a)][z(0x234)]({'srcPath':z(0x238),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),z(0x1e8),z(0x224)+i+'-api.'+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),'server','index.'+c['engines']['js']]});await this[z(0x23a)]['injectAtEndOfFile']({'filePath':n,'content':z(0x20d)+i+z(0x233)});});}catch(h){console[y(0x1ef)](h),process[y(0x20e)](0x0);}});
@@ -1 +1 @@
1
- function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x18b;let f=c[d];return f;},a99d(a,b);}const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=-parseInt(j(0x198))/0x1+-parseInt(j(0x19d))/0x2*(parseInt(j(0x1a6))/0x3)+-parseInt(j(0x19c))/0x4*(parseInt(j(0x18e))/0x5)+-parseInt(j(0x1b1))/0x6*(-parseInt(j(0x1ae))/0x7)+parseInt(j(0x1ab))/0x8*(parseInt(j(0x194))/0x9)+parseInt(j(0x1a8))/0xa+parseInt(j(0x1a4))/0xb*(parseInt(j(0x193))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x55ae0));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a[l(0x195)]()[l(0x19f)](l(0x18c))[l(0x195)]()['constructor'](a99a)[l(0x19f)](l(0x18c));});a99a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a99m(0x19a)]({'name':a99m(0x199),'aliases':[a99m(0x19b)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a99m(0x1af),'validOpts':[a99m(0x19e),'where'],'description':a99m(0x196),'examples':[a99m(0x1b4)]},async function(a,b){const n=a99m;try{const c=this[n(0x18f)]['getMakaProjectConfig']();await this[n(0x18f)][n(0x18b)](c,async()=>{const o=n,d=paramCase(b[o(0x1a5)]),f={'name':pascalCase(b[o(0x1a5)]),'collectionName':pascalCase(b[o(0x1a5)]),'fileName':d,'where':b[o(0x1ad)],'test':c[o(0x1a0)][o(0x191)],'noRename':!![]};let g='js';c[o(0x1a0)]['js']==='tsx'&&(g='ts');await this[o(0x18f)][o(0x1a7)]([o(0x192),o(0x1b5)],{'shouldInstall':!![]}),await this[o(0x18f)][o(0x1b0)]({'srcPath':'collection/collection.js','destPath':this['fsi'][o(0x1b3)]({'pathParts':[o(0x1a2),o(0x1b2),b['appPathPrefix'],'collections',b[o(0x19e)],d+'.'+g]}),'context':f,'config':c});c['engines'][o(0x191)]!==o(0x1a3)&&await this[o(0x18f)][o(0x1b0)]({'srcPath':o(0x1ac),'destPath':this[o(0x18f)]['pathFromApp']({'pathParts':['imports','startup',b[o(0x190)],'collections',b[o(0x19e)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x19e)]+'/':'/',i=this[o(0x18f)][o(0x1b3)]({'pathParts':[o(0x1a2),'startup',b[o(0x190)],o(0x1aa)+c[o(0x1a0)]['js']]});await this[o(0x18f)][o(0x1a9)]({'filePath':i,'content':o(0x197)+h+d+'\x27;'});});}catch(d){Log[n(0x18d)](d);}});function a99c(){const p=['fsi','appPathPrefix','test','mongo','12lcdCir','424107YiEFwj','toString','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','import\x20\x27./collections','43292cDcfZg','collection','create','col','7468doHIqT','8876VrEQIY','dir','search','engines','apply','imports','none','2527558caFhFC','resourceName','216NMfHWY','checkMeteorPackage','4129920WKaUii','injectAtEndOfFile','index.','64VWLSqN','collection/tests.js','where','1530515EvsToE','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','template','6vaaxQN','startup','pathFromApp','maka\x20g:collection\x20todos','maka:check','withValue','(((.+)+)+)+$','error','1405OpGetR'];a99c=function(){return p;};return a99c();}
1
+ const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x8f))/0x1*(parseInt(j(0x75))/0x2)+parseInt(j(0x81))/0x3+parseInt(j(0x8b))/0x4*(parseInt(j(0x84))/0x5)+-parseInt(j(0x88))/0x6+parseInt(j(0x8e))/0x7+parseInt(j(0x72))/0x8*(-parseInt(j(0x91))/0x9)+-parseInt(j(0x79))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x93bbf));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x71)]()['search'](l(0x89))['toString']()[l(0x87)](a100a)['search'](l(0x89));});a100a();import{paramCase,pascalCase}from'change-case';function a100c(){const p=['pathFromApp','test','injectAtEndOfFile','tsx','none','collection/tests.js','toString','3552oEoFoe','mongo','import\x20\x27./collections','1930386muNVPf','template','create','checkMeteorPackage','7133310FyiJyJ','collection','startup','imports','dir','col','error','resourceName','2414625qskqpX','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','getMakaProjectConfig','38405mSGZgJ','collection/collection.js','collections','constructor','4908516rXqbCE','(((.+)+)+)+$','where','452OOQLpS','.app-tests.','fsi','1366057EqPvkK','1trsxwP','engines','14121hzlUDW','apply','appPathPrefix','index.'];a100c=function(){return p;};return a100c();}import{Generator}from'../generator.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x6c;let f=c[d];return f;},a100d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a100m(0x77)]({'name':a100m(0x7a),'aliases':[a100m(0x7e)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':['dir',a100m(0x8a)],'description':a100m(0x82),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a100m;try{const c=this['fsi'][n(0x83)]();await this[n(0x8d)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x80)]),f={'name':pascalCase(b[o(0x80)]),'collectionName':pascalCase(b['resourceName']),'fileName':d,'where':b[o(0x8a)],'test':c[o(0x90)][o(0x6c)],'noRename':!![]};let g='js';c[o(0x90)]['js']===o(0x6e)&&(g='ts');await this['fsi'][o(0x78)]([o(0x73),'maka:check'],{'shouldInstall':!![]}),await this[o(0x8d)][o(0x76)]({'srcPath':o(0x85),'destPath':this[o(0x8d)][o(0x95)]({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x86),b['dir'],d+'.'+g]}),'context':f,'config':c});c[o(0x90)]['test']!==o(0x6f)&&await this[o(0x8d)][o(0x76)]({'srcPath':o(0x70),'destPath':this[o(0x8d)]['pathFromApp']({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x86),b[o(0x7d)],d+o(0x8c)+g]}),'context':f,'config':c});const h=b[o(0x7d)]?'/'+b[o(0x7d)]+'/':'/',i=this[o(0x8d)][o(0x95)]({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x94)+c[o(0x90)]['js']]});await this[o(0x8d)][o(0x6d)]({'filePath':i,'content':o(0x74)+h+d+'\x27;'});});}catch(d){Log[n(0x7f)](d);}});