@maka/maka-cli 4.7.16 → 4.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (323) hide show
  1. package/.eslintrc.json +29 -29
  2. package/.mocharc.json +3 -3
  3. package/README.md +21 -21
  4. package/bundle/obf/package.json +126 -126
  5. package/bundle/obf/src/README.md +21 -21
  6. package/bundle/obf/src/command.js +1 -1
  7. package/bundle/obf/src/commands/_index.js +1 -1
  8. package/bundle/obf/src/commands/ai.js +1 -1
  9. package/bundle/obf/src/commands/aws/_index.js +1 -1
  10. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  11. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  23. package/bundle/obf/src/commands/build/_index.js +1 -1
  24. package/bundle/obf/src/commands/build/build.js +1 -1
  25. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/create.js +1 -1
  27. package/bundle/obf/src/commands/debug.js +1 -1
  28. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  29. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  30. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/_index.js +1 -1
  33. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/game/play.command.js +1 -1
  35. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  69. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/generate.js +1 -1
  73. package/bundle/obf/src/commands/get/_index.js +1 -1
  74. package/bundle/obf/src/commands/get/get.command.js +1 -1
  75. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  78. package/bundle/obf/src/commands/help.js +1 -1
  79. package/bundle/obf/src/commands/install.js +1 -1
  80. package/bundle/obf/src/commands/jsdoc.js +1 -1
  81. package/bundle/obf/src/commands/lint.js +1 -1
  82. package/bundle/obf/src/commands/login.js +1 -1
  83. package/bundle/obf/src/commands/logout.js +1 -1
  84. package/bundle/obf/src/commands/logs.js +1 -1
  85. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  86. package/bundle/obf/src/commands/murder.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/run/_index.js +1 -1
  90. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/run/run.command.js +1 -1
  92. package/bundle/obf/src/commands/set/_index.js +1 -1
  93. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/set.command.js +1 -1
  96. package/bundle/obf/src/commands/ssh.js +1 -1
  97. package/bundle/obf/src/commands/ssl.js +1 -1
  98. package/bundle/obf/src/commands/test.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/kit.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  119. package/bundle/obf/src/generators/layout.js +1 -1
  120. package/bundle/obf/src/generators/maka.gen.js +1 -1
  121. package/bundle/obf/src/generators/methods.js +1 -1
  122. package/bundle/obf/src/generators/package.js +1 -1
  123. package/bundle/obf/src/generators/page.js +1 -1
  124. package/bundle/obf/src/generators/publish.js +1 -1
  125. package/bundle/obf/src/generators/route.js +1 -1
  126. package/bundle/obf/src/generators/service.js +1 -1
  127. package/bundle/obf/src/generators/services/_index.js +1 -1
  128. package/bundle/obf/src/generators/services/openssl.js +1 -1
  129. package/bundle/obf/src/generators/services/translation.js +1 -1
  130. package/bundle/obf/src/maka.js +1 -1
  131. package/bundle/obf/src/templates/meteor/api/api.js +11 -11
  132. package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
  133. package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
  134. package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
  135. package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
  136. package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
  137. package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
  138. package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
  139. package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
  140. package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
  141. package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
  142. package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
  143. package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
  144. package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
  145. package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
  146. package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
  147. package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
  148. package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
  149. package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
  150. package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
  151. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
  152. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
  153. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
  154. package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
  155. package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
  156. package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
  157. package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
  158. package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
  159. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
  160. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
  161. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
  162. package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
  163. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
  164. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
  165. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
  166. package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
  167. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
  168. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
  169. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
  170. package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
  171. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
  172. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
  173. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
  174. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
  175. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
  176. package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
  177. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
  178. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
  179. package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
  180. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
  181. package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
  182. package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
  183. package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
  184. package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
  185. package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
  186. package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
  187. package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
  188. package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
  189. package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
  190. package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
  191. package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
  192. package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
  193. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
  194. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
  195. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
  196. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
  197. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
  198. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
  199. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
  200. package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
  201. package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
  202. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
  203. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
  204. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
  205. package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
  206. package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
  207. package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
  208. package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
  209. package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
  210. package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
  211. package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
  212. package/bundle/obf/src/templates/meteor/config/process.env +5 -5
  213. package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
  214. package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
  215. package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
  216. package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
  217. package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
  218. package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
  219. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
  220. package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
  221. package/bundle/obf/src/templates/meteor/method/method.js +48 -48
  222. package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
  223. package/bundle/obf/src/templates/meteor/package/package.js +37 -37
  224. package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
  225. package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
  226. package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
  227. package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
  228. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
  229. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
  230. package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
  231. package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
  232. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
  233. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
  234. package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
  235. package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
  236. package/bundle/obf/src/templates/meteor/project/README.md +1 -1
  237. package/bundle/obf/src/templates/meteor/project/build/README +4 -4
  238. package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
  239. package/bundle/obf/src/templates/meteor/project/package.json +20 -20
  240. package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
  241. package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
  242. package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
  243. package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
  244. package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
  245. package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
  246. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
  247. package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
  248. package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
  249. package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
  250. package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
  251. package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
  252. package/bundle/obf/src/templates/meteor/template/template.css +3 -3
  253. package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
  254. package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
  255. package/bundle/obf/src/templates/meteor/template/template.html +5 -5
  256. package/bundle/obf/src/templates/meteor/template/template.js +20 -20
  257. package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
  258. package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
  259. package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
  260. package/bundle/obf/src/templates/react/component/component.css +6 -6
  261. package/bundle/obf/src/templates/react/component/component.css.less +6 -6
  262. package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
  263. package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
  264. package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
  265. package/bundle/obf/src/templates/react/hook/hook.css +3 -3
  266. package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
  267. package/bundle/obf/src/templates/react/hook/hook.js +1 -1
  268. package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
  269. package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
  270. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
  271. package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
  272. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
  273. package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
  274. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
  275. package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
  276. package/bundle/obf/src/templates/react/route/route.js +8 -8
  277. package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
  278. package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
  279. package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
  280. package/bundle/obf/src/templates/react/test/test.js +1 -1
  281. package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
  282. package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
  283. package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
  284. package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
  285. package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
  286. package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
  287. package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
  288. package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
  289. package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
  290. package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
  291. package/bundle/obf/src/tool.js +1 -1
  292. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  293. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  294. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  295. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  296. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  297. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  298. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  299. package/bundle/obf/src/tools/https/https.class.js +1 -1
  300. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  301. package/bundle/obf/src/tools/log/log.class.js +1 -1
  302. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  303. package/bundle/obf/src/tools/options/options.class.js +1 -1
  304. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  305. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  306. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  307. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  308. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  309. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  310. package/jest.config.js +11 -11
  311. package/obfuscator.json +29 -29
  312. package/package.json +126 -126
  313. package/tsconfig.json +23 -23
  314. package/.vs/VSWorkspaceState.json +0 -15
  315. package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
  316. package/.vs/maka-cli-src/FileContentIndex/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
  317. package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
  318. package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
  319. package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
  320. package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
  321. package/.vs/maka-cli-src/v17/.wsuo +0 -0
  322. package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
  323. package/.vs/slnx.sqlite +0 -0
@@ -1 +1 @@
1
- const a119B=a119d;(function(a,b){const y=a119d,c=a();while(!![]){try{const d=-parseInt(y(0xef))/0x1+parseInt(y(0x11c))/0x2*(-parseInt(y(0xf9))/0x3)+-parseInt(y(0xd0))/0x4*(parseInt(y(0xe4))/0x5)+-parseInt(y(0xe3))/0x6+parseInt(y(0xfa))/0x7*(parseInt(y(0x10b))/0x8)+parseInt(y(0xd3))/0x9*(parseInt(y(0x101))/0xa)+-parseInt(y(0xe9))/0xb*(-parseInt(y(0x122))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x351f0));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a119d;if(c){const e=c[z(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const A=a119d;return a119a[A(0xf2)]()[A(0x113)]('(((.+)+)+)+$')[A(0xf2)]()[A(0x100)](a119a)['search']('(((.+)+)+)+$');});a119a();import a119e from'path';import{Generator}from'../generator.js';function a119c(){const K=['Scaffolding\x20for\x20a\x20Route.','true','resourceName','8EIoxrU','<Router','baseDir','41733raDPpD','client','withValue','maka\x20g:route\x20pages/lists/listIndex\x20lists','\x0a\x09\x09','injectIntoFile','fsi','templateName','maka\x20g:route\x20pages/about','readFileLines','toLowerCase','dir','PrivateLayout','rewriteDestinationPathForEngine','injectAfterLineNumber','url','729744wfjQmS','551940poJJAP','warn','includes','map','length','129547eaQLGg','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','startup','apply','create','layouts','432465HvtrEu','react','config','toString','\x22*\x22','getMakaProjectConfig','maka\x20g:route\x20todosIndex\x20todos','withTranslations','\x20to\x20','Invalid\x20directory\x20option\x20\x22','19353xOnEAQ','395206HxPGgy','Route\x20','only','<Route','indexOf','routes.js','constructor','880aktbng','cwd','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','imports','\x20already\x20exists.\x20\x20Skipping.','/imports/ui/','private','pathFromApp','withHook','fileContainsString','56MEWpdc','ssr','const\x20privateRoutes\x20=\x20(<>','replace','hooks','filter','engines','layout','search','maka\x20g:route\x20todosEdit\x20todos/:id/edit','info','route','templateContent','root','join','/imports/ui/pages','lib','102NXkqQr','features','Valid\x20options\x20are:\x20','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','error','vanilla','528TqICyb'];a119c=function(){return K;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xd0;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a119B(0xed)]({'name':a119B(0x116),'aliases':aliases,'validOpts':[a119B(0x107),a119B(0x112),a119B(0xfc),a119B(0x102),a119B(0xf1),a119B(0x118),a119B(0x109),a119B(0xe2),a119B(0xd2)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','shortDesc':a119B(0x123),'examples':[a119B(0xf5),a119B(0x114),a119B(0x103),a119B(0xd6),a119B(0xdb)]},async function(a,b){const C=a119B;try{const c=[C(0x10f),'components','pages',C(0xee)];if(b[C(0xd2)]&&!c[C(0xe6)](b[C(0xd2)])){Log[C(0x120)](C(0xf8)+b[C(0xd2)]+'\x22'),Log['error'](C(0x11e)+c[C(0x119)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0xf4)]();await this[C(0xd9)][C(0xd5)](d,async()=>{const D=C,f=b['private']??![];let g=paramCase(b[D(0x125)]),h='/'+g;a[D(0xe8)]>0x1&&(h='/'+a[D(0x110)](function(n){return n!=='/';})[D(0x119)]('/')[D(0xdd)]());g=camelCase(g);b[D(0x112)]&&(b[D(0x112)]=camelCase(b[D(0x112)]));const i=b[D(0xd2)]?D(0x106)+b['baseDir']:D(0x11a),j=a119e[D(0x119)](i,b[D(0xde)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x112)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d['engines'][D(0xd4)],'newForm':![],'withTranslations':d[D(0x11d)][D(0xf6)]};f&&(k[D(0x112)]=D(0xdf));let l,m;if(d[D(0x111)][D(0xd4)]==='react'){if(d[D(0x111)][D(0x10c)]===D(0x124)){const r=this[D(0xd9)]['pathFromApp']({'pathParts':['imports',D(0xeb),D(0x11b),D(0xff)]});l=this['fsi'][D(0xe0)]({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0x108)]({'pathParts':[D(0x104),'startup',D(0xd4),D(0xff)]});l=this[D(0xd9)][D(0xe0)]({'pathParts':[s],'config':d});}const n=await this[D(0xd9)][D(0x10a)](l,g);if(n){Log[D(0xe5)](D(0xfb)+g+D(0x105));return;}else{const t=this['fsi']['pathFromProject'](l);Log[D(0x115)]('Adding\x20route\x20'+g+D(0xf7)+l[D(0x10e)](t,''));}const o=this[D(0xd9)]['readFileLines'](l)[D(0xe7)]((u,v)=>{const E=D;return u[E(0xe6)](E(0x11f))?v+0x1:null;})[D(0x110)](u=>u!==null);let p=this[D(0xd9)]['readFileLines'](l)[D(0xe7)]((u,v)=>{const F=D;return u[F(0xe6)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})['filter'](u=>u!==null),q=this[D(0xd9)][D(0xdc)](l)['map']((u,v)=>{const G=D;return u['includes'](G(0x10d))?v+0x1:null;})['filter'](u=>u!==null);p[D(0xe8)]>0x0&&q[D(0xe8)]>0x0&&(k['newForm']=!![]);m=this[D(0xd9)][D(0x117)]({'srcPath':'route/route.js','framework':D(0xf0),'context':k,'config':d});if(p[D(0xe8)]>0x0||q[D(0xe8)]>0x0){this['fsi'][D(0xe1)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0xe8)]>0x0)q=this[D(0xd9)][D(0xdc)](l)['map']((u,v)=>{const H=D;return u[H(0xe6)](H(0x10d))?v+0x1:null;})[D(0x110)](u=>u!==null),this[D(0xd9)][D(0xe1)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':q[0x0]});else p['length']>0x0?(p=this['fsi'][D(0xdc)](l)['map']((u,v)=>{const I=D;return u[I(0xe6)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})[D(0x110)](u=>u!==null),this[D(0xd9)][D(0xe1)]({'filePath':l,'content':'\x09{'+k[D(0xda)]+'}','lineNumber':p[0x0]})):Log['warn'](D(0xea)+l);}else{const u=this['fsi'][D(0xdc)](l)[D(0xe7)](x=>{const J=D;return x[J(0xe6)](J(0xf3));}),v=u[D(0xfe)](!![])>-0x1,w=v?D(0xfd):'</Router>';await this['fsi'][D(0xd8)]({'filePath':l,'content':D(0xd7)+m+D(0xd7),'begin':D(0xd1),'end':w});}}else{if(d[D(0x111)][D(0xd4)]===D(0x121)){const x=this[D(0xd9)][D(0x108)]({'pathParts':[D(0x104),D(0xeb),'client',D(0xff)]});l=this[D(0xd9)][D(0xe0)]({'pathParts':[x],'config':d}),m=this['fsi']['templateContent']({'srcPath':'route/route.js','context':k}),await this[D(0xd9)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x120)](f);}});
1
+ const a120B=a120d;(function(a,b){const y=a120d,c=a();while(!![]){try{const d=-parseInt(y(0xdf))/0x1+-parseInt(y(0xcf))/0x2+parseInt(y(0xfc))/0x3+-parseInt(y(0xe7))/0x4+-parseInt(y(0xd2))/0x5+-parseInt(y(0xe5))/0x6+parseInt(y(0xe1))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa79d8));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a120d;if(c){const e=c[z(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const A=a120d;return a120a['toString']()[A(0xf6)](A(0xe6))['toString']()['constructor'](a120a)[A(0xf6)](A(0xe6));});function a120c(){const K=['map','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','toLowerCase','react','ssr','true','PrivateLayout','const\x20publicRoutes\x20=\x20(<>','length','includes','Route\x20','\x20to\x20','newForm','\x20already\x20exists.\x20\x20Skipping.','startup','layouts','</Router>','injectIntoFile','withTranslations','injectAfterLineNumber','readFileLines','resourceName','\x22*\x22','create','dir','<Router','layout','config','1597136ddmhoQ','maka\x20g:route\x20pages/about','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','4795030aLZlHn','fsi','features','engines','route/route.js','maka\x20g:route\x20todosIndex\x20todos','vanilla','info','error','client','cwd','templateName','const\x20privateRoutes\x20=\x20(<>','1064383reSjKg','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','22482887kAPezp','apply','private','components','1460130oVsHxO','(((.+)+)+)+$','1040608YVimvT','/imports/ui/pages','indexOf','baseDir','pathFromProject','injectAtEndOfFile','fileContainsString','/imports/ui/','root','templateContent','filter','\x0a\x09\x09','routes.js','MasterLayout','pathFromApp','search','maka\x20g:route\x20pages/lists/listIndex\x20lists','imports','rewriteDestinationPathForEngine','url','join','2400525iVUgwM','hooks','Scaffolding\x20for\x20a\x20Route.'];a120c=function(){return K;};return a120c();}a120a();import a120e from'path';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xce;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a120B(0x116)]({'name':'route','aliases':aliases,'validOpts':[a120B(0xe3),a120B(0x119),'only',a120B(0xdc),a120B(0xce),a120B(0xef),'withHook',a120B(0xfa),a120B(0xea)],'usage':a120B(0xd1),'shortDesc':a120B(0xfe),'examples':[a120B(0xd7),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a120B(0x100),a120B(0xf7),a120B(0xd0)]},async function(a,b){const C=a120B;try{const c=[C(0xfd),C(0xe4),'pages',C(0x10e)];if(b[C(0xea)]&&!c[C(0x108)](b[C(0xea)])){Log[C(0xda)]('Invalid\x20directory\x20option\x20\x22'+b[C(0xea)]+'\x22'),Log[C(0xda)]('Valid\x20options\x20are:\x20'+c[C(0xfb)](',\x20'));throw new UsageError();}const d=this[C(0xd3)]['getMakaProjectConfig']();await this[C(0xd3)]['withValue'](d,async()=>{const D=C,f=b[D(0xe3)]??![];let g=paramCase(b[D(0x114)]),h='/'+g;a['length']>0x1&&(h='/'+a[D(0xf1)](function(n){return n!=='/';})[D(0xfb)]('/')[D(0x101)]());g=camelCase(g);b[D(0x119)]&&(b[D(0x119)]=camelCase(b[D(0x119)]));const i=b[D(0xea)]?D(0xee)+b[D(0xea)]:D(0xe8),j=a120e[D(0xfb)](i,b[D(0x117)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x119)]||D(0xf4),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0xd5)][D(0xdb)],'newForm':![],'withTranslations':d[D(0xd4)][D(0x111)]};f&&(k[D(0x119)]=D(0x105));let l,m;if(d[D(0xd5)][D(0xdb)]===D(0x102)){if(d['engines'][D(0x103)]===D(0x104)){const r=this[D(0xd3)][D(0xf5)]({'pathParts':['imports',D(0x10d),'lib',D(0xf3)]});l=this[D(0xd3)]['rewriteDestinationPathForEngine']({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0xf5)]({'pathParts':[D(0xf8),D(0x10d),D(0xdb),D(0xf3)]});l=this[D(0xd3)][D(0xf9)]({'pathParts':[s],'config':d});}const n=await this[D(0xd3)][D(0xed)](l,g);if(n){Log['warn'](D(0x109)+g+D(0x10c));return;}else{const t=this[D(0xd3)][D(0xeb)](l);Log[D(0xd9)]('Adding\x20route\x20'+g+D(0x10a)+l['replace'](t,''));}const o=this[D(0xd3)][D(0x113)](l)[D(0xff)]((u,v)=>{const E=D;return u[E(0x108)](E(0xe0))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0xd3)][D(0x113)](l)[D(0xff)]((u,v)=>{const F=D;return u[F(0x108)]('const\x20publicRoutes\x20=\x20(<>')?v+0x1:null;})['filter'](u=>u!==null),q=this['fsi'][D(0x113)](l)[D(0xff)]((u,v)=>{const G=D;return u['includes'](G(0xde))?v+0x1:null;})[D(0xf1)](u=>u!==null);p[D(0x107)]>0x0&&q[D(0x107)]>0x0&&(k[D(0x10b)]=!![]);m=this['fsi'][D(0xf0)]({'srcPath':D(0xd6),'framework':D(0x102),'context':k,'config':d});if(p['length']>0x0||q[D(0x107)]>0x0){this[D(0xd3)][D(0x112)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x107)]>0x0)q=this[D(0xd3)]['readFileLines'](l)['map']((u,v)=>{const H=D;return u[H(0x108)](H(0xde))?v+0x1:null;})['filter'](u=>u!==null),this[D(0xd3)][D(0x112)]({'filePath':l,'content':'\x09{'+k[D(0xdd)]+'}','lineNumber':q[0x0]});else p[D(0x107)]>0x0?(p=this['fsi']['readFileLines'](l)['map']((u,v)=>{const I=D;return u[I(0x108)](I(0x106))?v+0x1:null;})[D(0xf1)](u=>u!==null),this[D(0xd3)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this['fsi'][D(0x113)](l)['map'](x=>{const J=D;return x['includes'](J(0x115));}),v=u[D(0xe9)](!![])>-0x1,w=v?'<Route':D(0x10f);await this['fsi'][D(0x110)]({'filePath':l,'content':D(0xf2)+m+D(0xf2),'begin':D(0x118),'end':w});}}else{if(d['engines'][D(0xdb)]===D(0xd8)){const x=this[D(0xd3)]['pathFromApp']({'pathParts':[D(0xf8),D(0x10d),D(0xdb),D(0xf3)]});l=this[D(0xd3)][D(0xf9)]({'pathParts':[x],'config':d}),m=this['fsi'][D(0xf0)]({'srcPath':D(0xd6),'context':k}),await this['fsi'][D(0xec)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0xda)](f);}});
@@ -1 +1 @@
1
- function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x16b;let f=c[d];return f;},a120d(a,b);}const a120m=a120d;(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x184))/0x1*(parseInt(j(0x16c))/0x2)+parseInt(j(0x177))/0x3+-parseInt(j(0x172))/0x4*(parseInt(j(0x185))/0x5)+-parseInt(j(0x189))/0x6+-parseInt(j(0x180))/0x7*(-parseInt(j(0x17b))/0x8)+parseInt(j(0x16d))/0x9*(-parseInt(j(0x181))/0xa)+parseInt(j(0x16e))/0xb*(-parseInt(j(0x182))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x89f9a));function a120c(){const p=['resourceName','3rrqTMP','2135UolmFX','type','template','logger','3734766PgCpAW','svc','installNpmPackage','maka\x20{generate,\x20g}:{service}\x20<resource-name>','winston','engines','services','lib','774NtMxkm','1017DKrtUJ','42295CLhOfM','winston\x20setimmediate','pathFromApp','checkNpmPackage','2444XQhLFV','maka\x20g:svc\x20service-logger\x20--type=logger','apply','withValue','search','3384600txFsJK','imports','getMakaProjectConfig','create','88PZfjZL','(((.+)+)+)+$','toString','fsi','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','687477cutRAC','53410TlReAI','492tiCgPU'];a120c=function(){return p;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a[l(0x17d)]()['search'](l(0x17c))[l(0x17d)]()['constructor'](a120a)[l(0x176)](l(0x17c));});a120a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a120m(0x17a)]({'name':'service','aliases':[a120m(0x18a)],'usage':a120m(0x18c),'shortDesc':a120m(0x17f),'requiredOpts':[{'name':a120m(0x186),'values':[a120m(0x188)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a120m(0x173)]},async function(a,b){const n=a120m;try{const c=this['fsi'][n(0x179)]();await this[n(0x17e)][n(0x175)](c,async()=>{const o=n,d=this['fsi']['pathFromApp']({}),f=paramCase(b[o(0x183)]),g={'name':pascalCase(b[o(0x183)]),'fileName':f,'camelCase':camelCase(b[o(0x183)]),'type':b[o(0x186)],'engine':c[o(0x18e)]['js'],'noRename':!![]};let h='js';c[o(0x18e)]['js']==='tsx'&&(h='ts');if(b[o(0x186)]==='logger'){!this['fsi'][o(0x171)](o(0x18d))&&await this[o(0x17e)][o(0x18b)](o(0x16f),{'cwd':d,'msg':'Installing\x20winston'});const i=this['fsi'][o(0x170)]({'pathParts':[o(0x178),'startup',o(0x16b),o(0x18f),f+'.'+h]});await this[o(0x17e)][o(0x187)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log['error'](d);}});
1
+ const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=-parseInt(j(0x122))/0x1*(parseInt(j(0x11c))/0x2)+-parseInt(j(0x124))/0x3*(parseInt(j(0x115))/0x4)+parseInt(j(0x12c))/0x5*(parseInt(j(0x10b))/0x6)+-parseInt(j(0x11d))/0x7*(-parseInt(j(0x125))/0x8)+-parseInt(j(0x129))/0x9*(-parseInt(j(0x123))/0xa)+-parseInt(j(0x10e))/0xb*(-parseInt(j(0x114))/0xc)+-parseInt(j(0x10f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x3d163));const a121b=(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;};}()),a121a=a121b(this,function(){const k=a121d;return a121a['toString']()[k(0x111)](k(0x12b))[k(0x12d)]()[k(0x128)](a121a)[k(0x111)](k(0x12b));});a121a();import{camelCase,paramCase,pascalCase}from'change-case';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x10b;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a121c(){const o=['installNpmPackage','fsi','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','lib','7LSTmgb','69010Kpqfmy','2259yKNkJy','16rtGvTm','tsx','service/logger/logger.js','constructor','9whXhEA','withValue','(((.+)+)+)+$','621910kbIKIZ','toString','winston\x20setimmediate','Installing\x20winston','24GVkmfS','resourceName','maka\x20g:svc\x20service-logger\x20--type=logger','3544145jfqkHy','2402465Dyvwrm','getMakaProjectConfig','search','error','pathFromApp','12QhoMpR','804hSiMWX','logger','engines','imports','startup','type','winston','86314fCbgJP','216454YxzEpY'];a121c=function(){return o;};return a121c();}Generator['create']({'name':'service','aliases':['svc'],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':a121l(0x120),'requiredOpts':[{'name':a121l(0x11a),'values':[a121l(0x116)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a121l(0x10d)]},async function(a,b){const m=a121l;try{const c=this[m(0x11f)][m(0x110)]();await this['fsi'][m(0x12a)](c,async()=>{const n=m,d=this[n(0x11f)][n(0x113)]({}),f=paramCase(b[n(0x10c)]),g={'name':pascalCase(b['resourceName']),'fileName':f,'camelCase':camelCase(b[n(0x10c)]),'type':b['type'],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x117)]['js']===n(0x126)&&(h='ts');if(b[n(0x11a)]===n(0x116)){!this[n(0x11f)]['checkNpmPackage'](n(0x11b))&&await this[n(0x11f)][n(0x11e)](n(0x12e),{'cwd':d,'msg':n(0x12f)});const i=this[n(0x11f)][n(0x113)]({'pathParts':[n(0x118),n(0x119),n(0x121),'services',f+'.'+h]});await this[n(0x11f)]['template']({'srcPath':n(0x127),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x112)](d);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0xdf))/0x1+-parseInt(f(0xdd))/0x2+-parseInt(f(0xe0))/0x3*(parseInt(f(0xe6))/0x4)+-parseInt(f(0xe2))/0x5+parseInt(f(0xe1))/0x6+parseInt(f(0xdc))/0x7+parseInt(f(0xe5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xac926));function a123c(){var i=['18913040LUmBUG','36giAerD','apply','2440641cHeaDH','2119838OrscEf','(((.+)+)+)+$','95013uBRRWj','221478zkEust','2757654FJcpqb','3230910lkyTHr','toString','search'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xe3)]()[h(0xe4)]('(((.+)+)+)+$')[h(0xe3)]()['constructor'](a123a)[h(0xe4)](h(0xde));});a123a();import'./translation.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xdc;var f=c[d];return f;},a123d(a,b);}import'./openssl.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x13a))/0x1+-parseInt(f(0x136))/0x2*(-parseInt(f(0x12c))/0x3)+parseInt(f(0x12b))/0x4*(parseInt(f(0x131))/0x5)+parseInt(f(0x12d))/0x6+parseInt(f(0x135))/0x7*(parseInt(f(0x139))/0x8)+parseInt(f(0x133))/0x9+-parseInt(f(0x137))/0xa*(parseInt(f(0x130))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7f2e7));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x132)](h(0x134))[h(0x12f)]()[h(0x12e)](a122a)[h(0x132)](h(0x134));});a122a();import'./translation.js';import'./openssl.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x12b;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['search','978174FkjbaR','(((.+)+)+)+$','3367EtYbJE','2050yDWTLG','70KReNsy','apply','11688QBjMOM','554690rKOKWf','195076YHOMVS','1923rbluas','6106128BCseyM','constructor','toString','4572931thVomM','40AyZBFc'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a121l=a121d;function a121c(){const o=['(((.+)+)+)+$','16mXhOyT','_keys','constructor','env','getMakaProjectConfig','apply','sslconfig','getGlobalConfig','join','38835236jjmyBt','appName','295566cSvIdn','fsi','6296436VRkbTu','276828ugsXrl','81SOsDnL','Generate\x20a\x20new\x20openssl\x20config\x20file','601290LnFqQQ','search','error','6pdPyzi','toString','1271855LslUxF','maka\x20{generate,\x20g}:sslconfig','withValue','70Wsycfx','service','getAppConfigPath','openssl/openssl.conf','1039816AecIsf'];a121c=function(){return o;};return a121c();}(function(a,b){const i=a121d,c=a();while(!![]){try{const d=-parseInt(i(0x8a))/0x1+-parseInt(i(0x90))/0x2*(-parseInt(i(0x87))/0x3)+-parseInt(i(0x7c))/0x4*(parseInt(i(0x92))/0x5)+-parseInt(i(0x89))/0x6+parseInt(i(0x95))/0x7*(-parseInt(i(0x7a))/0x8)+-parseInt(i(0x8b))/0x9*(-parseInt(i(0x8d))/0xa)+parseInt(i(0x85))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb0b03));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a121d;if(c){const e=c[j(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x91)]()['search'](k(0x7b))['toString']()[k(0x7e)](a121a)[k(0x8e)]('(((.+)+)+)+$');});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x78;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a121e from'path';Generator['create']({'name':a121l(0x82),'usage':a121l(0x93),'shortDesc':a121l(0x8c),'noNeedResource':!![],'requiredOpts':[a121l(0x7f)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a121l;try{const c=await this[m(0x88)][m(0x80)](),d=await this[m(0x88)][m(0x83)](),f=this['fsi'][m(0x78)](b[m(0x7f)]),g=a121e[m(0x84)](f,m(0x7d),'openssl.conf');await this[m(0x88)][m(0x94)](c,async()=>{const n=m,h={'app':d[n(0x86)],'noRename':!![]};await this[n(0x88)]['template']({'srcPath':n(0x79),'destPath':g,'framework':n(0x96),'context':h,'config':c});});}catch(h){Log[m(0x8f)](h);}});
1
+ const a123l=a123d;(function(a,b){const i=a123d,c=a();while(!![]){try{const d=parseInt(i(0x14d))/0x1+parseInt(i(0x148))/0x2+-parseInt(i(0x13c))/0x3+parseInt(i(0x141))/0x4*(parseInt(i(0x137))/0x5)+-parseInt(i(0x139))/0x6+-parseInt(i(0x140))/0x7*(-parseInt(i(0x14e))/0x8)+-parseInt(i(0x134))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x95f35));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a123d;if(c){const e=c[j(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const k=a123d;return a123a[k(0x14b)]()[k(0x135)](k(0x142))[k(0x14b)]()[k(0x138)](a123a)[k(0x135)]('(((.+)+)+)+$');});a123a();import{Generator}from'../../generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x134;let f=c[d];return f;},a123d(a,b);}import{Log}from'../../tools/log/log.class.js';import a123e from'path';function a123c(){const o=['2939960NNvRqU','service','5990508adLkKe','search','getMakaProjectConfig','5923590oIzckO','constructor','4937034lFvPyM','appName','create','2918439EIEDXk','openssl/openssl.conf','env','getAppConfigPath','14PtaeIL','4PURJuR','(((.+)+)+)+$','apply','template','maka\x20g:sslconfig\x20--env\x20dev','join','getGlobalConfig','291792YMvUal','fsi','openssl.conf','toString','_keys','1009857WPlSwU'];a123c=function(){return o;};return a123c();}Generator[a123l(0x13b)]({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noNeedResource':!![],'requiredOpts':[a123l(0x13e)],'examples':[a123l(0x145)],'validOpts':[]},async function(a,b){const m=a123l;try{const c=await this['fsi'][m(0x136)](),d=await this[m(0x149)][m(0x147)](),f=this['fsi'][m(0x13f)](b[m(0x13e)]),g=a123e[m(0x146)](f,m(0x14c),m(0x14a));await this[m(0x149)]['withValue'](c,async()=>{const n=m,h={'app':d[n(0x13a)],'noRename':!![]};await this['fsi'][n(0x144)]({'srcPath':n(0x13d),'destPath':g,'framework':n(0x14f),'context':h,'config':c});});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- const a122z=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x13c;let f=c[d];return f;},a122d(a,b);}(function(a,b){const x=a122d,c=a();while(!![]){try{const d=parseInt(x(0x153))/0x1*(-parseInt(x(0x172))/0x2)+-parseInt(x(0x175))/0x3+-parseInt(x(0x170))/0x4+parseInt(x(0x151))/0x5+parseInt(x(0x178))/0x6+parseInt(x(0x179))/0x7*(parseInt(x(0x143))/0x8)+-parseInt(x(0x140))/0x9*(parseInt(x(0x13f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x322a8));const a122b=(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;};}()),a122a=a122b(this,function(){const y=a122d;return a122a['toString']()[y(0x14f)](y(0x165))[y(0x168)]()[y(0x17a)](a122a)[y(0x14f)](y(0x165));});function a122c(){const C=['search','maka\x20g:translation\x20--lang=de','1687950IAcQSW','i18next','9886MLNYPs','services','export\x20{\x20default\x20as\x20','lang','injectAtEndOfFile','locales','pathFromApp','i18n/index.js','index.js','setProjectConfig','Locale\x20already\x20defined:\x20','findAppDirectory','index.','root','.js','lib','rewriteDestinationPathForEngine','ssr','(((.+)+)+)+$','translations','checkNpmPackage','toString','injectAtBeginningOfFile','engines','withValue','maka\x20{generate,\x20g}:translation','import\x20\x27../lib/services/translations/i18n\x27;\x0a','Generate\x20a\x20new\x20locale\x20translation','client','979528TCkOsQ','features.withTranslations','64nKJISk','grep','import\x20\x27../lib/services/translations/i18n\x27;','411009KCmNre','readFileSync','imports','2375358DrHIDZ','7hVMMhw','constructor','fsi','server','default\x20as\x20','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','1340atfHVb','11403eddtte','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','isFile','2720096xughVy','exit','\x20}\x20from\x20\x27./','i18n/i18n.js','service','create','warn','startup','installNpmPackage','translation','template','error'];a122c=function(){return C;};return a122c();}a122a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a122e from'fs';Generator[a122z(0x148)]({'name':a122z(0x14c),'usage':a122z(0x16c),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a122z(0x156),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a122z(0x16e),'description':a122z(0x13e),'examples':['maka\x20g:translation\x20--lang=en\x20(default)','maka\x20g:translation\x20--lang=fr',a122z(0x150)],'validOpts':[]},async function(a,b){const A=a122z;try{const c=this[A(0x17b)]['getMakaProjectConfig'](),d=this[A(0x17b)]['getGlobalConfig'](),f=this[A(0x17b)][A(0x15e)]();await this[A(0x17b)][A(0x16b)](c,()=>{const B=A;try{!b[B(0x156)]&&(b['lang']='en');!b[B(0x160)]&&!this[B(0x17b)][B(0x167)](B(0x152))&&(Log[B(0x149)](B(0x141)),this[B(0x17b)][B(0x14b)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this[B(0x17b)][B(0x15c)](B(0x171),!![]));const g=this[B(0x17b)][B(0x159)]({'pathParts':[B(0x177),B(0x14a),B(0x16f),B(0x15b)]}),h=this[B(0x17b)][B(0x163)]({'pathParts':[g],'config':c}),i=this[B(0x17b)][B(0x173)](a122e[B(0x176)](h)[B(0x168)](),B(0x174))[0x0]&&!![];if(c['engines'][B(0x164)]==='true'){!i&&this[B(0x17b)][B(0x169)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this[B(0x17b)][B(0x159)]({'pathParts':['imports',B(0x14a),B(0x13c),B(0x15b)]}),u=this[B(0x17b)]['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this['fsi'][B(0x173)](a122e['readFileSync'](u)[B(0x168)](),B(0x174))[0x0]&&!![];!v&&this[B(0x17b)]['injectAtBeginningOfFile']({'filePath':u,'content':B(0x16d)});}else!i&&this[B(0x17b)][B(0x169)]({'filePath':h,'content':B(0x16d)});const j={'app':d['appName'],'config':c},k=this[B(0x17b)][B(0x159)]({'pathParts':['imports',B(0x14a),'lib',B(0x154),'translations','i18n.js']}),l=this[B(0x17b)][B(0x142)](this['fsi'][B(0x163)]({'pathParts':[k],'config':c}));!l&&this[B(0x17b)][B(0x14d)]({'srcPath':B(0x146),'destPath':k,'framework':'service','context':j,'config':c});const m=this[B(0x17b)][B(0x159)]({'pathParts':[B(0x177),'startup','lib','services',B(0x166),B(0x158),b['lang']+B(0x161)]}),n=this[B(0x17b)][B(0x163)]({'pathParts':[m],'config':c}),o=this[B(0x17b)][B(0x142)](n);!o?this[B(0x17b)][B(0x14d)]({'srcPath':'i18n/locales.js','destPath':m,'framework':B(0x147),'context':j,'config':c}):Log[B(0x149)](B(0x15d)+n);const p=this[B(0x17b)][B(0x159)]({'pathParts':['imports',B(0x14a),B(0x162),B(0x154),B(0x166),B(0x158),B(0x15f)+c[B(0x16a)]['js']]}),q=this['fsi'][B(0x163)]({'pathParts':[p],'config':c}),r=this[B(0x17b)][B(0x142)](q);!r&&this[B(0x17b)][B(0x14d)]({'srcPath':B(0x15a),'destPath':p,'framework':B(0x147),'context':j,'config':c});const s=this[B(0x17b)][B(0x173)](a122e[B(0x176)](p)[B(0x168)](),B(0x13d)+b[B(0x156)])[0x0]&&!![];!s?this['fsi'][B(0x157)]({'filePath':p,'content':B(0x155)+b['lang']+B(0x145)+b['lang']+'\x27;'}):Log['warn']('Locale\x20already\x20exported:\x20'+p);}catch(w){Log[B(0x14e)](w),process[B(0x144)](0x1);}});}catch(g){Log[A(0x14e)](g),process[A(0x144)](0x1);}});
1
+ const a124A=a124d;function a124c(){const D=['features.withTranslations','checkNpmPackage','search','installNpmPackage','maka\x20g:translation\x20--lang=de','(((.+)+)+)+$','setProjectConfig','1715742OIgtGv','import\x20\x27../lib/services/translations/i18n\x27;\x0a','isFile','service','i18n/locales.js','Locale\x20already\x20exported:\x20','i18n/index.js','template','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','6448296UvnlnS','apply','getMakaProjectConfig','grep','client','796603XuTbDe','i18n/i18n.js','pathFromApp','index.js','exit','error','export\x20{\x20default\x20as\x20','imports','ssr','155JQrLra','startup','getGlobalConfig','injectAtEndOfFile','fsi','toString','maka\x20{generate,\x20g}:translation','160902chbBRg','constructor','appName','warn','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','translation','lang','4552667LkZXbS','8gAnPru','true','i18n.js','findAppDirectory','356FdVMPw','5890590OhByfM','server','rewriteDestinationPathForEngine','engines','services','lib','\x20}\x20from\x20\x27./','i18next','locales','translations','import\x20\x27../lib/services/translations/i18n\x27;','2QgkYRq','maka\x20g:translation\x20--lang=en\x20(default)','default\x20as\x20','readFileSync','index.','injectAtBeginningOfFile'];a124c=function(){return D;};return a124c();}(function(a,b){const x=a124d,c=a();while(!![]){try{const d=parseInt(x(0x156))/0x1*(-parseInt(x(0x13b))/0x2)+parseInt(x(0x148))/0x3+parseInt(x(0x172))/0x4*(parseInt(x(0x15f))/0x5)+parseInt(x(0x151))/0x6+parseInt(x(0x16d))/0x7+parseInt(x(0x16e))/0x8*(-parseInt(x(0x166))/0x9)+-parseInt(x(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdace6));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x132;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a124d;if(c){const e=c[y(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const z=a124d;return a124a['toString']()[z(0x143)](z(0x146))[z(0x164)]()[z(0x167)](a124a)[z(0x143)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a124e from'fs';Generator['create']({'name':a124A(0x16b),'usage':a124A(0x165),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a124A(0x16c),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a124A(0x16a),'examples':[a124A(0x13c),'maka\x20g:translation\x20--lang=fr',a124A(0x145)],'validOpts':[]},async function(a,b){const B=a124A;try{const c=this[B(0x163)][B(0x153)](),d=this['fsi'][B(0x161)](),f=this[B(0x163)][B(0x171)]();await this[B(0x163)]['withValue'](c,()=>{const C=B;try{!b[C(0x16c)]&&(b[C(0x16c)]='en');!b['root']&&!this[C(0x163)][C(0x142)](C(0x137))&&(Log[C(0x169)](C(0x150)),this['fsi'][C(0x144)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this[C(0x163)][C(0x147)](C(0x141),!![]));const g=this[C(0x163)]['pathFromApp']({'pathParts':[C(0x15d),C(0x160),C(0x155),'index.js']}),h=this[C(0x163)][C(0x132)]({'pathParts':[g],'config':c}),i=this['fsi'][C(0x154)](a124e[C(0x13e)](h)[C(0x164)](),C(0x13a))[0x0]&&!![];if(c[C(0x133)][C(0x15e)]===C(0x16f)){!i&&this[C(0x163)]['injectAtBeginningOfFile']({'filePath':h,'content':C(0x149)});const t=this[C(0x163)]['pathFromApp']({'pathParts':[C(0x15d),C(0x160),C(0x174),C(0x159)]}),u=this['fsi'][C(0x132)]({'pathParts':[t],'config':c}),v=this['fsi'][C(0x154)](a124e['readFileSync'](u)[C(0x164)](),C(0x13a))[0x0]&&!![];!v&&this[C(0x163)][C(0x140)]({'filePath':u,'content':C(0x149)});}else!i&&this[C(0x163)]['injectAtBeginningOfFile']({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const j={'app':d[C(0x168)],'config':c},k=this[C(0x163)][C(0x158)]({'pathParts':[C(0x15d),'startup',C(0x135),C(0x134),'translations',C(0x170)]}),l=this[C(0x163)][C(0x14a)](this[C(0x163)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&this['fsi'][C(0x14f)]({'srcPath':C(0x157),'destPath':k,'framework':C(0x14b),'context':j,'config':c});const m=this[C(0x163)]['pathFromApp']({'pathParts':['imports',C(0x160),C(0x135),'services',C(0x139),C(0x138),b[C(0x16c)]+'.js']}),n=this[C(0x163)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':c}),o=this[C(0x163)][C(0x14a)](n);!o?this[C(0x163)][C(0x14f)]({'srcPath':C(0x14c),'destPath':m,'framework':C(0x14b),'context':j,'config':c}):Log[C(0x169)]('Locale\x20already\x20defined:\x20'+n);const p=this[C(0x163)][C(0x158)]({'pathParts':[C(0x15d),'startup',C(0x135),'services',C(0x139),C(0x138),C(0x13f)+c[C(0x133)]['js']]}),q=this['fsi'][C(0x132)]({'pathParts':[p],'config':c}),r=this['fsi']['isFile'](q);!r&&this['fsi'][C(0x14f)]({'srcPath':C(0x14e),'destPath':p,'framework':C(0x14b),'context':j,'config':c});const s=this['fsi']['grep'](a124e['readFileSync'](p)[C(0x164)](),C(0x13d)+b[C(0x16c)])[0x0]&&!![];!s?this[C(0x163)][C(0x162)]({'filePath':p,'content':C(0x15c)+b['lang']+C(0x136)+b[C(0x16c)]+'\x27;'}):Log[C(0x169)](C(0x14d)+p);}catch(w){Log[C(0x15b)](w),process[C(0x15a)](0x1);}});}catch(g){Log[B(0x15b)](g),process['exit'](0x1);}});
@@ -1 +1 @@
1
- const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=-parseInt(j(0x1c9))/0x1+-parseInt(j(0x1ce))/0x2*(parseInt(j(0x1ca))/0x3)+-parseInt(j(0x1d4))/0x4+-parseInt(j(0x1df))/0x5*(parseInt(j(0x1d2))/0x6)+parseInt(j(0x1de))/0x7*(-parseInt(j(0x1d1))/0x8)+parseInt(j(0x1d3))/0x9*(-parseInt(j(0x1e0))/0xa)+parseInt(j(0x1d8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd2ebc));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a[l(0x1d6)]()[l(0x1cc)](l(0x1d9))[l(0x1d6)]()[l(0x1e2)](a125a)['search'](l(0x1d9));});function a125c(){const n=['parse','1134329vNEvGX','1555eSbEAE','181190SjIKCr','stringify','constructor','totalmem','env','395184NOttPD','15hcthYF','url','search','--max-old-space-size=','220102xsQcKP','camelizeKeys','TOOL_NODE_FLAGS','24URyXkU','8832crlwvf','657JijJyl','2164812qZwEAt','NODE_NO_WARNINGS','toString','slice','50789134dVLfgk','(((.+)+)+)+$','dirname','apply','MAKA_COMMAND_PATH'];a125c=function(){return n;};return a125c();}a125a();import a125e from'minimist';import a125f from'os';import a125g from'path';import a125h from'humps';import a125i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a125m(0x1cb)]),__dirname=a125g[a125m(0x1da)](__filename);global[a125m(0x1dc)]=__dirname;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a125d(a,b);}const total_memory=a125f[a125m(0x1e3)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process[a125m(0x1c8)][a125m(0x1d0)]=a125m(0x1cd)+total_mem_in_mb,process[a125m(0x1c8)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a125m(0x1c8)][a125m(0x1d5)]='1';const argv=a125e(process['argv'][a125m(0x1d7)](0x2)),args=argv['_'],deepCopyArgv=JSON[a125m(0x1dd)](JSON[a125m(0x1e1)](argv));delete deepCopyArgv['_'];const opts=a125h[a125m(0x1cf)](deepCopyArgv);a125i['run'](args,opts);
1
+ function a125c(){const n=['env','parse','toString','34547uDIVgS','342PlHBaF','221947UgVaKC','search','30915696OJVXCr','500YgKzlS','url','5359941XAQhlJ','MAKA_COMMAND_PATH','(((.+)+)+)+$','2250iZhgRF','slice','BROWSERSLIST_IGNORE_OLD_DATA','500otlIvh','totalmem','stringify','TOOL_NODE_FLAGS','argv','26hCZbPv','38690iKepED','apply','13096BQfZvy','run','2303AkIMiq'];a125c=function(){return n;};return a125c();}const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=-parseInt(j(0x1ec))/0x1*(parseInt(j(0x1e3))/0x2)+-parseInt(j(0x1db))/0x3*(-parseInt(j(0x1f1))/0x4)+-parseInt(j(0x1e4))/0x5*(-parseInt(j(0x1ed))/0x6)+-parseInt(j(0x1e8))/0x7*(parseInt(j(0x1e6))/0x8)+-parseInt(j(0x1d8))/0x9+-parseInt(j(0x1de))/0xa*(parseInt(j(0x1ee))/0xb)+parseInt(j(0x1f0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7eb81));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a[l(0x1eb)]()[l(0x1ef)](l(0x1da))['toString']()['constructor'](a125a)[l(0x1ef)](l(0x1da));});a125a();import a125e from'minimist';import a125f from'os';import a125g from'path';import a125h from'humps';import a125i from'./commands/maka.cmd.js';import'./commands/_index.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a125d(a,b);}import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a125m(0x1d7)]),__dirname=a125g['dirname'](__filename);global[a125m(0x1d9)]=__dirname;const total_memory=a125f[a125m(0x1df)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math['floor'](total_mem_in_mb),process['env'][a125m(0x1e1)]='--max-old-space-size='+total_mem_in_mb,process[a125m(0x1e9)][a125m(0x1dd)]='1',process['env']['NODE_NO_WARNINGS']='1';const argv=a125e(process[a125m(0x1e2)][a125m(0x1dc)](0x2)),args=argv['_'],deepCopyArgv=JSON[a125m(0x1ea)](JSON[a125m(0x1e0)](argv));delete deepCopyArgv['_'];const opts=a125h['camelizeKeys'](deepCopyArgv);a125i[a125m(0x1e7)](args,opts);
@@ -1,11 +1,11 @@
1
- import { Meteor } from 'meteor/meteor';
2
- <% if (api === 'rest') { %>import { Restivus } from 'meteor/maka:rest';<% } else { %>import { Restivus } from 'meteor/nimble:restivus';<% } %>
3
- import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
4
-
5
- const <%= name %>ApiV1 = new Restivus({
6
- version: 'v1',
7
- useDefaultAuth: false,
8
- prettyJson: Meteor.isDevelopment
9
- });
10
-
11
- <%= name %>ApiV1.addCollection(<%= name %>);
1
+ import { Meteor } from 'meteor/meteor';
2
+ <% if (api === 'rest') { %>import { Restivus } from 'meteor/maka:rest';<% } else { %>import { Restivus } from 'meteor/nimble:restivus';<% } %>
3
+ import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
4
+
5
+ const <%= name %>ApiV1 = new Restivus({
6
+ version: 'v1',
7
+ useDefaultAuth: false,
8
+ prettyJson: Meteor.isDevelopment
9
+ });
10
+
11
+ <%= name %>ApiV1.addCollection(<%= name %>);
@@ -1,11 +1,11 @@
1
- import { Meteor } from 'meteor/meteor';
2
- <% if (api === 'rest') { %>import { Restivus } from 'meteor/maka:rest';<% } else { %>import { Restivus } from 'meteor/nimble:restivus';<% } %>
3
- import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
4
-
5
- const <%= name %>ApiV1 = new Restivus({
6
- version: 'v1',
7
- useDefaultAuth: false,
8
- prettyJson: Meteor.isDevelopment
9
- });
10
-
11
- <%= name %>ApiV1.addCollection(<%= name %>);
1
+ import { Meteor } from 'meteor/meteor';
2
+ <% if (api === 'rest') { %>import { Restivus } from 'meteor/maka:rest';<% } else { %>import { Restivus } from 'meteor/nimble:restivus';<% } %>
3
+ import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
4
+
5
+ const <%= name %>ApiV1 = new Restivus({
6
+ version: 'v1',
7
+ useDefaultAuth: false,
8
+ prettyJson: Meteor.isDevelopment
9
+ });
10
+
11
+ <%= name %>ApiV1.addCollection(<%= name %>);
@@ -1,86 +1,86 @@
1
- import { Mongo } from 'meteor/mongo';
2
- import { check, Match } from 'meteor/maka:check';
3
-
4
- /**
5
- * @memberof Server.<%= name %>
6
- * @extends Mongo.Collection
7
- */
8
- class <%= name %>Collection extends Mongo.Collection {
9
- constructor() {
10
- super('<%= name %>');
11
-
12
- this.publicFields = {};
13
- this.privateFields = {};
14
- this.allow({
15
- insert() { return false; },
16
- update() { return false; },
17
- remove() { return false; },
18
- });
19
-
20
- this.insertSchema = {};
21
- this.updateSchema = {}; // Note: You'll likely want all properties to be Match.Optional()
22
- }
23
-
24
- find(selector = {}, modifier) {
25
- return super.find(selector, modifier);
26
- }
27
-
28
- findOne(selector = {}, modifier) {
29
- return super.findOne(selector, modifier);
30
- }
31
-
32
- /**
33
- * @public
34
- * @param { object } doc The document to inserted.
35
- * @param { object } callback The callback from invocation.
36
- * @returns { string } The _id of the new doc.
37
- */
38
- insert(doc) {
39
- if (this._hasSchema()) {
40
- check(doc, this.insertSchema, 'while validating mongo insert against schema');
41
- }
42
- return super.insert(doc);
43
- }
44
-
45
- /**
46
- * @public
47
- * @param { object | string } selector The mongodb selector.
48
- * @param { object } modifier The mongodb modifier.
49
- * @returns { string } The _id of the document updated.
50
- * */
51
- update(selector, modifier) {
52
- if (this._hasSchema()) {
53
- check(modifier.$set, this.updateSchema, 'while validating mongo update against schema');
54
- }
55
- return super.update(selector, modifier);
56
- }
57
-
58
- /**
59
- * @public
60
- * @param { object | string } selector The mongodb selector.
61
- * @returns { string } The _id of the document being removed.
62
- */
63
- remove(selector) {
64
- return super.remove(selector);
65
- }
66
-
67
- // Helper method
68
- _hasSchema = () => {
69
- const { insertSchema, updateSchema } = this;
70
- if (insertSchema) {
71
- return (Object.keys(insertSchema).length !== 0
72
- && insertSchema.constructor === Object);
73
- }
74
- if (updateSchema) {
75
- return (Object.keys(updateSchema).length !== 0
76
- && updateSchema.constructor === Object);
77
- }
78
- }
79
- }
80
-
81
- /**
82
- * @memberof Server.<%= name %>
83
- * @member <%= name %>
84
- */
85
- const <%= name %> = new <%= name %>Collection();
86
- export default <%= name %>;
1
+ import { Mongo } from 'meteor/mongo';
2
+ import { check, Match } from 'meteor/maka:check';
3
+
4
+ /**
5
+ * @memberof Server.<%= name %>
6
+ * @extends Mongo.Collection
7
+ */
8
+ class <%= name %>Collection extends Mongo.Collection {
9
+ constructor() {
10
+ super('<%= name %>');
11
+
12
+ this.publicFields = {};
13
+ this.privateFields = {};
14
+ this.allow({
15
+ insert() { return false; },
16
+ update() { return false; },
17
+ remove() { return false; },
18
+ });
19
+
20
+ this.insertSchema = {};
21
+ this.updateSchema = {}; // Note: You'll likely want all properties to be Match.Optional()
22
+ }
23
+
24
+ find(selector = {}, modifier) {
25
+ return super.find(selector, modifier);
26
+ }
27
+
28
+ findOne(selector = {}, modifier) {
29
+ return super.findOne(selector, modifier);
30
+ }
31
+
32
+ /**
33
+ * @public
34
+ * @param { object } doc The document to inserted.
35
+ * @param { object } callback The callback from invocation.
36
+ * @returns { string } The _id of the new doc.
37
+ */
38
+ insert(doc) {
39
+ if (this._hasSchema()) {
40
+ check(doc, this.insertSchema, 'while validating mongo insert against schema');
41
+ }
42
+ return super.insert(doc);
43
+ }
44
+
45
+ /**
46
+ * @public
47
+ * @param { object | string } selector The mongodb selector.
48
+ * @param { object } modifier The mongodb modifier.
49
+ * @returns { string } The _id of the document updated.
50
+ * */
51
+ update(selector, modifier) {
52
+ if (this._hasSchema()) {
53
+ check(modifier.$set, this.updateSchema, 'while validating mongo update against schema');
54
+ }
55
+ return super.update(selector, modifier);
56
+ }
57
+
58
+ /**
59
+ * @public
60
+ * @param { object | string } selector The mongodb selector.
61
+ * @returns { string } The _id of the document being removed.
62
+ */
63
+ remove(selector) {
64
+ return super.remove(selector);
65
+ }
66
+
67
+ // Helper method
68
+ _hasSchema = () => {
69
+ const { insertSchema, updateSchema } = this;
70
+ if (insertSchema) {
71
+ return (Object.keys(insertSchema).length !== 0
72
+ && insertSchema.constructor === Object);
73
+ }
74
+ if (updateSchema) {
75
+ return (Object.keys(updateSchema).length !== 0
76
+ && updateSchema.constructor === Object);
77
+ }
78
+ }
79
+ }
80
+
81
+ /**
82
+ * @memberof Server.<%= name %>
83
+ * @member <%= name %>
84
+ */
85
+ const <%= name %> = new <%= name %>Collection();
86
+ export default <%= name %>;
@@ -1,94 +1,94 @@
1
- import { Mongo } from 'meteor/mongo';
2
- import { check, Match } from 'meteor/maka:check';
3
-
4
- interface <%=name%>Collection {
5
- publicFields: any;
6
- privateFields: any;
7
- deny: any,
8
- schema: any;
9
- }
10
-
11
- /**
12
- * @memberof Server.<%= name %>
13
- * @extends Mongo.Collection
14
- */
15
- class <%= name %>Collection extends Mongo.Collection<<%=name%>Collection> {
16
- constructor() {
17
- super('<%= name %>');
18
-
19
- this.publicFields = {};
20
- this.privateFields = {};
21
- this.allow({
22
- insert() { return false; },
23
- update() { return false; },
24
- remove() { return false; },
25
- });
26
-
27
- this.insertSchema = {};
28
- this.updateSchema = {}; // Note: You'll likely want all properties to be Match.Optional()
29
- }
30
-
31
- find(selector:any = {}, modifier:object) {
32
- return super.find(selector, modifier);
33
- }
34
-
35
- findOne(selector:any = {}, modifier:object) {
36
- return super.findOne(selector, modifier);
37
- }
38
-
39
- /**
40
- * @public
41
- * @param { object } doc The document to inserted.
42
- * @param { object } callback The callback from invocation.
43
- * @returns { string } The _id of the new doc.
44
- */
45
- insert(doc:any) {
46
- if (this._hasSchema()) {
47
- check(doc, this.insertSchema, 'while validating mongo insert against schema');
48
- }
49
- return super.insert(doc);
50
- }
51
-
52
- /**
53
- * @public
54
- * @param { object | string } selector The mongodb selector.
55
- * @param { object } modifier The mongodb modifier.
56
- * @returns { string } The _id of the document updated.
57
- * */
58
- update(selector:any, modifier:UpdateModifier) {
59
- if (this._hasSchema()) {
60
- check(modifier.$set, this.updateSchema, 'while validating mongo update against schema');
61
- }
62
-
63
- return super.update(selector, modifier);
64
- }
65
-
66
- /**
67
- * @public
68
- * @param { object | string } selector The mongodb selector.
69
- * @returns { string } The _id of the document being removed.
70
- */
71
- remove(selector:any) {
72
- return super.remove(selector);
73
- }
74
-
75
- // Helper method
76
- _hasSchema = () => {
77
- const { insertSchema, updateSchema } = this;
78
- if (insertSchema) {
79
- return (Object.keys(insertSchema).length !== 0
80
- && insertSchema.constructor === Object);
81
- }
82
- if (updateSchema) {
83
- return (Object.keys(updateSchema).length !== 0
84
- && updateSchema.constructor === Object);
85
- }
86
- }
87
- }
88
-
89
- /**
90
- * @memberof Server.<%= name %>
91
- * @member <%= name %>
92
- */
93
- const <%= name %> = new <%= name %>Collection();
94
- export default <%= name %>;
1
+ import { Mongo } from 'meteor/mongo';
2
+ import { check, Match } from 'meteor/maka:check';
3
+
4
+ interface <%=name%>Collection {
5
+ publicFields: any;
6
+ privateFields: any;
7
+ deny: any,
8
+ schema: any;
9
+ }
10
+
11
+ /**
12
+ * @memberof Server.<%= name %>
13
+ * @extends Mongo.Collection
14
+ */
15
+ class <%= name %>Collection extends Mongo.Collection<<%=name%>Collection> {
16
+ constructor() {
17
+ super('<%= name %>');
18
+
19
+ this.publicFields = {};
20
+ this.privateFields = {};
21
+ this.allow({
22
+ insert() { return false; },
23
+ update() { return false; },
24
+ remove() { return false; },
25
+ });
26
+
27
+ this.insertSchema = {};
28
+ this.updateSchema = {}; // Note: You'll likely want all properties to be Match.Optional()
29
+ }
30
+
31
+ find(selector:any = {}, modifier:object) {
32
+ return super.find(selector, modifier);
33
+ }
34
+
35
+ findOne(selector:any = {}, modifier:object) {
36
+ return super.findOne(selector, modifier);
37
+ }
38
+
39
+ /**
40
+ * @public
41
+ * @param { object } doc The document to inserted.
42
+ * @param { object } callback The callback from invocation.
43
+ * @returns { string } The _id of the new doc.
44
+ */
45
+ insert(doc:any) {
46
+ if (this._hasSchema()) {
47
+ check(doc, this.insertSchema, 'while validating mongo insert against schema');
48
+ }
49
+ return super.insert(doc);
50
+ }
51
+
52
+ /**
53
+ * @public
54
+ * @param { object | string } selector The mongodb selector.
55
+ * @param { object } modifier The mongodb modifier.
56
+ * @returns { string } The _id of the document updated.
57
+ * */
58
+ update(selector:any, modifier:UpdateModifier) {
59
+ if (this._hasSchema()) {
60
+ check(modifier.$set, this.updateSchema, 'while validating mongo update against schema');
61
+ }
62
+
63
+ return super.update(selector, modifier);
64
+ }
65
+
66
+ /**
67
+ * @public
68
+ * @param { object | string } selector The mongodb selector.
69
+ * @returns { string } The _id of the document being removed.
70
+ */
71
+ remove(selector:any) {
72
+ return super.remove(selector);
73
+ }
74
+
75
+ // Helper method
76
+ _hasSchema = () => {
77
+ const { insertSchema, updateSchema } = this;
78
+ if (insertSchema) {
79
+ return (Object.keys(insertSchema).length !== 0
80
+ && insertSchema.constructor === Object);
81
+ }
82
+ if (updateSchema) {
83
+ return (Object.keys(updateSchema).length !== 0
84
+ && updateSchema.constructor === Object);
85
+ }
86
+ }
87
+ }
88
+
89
+ /**
90
+ * @memberof Server.<%= name %>
91
+ * @member <%= name %>
92
+ */
93
+ const <%= name %> = new <%= name %>Collection();
94
+ export default <%= name %>;
@@ -1,23 +1,23 @@
1
- import { Meteor } from 'meteor/meteor';
2
- import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
3
-
4
- /**
5
- * If the <%= name %> collection is empty on server start, and you'd like to
6
- * populate it with some data here is a handy spot.
7
- *
8
- * Example:
9
- * ```
10
- * if (<%= name %>.find({}).count() === 0) {
11
- * const data = JSON.parse(Assets.getText('<%= fileName %>.json')) || [ {} ];
12
- * data.forEach((datum) => {
13
- * <%= name %>.insert(datum);
14
- * });
15
- * }
16
- *
17
- * ```
18
- * @memberof Server.<%= name %>
19
- * @member Fixtures
20
- */
21
- Meteor.startup(() => {
22
-
23
- });
1
+ import { Meteor } from 'meteor/meteor';
2
+ import <%= name %> from '/imports/startup/server/collections/<%= fileName %>';
3
+
4
+ /**
5
+ * If the <%= name %> collection is empty on server start, and you'd like to
6
+ * populate it with some data here is a handy spot.
7
+ *
8
+ * Example:
9
+ * ```
10
+ * if (<%= name %>.find({}).count() === 0) {
11
+ * const data = JSON.parse(Assets.getText('<%= fileName %>.json')) || [ {} ];
12
+ * data.forEach((datum) => {
13
+ * <%= name %>.insert(datum);
14
+ * });
15
+ * }
16
+ *
17
+ * ```
18
+ * @memberof Server.<%= name %>
19
+ * @member Fixtures
20
+ */
21
+ Meteor.startup(() => {
22
+
23
+ });