@maka/maka-cli 4.7.11 → 4.7.13

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/.vs/VSWorkspaceState.json +12 -0
  4. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  5. package/.vs/maka-cli-src/FileContentIndex/69d2de39-b193-48d9-b520-96bdb73b7b61.vsidx +0 -0
  6. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  7. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  8. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  9. package/.vs/maka-cli-src/config/applicationhost.config +1016 -0
  10. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  11. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  12. package/.vs/slnx.sqlite +0 -0
  13. package/README.md +21 -21
  14. package/bundle/obf/package.json +127 -127
  15. package/bundle/obf/src/README.md +21 -21
  16. package/bundle/obf/src/command.js +1 -1
  17. package/bundle/obf/src/commands/_index.js +1 -1
  18. package/bundle/obf/src/commands/ai.js +1 -1
  19. package/bundle/obf/src/commands/aws/_index.js +1 -1
  20. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  21. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/build/_index.js +1 -1
  34. package/bundle/obf/src/commands/build/build.js +1 -1
  35. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/create.js +1 -1
  37. package/bundle/obf/src/commands/debug.js +1 -1
  38. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  39. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  40. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  42. package/bundle/obf/src/commands/game/_index.js +1 -1
  43. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  44. package/bundle/obf/src/commands/game/play.command.js +1 -1
  45. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  70. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  71. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  72. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  73. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  74. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  75. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  76. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  77. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  78. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  79. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  80. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  81. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  82. package/bundle/obf/src/commands/generate.js +1 -1
  83. package/bundle/obf/src/commands/get/_index.js +1 -1
  84. package/bundle/obf/src/commands/get/get.command.js +1 -1
  85. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/help.js +1 -1
  89. package/bundle/obf/src/commands/install.js +1 -1
  90. package/bundle/obf/src/commands/jsdoc.js +1 -1
  91. package/bundle/obf/src/commands/lint.js +1 -1
  92. package/bundle/obf/src/commands/login.js +1 -1
  93. package/bundle/obf/src/commands/logout.js +1 -1
  94. package/bundle/obf/src/commands/logs.js +1 -1
  95. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  96. package/bundle/obf/src/commands/murder.js +1 -1
  97. package/bundle/obf/src/commands/proxy.js +1 -1
  98. package/bundle/obf/src/commands/reconfig.js +1 -1
  99. package/bundle/obf/src/commands/run/_index.js +1 -1
  100. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/run/run.command.js +1 -1
  102. package/bundle/obf/src/commands/set/_index.js +1 -1
  103. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  104. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  105. package/bundle/obf/src/commands/set/set.command.js +1 -1
  106. package/bundle/obf/src/commands/ssh.js +1 -1
  107. package/bundle/obf/src/commands/ssl.js +1 -1
  108. package/bundle/obf/src/commands/test.js +1 -1
  109. package/bundle/obf/src/commands/version.js +1 -1
  110. package/bundle/obf/src/error.js +1 -1
  111. package/bundle/obf/src/exec.js +1 -1
  112. package/bundle/obf/src/generator.js +1 -1
  113. package/bundle/obf/src/generators/_index.js +1 -1
  114. package/bundle/obf/src/generators/api.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/kit.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  129. package/bundle/obf/src/generators/layout.js +1 -1
  130. package/bundle/obf/src/generators/maka.gen.js +1 -1
  131. package/bundle/obf/src/generators/methods.js +1 -1
  132. package/bundle/obf/src/generators/package.js +1 -1
  133. package/bundle/obf/src/generators/page.js +1 -1
  134. package/bundle/obf/src/generators/publish.js +1 -1
  135. package/bundle/obf/src/generators/route.js +1 -1
  136. package/bundle/obf/src/generators/service.js +1 -1
  137. package/bundle/obf/src/generators/services/_index.js +1 -1
  138. package/bundle/obf/src/generators/services/openssl.js +1 -1
  139. package/bundle/obf/src/generators/services/translation.js +1 -1
  140. package/bundle/obf/src/maka.js +1 -1
  141. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  142. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  143. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  144. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  145. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  146. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  147. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  148. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  149. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  150. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  151. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  152. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  153. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  154. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  155. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  156. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  157. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  158. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  159. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  160. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  161. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  162. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  163. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  164. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  165. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  166. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  167. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  168. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  180. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  181. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  182. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  183. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  184. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  185. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  186. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  187. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  188. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  189. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  190. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  191. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  192. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  193. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  194. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  195. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  196. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  197. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  198. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  199. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  200. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  201. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  202. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  203. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  204. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  205. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  206. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  207. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  208. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  209. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  210. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  211. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  212. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  213. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  214. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  215. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  216. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  217. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  218. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  219. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  220. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  221. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  222. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  223. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  224. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  225. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  226. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  227. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  228. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  229. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  230. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  231. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  232. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  233. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  234. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  235. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  236. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  237. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  238. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  239. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  240. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  241. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  242. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  243. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  244. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  245. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  246. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  247. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  248. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  249. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  250. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  251. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  252. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  253. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  254. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  255. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  256. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  257. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  258. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  260. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  261. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  262. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  263. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  264. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  265. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  266. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  267. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  268. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  269. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  270. package/bundle/obf/src/templates/react/component/component.css +6 -6
  271. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  272. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  273. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  274. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  275. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  276. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  277. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  278. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  279. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  280. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  281. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  282. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  283. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  284. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  285. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  286. package/bundle/obf/src/templates/react/route/route.js +8 -8
  287. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  288. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  289. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  290. package/bundle/obf/src/templates/react/test/test.js +1 -1
  291. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  292. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  293. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  294. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  295. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  296. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  297. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  298. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  299. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  300. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  301. package/bundle/obf/src/tool.js +1 -1
  302. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  303. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  304. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  305. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  306. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  308. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/https/https.class.js +1 -1
  310. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  311. package/bundle/obf/src/tools/log/log.class.js +1 -1
  312. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  313. package/bundle/obf/src/tools/options/options.class.js +1 -1
  314. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  315. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  316. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  317. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  318. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  319. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  320. package/jest.config.js +11 -11
  321. package/obfuscator.json +29 -29
  322. package/package.json +127 -127
  323. package/tsconfig.json +23 -23
@@ -1 +1 @@
1
- function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a83d(a,b);}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x1d3))/0x1*(-parseInt(n(0x1e3))/0x2)+-parseInt(n(0x1d1))/0x3*(-parseInt(n(0x1ec))/0x4)+parseInt(n(0x1cb))/0x5+-parseInt(n(0x1c7))/0x6+parseInt(n(0x1d6))/0x7*(parseInt(n(0x1d4))/0x8)+parseInt(n(0x1de))/0x9*(parseInt(n(0x1e1))/0xa)+-parseInt(n(0x1e0))/0xb*(parseInt(n(0x1e5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xe6025));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x1dc)]()[p(0x1d2)](p(0x1dd))[p(0x1dc)]()[p(0x1c5)](a83a)[p(0x1d2)]('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['6513186egVoqz','join','parse','~/pm2.config.js','8801160KFmAAf','Remote\x20host\x20connection\x20successful','_keys','ses.json','getAppConfigPath','~/settings.json','181341DMahwl','search','511679HdSMgc','144BAuMqt','success','63133NXvhXR','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','fsi','maka\x20reconfig\x20--env\x20prod','assign','~/ses.json','toString','(((.+)+)+)+$','7345341bZSSYf','exit','418ikGwaU','10BkXLNP','env','4OftBcK','Checking\x20remote\x20host\x20availability','35004bgixXu','ssh','uname\x20-a','ping','ssh.json','apply','maka\x20reconfig','28UhqNzR','existsSync','scp','pm2.config.js','settings.json','constructor','sshSync'];a83c=function(){return s;};return a83c();}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83q(0x1e2)],'mustBeInMakaProject':!![],'usage':a83q(0x1eb),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':'\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\x20\x20','examples':[a83q(0x1d9)]},async function(a,b){const r=a83q;try{const c=this[r(0x1d8)][r(0x1cf)](b[r(0x1e2)]),d=a83f[r(0x1c8)](c,r(0x1e9)),f=a83e['readFileSync'](d)[r(0x1dc)](),g=JSON[r(0x1c9)](f);Object[r(0x1da)](g,{'env':c}),Log['notice'](r(0x1e4));const h=SSH[r(0x1e8)](r(0x1e7),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1d5)](r(0x1cc));const i=a83f[r(0x1c8)](c,r(0x1cd),r(0x1ce));if(a83e[r(0x1ed)](i)){const l={'source':i,'dest':r(0x1db),'verbose':!![]};SSH[r(0x1c2)](l,{...g});}const j=a83f[r(0x1c8)](c,r(0x1c3));SSH['scp']({'source':j,'dest':r(0x1ca),'verbose':!![]},{...g});const k=a83f[r(0x1c8)](c,r(0x1c4));SSH[r(0x1c2)]({'source':k,'dest':r(0x1d0),'verbose':!![]},{...g}),SSH[r(0x1c6)]('pm2\x20delete\x20all',g),await SSH[r(0x1e6)](r(0x1d7),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x1df)](0x0);}});
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x79;let f=c[d];return f;},a82d(a,b);}const a82q=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=-parseInt(n(0x83))/0x1*(parseInt(n(0x94))/0x2)+-parseInt(n(0x79))/0x3*(-parseInt(n(0x8e))/0x4)+parseInt(n(0x7a))/0x5*(parseInt(n(0x8f))/0x6)+-parseInt(n(0x84))/0x7+-parseInt(n(0x7c))/0x8+-parseInt(n(0x7e))/0x9*(-parseInt(n(0x86))/0xa)+-parseInt(n(0x99))/0xb*(-parseInt(n(0xa1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xa519a));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a82d;if(c){const e=c[o(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const p=a82d;return a82a['toString']()[p(0x87)](p(0x88))[p(0x7d)]()[p(0x95)](a82a)[p(0x87)](p(0x88));});a82a();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';function a82c(){const s=['16BRzfIh','8960042lmHmIg','uname\x20-a','820YVkrSQ','search','(((.+)+)+)+$','exit','create','join','scp','~/pm2.config.js','4pBgRHM','6THRAvC','readFileSync','parse','fsi','Remote\x20host\x20connection\x20successful','118506FfZRiP','constructor','maka\x20reconfig\x20--env\x20prod','Checking\x20remote\x20host\x20availability','ping','242xLpgCM','error','pm2.config.js','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','env','_keys','ssh.json','assign','767640sHMUkc','success','apply','2975190jikcfi','614615hJxiHH','ssh','6813656aHIxul','toString','135441FbJZhZ','maka\x20reconfig','getAppConfigPath','existsSync','notice'];a82c=function(){return s;};return a82c();}Command[a82q(0x8a)]({'name':'reconfig','validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a82q(0x7f),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':'\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\x20\x20','examples':[a82q(0x96)]},async function(a,b){const r=a82q;try{const c=this[r(0x92)][r(0x80)](b[r(0x9d)]),d=a82f[r(0x8b)](c,r(0x9f)),f=a82e[r(0x90)](d)[r(0x7d)](),g=JSON[r(0x91)](f);Object[r(0xa0)](g,{'env':c}),Log[r(0x82)](r(0x97));const h=SSH[r(0x98)](r(0x85),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xa2)](r(0x93));const i=a82f[r(0x8b)](c,r(0x9e),'ses.json');if(a82e[r(0x81)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x8c)](l,{...g});}const j=a82f[r(0x8b)](c,r(0x9b));SSH[r(0x8c)]({'source':j,'dest':r(0x8d),'verbose':!![]},{...g});const k=a82f[r(0x8b)](c,'settings.json');SSH['scp']({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync']('pm2\x20delete\x20all',g),await SSH[r(0x7b)](r(0x9c),{...g},{'verbose':!![]});}catch(m){console[r(0x9a)](m),process[r(0x89)](0x0);}});
@@ -1 +1 @@
1
- function a84c(){var i=['636372BefpmD','7530QPARcY','1187HNuEuC','48529puJaao','2943uwuVvY','906ZMGXRK','4lAnwSw','search','14020YtfHox','55CZXFqy','820kUsnSD','770973VkrhEy','toString','8ZTLcWG','1095141ObRzfR','apply','2660rylChf','(((.+)+)+)+$'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x101;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1*(-parseInt(f(0x109))/0x2)+-parseInt(f(0x10d))/0x3*(parseInt(f(0x105))/0x4)+-parseInt(f(0x107))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0x10a))/0x7*(-parseInt(f(0x10c))/0x8)+parseInt(f(0x103))/0x9*(parseInt(f(0x112))/0xa)+parseInt(f(0x108))/0xb*(-parseInt(f(0x111))/0xc)+parseInt(f(0x102))/0xd*(parseInt(f(0x10f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x43f9a));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x10b)]()[h(0x106)](h(0x110))['toString']()['constructor'](a84a)[h(0x106)](h(0x110));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1*(parseInt(f(0x10d))/0x2)+parseInt(f(0x114))/0x3+parseInt(f(0x10f))/0x4*(-parseInt(f(0x107))/0x5)+-parseInt(f(0x109))/0x6*(parseInt(f(0x10a))/0x7)+parseInt(f(0x113))/0x8*(parseInt(f(0x104))/0x9)+parseInt(f(0x10c))/0xa*(parseInt(f(0x10b))/0xb)+-parseInt(f(0x112))/0xc*(parseInt(f(0x10e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x6689f));function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x104;var f=c[d];return f;},a85d(a,b);}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x110)]()[h(0x106)](h(0x105))[h(0x110)]()['constructor'](a85a)[h(0x106)](h(0x105));});a85a();import'./run.command.js';import'./docker.sub.cmd.js';function a85c(){var i=['(((.+)+)+)+$','search','20TmnEPk','apply','2542602uVYmnY','7gPFNRt','600908Qcvbnx','80aXNySB','338bExhxI','767FUvaHD','206452bQmnHA','toString','19sUINdH','125748LiHCjL','2196328jcGBcw','2037486SLkjDT','18qfdUQt'];a85c=function(){return i;};return a85c();}
@@ -1 +1 @@
1
- const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=-parseInt(j(0x10f))/0x1+parseInt(j(0x115))/0x2*(-parseInt(j(0x114))/0x3)+parseInt(j(0x107))/0x4+parseInt(j(0x11a))/0x5*(parseInt(j(0x112))/0x6)+parseInt(j(0x126))/0x7*(-parseInt(j(0x103))/0x8)+-parseInt(j(0x11c))/0x9+parseInt(j(0x113))/0xa*(parseInt(j(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb2f60));function a85c(){const o=['templateContent','1864795yftDuz','config/docker-compose.yaml','11887515ORpJLN','toString','PM2\x20Config\x20File:\x20','exit','inherit','docker','\x20up\x20--remove-orphans','docker-compose\x20--project-directory\x20','existsSync','apply','1715YaZGoE','createFile','44984qHTzDL','create','http://localhost','2706yUOIiN','396820HALNMC','docker-compose.yaml','notice','maka\x20run\x20docker','getMakaProjectConfig','fsi','appName','join','1202006QQjrCo','search','Docker\x20Compose\x20Path:\x20','12dysNwr','204890wyyKLQ','3755751OtIRMH','2BFkoDc','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','getAppConfigPath'];a85c=function(){return o;};return a85c();}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x11d)]()[l(0x110)](l(0x116))['toString']()['constructor'](a85a)[l(0x110)](l(0x116));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x102;let f=c[d];return f;},a85d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x104)]({'name':a85m(0x121),'aliases':['d'],'shortDesc':a85m(0x117),'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':a85m(0x10a),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x10c)][n(0x10b)](),b=this[n(0x10c)][n(0x118)](n(0x121)),c=a85f[n(0x10e)](b,n(0x108)),d=a85f['join'](b,'pm2.config.js');Log[n(0x109)](n(0x11e)+d),Log[n(0x109)](n(0x111)+c);if(!a85g[n(0x124)](c)){const f={'app':a[n(0x10d)],'appFileCase':paramCase(a[n(0x10d)])},g=this[n(0x10c)][n(0x119)]({'srcPath':n(0x11b),'context':f})+'\x0a';this[n(0x10c)][n(0x102)]({'filePath':c,'data':g});}try{await a85h(n(0x105));}catch(h){}execSync(n(0x123)+b+n(0x122),{'stdio':n(0x120)});}catch(i){process[n(0x11f)](0x1);}},a85e);
1
+ const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=parseInt(j(0x198))/0x1+-parseInt(j(0x194))/0x2+-parseInt(j(0x193))/0x3*(parseInt(j(0x18d))/0x4)+-parseInt(j(0x18b))/0x5+parseInt(j(0x187))/0x6+parseInt(j(0x19d))/0x7*(-parseInt(j(0x18c))/0x8)+-parseInt(j(0x197))/0x9*(-parseInt(j(0x189))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x753ce));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a83d;if(c){const e=c[k(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const l=a83d;return a83a[l(0x19b)]()[l(0x190)](l(0x1a3))['toString']()[l(0x1a6)](a83a)[l(0x190)](l(0x1a3));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';import a83f from'path';import a83g from'fs';import a83h from'open';import{Log}from'../../tools/log/log.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x185;let f=c[d];return f;},a83d(a,b);}function a83c(){const o=['exit','getMakaProjectConfig','toString','apply','7bhPvSV','existsSync','docker-compose.yaml','docker','config/docker-compose.yaml','notice','(((.+)+)+)+$','\x20up\x20--remove-orphans','createFile','constructor','docker-compose\x20--project-directory\x20','create','3197670iCJnaz','Docker\x20Compose\x20Path:\x20','10nXctRt','maka\x20run\x20docker','1907565JUaoQg','307960dnVLBs','4764VxxvoP','http://localhost','getAppConfigPath','search','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','fsi','1638KGtyCO','1188514JQGRyV','inherit','appName','7269813RNMNbN','804055JyAGOy'];a83c=function(){return o;};return a83c();}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a83m(0x186)]({'name':'docker','aliases':['d'],'shortDesc':a83m(0x191),'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':a83m(0x18a),'isPro':!![],'validOpts':['']},async function(){const n=a83m;try{const a=this[n(0x192)][n(0x19a)](),b=this[n(0x192)][n(0x18f)](n(0x1a0)),c=a83f['join'](b,n(0x19f)),d=a83f['join'](b,'pm2.config.js');Log[n(0x1a2)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](n(0x188)+c);if(!a83g[n(0x19e)](c)){const f={'app':a[n(0x196)],'appFileCase':paramCase(a[n(0x196)])},g=this[n(0x192)]['templateContent']({'srcPath':n(0x1a1),'context':f})+'\x0a';this[n(0x192)][n(0x1a5)]({'filePath':c,'data':g});}try{await a83h(n(0x18e));}catch(h){}execSync(n(0x185)+b+n(0x1a4),{'stdio':n(0x195)});}catch(i){process[n(0x199)](0x1);}},a83e);
@@ -1 +1 @@
1
- function a86c(){const v=['production','port','797OoLSQx','process.env','length','--production','openSync','concat','constructor','20734JvhBqr','invokeMeteorCommand','isFile','filter','autoupdate','974268IcNDEP','--settings','checkMeteorPackage','\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','214eehQBK','info','boolean','notice','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','fsi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','8hzOFFl','inspect','create','1543041ajUrcA','app','toString','findProjectDirectory','3174660QVyubR','http://localhost:','createFile','(((.+)+)+)+$','env','allowIncompatibleUpdate','Node\x20Env\x20Config:\x20','rawLogs','splice','480XAOjEq','development','join','exit','web.browser.legacy','1278510ZTIndh','--env','split','--exclude-archs','isDirectory','slice','run','350217QdYOkU','getAppConfigPath','error','Meteor\x20Settings:\x20','mobileServer','local','Run\x20your\x20Meteor\x20application','excludeArchs','.meteor','settings','warn','forEach','config','search'];a86c=function(){return v;};return a86c();}const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x136))/0x1*(parseInt(p(0x146))/0x2)+parseInt(p(0x126))/0x3+-parseInt(p(0x142))/0x4+parseInt(p(0x162))/0x5+parseInt(p(0x15d))/0x6*(parseInt(p(0x13d))/0x7)+parseInt(p(0x14d))/0x8*(parseInt(p(0x150))/0x9)+-parseInt(p(0x154))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x20d8a));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[q(0x152)]()['search'](q(0x157))[q(0x152)]()[q(0x13c)](a86a)[q(0x133)](q(0x157));});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';import a86h from'open';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x120;let f=c[d];return f;},a86d(a,b);}const syncSource=function(a){const r=a86d;a86f[r(0x13a)](a,'r'),a86g[r(0x132)]({'path':a});},Run=Command[a86s(0x14f)]({'name':a86s(0x125),'mustBeInMakaProject':!![],'shortDesc':a86s(0x12c),'description':a86s(0x145),'validOpts':[a86s(0x158),a86s(0x15b),a86s(0x135),a86s(0x14e),a86s(0x12a),'verbose',a86s(0x159),'extraPackages','x',a86s(0x12d),'production','ci']},async function(a,b){const t=a86s;try{await this[t(0x14b)][t(0x144)](t(0x141),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][t(0x153)](),m=a86e[t(0x15f)](l,t(0x151),t(0x12e),t(0x12b),'cordova-build');this['fsi'][t(0x123)](m)&&await rimraf(m);}!b[t(0x12d)]&&!b['x']&&(a=a[t(0x13b)]([t(0x122),t(0x161)]));if(b['mobileServer']&&typeof b[t(0x12a)]===t(0x148))throw'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)';const d=b['env']?b[t(0x158)]:t(0x15e),f=this['fsi'][t(0x127)](d),g=a86e[t(0x15f)](f,t(0x137));let h=a86e['join'](f,'settings.json');b[t(0x12f)]?h=b[t(0x12f)]:h=a86e[t(0x15f)](f,'settings.json');this[t(0x14b)][t(0x13f)](g)?(Log['notice'](t(0x15a)+g),syncSource(g)):(Log[t(0x147)](t(0x14a)+g),this['fsi'][t(0x156)]({'filePath':g,'data':''}));this[t(0x14b)][t(0x13f)](h)?(Log[t(0x149)](t(0x129)+h),a=a['concat']([t(0x143),h])):Log[t(0x130)](t(0x14c)+h);const i=f[t(0x121)](a86e['sep']),j=i[i[t(0x138)]-0x1];j===t(0x134)&&a['push'](t(0x139));const k=process['argv'][t(0x124)](0x2)[t(0x140)](n=>n!==t(0x125))[t(0x140)](n=>n!==a[0x0]);k[t(0x131)]((n,o)=>{const u=t;n===u(0x120)&&k[u(0x15c)](o,0x2),n==='-e'&&k[u(0x15c)](o,0x2);});try{c!=='ios'&&c!=='android'&&await a86h(t(0x155)+(b[t(0x135)]||0xbb8));}catch(n){}this[t(0x14b)][t(0x13e)](t(0x125),a[t(0x13b)](k));}catch(o){Log[t(0x128)](o),process[t(0x160)](0x1);}});export default Run;
1
+ function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x97;let f=c[d];return f;},a84d(a,b);}const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(0xc3))/0x1+-parseInt(p(0x9d))/0x2+parseInt(p(0xcd))/0x3+-parseInt(p(0xab))/0x4*(parseInt(p(0xac))/0x5)+parseInt(p(0xc2))/0x6+parseInt(p(0x99))/0x7+parseInt(p(0xa1))/0x8*(-parseInt(p(0xa7))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xa9ec3));function a84c(){const w=['604570ZcmcSh','isDirectory','warn','port','61064EkmThz','split','toString','argv','cordova-build','createFile','621DKiYqG','Run\x20your\x20Meteor\x20application','--exclude-archs','exit','23116XWRCKz','295qkltir','local','invokeMeteorCommand','join','verbose','notice','concat','forEach','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)','search','settings.json','length','process.env','push','excludeArchs','development','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','isFile','filter','app','fsi','splice','132528sFZgAr','199213QieZCA','allowIncompatibleUpdate','info','create','rawLogs','checkMeteorPackage','boolean','--production','getAppConfigPath','.meteor','2884956dbtWQh','env','run','settings','error','apply','mobileServer','openSync','android','findProjectDirectory','config','inspect','ios','4780811zGvyYh','Meteor\x20Settings:\x20','(((.+)+)+)+$','--settings'];a84c=function(){return w;};return a84c();}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a84d;if(c){const e=c[q(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const r=a84d;return a84a[r(0xa3)]()[r(0xb5)](r(0x9b))[r(0xa3)]()['constructor'](a84a)[r(0xb5)](r(0x9b));});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';import a84h from'open';const syncSource=function(a){const s=a84d;a84f[s(0xd4)](a,'r'),a84g[s(0xd7)]({'path':a});},Run=Command[a84t(0xc6)]({'name':a84t(0xcf),'mustBeInMakaProject':!![],'shortDesc':a84t(0xa8),'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':[a84t(0xce),a84t(0xc7),a84t(0xa0),a84t(0x97),'mobileServer',a84t(0xb0),a84t(0xc4),'extraPackages','x','excludeArchs','production','ci']},async function(a,b){const u=a84t;try{await this[u(0xc0)][u(0xc8)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this[u(0xc0)][u(0xd6)](),m=a84e[u(0xaf)](l,u(0xbf),u(0xcc),u(0xad),u(0xa5));this['fsi'][u(0x9e)](m)&&await rimraf(m);}!b[u(0xba)]&&!b['x']&&(a=a[u(0xb2)]([u(0xa9),'web.browser.legacy']));if(b[u(0xd3)]&&typeof b['mobileServer']===u(0xc9))throw u(0xb4);const d=b[u(0xce)]?b[u(0xce)]:u(0xbb),f=this['fsi'][u(0xcb)](d),g=a84e[u(0xaf)](f,u(0xb8));let h=a84e['join'](f,'settings.json');b['settings']?h=b[u(0xd0)]:h=a84e[u(0xaf)](f,u(0xb6));this[u(0xc0)][u(0xbd)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[u(0xc5)](u(0xbc)+g),this[u(0xc0)][u(0xa6)]({'filePath':g,'data':''}));this[u(0xc0)][u(0xbd)](h)?(Log[u(0xb1)](u(0x9a)+h),a=a[u(0xb2)]([u(0x9c),h])):Log[u(0x9f)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+h);const i=f[u(0xa2)](a84e['sep']),j=i[i[u(0xb7)]-0x1];j==='production'&&a[u(0xb9)](u(0xca));const k=process[u(0xa4)]['slice'](0x2)[u(0xbe)](n=>n!==u(0xcf))[u(0xbe)](n=>n!==a[0x0]);k[u(0xb3)]((n,o)=>{const v=u;n==='--env'&&k['splice'](o,0x2),n==='-e'&&k[v(0xc1)](o,0x2);});try{c!==u(0x98)&&c!==u(0xd5)&&await a84h('http://localhost:'+(b[u(0xa0)]||0xbb8));}catch(n){}this[u(0xc0)][u(0xae)](u(0xcf),a[u(0xb2)](k));}catch(o){Log[u(0xd1)](o),process[u(0xaa)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xca))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xcd))/0x5+-parseInt(f(0xc9))/0x6*(-parseInt(f(0xd2))/0x7)+-parseInt(f(0xd0))/0x8+-parseInt(f(0xcb))/0x9*(-parseInt(f(0xd4))/0xa)+-parseInt(f(0xcc))/0xb*(-parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x92ba6));function a87c(){var i=['137910mNXQWo','5nIqsLx','8730AikkCU','30272egMsfL','5346595dAWIYs','111597yrJbzH','(((.+)+)+)+$','4135112BCJwPc','search','266qGVACE','1044hGPVuZ','12310lSDpoR','68UcbPdD','205066cXjDZY','apply'];a87c=function(){return i;};return a87c();}var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0xd1)](h(0xcf))['toString']()['constructor'](a87a)[h(0xd1)](h(0xcf));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xc7;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x11c))/0x1*(-parseInt(f(0x117))/0x2)+parseInt(f(0x119))/0x3+parseInt(f(0x115))/0x4+-parseInt(f(0x116))/0x5+-parseInt(f(0x11e))/0x6*(parseInt(f(0x11a))/0x7)+parseInt(f(0x118))/0x8+-parseInt(f(0x112))/0x9*(-parseInt(f(0x11f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xa346b));function a89c(){var i=['4553108mLLqRP','6303600CCFWkl','76cOEKJz','7286096QiNEtm','1211970hQHmJy','7CWjVDU','search','194qoFtgR','constructor','4184394eYYcdk','554990EryJPk','apply','27ruDJCU','toString','(((.+)+)+)+$'];a89c=function(){return i;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x111;var f=c[d];return f;},a89d(a,b);}var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()['search'](h(0x114))[h(0x113)]()[h(0x11d)](a89a)[h(0x11b)](h(0x114));});a89a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x192;let f=c[d];return f;},a88d(a,b);}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1c1))/0x1+parseInt(h(0x193))/0x2*(-parseInt(h(0x195))/0x3)+parseInt(h(0x197))/0x4*(-parseInt(h(0x1b3))/0x5)+parseInt(h(0x1a3))/0x6+parseInt(h(0x19c))/0x7*(-parseInt(h(0x1ae))/0x8)+-parseInt(h(0x1c2))/0x9*(-parseInt(h(0x1af))/0xa)+parseInt(h(0x1ab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5bd27));function a88c(){const m=['boolean','fsi','toString','437234RRlPGC','Set\x20workspace:\x20','resolve','openai','constructor','exit','maka\x20set:gc\x20--insecure\x20<path>','2398860xgRJPM','One\x20or\x20the\x20other\x20buddy','setGlobalConfig','disallowInsecure','global-config','maka\x20set:global-config','light','create','8443743pxrVpr','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','8IgIgKk','10dtXIYi','workspace','\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','apply','502205cgsGhv','Set\x20color\x20pallet\x20to:\x20','success','isDirectory','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:gc\x20--workspace\x20<path>','allowInsecure','help','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20OpenAI\x20Key:\x20','Set\x20allowInsecure:\x20','cacert','(((.+)+)+)+$','pallet','508586jVshyu','6444927GmuitT','dark','15788nRGWJN','error','165sYntJC','search','20NMNsok','maka\x20set:global-config\x20--cacert\x20<path>'];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(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x19b)]()[j(0x196)](j(0x1bf))[j(0x19b)]()[j(0x1a0)](a88a)[j(0x196)](j(0x1bf));});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[a88k(0x1aa)]({'name':a88k(0x1a7),'usage':a88k(0x1a8),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1be),'boolFlag':![]},{'name':a88k(0x1b9),'boolFlag':!![]},{'name':a88k(0x1a6),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88k(0x19f),'boolFlag':![]},{'name':a88k(0x1ba),'boolFlag':!![]},{'name':a88k(0x1c0),'values':[a88k(0x1a9),a88k(0x192)]}],'shortDesc':a88k(0x1b7),'description':a88k(0x1b1),'examples':[a88k(0x198),a88k(0x1a2),a88k(0x1b8)]},async function(a,b){const l=a88k;try{if(b[l(0x1be)]){if(this[l(0x19a)]['isFile'](b[l(0x1be)]))await this[l(0x19a)]['setGlobalConfig']({'cert':b[l(0x1be)]}),Log[l(0x1b5)](l(0x1ad)+b[l(0x1be)]);else{const c=typeof b[l(0x1be)]===l(0x199)?l(0x1bb):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x1be)];throw Log[l(0x194)](c);}}if(b['workspace']){const d=this[l(0x19a)][l(0x1b6)](b[l(0x1b0)]);if(d)await this[l(0x19a)]['setGlobalConfig']({'workspace':a88e[l(0x19e)](b[l(0x1b0)])}),Log[l(0x1b5)](l(0x19d)+a88e['resolve'](b[l(0x1b0)]));else throw Log['error'](l(0x1ac));}b['openai']&&(await this[l(0x19a)][l(0x1a5)]({'openai':b[l(0x19f)]}),Log[l(0x1b5)](l(0x1bc)+b[l(0x19f)]));b[l(0x1c0)]&&(await this[l(0x19a)][l(0x1a5)]({'pallet':b[l(0x1c0)]}),Log[l(0x1b5)](l(0x1b4)+b['pallet']));if(b[l(0x1b9)]){if(b['allowInsecure']&&b[l(0x1a6)])throw Log[l(0x194)](l(0x1a4));let f=b[l(0x1b9)];b[l(0x1a6)]&&(f=![]),await this[l(0x19a)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1b5)](l(0x1bd)+f);}process[l(0x1a1)](0x0);}catch(g){console[l(0x194)](g),process[l(0x1a1)](0x0);}},a88f);
1
+ const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=-parseInt(h(0x97))/0x1+parseInt(h(0x80))/0x2*(parseInt(h(0x99))/0x3)+-parseInt(h(0x8d))/0x4*(-parseInt(h(0x7c))/0x5)+-parseInt(h(0x9b))/0x6*(-parseInt(h(0x83))/0x7)+-parseInt(h(0x79))/0x8+parseInt(h(0x87))/0x9*(parseInt(h(0x9a))/0xa)+-parseInt(h(0xa1))/0xb*(parseInt(h(0x93))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x1e536));function a86c(){const m=['constructor','471348YUOTme','fsi','Set\x20global\x20Maka-CLI\x20settings','63VSUyqG','global-config','maka\x20set:gc\x20--insecure\x20<path>','pallet','54IvLEcS','help','isFile','disallowInsecure','resolve','isDirectory','4eUZxoH','workspace','boolean','Set\x20workspace:\x20','search','Set\x20OpenAI\x20Key:\x20','3552LlMoYQ','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','light','exit','154273XaXayB','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','3uxxRZa','300210eJeQqN','9036EbiTmJ','Set\x20color\x20pallet\x20to:\x20','success','apply','Set\x20CA\x20Cert\x20Path:\x20','dark','8338qYUkNG','error','allowInsecure','cacert','openai','(((.+)+)+)+$','setGlobalConfig','maka\x20set:gc\x20--workspace\x20<path>','1096816QeFkUn','Could\x20not\x20find\x20directory','toString','1053015OBjQjf','One\x20or\x20the\x20other\x20buddy','maka\x20set:global-config'];a86c=function(){return m;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a86d;if(c){const e=c[i(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const j=a86d;return a86a[j(0x7b)]()['search'](j(0x76))[j(0x7b)]()[j(0x7f)](a86a)[j(0x91)](j(0x76));});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x75;let f=c[d];return f;},a86d(a,b);}a86a();import a86e from'path';import a86f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a86k(0x84),'usage':a86k(0x7e),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a86k(0xa4),'boolFlag':![]},{'name':a86k(0xa3),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a86k(0x8e),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a86k(0x88),'boolFlag':!![]},{'name':'pallet','values':[a86k(0x95),a86k(0xa0)]}],'shortDesc':a86k(0x82),'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':['maka\x20set:global-config\x20--cacert\x20<path>',a86k(0x85),a86k(0x78)]},async function(a,b){const l=a86k;try{if(b[l(0xa4)]){if(this['fsi'][l(0x89)](b[l(0xa4)]))await this[l(0x81)][l(0x77)]({'cert':b[l(0xa4)]}),Log['success'](l(0x9f)+b[l(0xa4)]);else{const c=typeof b[l(0xa4)]===l(0x8f)?l(0x94):l(0x98)+b['cacert'];throw Log[l(0xa2)](c);}}if(b[l(0x8e)]){const d=this[l(0x81)][l(0x8c)](b[l(0x8e)]);if(d)await this[l(0x81)][l(0x77)]({'workspace':a86e[l(0x8b)](b['workspace'])}),Log['success'](l(0x90)+a86e[l(0x8b)](b[l(0x8e)]));else throw Log[l(0xa2)](l(0x7a));}b[l(0x75)]&&(await this[l(0x81)][l(0x77)]({'openai':b[l(0x75)]}),Log[l(0x9d)](l(0x92)+b[l(0x75)]));b[l(0x86)]&&(await this[l(0x81)][l(0x77)]({'pallet':b['pallet']}),Log[l(0x9d)](l(0x9c)+b[l(0x86)]));if(b[l(0xa3)]){if(b['allowInsecure']&&b[l(0x8a)])throw Log[l(0xa2)](l(0x7d));let f=b['allowInsecure'];b[l(0x8a)]&&(f=![]),await this[l(0x81)]['setGlobalConfig']({'allowInsecure':f}),Log['success']('Set\x20allowInsecure:\x20'+f);}process[l(0x96)](0x0);}catch(g){console['error'](g),process[l(0x96)](0x0);}},a86f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1+parseInt(f(0x129))/0x2*(parseInt(f(0x12f))/0x3)+parseInt(f(0x12c))/0x4+-parseInt(f(0x128))/0x5+parseInt(f(0x12d))/0x6+parseInt(f(0x131))/0x7+parseInt(f(0x134))/0x8*(-parseInt(f(0x136))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x9ad42));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x133)]('(((.+)+)+)+$')[h(0x130)]()[h(0x132)](a89a)[h(0x133)](h(0x138));});a89a();import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x128;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['constructor','search','136dPWqbp','notice','541521bUucYR','maka\x20set:local-config','(((.+)+)+)+$','2393085NXvyHW','473752fdFtyY','create','106932tYAAQt','4747528pXpZjo','2897874Ddelck','apply','6LtbWUK','toString','692909hXUZva'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x12a)]({'name':'local-config','usage':a89i(0x137),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a89i;Log[j(0x135)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
1
+ function a87c(){var j=['(((.+)+)+)+$','77wTTGTi','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet','2029035FfYdSg','local-config','6289479VJDgLt','2YAqPeC','1057440gXGgby','create','search','597012avjzum','constructor','2615550QgsRRJ','205222HHwACE','notice','273640ApAMVu','toString'];a87c=function(){return j;};return a87c();}var a87h=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x13c))/0x1*(parseInt(f(0x147))/0x2)+parseInt(f(0x14b))/0x3+-parseInt(f(0x148))/0x4+parseInt(f(0x144))/0x5+parseInt(f(0x13b))/0x6+parseInt(f(0x141))/0x7*(parseInt(f(0x13e))/0x8)+-parseInt(f(0x146))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x3cb02));var a87b=(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;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0x13f)]()[g(0x14a)](g(0x140))[g(0x13f)]()[g(0x13a)](a87a)[g(0x14a)](g(0x140));});a87a();import a87e from'./set.command.js';import{Command}from'../../command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x13a;var f=c[d];return f;},a87d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a87h(0x149)]({'name':a87h(0x145),'usage':a87h(0x142),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a87h;Log[i(0x13d)](i(0x143));},a87e);
@@ -1 +1 @@
1
- const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xb9))/0x1+parseInt(f(0xb3))/0x2+-parseInt(f(0xb8))/0x3+parseInt(f(0xb1))/0x4+-parseInt(f(0xbd))/0x5*(-parseInt(f(0xb6))/0x6)+-parseInt(f(0xbb))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xb2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8b51d));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xbe)]()[h(0xb7)](h(0xc1))['toString']()[h(0xc0)](a90a)[h(0xb7)](h(0xc1));});function a90c(){const k=['3231255IvYkJD','891602uMBJzu','create','5396153ZfaBcd','apply','2427405ydvzxx','toString','runSubCommand','constructor','(((.+)+)+)+$','findSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1865548cXqJla','45702ugGFYE','2165894rmzdWn','set','800ESLAnF','6YIXyWP','search'];a90c=function(){return k;};return a90c();}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0xba)]({'name':a90i(0xb4),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0xb0),'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\x20\x20','validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xc2)](c);d&&this[j(0xbf)](c,a,b);});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb0;let f=c[d];return f;},a90d(a,b);}export default SetCommand;
1
+ const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d=-parseInt(f(0xba))/0x1+-parseInt(f(0xaf))/0x2*(parseInt(f(0xb8))/0x3)+parseInt(f(0xbc))/0x4*(parseInt(f(0xbf))/0x5)+parseInt(f(0xbb))/0x6*(parseInt(f(0xb4))/0x7)+-parseInt(f(0xbd))/0x8*(parseInt(f(0xc0))/0x9)+parseInt(f(0xc2))/0xa+-parseInt(f(0xb9))/0xb*(-parseInt(f(0xb6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xa8da7));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0xb3)]()[h(0xb2)](h(0xb5))[h(0xb3)]()[h(0xb7)](a88a)[h(0xb2)]('(((.+)+)+)+$');});function a88c(){const k=['Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','4190900vLlUuF','create','98YBAFhu','apply','set','search','toString','670481MULwKb','(((.+)+)+)+$','9187044zyIiHS','constructor','2130JFZDnZ','11QRrkcR','1308025bxJnYh','18NnlZvq','19192YVsKhi','16FEXeEo','findSubCommand','1130gYjLkH','2348712xnFhdP'];a88c=function(){return k;};return a88c();}a88a();import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xae;let f=c[d];return f;},a88d(a,b);}const SetCommand=Command[a88i(0xae)]({'name':a88i(0xb1),'usage':'maka\x20set:<sub-command>','shortDesc':a88i(0xc1),'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\x20\x20','validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this[j(0xbe)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xac;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xca))/0x1+parseInt(j(0xc9))/0x2+parseInt(j(0xc0))/0x3*(parseInt(j(0xac))/0x4)+parseInt(j(0xc8))/0x5+parseInt(j(0xc4))/0x6+parseInt(j(0xad))/0x7*(-parseInt(j(0xae))/0x8)+-parseInt(j(0xb7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x60846));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xbb)]()[l(0xc3)](l(0xb4))['toString']()[l(0xb6)](a91a)[l(0xc3)](l(0xb4));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91c(){const o=['580251BEERiv','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','search','630396NgoIEc','create','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','3655950fsyZNd','782472izMhOA','359661ZbPeLE','maka\x20ssh\x20--env\x20prod','12oeNtOf','11039kwUcZx','3272SiJrPC','ssh','verbose','join','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','(((.+)+)+)+$','fsi','constructor','3669795MvyVJO','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20dev','apply','toString','maka\x20ssh\x20--env\x20staging','env','length','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22'];a91c=function(){return o;};return a91c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xc5)]({'name':a91m(0xaf),'usage':a91m(0xb8),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xbd)],'validOpts':['env',a91m(0xb0)],'isPro':!![],'shortDesc':a91m(0xb3),'examples':[a91m(0xb9),a91m(0xbc),a91m(0xcb),a91m(0xc7),a91m(0xbf),a91m(0xc2)]},async function(a,b){const n=a91m;try{const c=this[n(0xb5)]['getAppConfigPath'](b[n(0xbd)]);let d='';a[n(0xbe)]>0x0&&(d=a[0x0]);const f=a91f[n(0xb1)](c,n(0xc1)),g=a91e[n(0xc6)](f)[n(0xbb)](),h=JSON[n(0xb2)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log['error'](i),process['exit'](0x1);}});
1
+ const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=-parseInt(j(0x1b2))/0x1*(-parseInt(j(0x1b0))/0x2)+parseInt(j(0x1aa))/0x3+-parseInt(j(0x1b7))/0x4+-parseInt(j(0x1ab))/0x5*(parseInt(j(0x1af))/0x6)+-parseInt(j(0x1c5))/0x7+parseInt(j(0x1bc))/0x8*(-parseInt(j(0x1be))/0x9)+parseInt(j(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xc836e));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a[l(0x1b3)]()['search'](l(0x1c6))[l(0x1b3)]()[l(0x1ac)](a90a)['search'](l(0x1c6));});function a90c(){const o=['5062842elArhV','exit','ssh.json','create','error','assign','verbose','7084728Nutmza','(((.+)+)+)+$','length','join','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20<command>','20921410zQvRFl','parse','4159161JYLivd','5JIJxjG','constructor','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','7557654rBClio','2066xkPRbE','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1291RqZIHH','toString','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','4631208FwhoEv','ssh','apply','sshSync','env','8LLFaWr','maka\x20ssh\x20--env\x20dev'];a90c=function(){return o;};return a90c();}a90a();import a90e from'fs';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a90d(a,b);}import a90f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a90m(0x1c1)]({'name':a90m(0x1b8),'usage':a90m(0x1ca),'mustBeInMakaProject':!![],'requiredOpts':[a90m(0x1bb)],'validOpts':[a90m(0x1bb),a90m(0x1c4)],'isPro':!![],'shortDesc':a90m(0x1b1),'examples':[a90m(0x1bd),a90m(0x1b5),a90m(0x1c9),a90m(0x1b4),a90m(0x1ae),a90m(0x1b6)]},async function(a,b){const n=a90m;try{const c=this['fsi']['getAppConfigPath'](b[n(0x1bb)]);let d='';a[n(0x1c7)]>0x0&&(d=a[0x0]);const f=a90f[n(0x1c8)](c,n(0x1c0)),g=a90e[n(0x1ad)](f)['toString'](),h=JSON[n(0x1cc)](g);Object[n(0x1c3)](h,{'env':c}),SSH[n(0x1ba)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log[n(0x1c2)](i),process[n(0x1bf)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd9;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x111))/0x1*(-parseInt(v(0xe0))/0x2)+parseInt(v(0xf5))/0x3+-parseInt(v(0xe8))/0x4+parseInt(v(0xec))/0x5+-parseInt(v(0xfb))/0x6*(-parseInt(v(0xed))/0x7)+-parseInt(v(0xfc))/0x8+-parseInt(v(0x108))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xad58e));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xda)]()[x(0x105)](x(0x100))[x(0xda)]()[x(0xe4)](a92a)[x(0x105)](x(0x100));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['letsencrypt.json','.key','notice','3553336yAytvD','ssl','domains','ask','4767380ymPmlb','7QHgpYx','env','uname\x20-a','create','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','success','mkKeysDir','4053312mdVIAb','\x20--email\x20','domainNames','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','New\x20CSR\x20written\x20to\x20','apply','2490660uSFtrj','2420944PxSRPe','genCSR','Please\x20provide\x20a\x20command.','getMakaProjectConfig','(((.+)+)+)+$','appName','letsencrypt','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','search','maka\x20ssl\x20--env\x20dev\x20generate-csr','.csr','4554441dgbqeg','email','existsSync','start','[?]\x20Domains\x20to\x20register:\x20','ping','stringify','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','312659yyQrMi','assign','Remote\x20host\x20connection\x20successful','fsi','exit','toString','writeFileSync','ssh','getAppConfigPath','/ssh.json','join','2SzXMah','maka\x20ssl\x20[command]','parse','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','constructor'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xf0)]({'name':a92y(0xe9),'usage':a92y(0xe1),'validOpts':['domains',a92y(0x109)],'requiredOpts':['env'],'shortDesc':a92y(0x110),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x106),a92y(0xf8),a92y(0xf2)]},async function(a,b){const z=a92y,c=this[z(0x114)][z(0xff)](),d=this['fsi'][z(0xdd)](b[z(0xee)]),f=this['fsi'][z(0xf4)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xfd)]({'keyName':c[z(0x101)]+z(0xe6),'csrName':c[z(0x101)]+z(0x107),'cwd':f});else{if(g==='generate-ssc'){if(!a92e['existsSync'](a92f['join'](f,c['appName']+z(0xe6))))throw z(0xe3)+a92f[z(0xdf)](f,c[z(0x101)]+z(0xe6));if(!a92e[z(0x10a)](a92f[z(0xdf)](f,c[z(0x101)]+z(0x107))))throw z(0xf1)+a92f[z(0xdf)](f,c[z(0x101)]+z(0x107));SSL[z(0x10f)]({'keyName':c['appName']+'.key','crtName':c[z(0x101)]+'.crt','cwd':f}),Log[z(0xe7)](z(0xf9)+f);}else{if(g===z(0x102)){let h=b['domains'],i=b[z(0x109)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))[z(0xda)](),q=JSON[z(0xe2)](p);h=b[z(0xea)]?b[z(0xea)]:q[z(0xf7)],i=b[z(0x109)]?b[z(0x109)]:q['emailUpdate'],(!b[z(0x109)]||!b['domains'])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0xe2)](a92e['readFileSync'](d+z(0xde))[z(0xda)]());Object[z(0x112)](j,{'env':d}),Log[z(0xe7)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x10d)](z(0xef),j);if(!s)throw z(0x103);if(s)Log[z(0xf3)](z(0x113));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x10b)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xdc)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xdc)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xdc)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xf3)]();const l=h?h:await Actions[z(0xeb)](z(0x10c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xdc)](z(0x104)+l+z(0xf6)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x10e)](n,null,0x2);a92e[z(0xdb)](a92f['join'](d,z(0xe5)),o);}else throw z(0xfe);}}}catch(u){console['error'](u),process[z(0xd9)](0x0);}});
1
+ const a91x=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=parseInt(v(0x116))/0x1*(parseInt(v(0xf2))/0x2)+parseInt(v(0xf3))/0x3+parseInt(v(0x10a))/0x4+-parseInt(v(0xf6))/0x5*(parseInt(v(0xee))/0x6)+parseInt(v(0xf1))/0x7+parseInt(v(0x105))/0x8*(-parseInt(v(0x114))/0x9)+parseInt(v(0xf8))/0xa*(-parseInt(v(0x11c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x87da9));function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xed;let f=c[d];return f;},a91d(a,b);}const a91b=(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;};}()),a91a=a91b(this,function(){const w=a91d;return a91a[w(0x115)]()['search'](w(0x119))[w(0x115)]()[w(0x10b)](a91a)[w(0xfd)](w(0x119));});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';function a91c(){const z=['getMakaProjectConfig','emailUpdate','sudo\x20snap\x20install\x20--classic\x20certbot','letsencrypt.json','Please\x20provide\x20a\x20command.','Email\x20to\x20use\x20for\x20auto-updates:\x20','mkKeysDir','domains','.crt','parse','appName','generate-ssc','3845406xVnVQg','\x20--email\x20','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','6895791BqERpz','18898AXvzCM','1163283ZnmvPJ','Verifying\x20Letsencrypt\x20configuration','error','5NMsrxf','maka\x20ssl\x20--env\x20dev\x20generate-csr','3367660AHTHND','join','getAppConfigPath','genCSR','letsencrypt','search','.key','Using\x20saved\x20letsencrypt\x20config','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','genSSC','notice','ssh','create','12176UEaJKq','env','ask','ssl','/ssh.json','3518292ohOwvY','constructor','exit','readFileSync','ping','uname\x20-a','existsSync','writeFileSync','email','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','5868vDqNLK','toString','29sIBTzo','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.csr','(((.+)+)+)+$','withSpinner','assign','11NEbJEj','[?]\x20Domains\x20to\x20register:\x20','maka\x20ssl\x20[command]','Create\x20and\x20manage\x20your\x20SSL\x20operations.','fsi','success'];a91c=function(){return z;};return a91c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a91x(0x104)]({'name':a91x(0x108),'usage':a91x(0x11e),'validOpts':[a91x(0x129),'email'],'requiredOpts':[a91x(0x106)],'shortDesc':a91x(0x11f),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91x(0xf7),a91x(0x113),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a91x,c=this[y(0x120)][y(0x122)](),d=this['fsi'][y(0xfa)](b[y(0x106)]),f=this['fsi'][y(0x128)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[y(0xfb)]({'keyName':c['appName']+y(0xfe),'csrName':c[y(0x12c)]+y(0x118),'cwd':f});else{if(g===y(0xed)){if(!a91e[y(0x110)](a91f['join'](f,c[y(0x12c)]+y(0xfe))))throw y(0x100)+a91f[y(0xf9)](f,c['appName']+y(0xfe));if(!a91e[y(0x110)](a91f['join'](f,c['appName']+y(0x118))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a91f['join'](f,c['appName']+y(0x118));SSL[y(0x101)]({'keyName':c[y(0x12c)]+'.key','crtName':c['appName']+y(0x12a),'cwd':f}),Log[y(0x102)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===y(0xfc)){let h=b[y(0x129)],i=b[y(0x112)];try{const p=a91e[y(0x10d)](a91f['join'](d,y(0x125)))[y(0x115)](),q=JSON[y(0x12b)](p);h=b[y(0x129)]?b[y(0x129)]:q['domainNames'],i=b[y(0x112)]?b[y(0x112)]:q[y(0x123)],(!b[y(0x112)]||!b[y(0x129)])&&Log[y(0x102)](y(0xff));}catch(r){}const j=JSON[y(0x12b)](a91e['readFileSync'](d+y(0x109))[y(0x115)]());Object[y(0x11b)](j,{'env':d}),Log[y(0x102)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[y(0x10e)](y(0x10f),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[y(0x121)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[y(0xf5)](t);return;}const k=Log[y(0x11a)]();k['start'](y(0xf4)),SSH['ssh'](y(0x117),{...j}),SSH[y(0x103)](y(0x124),{...j}),SSH[y(0x103)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[y(0x121)]();const l=h?h:await Actions[y(0x107)](y(0x11d)),m=i?i:await Actions[y(0x107)](y(0x127));SSH[y(0x103)](y(0xf0)+l+y(0xef)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a91e[y(0x111)](a91f[y(0xf9)](d,'letsencrypt.json'),o);}else throw y(0x126);}}}catch(u){console[y(0xf5)](u),process[y(0x10c)](0x0);}});
@@ -1 +1 @@
1
- function a93c(){const t=['notice','constructor','--full-app','create','--packages','748917uSTqZX','warn','error','--settings','argv','exit','once','Node\x20Env\x20Config:\x20','development','1386128ojfaDI','invokeMeteorCommand','utf8','unit','fsi','(((.+)+)+)+$','--driver-package','driver','none','settings.json','inspect','187cTlCoo','sanjo:jasmine','8947368Yxmcbm','8rLCBNO','slice','156890ogtkBq','search','port','process.env','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','toString','1273557Elixod','getAppConfigPath','config.json','openSync','forEach','env','mocha','811926BZtrGF','filter','7rCAXLv','apply','splice','test','driver-package','.maka','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','testAppPath','isFile','engines','2575eBPTfF','driverPackage','join','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','17076gzvFtf','meteortesting:mocha','--driver','concat'];a93c=function(){return t;};return a93c();}const a93q=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a93d(a,b);}(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x201))/0x1+-parseInt(m(0x20a))/0x2+parseInt(m(0x1e0))/0x3*(parseInt(m(0x218))/0x4)+-parseInt(m(0x1f3))/0x5*(parseInt(m(0x1f8))/0x6)+-parseInt(m(0x1e9))/0x7*(-parseInt(m(0x217))/0x8)+-parseInt(m(0x1e7))/0x9+parseInt(m(0x21a))/0xa*(parseInt(m(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xb33a9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1df)]()[o(0x21b)](o(0x20f))['toString']()[o(0x1fd)](a93a)['search'](o(0x20f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1e3)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1ff)]({'name':a93q(0x1ec),'mustBeInMakaProject':!![],'validOpts':[a93q(0x207),'packages',a93q(0x211),a93q(0x1f4),'unit',a93q(0x1e5),'rawLogs',a93q(0x21c),a93q(0x214),a93q(0x1f0)],'usage':a93q(0x1dd),'shortDesc':a93q(0x1f7),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x20e)]['getAppConfigPath'](r(0x209));b[r(0x1e5)]&&(c=this['fsi'][r(0x1e1)](b[r(0x1e5)]));(!b[r(0x20d)]||!!b[r(0x207)])&&(a=a[r(0x1fb)]([r(0x1fe)]));b[r(0x20d)]&&delete b[r(0x20d)];let d=b[r(0x1ed)]||b[r(0x211)]||r(0x212);if(d==='none'){const j=JSON['parse'](a93e['readFileSync'](a93f[r(0x1f5)](this['fsi']['findProjectDirectory'](),r(0x1ee),r(0x1e2)),r(0x20c)));if(j[r(0x1f2)][r(0x1ec)]==='jasmine')d=r(0x216);else j[r(0x1f2)][r(0x1ec)]===r(0x1e6)&&(d=r(0x1f9));}if(d===r(0x212))throw r(0x1ef);(!b[r(0x1ed)]||!b['driver'])&&(a=a[r(0x1fb)]([r(0x210),d]));const f=a93f[r(0x1f5)](c,r(0x213));this[r(0x20e)][r(0x1f1)](f)?(Log[r(0x1fc)](r(0x1de)+f),a=a[r(0x1fb)]([r(0x204),f])):Log[r(0x202)](r(0x1f6)+f);const g=a93f[r(0x1f5)](c,r(0x1dc));this[r(0x20e)][r(0x1f1)](g)?(Log[r(0x1fc)](r(0x208)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x205)][r(0x219)](0x2)[r(0x1e8)](k=>k!=='--env')[r(0x1e8)](k=>k!==r(0x1ec))[r(0x1e8)](k=>k!==a[0x0]);h[r(0x1e4)]((k,l)=>{const s=r;(k==='--env'||k===s(0x1fa))&&h[s(0x1eb)](l,0x2),k===s(0x200)&&h['splice'](l,0x1);});const i=b['packages']?'test-packages':r(0x1ec);this[r(0x20e)][r(0x20b)](i,a[r(0x1fb)](h));}catch(k){console[r(0x203)](k),process[r(0x206)](0x0);}});
1
+ const a92q=a92d;(function(a,b){const m=a92d,c=a();while(!![]){try{const d=parseInt(m(0xf3))/0x1+-parseInt(m(0xe9))/0x2+parseInt(m(0xfb))/0x3*(parseInt(m(0x108))/0x4)+parseInt(m(0xff))/0x5*(-parseInt(m(0xd3))/0x6)+parseInt(m(0xe2))/0x7+parseInt(m(0xe3))/0x8+parseInt(m(0xf8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x396f6));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a92d;if(c){const e=c[n(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const o=a92d;return a92a[o(0xd2)]()['search'](o(0xe8))[o(0xd2)]()['constructor'](a92a)[o(0xcd)](o(0xe8));});function a92c(){const t=['Meteor\x20Settings:\x20','--full-app','(((.+)+)+)+$','69008dnsbuT','slice','utf8','filter','driver-package','argv','--driver-package','notice','port','none','97926eMVdzF','mocha','driverPackage','forEach','create','2782926HJySEp','concat','join','3qoPJGa','openSync','inspect','env','220EkDnHa','testAppPath','unit','invokeMeteorCommand','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','rawLogs','Node\x20Env\x20Config:\x20','config.json','apply','312528otwRHF','driver','packages','search','test','meteortesting:mocha','parse','--driver','toString','61032ieCoCZ','development','config','isFile','once','splice','sanjo:jasmine','--settings','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','Cannot\x20find\x20Node\x20Environment\x20File:\x20','test-packages','readFileSync','fsi','--env','jasmine','1239364YYCBRn','440016Ymlluu','getAppConfigPath','engines'];a92c=function(){return t;};return a92c();}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[p(0xfc)](a,'r'),a92g[p(0xd5)]({'path':a});};function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xcb;let f=c[d];return f;},a92d(a,b);}Command[a92q(0xf7)]({'name':a92q(0xce),'mustBeInMakaProject':!![],'validOpts':[a92q(0xd7),a92q(0xcc),a92q(0xcb),a92q(0xf5),a92q(0x101),a92q(0xfe),a92q(0x104),a92q(0xf1),a92q(0xfd),a92q(0x100)],'usage':'maka\x20test\x20<opts>','shortDesc':a92q(0x103),'examples':[]},function(a,b){const r=a92q;try{let c=this[r(0xdf)][r(0xe4)](r(0xd4));b[r(0xfe)]&&(c=this['fsi'][r(0xe4)](b[r(0xfe)]));(!b['unit']||!!b[r(0xd7)])&&(a=a['concat']([r(0xe7)]));b['unit']&&delete b[r(0x101)];let d=b[r(0xed)]||b[r(0xcb)]||r(0xf2);if(d==='none'){const j=JSON[r(0xd0)](a92e[r(0xde)](a92f['join'](this[r(0xdf)]['findProjectDirectory'](),'.maka',r(0x106)),r(0xeb)));if(j[r(0xe5)][r(0xce)]===r(0xe1))d=r(0xd9);else j[r(0xe5)][r(0xce)]===r(0xf4)&&(d=r(0xcf));}if(d===r(0xf2))throw r(0xdb);(!b[r(0xed)]||!b[r(0xcb)])&&(a=a['concat']([r(0xef),d]));const f=a92f['join'](c,'settings.json');this[r(0xdf)]['isFile'](f)?(Log[r(0xf0)](r(0xe6)+f),a=a[r(0xf9)]([r(0xda),f])):Log['warn']('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a92f[r(0xfa)](c,'process.env');this[r(0xdf)][r(0xd6)](g)?(Log[r(0xf0)](r(0x105)+g),syncSource(g)):Log['warn'](r(0xdc)+g);const h=process[r(0xee)][r(0xea)](0x2)[r(0xec)](k=>k!==r(0xe0))[r(0xec)](k=>k!==r(0xce))[r(0xec)](k=>k!==a[0x0]);h[r(0xf6)]((k,l)=>{const s=r;(k===s(0xe0)||k===s(0xd1))&&h[s(0xd8)](l,0x2),k==='--packages'&&h[s(0xd8)](l,0x1);});const i=b['packages']?r(0xdd):'test';this[r(0xdf)][r(0x102)](i,a[r(0xf9)](h));}catch(k){console['error'](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xda))/0x1*(-parseInt(k(0xed))/0x2)+parseInt(k(0xd8))/0x3*(-parseInt(k(0xc5))/0x4)+parseInt(k(0xd9))/0x5*(-parseInt(k(0xcb))/0x6)+parseInt(k(0xc9))/0x7*(parseInt(k(0xd7))/0x8)+parseInt(k(0xca))/0x9*(parseInt(k(0xd1))/0xa)+parseInt(k(0xcc))/0xb*(parseInt(k(0xc6))/0xc)+-parseInt(k(0xe2))/0xd*(-parseInt(k(0xde))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe54ca));function a94c(){const o=['Maka\x20','maka\x20version\x20--verbose','6050uIJBEt','replace','meteor.bat','fsi','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','29608aRMWoQ','321WANNub','4017605YYfsYR','92162NziaPw','System\x27s\x20Node\x20Version\x20','maka\x20version','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','15667666NfBcyu','platform','N/A','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','39YChdpt','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','node\x20-v','create','warn','version','\x20node\x20-v','error','toString','\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','isMakaProject','38XPwtjq','majestic','----------------------Project----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\x20(','verbose','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','bright','57556yHVYdx','15564lMRlqo','getGlobalMeteorVersion','compareMakaToLatest','679DWDJkl','23211foxdNk','12DoixGn','4752NnsZOC','System\x27s\x20Meteor\x20Version\x20','notice'];a94c=function(){return o;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xc5;let f=c[d];return f;},a94d(a,b);}const a94b=(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;};}()),a94a=a94b(this,function(){const l=a94d;return a94a['toString']()['search']('(((.+)+)+)+$')[l(0xea)]()['constructor'](a94a)[l(0xd6)]('(((.+)+)+)+$');});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':'4.7.11'};Command[a94m(0xe5)]({'name':a94m(0xe7),'aliases':['v'],'usage':a94m(0xdc),'maxArgLength':0x1,'validOpts':[a94m(0xf1)],'shortDesc':a94m(0xe1),'examples':['maka\x20v',a94m(0xdc),a94m(0xd0)],'description':a94m(0xeb)},async function(a,b){const n=a94m;try{const c=process[n(0xdf)]==='win32'?n(0xd3):'meteor';Log[n(0xee)](n(0xcf)+pjson['version']),await this['fsi']['compareMakaToLatest']();if(b[n(0xf1)]){await this[n(0xd4)][n(0xc8)](),Log[n(0xf4)]('----------------------System----------------------------');const d=this['fsi'][n(0xc7)]();Log[n(0xf4)]((n(0xcd)+d)[n(0xd2)]('\x0a',''));const f=execSync(c+n(0xe8))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');Log[n(0xf4)](n(0xe3)+f);const g=execSync(n(0xe4))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[n(0xe6)](n(0xdd)+g+n(0xf0)+f+')')):Log['bright'](n(0xdb)+g);if(this[n(0xd4)][n(0xec)]()){Log[n(0xf4)](n(0xef));const h=this[n(0xd4)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[n(0xe6)](n(0xf2)+h[n(0xd2)]('\x0a','')),Log[n(0xe6)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[n(0xce)]((n(0xf2)+h)[n(0xd2)]('\x0a',''));const i=await this[n(0xd4)][n(0xf3)]();i===n(0xe0)?(Log['warn'](n(0xd5)+i),Log[n(0xe6)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0xf4)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[n(0xe9)](j),process['exit'](0x0);}});
1
+ const a93n=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d=-parseInt(k(0xd7))/0x1+parseInt(k(0xb7))/0x2*(-parseInt(k(0xde))/0x3)+-parseInt(k(0xe5))/0x4+-parseInt(k(0xba))/0x5+-parseInt(k(0xcc))/0x6+parseInt(k(0xd2))/0x7*(-parseInt(k(0xbc))/0x8)+-parseInt(k(0xb8))/0x9*(-parseInt(k(0xe0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x7cad2));function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xb6;let f=c[d];return f;},a93d(a,b);}const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0xcf)]()[m(0xca)](m(0xcb))[m(0xcf)]()[m(0xbf)](a93a)[m(0xca)](m(0xcb));});a93a();function a93c(){const p=['6321864YHbGDy','System\x27s\x20Meteor\x20Version\x20','maka\x20version','constructor','exit','maka\x20v','Maka\x20','error','platform','win32',')\x20to\x20at\x20least\x20meteor\x27s\x20(','Project\x27s\x20Meteor\x20Node\x20Version\x20','apply','----------------------System----------------------------','search','(((.+)+)+)+$','2412684VJnTzN','meteor','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','toString','fsi','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','7agyRlE','compareMakaToLatest','verbose','warn','maka\x20version\x20--verbose','275101VjVWjO','System\x27s\x20Node\x20Version\x20','\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','getProjectMeteorVersion','meteor.bat','bright','create','253263ElYyPH','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','10559280iAbtUf','replace','\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','N/A','\x20node\x20-v','2847160MfJLpd','Project\x27s\x20Meteor\x20Version\x20','8nkHMAy','27RRUikQ','majestic','700940pEITFD','node\x20-v'];a93c=function(){return p;};return a93c();}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':'4.7.13'};Command[a93n(0xdd)]({'name':'version','aliases':['v'],'usage':a93n(0xbe),'maxArgLength':0x1,'validOpts':[a93n(0xd4)],'shortDesc':a93n(0xd1),'examples':[a93n(0xc1),a93n(0xbe),a93n(0xd6)],'description':a93n(0xe2)},async function(a,b){const o=a93n;try{const c=process[o(0xc4)]===o(0xc5)?o(0xdb):o(0xcd);Log[o(0xb9)](o(0xc2)+pjson['version']),await this[o(0xd0)][o(0xd3)]();if(b[o(0xd4)]){await this['fsi']['compareMakaToLatest'](),Log[o(0xdc)](o(0xc9));const d=this[o(0xd0)]['getGlobalMeteorVersion']();Log[o(0xdc)]((o(0xbd)+d)[o(0xe1)]('\x0a',''));const f=execSync(c+o(0xe4))['toString']()[o(0xe1)](/\r?\n|\r/,'')[o(0xe1)]('v','');Log['bright'](o(0xce)+f);const g=execSync(o(0xbb))[o(0xcf)]()[o(0xe1)](/\r?\n|\r/,'')[o(0xe1)]('v','');a93e['gt'](f,g)?(Log[o(0xd5)](o(0xd8)+g),Log[o(0xd5)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0xc6)+f+')')):Log[o(0xdc)](o(0xd8)+g);if(this[o(0xd0)]['isMakaProject']()){Log[o(0xdc)]('----------------------Project----------------------------');const h=this['fsi'][o(0xda)]();a93e['gt'](d,h)?(Log[o(0xd5)](o(0xb6)+h['replace']('\x0a','')),Log[o(0xd5)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice']((o(0xb6)+h)[o(0xe1)]('\x0a',''));const i=await this[o(0xd0)]['getProjectsMeteorNodeVersion']();i===o(0xe3)?(Log[o(0xd5)](o(0xc7)+i),Log[o(0xd5)](o(0xdf))):Log[o(0xdc)](o(0xc7)+i),Log[o(0xdc)](o(0xd9));}}}catch(j){console[o(0xc3)](j),process[o(0xc0)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x98))/0x1+parseInt(f(0x92))/0x2*(-parseInt(f(0x93))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x8f))/0x5*(parseInt(f(0x99))/0x6)+-parseInt(f(0x97))/0x7*(parseInt(f(0x96))/0x8)+parseInt(f(0x90))/0x9*(parseInt(f(0x91))/0xa)+-parseInt(f(0x95))/0xb*(-parseInt(f(0x9b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6c87b));function a95c(){var i=['826716MqAlaY','275345EDfAbO','1908117ODnFJe','20MoURbK','510912AIDROX','3ElyphI','search','2688103EVfrQl','96efPNiB','426377ArrhBo','665987kXhIJQ','12RdBtNW','toString','12BvmuNr','apply','(((.+)+)+)+$'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x9a)]()[h(0x94)](h(0x8d))['toString']()['constructor'](a95a)[h(0x94)](h(0x8d));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x8d;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1+-parseInt(f(0x92))/0x2+-parseInt(f(0x95))/0x3+parseInt(f(0x98))/0x4*(-parseInt(f(0x91))/0x5)+parseInt(f(0x90))/0x6+parseInt(f(0x9a))/0x7+parseInt(f(0x94))/0x8*(parseInt(f(0x9c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x27ffa));function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x8f;var f=c[d];return f;},a95d(a,b);}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()[h(0x96)](h(0x99))[h(0x97)]()[h(0x93)](a95a)['search']('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a95c(){var i=['114916jTwdOo','(((.+)+)+)+$','303513alHdLN','8820GDpqxP','2178FcizDM','apply','311094kEicCr','55iSCRHL','118002JKxnCK','constructor','22904unISES','774060atUKZb','search','toString'];a95c=function(){return i;};return a95c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa9))/0x2)+-parseInt(f(0x9d))/0x3+-parseInt(f(0x9b))/0x4+parseInt(f(0x9e))/0x5*(parseInt(f(0xa6))/0x6)+parseInt(f(0xa0))/0x7*(parseInt(f(0xa8))/0x8)+-parseInt(f(0xaa))/0x9+parseInt(f(0xa1))/0xa*(parseInt(f(0xa2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb4902));var a96b=(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;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0xa5)]()[g(0xa3)](g(0xa7))[g(0xa5)]()[g(0xa4)](a96a)[g(0xa3)](g(0xa7));});a96a(),process['env'][a96h(0x9a)]=a96h(0x9c);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x9a;var f=c[d];return f;},a96d(a,b);}function a96c(){var i=['170TjPMZj','1QXLNWn','168iHPMKw','5297350uEXBzq','55hoEQlo','search','constructor','toString','17382fDTfIM','(((.+)+)+)+$','410184eUMdTD','777766GdWVwE','5050170VcWgJT','NODE_OPTIONS','5765788RRCuDN','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2540037zguTmY'];a96c=function(){return i;};return a96c();}import'./maka.js';
2
+ var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xe5))/0x1+parseInt(f(0xe9))/0x2*(parseInt(f(0xe3))/0x3)+-parseInt(f(0xe7))/0x4*(-parseInt(f(0xda))/0x5)+-parseInt(f(0xe0))/0x6+-parseInt(f(0xdb))/0x7*(parseInt(f(0xe1))/0x8)+parseInt(f(0xdf))/0x9*(parseInt(f(0xd9))/0xa)+-parseInt(f(0xeb))/0xb*(-parseInt(f(0xe6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb20a8));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0xe2)]()[h(0xea)](h(0xe4))[h(0xe2)]()[h(0xdc)](a96a)['search']('(((.+)+)+)+$');});a96a(),process[a96i(0xdd)][a96i(0xe8)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xd9;var f=c[d];return f;},a96d(a,b);}import'./maka.js';function a96c(){var j=['2UzHvQp','search','297HonxNb','10azvTJD','3071795dAoYLA','4292491fjxSfw','constructor','env','apply','4597578lrwxRO','8236536vvBDOM','8goIDkw','toString','3169353jsXXQM','(((.+)+)+)+$','1375948UrygiP','848676sDYOtX','4frGWcR','NODE_OPTIONS'];a96c=function(){return j;};return a96c();}
@@ -1 +1 @@
1
- function a97c(){const E=['forEach','10BQGSAB','root','where','push','function','bright','minArgLength','getGlobalConfig','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','209445SoVirY','DARK','call','Location','Too\x20few\x20arguments','_generators','server','exit','Generator\x20not\x20found','invoke','Too\x20few\x20options','join','client','1420776BbvysO','There\x20is\x20no\x20Meteor\x20application\x20here','setColorMode','includes','mustHaveMeteorInstalled','requiredEngines','pallet','validateMakaProject','743877apzwdd','length','Too\x20many\x20options','minOptsLength','validateMakaSubscription','Generator\x20format\x20is\x20incorrect','Generator\x20','noNeedResource','chdir','232976WgbxSb','39208bIPuLx','bind','toString','keys','options','No\x20resource\x20name\x20specified','(((.+)+)+)+$','create','slice','2817155qJGpza','\x20not\x20found','dir','Both','help','colLocAnswer','replace','handleGenerateError','7kZSCTR','resourceName','74ewmpCq','Description','fsi','cwd','tableList','Name','processAndRunGenerator','pop','Generator\x20requires\x20a\x20name','81XcBWRh','appPathPrefix','_handler','Generator.create\x20requires\x20a\x20handler\x20function!','validateEngines','Client','addGenerator','Generators:','5099pPqgzD','listGenerators','light','assign','number','LIGHT','validateMeteorInstall','mustBeInMakaProject','search','error','checkWhere','validateParams','map','notice','both','maxOptsLength','shortDesc','name'];a97c=function(){return E;};return a97c();}function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x146;let f=c[d];return f;},a97d(a,b);}const a97t=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x19b))/0x1*(-parseInt(q(0x18a))/0x2)+-parseInt(q(0x16d))/0x3+-parseInt(q(0x177))/0x4+-parseInt(q(0x158))/0x5+-parseInt(q(0x165))/0x6*(-parseInt(q(0x188))/0x7)+parseInt(q(0x176))/0x8*(parseInt(q(0x193))/0x9)+parseInt(q(0x14f))/0xa*(-parseInt(q(0x180))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x202da));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(0x179)]()[r(0x1a3)](r(0x17d))[r(0x179)]()['constructor'](a97a)['search']('(((.+)+)+)+$');});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(0x18d)]();let d=null;try{process[s(0x175)](a),d=await b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a97t(0x17b)];['_generators'];constructor(a,b){const u=a97t;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[u(0x14d)])throw new Error(u(0x192));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this['_generators']=[],this[u(0x17b)]=Object[u(0x19e)]({},a),this[u(0x14d)]=this[u(0x17b)][u(0x14d)],this['_handler']=b[u(0x178)](this);}static[a97t(0x17e)](a,b,c){const v=a97t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x153))throw new Error(v(0x196));const d=new Generator(a,b);return c=c||a97g,Object[v(0x19e)](d,{'parent':c?.[v(0x17b)]?.[v(0x14d)]}),c[v(0x199)](d),d;}['addGenerator'](a){const w=a97t;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this['_generators'][w(0x152)](a);}async[a97t(0x190)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.['split'](':');if(!f||f[x(0x16e)]===0x0)throw x(0x172);let g=this[x(0x15d)],h;for(const i of f){h=g['find'](j=>j['match'](i));if(!h)throw x(0x173)+i+x(0x181);await this[x(0x171)](h),g=h[x(0x15d)];}if(h)d=await h[x(0x161)](b,c);else throw x(0x160);}catch(j){Log['error'](j);}return d;}async[a97t(0x161)](a,b){const y=a97t,c=a[y(0x17f)]();b[y(0x189)]=c[0x0];try{const d=await this[y(0x18c)][y(0x156)](),f=d[y(0x16b)]===y(0x19d)?ColorMode[y(0x1a0)]:ColorMode[y(0x159)];Log[y(0x167)](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[y(0x16e)]===0x0&&this[y(0x15d)][y(0x16e)]>=0x0,h=b[y(0x184)]||b['h'];if(g&&h){if(this['_generators'][y(0x16e)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][y(0x1a2)]){const i=this[y(0x16c)]();if(!i)throw new MustBeInProjectError();}if(this['options'][y(0x169)]){const j=this[y(0x1a1)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0x17b)]['minArgLength']===y(0x19f)){if(a[y(0x16e)]<this[y(0x17b)][y(0x155)]){Log[y(0x1a4)](y(0x15c));throw new UsageError();}}if(typeof this[y(0x17b)]['maxArgLength']===y(0x19f)){if(a[y(0x16e)]>this[y(0x17b)]['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this['options'][y(0x170)]==='number'){if(Object[y(0x17a)](b)[y(0x16e)]<this[y(0x17b)][y(0x170)]){Log[y(0x1a4)](y(0x162));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===y(0x19f)){if(Object[y(0x17a)](b)[y(0x16e)]>=this[y(0x17b)][y(0x14b)]){Log[y(0x1a4)](y(0x16f));throw new UsageError();}}}this[y(0x17b)]['requiredEngines']&&this[y(0x197)](this['options'][y(0x16a)]);await this[y(0x147)](a,b,this[y(0x17b)]);if(!b[y(0x189)]&&!this[y(0x17b)][y(0x174)]){Log[y(0x1a4)](y(0x17c));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0x187)](k),process[y(0x15f)](0x1);}return await inside(b[y(0x18d)],async()=>{const z=y;try{if(!b[z(0x150)]&&!this[z(0x18c)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b['resourceName']?.[z(0x186)](/\\/g,'/')['split']('/');!b[z(0x182)]&&(l?.['length']>0x1?(b[z(0x189)]=l[z(0x191)](),c[0x0]=b[z(0x189)],b[z(0x182)]=l[z(0x148)](m=>{return paramCase(m);})[z(0x163)](a97e['sep'])):b[z(0x182)]='');if(this[z(0x17b)][z(0x146)]){if(!b[z(0x151)]){const n={'type':'list','name':z(0x185),'message':z(0x15b),'choices':[{'name':z(0x198),'value':z(0x164)},{'name':'Server','value':'server'},{'name':z(0x183),'value':z(0x14a)}]},{colLocAnswer:o}=await Actions[z(0x17b)](n);o?b['where']=o:b[z(0x151)]=z(0x14a);}const m=[z(0x14a),z(0x164),z(0x15e)];if(!m[z(0x168)](b[z(0x151)])){Log['error']('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[z(0x151)]){case z(0x14a):b[z(0x194)]='lib';break;case'server':b['appPathPrefix']='server';break;case z(0x164):b[z(0x194)]=z(0x164);break;default:b[z(0x194)]='';}}return await this[z(0x195)][z(0x15a)](this,c,b);}catch(p){this['handleGenerateError'](p);}});}[a97t(0x19c)](){const A=a97t;this[A(0x18e)](this[A(0x15d)]);}[a97t(0x187)](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0x17b)];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x149)](B(0x19a)),this[B(0x18e)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[B(0x1a4)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[B(0x1a4)](B(0x157)),Log[B(0x149)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log['error'](B(0x166));}}}[a97t(0x18e)](a){const C=a97t,b=new a97f({});b['push']([C(0x18f),'Alias',C(0x18b)]),a['sort']()[C(0x14e)](c=>{const D=C;b['push']([c[D(0x14d)],c['aliases'](),c[D(0x14c)]()]);}),Log[C(0x154)](b['toString']());}}
1
+ const a97t=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x122))/0x1*(-parseInt(q(0x118))/0x2)+parseInt(q(0x124))/0x3*(-parseInt(q(0x130))/0x4)+parseInt(q(0x12a))/0x5+parseInt(q(0x125))/0x6*(parseInt(q(0x132))/0x7)+-parseInt(q(0xfe))/0x8*(parseInt(q(0x108))/0x9)+-parseInt(q(0x127))/0xa*(-parseInt(q(0x10a))/0xb)+-parseInt(q(0x136))/0xc*(parseInt(q(0xfb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x58430));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(0x13c)]()[r(0xf8)](r(0x13e))['toString']()[r(0x11a)](a97a)[r(0xf8)](r(0x13e));});function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xe8;let f=c[d];return f;},a97d(a,b);}a97a();function a97c(){const E=['maxArgLength','4UohFmt','push','75929dCafMU','Description','call','length','1449492YAbrTd','where','No\x20resource\x20name\x20specified','Generator\x20','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','server','toString','handleGenerateError','(((.+)+)+)+$','Alias','Client','addGenerator\x20requires\x20a\x20Generator\x20instance','Too\x20many\x20options','create','pop','slice','Too\x20few\x20options','assign','number','Location','Too\x20many\x20arguments','invoke','bright','mustBeInMakaProject','fsi','Generator\x20not\x20found','find','options','both','name','Generator\x20requires\x20a\x20name','exit','Generator.create\x20requires\x20a\x20handler\x20function!','resourceName','aliases','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Too\x20few\x20arguments','Please\x20run\x20\x22maka\x20install\x20meteor\x22','includes','search','_generators','requiredEngines','52VszlNA','function','Generator\x20requires\x20a\x20handler\x20function','134072foCHaF','tableList','shortDesc','dir','Generators:','match','listGenerators','sort','addGenerator','error','171wMoKVf','minArgLength','4588507IQlecH','appPathPrefix','notice','processAndRunGenerator','maxOptsLength','Name','light','Generator\x20format\x20is\x20incorrect','chdir','validateMakaSubscription','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMakaProject','minOptsLength','join','900uKdihL','map','constructor','checkWhere','LIGHT','getGlobalConfig','root','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','_handler','1036QaUCsW','list','1880982GyobhN','174GzlkOx','client','10cZdzpd','help','pallet','2960995VFNOXE','usage','replace','validateMeteorInstall','keys'];a97c=function(){return E;};return a97c();}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(0x11f)]();let d=null;try{process[s(0x112)](a),d=await b();}finally{process[s(0x112)](c);}return d;}export class Generator extends Tool{[a97t(0xec)];[a97t(0xf9)];constructor(a,b){const u=a97t;super();if(!a)throw new Error(u(0x13a));if(!a[u(0xee)])throw new Error(u(0xef));if(typeof b!==u(0xfc))throw new Error(u(0xfd));this['_generators']=[],this[u(0xec)]=Object[u(0x147)]({},a),this[u(0xee)]=this[u(0xec)][u(0xee)],this[u(0x121)]=b['bind'](this);}static[a97t(0x143)](a,b,c){const v=a97t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0xfc))throw new Error(v(0xf1));const d=new Generator(a,b);return c=c||a97g,Object[v(0x147)](d,{'parent':c?.['options']?.[v(0xee)]}),c['addGenerator'](d),d;}[a97t(0x106)](a){const w=a97t;if(!(a instanceof Generator))throw new Error(w(0x141));this['_generators'][w(0x131)](a);}async[a97t(0x10d)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.['split'](':');if(!f||f[x(0x135)]===0x0)throw x(0x111);let g=this[x(0xf9)],h;for(const i of f){h=g[x(0xeb)](j=>j[x(0x103)](i));if(!h)throw x(0x139)+i+'\x20not\x20found';await this[x(0x113)](h),g=h['_generators'];}if(h)d=await h[x(0x14b)](b,c);else throw x(0xea);}catch(j){Log[x(0x107)](j);}return d;}async['invoke'](a,b){const y=a97t,c=a[y(0x145)]();b[y(0xf2)]=c[0x0];try{const d=await this[y(0xe9)][y(0x11d)](),f=d[y(0x129)]===y(0x110)?ColorMode[y(0x11c)]:ColorMode['DARK'];Log['setColorMode'](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[y(0x135)]===0x0&&this[y(0xf9)][y(0x135)]>=0x0,h=b[y(0x128)]||b['h'];if(g&&h){if(this[y(0xf9)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[y(0xec)][y(0xe8)]){const i=this[y(0x115)]();if(!i)throw new MustBeInProjectError();}if(this[y(0xec)]['mustHaveMeteorInstalled']){const j=this[y(0x12d)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0xec)]['minArgLength']===y(0x148)){if(a[y(0x135)]<this[y(0xec)][y(0x109)]){Log['error'](y(0xf5));throw new UsageError();}}if(typeof this[y(0xec)][y(0x12f)]===y(0x148)){if(a[y(0x135)]>this[y(0xec)]['maxArgLength']){Log[y(0x107)](y(0x14a));throw new UsageError();}}if(typeof this[y(0xec)][y(0x116)]===y(0x148)){if(Object[y(0x12e)](b)[y(0x135)]<this[y(0xec)][y(0x116)]){Log[y(0x107)](y(0x146));throw new UsageError();}}if(typeof this[y(0xec)][y(0x10e)]==='number'){if(Object[y(0x12e)](b)[y(0x135)]>=this['options'][y(0x10e)]){Log[y(0x107)](y(0x142));throw new UsageError();}}}this['options'][y(0xfa)]&&this['validateEngines'](this['options'][y(0xfa)]);await this['validateParams'](a,b,this[y(0xec)]);if(!b['resourceName']&&!this['options']['noNeedResource']){Log[y(0x107)](y(0x138));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0x13d)](k),process[y(0xf0)](0x1);}return await inside(b[y(0x11f)],async()=>{const z=y;try{if(!b[z(0x11e)]&&!this[z(0xe9)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[z(0xf2)]?.[z(0x12c)](/\\/g,'/')['split']('/');!b[z(0x101)]&&(l?.[z(0x135)]>0x1?(b[z(0xf2)]=l[z(0x144)](),c[0x0]=b[z(0xf2)],b['dir']=l[z(0x119)](m=>{return paramCase(m);})[z(0x117)](a97e['sep'])):b['dir']='');if(this[z(0xec)][z(0x11b)]){if(!b[z(0x137)]){const n={'type':z(0x123),'name':'colLocAnswer','message':z(0x149),'choices':[{'name':z(0x140),'value':z(0x126)},{'name':'Server','value':z(0x13b)},{'name':'Both','value':z(0xed)}]},{colLocAnswer:o}=await Actions['options'](n);o?b['where']=o:b[z(0x137)]='both';}const m=[z(0xed),z(0x126),z(0x13b)];if(!m[z(0xf7)](b[z(0x137)])){Log[z(0x107)](z(0xf4));throw new UsageError();}switch(b[z(0x137)]){case'both':b[z(0x10b)]='lib';break;case z(0x13b):b[z(0x10b)]='server';break;case z(0x126):b[z(0x10b)]=z(0x126);break;default:b[z(0x10b)]='';}}return await this[z(0x121)][z(0x134)](this,c,b);}catch(p){this[z(0x13d)](p);}});}[a97t(0x104)](){const A=a97t;this[A(0xff)](this[A(0xf9)]);}[a97t(0x13d)](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0xec)];Log[B(0x12b)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x10c)](B(0x102)),this[B(0xff)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[B(0x107)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log[B(0x107)](B(0x114)),Log[B(0x10c)](B(0xf6));else a instanceof NoMeteorAppFoundError&&Log[B(0x107)](B(0x120));}}}['tableList'](a){const C=a97t,b=new a97f({});b[C(0x131)]([C(0x10f),C(0x13f),C(0x133)]),a[C(0x105)]()['forEach'](c=>{const D=C;b['push']([c[D(0xee)],c[D(0xf3)](),c[D(0x100)]()]);}),Log[C(0x14c)](b[C(0x13c)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0xa3))/0x1+-parseInt(f(0xa6))/0x2*(-parseInt(f(0x9d))/0x3)+-parseInt(f(0x9e))/0x4*(-parseInt(f(0xa4))/0x5)+parseInt(f(0x9c))/0x6*(-parseInt(f(0x9b))/0x7)+-parseInt(f(0xa0))/0x8+-parseInt(f(0xa2))/0x9+-parseInt(f(0xa7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xc3d8b));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x9a)]()[h(0x99)](h(0x9f))[h(0x9a)]()[h(0xa1)](a98a)[h(0x99)](h(0x9f));});function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0x99;var f=c[d];return f;},a98d(a,b);}a98a();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 a98c(){var i=['8206090jwQJzD','search','toString','4130462fAtAlG','6orSkuT','771981iIynKu','8rqbvOZ','(((.+)+)+)+$','914400dMCmgc','constructor','8320851eiXRqD','1295998RVIhDL','1672670anziIc','apply','10kZpLpw'];a98c=function(){return i;};return a98c();}import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a124d,c=a();while(!![]){try{var d=-parseInt(f(0xdb))/0x1*(parseInt(f(0xe3))/0x2)+-parseInt(f(0xdd))/0x3+-parseInt(f(0xe8))/0x4*(parseInt(f(0xda))/0x5)+-parseInt(f(0xe7))/0x6+parseInt(f(0xe1))/0x7*(-parseInt(f(0xe0))/0x8)+parseInt(f(0xe2))/0x9*(parseInt(f(0xe6))/0xa)+parseInt(f(0xe5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9782b));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0xe4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0xde)](h(0xdc))['toString']()[h(0xdf)](a124a)[h(0xde)](h(0xdc));});a124a();import'./services/_index.js';function a124c(){var i=['8590JTxQHW','5851068bRUQTj','12kIcLZK','126785LYREGD','1228478PMQXDu','(((.+)+)+)+$','2740695mHopez','search','constructor','8TwSVOI','6037409nirSgr','9297MDQuTA','2jtkanC','apply','41679209XiJGjn'];a124c=function(){return i;};return a124c();}import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0xda;var f=c[d];return f;},a124d(a,b);}import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
@@ -1 +1 @@
1
- const a99x=a99d;function a99c(){const A=['typeDefs.','api/api.js','apollo','injectIntoFile','maka:check','6940EuJhPQ','dir','create','Fixtures','constructor','982072PflrrV','server','6231258gAGjsa','2629XjykKq','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','/graphql/typeDefs','rpc-methods.','const','template','1996AiHBzH','2wgbqVV','rest','.app-tests.','import\x20\x27./register-','\x27;\x0a','none','resolvers.','18ARMblg','imports','startup','includes','1729616CCEHoR','graphql','2095731fgEttn','publications.','search','91310lauVNv','\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','withPubs','ddp-rate-limiter','fixtures.','api','Resolvers\x20}\x20from\x20\x27','resolverList.push(','-api.','api/typeDefs.js','Resolvers);\x0a\x0a','\x0aimport\x20{\x20resolvers\x20as\x20','if\x20\x5c(typeList','engines','462961XOEIkR','GraphQL','injectAtBeginningOfFile','api/resolvers.js','api/methods.js','/imports/api','pathFromApp','test','length','api/publications.js','API\x20boundaries\x20to\x20create','withFixtures','withRest','No\x20API\x20boundaries\x20selected','checkbox','RPC\x20(Methods)','withMethods','exit','Publications','mdg:validated-method','withGql','processAndRunGenerator','resourceName','index.','error','-api\x27;','collection','toString','TypeDefs\x20}\x20from\x20\x27','options','withValue','maka:rest','push','/graphql/resolvers','TypeDefs);\x0a','injectAtEndOfFile','fsi','apply','typeList.push(','(((.+)+)+)+$','checkMeteorPackage'];a99c=function(){return A;};return a99c();}(function(a,b){const u=a99d,c=a();while(!![]){try{const d=-parseInt(u(0x16c))/0x1*(parseInt(u(0x14e))/0x2)+-parseInt(u(0x15b))/0x3+-parseInt(u(0x14d))/0x4*(parseInt(u(0x19a))/0x5)+-parseInt(u(0x155))/0x6*(parseInt(u(0x159))/0x7)+parseInt(u(0x19f))/0x8+parseInt(u(0x1a1))/0x9+parseInt(u(0x15e))/0xa*(parseInt(u(0x1a2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x62260));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x187)]()[w(0x15d)]('(((.+)+)+)+$')[w(0x187)]()[w(0x19e)](a99a)[w(0x15d)](w(0x193));});a99a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x14c;let f=c[d];return f;},a99d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x19c)]({'name':'api','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x1a3),'validOpts':[a99x(0x19b)],'examples':['maka\x20g:api\x20Todos'],'description':a99x(0x15f)},async function(a,b){const y=a99x;try{const c=this['fsi']['getMakaProjectConfig'](),d=[{'name':y(0x17b),'value':y(0x17c)},{'name':y(0x19d),'value':y(0x177)},{'name':y(0x17e),'value':y(0x160)}];c[y(0x16b)][y(0x163)]===y(0x14f)&&d[y(0x18c)]({'name':'REST\x20API','value':y(0x178)});c[y(0x16b)]['graphql']===y(0x197)&&d[y(0x18c)]({'name':y(0x16d),'value':'withGql'});const f={'type':y(0x17a),'name':'apiAnswers','message':y(0x176),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x189)](f);g[y(0x174)]===0x0&&(Log[y(0x184)](y(0x179)),process[y(0x17d)](0x1)),await this[y(0x190)][y(0x18a)](c,async()=>{const z=y,h=b[z(0x182)],i=paramCase(h),j=camelCase(h),k=b[z(0x19b)]?'/'+b[z(0x19b)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x16b)][z(0x163)],'graphql':c[z(0x16b)]['graphql'],'test':c['engines'][z(0x173)],'noRename':!![],'withPubs':g[z(0x158)](z(0x160)),'withFixtures':g[z(0x158)]('withFixtures'),'withMethods':g['includes'](z(0x17c)),'withRest':g['includes']('withRest')};let m='js';c[z(0x16b)]['js']==='tsx'&&(m='ts');await this[z(0x190)][z(0x194)]([z(0x18b),z(0x199),z(0x161),z(0x17f),'mongo'],{'shouldInstall':!![]}),await a99e[z(0x181)](z(0x186),[i],{'config':c,'where':z(0x1a0)});c['engines'][z(0x163)]===z(0x14f)&&(l['withRest']&&await this[z(0x190)][z(0x14c)]({'srcPath':z(0x196),'destPath':this['fsi'][z(0x172)]({'pathParts':['imports',z(0x163),b[z(0x19b)],i,'rest-api.'+m]}),'context':l,'config':c}));l[z(0x17c)]&&await this[z(0x190)]['template']({'srcPath':z(0x170),'destPath':this[z(0x190)][z(0x172)]({'pathParts':[z(0x156),z(0x163),b[z(0x19b)],i,z(0x1a5)+m]}),'context':l,'config':c});l[z(0x177)]&&await this[z(0x190)][z(0x14c)]({'srcPath':'api/fixtures.js','destPath':this['fsi'][z(0x172)]({'pathParts':[z(0x156),z(0x163),b[z(0x19b)],i,z(0x162)+m]}),'context':l,'config':c});c['engines'][z(0x173)]!==z(0x153)&&this[z(0x190)]['template']({'srcPath':'api/tests.js','destPath':this[z(0x190)]['pathFromApp']({'pathParts':[z(0x156),'api',b[z(0x19b)],i,i+z(0x150)+m]}),'context':l,'config':c});l['withPubs']&&await this[z(0x190)][z(0x14c)]({'srcPath':z(0x175),'destPath':this[z(0x190)][z(0x172)]({'pathParts':[z(0x156),z(0x163),b[z(0x19b)],i,z(0x15c)+m]}),'context':l,'config':c});if(c[z(0x16b)][z(0x15a)]===z(0x197)){if(g[z(0x158)](z(0x180))){const o=this[z(0x190)]['pathFromApp']({'pathParts':['imports',z(0x157),z(0x1a0),z(0x183)+c[z(0x16b)]['js']]}),p=this[z(0x190)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this['fsi'][z(0x172)]({'pathParts':['imports',z(0x163),b['dir'],i,z(0x15a),z(0x195)+m]}),r=z(0x171)+k+i+z(0x1a4);this[z(0x190)][z(0x14c)]({'srcPath':z(0x167),'destPath':q,'context':l,'config':c}),await this[z(0x190)][z(0x16e)]({'filePath':p,'content':'import\x20{\x20typeDefs\x20as\x20'+j+z(0x188)+r+z(0x152)}),await this['fsi'][z(0x198)]({'filePath':p,'content':z(0x192)+j+z(0x18e),'begin':z(0x1a6),'end':z(0x16a)});const s=this[z(0x190)][z(0x172)]({'pathParts':[z(0x156),z(0x163),b[z(0x19b)],i,z(0x15a),z(0x154)+m]}),t=z(0x171)+k+i+z(0x18d);await this[z(0x190)][z(0x14c)]({'srcPath':z(0x16f),'destPath':s,'context':l,'config':c}),await this[z(0x190)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x169)+j+z(0x164)+t+'\x27;'}),await this[z(0x190)][z(0x198)]({'filePath':p,'content':z(0x165)+j+z(0x168),'begin':z(0x1a6),'end':'if\x20\x5c(typeList'});}}await this[z(0x190)][z(0x14c)]({'srcPath':'api/register-api.js','destPath':this[z(0x190)][z(0x172)]({'pathParts':[z(0x156),z(0x157),z(0x1a0),'register-'+i+z(0x166)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x190)][z(0x172)]({'pathParts':[z(0x156),z(0x157),z(0x1a0),'index.'+c[z(0x16b)]['js']]});await this[z(0x190)][z(0x18f)]({'filePath':n,'content':z(0x151)+i+z(0x185)});});}catch(h){console['error'](h),process[y(0x17d)](0x0);}});
1
+ const a98w=a98d;(function(a,b){const u=a98d,c=a();while(!![]){try{const d=-parseInt(u(0x122))/0x1+-parseInt(u(0x11a))/0x2*(-parseInt(u(0x104))/0x3)+parseInt(u(0xfe))/0x4*(-parseInt(u(0x11f))/0x5)+parseInt(u(0x10e))/0x6+-parseInt(u(0xd8))/0x7*(parseInt(u(0xd3))/0x8)+parseInt(u(0x118))/0x9*(-parseInt(u(0xe2))/0xa)+parseInt(u(0xcf))/0xb*(parseInt(u(0x124))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x83b3a));const a98b=(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;};}()),a98a=a98b(this,function(){const v=a98d;return a98a['toString']()[v(0x11b)](v(0xf3))[v(0x11d)]()['constructor'](a98a)['search'](v(0xf3));});a98a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0xcf;let f=c[d];return f;},a98d(a,b);}function a98c(){const z=['18GDKZGo','Fixtures','maka:rest','rest-api.','api/fixtures.js','length','mdg:validated-method','imports','apiAnswers','push','342000nYPOpA','publications.','collection','rest','error','import\x20{\x20typeDefs\x20as\x20','resolverList.push(','exit','index.','.app-tests.','9ADyBWa','No\x20API\x20boundaries\x20selected','52712umXQDS','search','-api.','toString','typeList.push(','5xSpQrp','rpc-methods.','withGql','7902yuFRMw','withFixtures','12WqDPjT','checkMeteorPackage','17615246bNPoBy','withValue','graphql','resourceName','16QZuxSa','withRest','api/tests.js','engines','TypeDefs);\x0a','3585596wxImkQ','api/methods.js','options','\x0aimport\x20{\x20resolvers\x20as\x20','GraphQL','tsx','template','includes','startup','resolvers.','848870hMsafs','-api\x27;','TypeDefs\x20}\x20from\x20\x27','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','injectIntoFile','api/resolvers.js','pathFromApp','API\x20boundaries\x20to\x20create','if\x20\x5c(typeList','const','injectAtBeginningOfFile','Resolvers\x20}\x20from\x20\x27','REST\x20API','\x27;\x0a','getMakaProjectConfig','typeDefs.','api','(((.+)+)+)+$','api/publications.js','checkbox','withMethods','dir','RPC\x20(Methods)','apollo','/graphql/typeDefs','fsi','server','withPubs','639308fchRzq','injectAtEndOfFile','/imports/api','maka\x20g:api\x20Todos','import\x20\x27./register-','api/typeDefs.js'];a98c=function(){return z;};return a98c();}import{Actions}from'../tools/actions/actions.class.js';import a98e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a98w(0xf2),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a98w(0xe5),'validOpts':[a98w(0xf7)],'examples':[a98w(0x101)],'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 x=a98w;try{const c=this[x(0xfb)][x(0xf0)](),d=[{'name':x(0xf8),'value':x(0xf6)},{'name':x(0x105),'value':x(0x123)},{'name':'Publications','value':x(0xfd)}];c[x(0xd6)][x(0xf2)]===x(0x111)&&d[x(0x10d)]({'name':x(0xee),'value':x(0xd4)});c[x(0xd6)][x(0xd1)]===x(0xf9)&&d[x(0x10d)]({'name':x(0xdc),'value':x(0x121)});const f={'type':x(0xf5),'name':x(0x10c),'message':x(0xe9),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[x(0xda)](f);g[x(0x109)]===0x0&&(Log[x(0x112)](x(0x119)),process['exit'](0x1)),await this['fsi'][x(0xd0)](c,async()=>{const y=x,h=b[y(0xd2)],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[y(0xf7)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[y(0xd6)][y(0xf2)],'graphql':c['engines'][y(0xd1)],'test':c[y(0xd6)]['test'],'noRename':!![],'withPubs':g['includes']('withPubs'),'withFixtures':g[y(0xdf)](y(0x123)),'withMethods':g[y(0xdf)](y(0xf6)),'withRest':g[y(0xdf)](y(0xd4))};let m='js';c[y(0xd6)]['js']===y(0xdd)&&(m='ts');await this['fsi'][y(0x125)]([y(0x106),'maka:check','ddp-rate-limiter',y(0x10a),'mongo'],{'shouldInstall':!![]}),await a98e['processAndRunGenerator'](y(0x110),[i],{'config':c,'where':y(0xfc)});c[y(0xd6)][y(0xf2)]===y(0x111)&&(l[y(0xd4)]&&await this[y(0xfb)][y(0xde)]({'srcPath':'api/api.js','destPath':this[y(0xfb)][y(0xe8)]({'pathParts':[y(0x10b),'api',b[y(0xf7)],i,y(0x107)+m]}),'context':l,'config':c}));l[y(0xf6)]&&await this['fsi'][y(0xde)]({'srcPath':y(0xd9),'destPath':this[y(0xfb)][y(0xe8)]({'pathParts':[y(0x10b),'api',b[y(0xf7)],i,y(0x120)+m]}),'context':l,'config':c});l[y(0x123)]&&await this['fsi'][y(0xde)]({'srcPath':y(0x108),'destPath':this['fsi'][y(0xe8)]({'pathParts':['imports',y(0xf2),b[y(0xf7)],i,'fixtures.'+m]}),'context':l,'config':c});c['engines']['test']!=='none'&&this[y(0xfb)]['template']({'srcPath':y(0xd5),'destPath':this['fsi'][y(0xe8)]({'pathParts':[y(0x10b),y(0xf2),b[y(0xf7)],i,i+y(0x117)+m]}),'context':l,'config':c});l[y(0xfd)]&&await this['fsi'][y(0xde)]({'srcPath':y(0xf4),'destPath':this[y(0xfb)][y(0xe8)]({'pathParts':[y(0x10b),y(0xf2),b['dir'],i,y(0x10f)+m]}),'context':l,'config':c});if(c[y(0xd6)][y(0xd1)]==='apollo'){if(g['includes'](y(0x121))){const o=this['fsi'][y(0xe8)]({'pathParts':['imports','startup',y(0xfc),y(0x116)+c[y(0xd6)]['js']]}),p=this[y(0xfb)]['rewriteDestinationPathForEngine']({'pathParts':[o],'config':c}),q=this[y(0xfb)][y(0xe8)]({'pathParts':[y(0x10b),y(0xf2),b['dir'],i,y(0xd1),y(0xf1)+m]}),r=y(0x100)+k+i+y(0xfa);this[y(0xfb)][y(0xde)]({'srcPath':y(0x103),'destPath':q,'context':l,'config':c}),await this[y(0xfb)][y(0xec)]({'filePath':p,'content':y(0x113)+j+y(0xe4)+r+y(0xef)}),await this['fsi'][y(0xe6)]({'filePath':p,'content':y(0x11e)+j+y(0xd7),'begin':y(0xeb),'end':y(0xea)});const s=this[y(0xfb)]['pathFromApp']({'pathParts':[y(0x10b),y(0xf2),b['dir'],i,y(0xd1),y(0xe1)+m]}),t=y(0x100)+k+i+'/graphql/resolvers';await this[y(0xfb)][y(0xde)]({'srcPath':y(0xe7),'destPath':s,'context':l,'config':c}),await this[y(0xfb)]['injectAtBeginningOfFile']({'filePath':p,'content':y(0xdb)+j+y(0xed)+t+'\x27;'}),await this['fsi'][y(0xe6)]({'filePath':p,'content':y(0x114)+j+'Resolvers);\x0a\x0a','begin':y(0xeb),'end':'if\x20\x5c(typeList'});}}await this[y(0xfb)][y(0xde)]({'srcPath':'api/register-api.js','destPath':this[y(0xfb)][y(0xe8)]({'pathParts':[y(0x10b),y(0xe0),y(0xfc),'register-'+i+y(0x11c)+m]}),'context':l,'config':c,'force':!![]});const n=this['fsi'][y(0xe8)]({'pathParts':['imports',y(0xe0),'server',y(0x116)+c[y(0xd6)]['js']]});await this[y(0xfb)][y(0xff)]({'filePath':n,'content':y(0x102)+i+y(0xe3)});});}catch(h){console[x(0x112)](h),process[x(0x115)](0x0);}});
@@ -1 +1 @@
1
- const a100m=a100d;function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x184;let f=c[d];return f;},a100d(a,b);}function a100c(){const p=['constructor','collections','apply','index.','toString','maka\x20g:collection\x20todos','385768FAfdkf','template','mongo','import\x20\x27./collections','where','maka:check','dir','test','654839FHsbZZ','withValue','collection/tests.js','checkMeteorPackage','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','fsi','imports','startup','appPathPrefix','517052LeEgRy','3589320lqhdQA','resourceName','engines','search','(((.+)+)+)+$','col','3946124PPxxdB','tsx','getMakaProjectConfig','4251384dGqFGE','collection/collection.js','12tsYgTD','pathFromApp','10NBBlte','45422jNyIfB'];a100c=function(){return p;};return a100c();}(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x1a8))/0x1+parseInt(j(0x199))/0x2*(parseInt(j(0x196))/0x3)+-parseInt(j(0x18a))/0x4*(-parseInt(j(0x198))/0x5)+-parseInt(j(0x18b))/0x6+-parseInt(j(0x191))/0x7+parseInt(j(0x1a0))/0x8+parseInt(j(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x58966));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x19e)]()['search'](l(0x18f))[l(0x19e)]()[l(0x19a)](a100a)[l(0x18e)]('(((.+)+)+)+$');});a100a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'collection','aliases':[a100m(0x190)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a100m(0x185),'validOpts':[a100m(0x1a6),'where'],'description':'\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','examples':[a100m(0x19f)]},async function(a,b){const n=a100m;try{const c=this[n(0x186)][n(0x193)]();await this['fsi'][n(0x1a9)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x18c)]),'collectionName':pascalCase(b[o(0x18c)]),'fileName':d,'where':b[o(0x1a4)],'test':c[o(0x18d)][o(0x1a7)],'noRename':!![]};let g='js';c[o(0x18d)]['js']===o(0x192)&&(g='ts');await this['fsi'][o(0x184)]([o(0x1a2),o(0x1a5)],{'shouldInstall':!![]}),await this[o(0x186)][o(0x1a1)]({'srcPath':o(0x195),'destPath':this[o(0x186)]['pathFromApp']({'pathParts':[o(0x187),o(0x188),b[o(0x189)],o(0x19b),b[o(0x1a6)],d+'.'+g]}),'context':f,'config':c});c['engines'][o(0x1a7)]!=='none'&&await this[o(0x186)][o(0x1a1)]({'srcPath':o(0x1aa),'destPath':this[o(0x186)][o(0x197)]({'pathParts':[o(0x187),'startup',b['appPathPrefix'],o(0x19b),b['dir'],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[o(0x1a6)]?'/'+b['dir']+'/':'/',i=this[o(0x186)][o(0x197)]({'pathParts':[o(0x187),o(0x188),b[o(0x189)],o(0x19d)+c[o(0x18d)]['js']]});await this[o(0x186)]['injectAtEndOfFile']({'filePath':i,'content':o(0x1a3)+h+d+'\x27;'});});}catch(d){Log['error'](d);}});
1
+ const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=parseInt(j(0xd1))/0x1+parseInt(j(0xe6))/0x2*(parseInt(j(0xd7))/0x3)+-parseInt(j(0xc4))/0x4*(-parseInt(j(0xcf))/0x5)+-parseInt(j(0xe0))/0x6+parseInt(j(0xe5))/0x7*(parseInt(j(0xe7))/0x8)+parseInt(j(0xce))/0x9+parseInt(j(0xd8))/0xa*(-parseInt(j(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xa9857));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a[l(0xd6)]()[l(0xda)]('(((.+)+)+)+$')['toString']()[l(0xd5)](a99a)[l(0xda)](l(0xde));});a99a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0xc1;let f=c[d];return f;},a99d(a,b);}Generator[a99m(0xcb)]({'name':a99m(0xc6),'aliases':['col'],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':['dir',a99m(0xd3)],'description':a99m(0xdb),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a99m;try{const c=this[n(0xcc)][n(0xdd)]();await this[n(0xcc)][n(0xc3)](c,async()=>{const o=n,d=paramCase(b[o(0xca)]),f={'name':pascalCase(b[o(0xca)]),'collectionName':pascalCase(b[o(0xca)]),'fileName':d,'where':b[o(0xd3)],'test':c[o(0xd9)][o(0xc1)],'noRename':!![]};let g='js';c[o(0xd9)]['js']===o(0xe8)&&(g='ts');await this[o(0xcc)][o(0xe3)](['mongo','maka:check'],{'shouldInstall':!![]}),await this['fsi'][o(0xe2)]({'srcPath':o(0xe4),'destPath':this[o(0xcc)][o(0xe1)]({'pathParts':['imports','startup',b['appPathPrefix'],'collections',b[o(0xc9)],d+'.'+g]}),'context':f,'config':c});c[o(0xd9)][o(0xc1)]!==o(0xdf)&&await this[o(0xcc)][o(0xe2)]({'srcPath':'collection/tests.js','destPath':this[o(0xcc)][o(0xe1)]({'pathParts':[o(0xc5),o(0xdc),b['appPathPrefix'],o(0xc2),b[o(0xc9)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[o(0xc9)]?'/'+b[o(0xc9)]+'/':'/',i=this[o(0xcc)]['pathFromApp']({'pathParts':[o(0xc5),o(0xdc),b[o(0xc7)],'index.'+c[o(0xd9)]['js']]});await this['fsi'][o(0xd2)]({'filePath':i,'content':o(0xc8)+h+d+'\x27;'});});}catch(d){Log[n(0xd0)](d);}});function a99c(){const p=['collection','appPathPrefix','import\x20\x27./collections','dir','resourceName','create','fsi','3523014ISBNqW','7642485qxnWyT','1065LJNCBk','error','1177349qZdWcY','injectAtEndOfFile','where','apply','constructor','toString','600036uGYGyk','80zovlAu','engines','search','\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','startup','getMakaProjectConfig','(((.+)+)+)+$','none','3922296antIdD','pathFromApp','template','checkMeteorPackage','collection/collection.js','4785907bxcUGg','4PXGpuE','8TjJRYm','tsx','test','collections','withValue','15024XeOQnZ','imports'];a99c=function(){return p;};return a99c();}