@maka/maka-cli 5.1.16 → 5.1.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (645) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -1
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/uninstall.js +1 -1
  105. package/bundle/obf/src/commands/version/_index.js +1 -1
  106. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
  107. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
  108. package/bundle/obf/src/commands/version/version.js +1 -1
  109. package/bundle/obf/src/error.js +1 -1
  110. package/bundle/obf/src/exec.js +1 -1
  111. package/bundle/obf/src/generator.js +1 -1
  112. package/bundle/obf/src/generators/_index.js +1 -1
  113. package/bundle/obf/src/generators/api.js +1 -1
  114. package/bundle/obf/src/generators/aws/_index.js +1 -1
  115. package/bundle/obf/src/generators/aws/aws.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  118. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  119. package/bundle/obf/src/generators/collection.js +1 -1
  120. package/bundle/obf/src/generators/component.js +1 -1
  121. package/bundle/obf/src/generators/config.js +1 -1
  122. package/bundle/obf/src/generators/dbc.js +1 -1
  123. package/bundle/obf/src/generators/dockerfile.js +1 -1
  124. package/bundle/obf/src/generators/hook.js +1 -1
  125. package/bundle/obf/src/generators/kits/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  132. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/kit.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  137. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  138. package/bundle/obf/src/generators/layout.js +1 -1
  139. package/bundle/obf/src/generators/maka.gen.js +1 -1
  140. package/bundle/obf/src/generators/methods.js +1 -1
  141. package/bundle/obf/src/generators/package.js +1 -1
  142. package/bundle/obf/src/generators/page.js +1 -1
  143. package/bundle/obf/src/generators/publish.js +1 -1
  144. package/bundle/obf/src/generators/route.js +1 -1
  145. package/bundle/obf/src/generators/service.js +1 -1
  146. package/bundle/obf/src/generators/services/_index.js +1 -1
  147. package/bundle/obf/src/generators/services/openssl.js +1 -1
  148. package/bundle/obf/src/generators/services/translation.js +1 -1
  149. package/bundle/obf/src/maka.js +1 -1
  150. package/bundle/obf/src/templates/react/test/test.js +1 -0
  151. package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
  152. package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
  153. package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
  154. package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
  155. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
  156. package/bundle/obf/src/tool.js +1 -1
  157. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  158. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  159. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  161. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  162. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  164. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/https/https.class.js +1 -1
  166. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  167. package/bundle/obf/src/tools/log/log.class.js +1 -1
  168. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  170. package/bundle/obf/src/tools/options/options.class.js +1 -1
  171. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  172. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  173. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  174. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  175. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  176. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  177. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  178. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  179. package/package.json +1 -1
  180. package/test/integration/default.test.js +84 -0
  181. package/test/integration/fixtures/blaze/.maka/config.json +30 -0
  182. package/test/integration/fixtures/blaze/.tern-project +17 -0
  183. package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
  184. package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
  185. package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
  186. package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
  187. package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
  188. package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
  189. package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
  190. package/test/integration/fixtures/blaze/app/client/body.html +2 -0
  191. package/test/integration/fixtures/blaze/app/client/head.html +8 -0
  192. package/test/integration/fixtures/blaze/app/client/main.js +1 -0
  193. package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
  194. package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
  195. package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
  196. package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
  197. package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
  198. package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
  199. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  200. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
  201. package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
  202. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
  203. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
  204. package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
  205. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
  206. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
  207. package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
  208. package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
  209. package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
  210. package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
  211. package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
  212. package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
  213. package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
  214. package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
  215. package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
  216. package/test/integration/fixtures/blaze/app/server/main.js +1 -0
  217. package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
  218. package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
  219. package/test/integration/fixtures/blaze/build/README +4 -0
  220. package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
  221. package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
  222. package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
  223. package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
  224. package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
  225. package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
  226. package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
  227. package/test/integration/fixtures/react/.maka/config.json +30 -0
  228. package/test/integration/fixtures/react/.tern-project +17 -0
  229. package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
  230. package/test/integration/fixtures/react/app/.meteor/.id +7 -0
  231. package/test/integration/fixtures/react/app/.meteor/packages +21 -0
  232. package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
  233. package/test/integration/fixtures/react/app/.meteor/release +1 -0
  234. package/test/integration/fixtures/react/app/.meteor/versions +78 -0
  235. package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
  236. package/test/integration/fixtures/react/app/client/body.html +3 -0
  237. package/test/integration/fixtures/react/app/client/head.html +8 -0
  238. package/test/integration/fixtures/react/app/client/main.jsx +1 -0
  239. package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
  240. package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
  241. package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
  242. package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
  243. package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
  244. package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
  245. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  246. package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  247. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
  248. package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
  249. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
  250. package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  251. package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
  252. package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
  253. package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
  254. package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
  255. package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
  256. package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
  257. package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
  258. package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
  259. package/test/integration/fixtures/react/app/server/main.jsx +1 -0
  260. package/test/integration/fixtures/react/bin/.gitkeep +1 -0
  261. package/test/integration/fixtures/react/build/.gitkeep +1 -0
  262. package/test/integration/fixtures/react/build/README +4 -0
  263. package/test/integration/fixtures/react/config/.gitkeep +1 -0
  264. package/test/integration/fixtures/react/config/development/env.sh +9 -0
  265. package/test/integration/fixtures/react/config/development/settings.json +6 -0
  266. package/test/integration/fixtures/react/config/production/env.sh +9 -0
  267. package/test/integration/fixtures/react/config/production/settings.json +6 -0
  268. package/test/integration/fixtures/react/config/staging/env.sh +9 -0
  269. package/test/integration/fixtures/react/config/staging/settings.json +6 -0
  270. package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
  271. package/test/integration/fixtures/react-apollo/.tern-project +17 -0
  272. package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
  273. package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
  274. package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
  275. package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
  276. package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
  277. package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
  278. package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
  279. package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
  280. package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
  281. package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
  282. package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
  283. package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
  284. package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
  285. package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
  286. package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
  287. package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
  288. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  289. package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  290. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
  291. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
  292. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  293. package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
  294. package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
  295. package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
  296. package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
  297. package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
  298. package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
  299. package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
  300. package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
  301. package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
  302. package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
  303. package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
  304. package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
  305. package/test/integration/fixtures/react-apollo/build/README +4 -0
  306. package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
  307. package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
  308. package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
  309. package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
  310. package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
  311. package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
  312. package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
  313. package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
  314. package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
  315. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  316. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
  317. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
  318. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
  319. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
  320. package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
  321. package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
  322. package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
  323. package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
  324. package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
  325. package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
  326. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  327. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  328. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  329. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  330. package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  331. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  332. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  333. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  334. package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  335. package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
  336. package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
  337. package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
  338. package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
  339. package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
  340. package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
  341. package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
  342. package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
  343. package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
  344. package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
  345. package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
  346. package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
  347. package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
  348. package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
  349. package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
  350. package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
  351. package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
  352. package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
  353. package/test/integration/fixtures/react-material/.maka/config.json +30 -0
  354. package/test/integration/fixtures/react-material/.tern-project +17 -0
  355. package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
  356. package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
  357. package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
  358. package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
  359. package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
  360. package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
  361. package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
  362. package/test/integration/fixtures/react-material/app/client/body.html +3 -0
  363. package/test/integration/fixtures/react-material/app/client/head.html +8 -0
  364. package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
  365. package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
  366. package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
  367. package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
  368. package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
  369. package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
  370. package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
  371. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  372. package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
  373. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
  374. package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
  375. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  376. package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
  377. package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
  378. package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
  379. package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
  380. package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
  381. package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
  382. package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
  383. package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
  384. package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
  385. package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
  386. package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
  387. package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
  388. package/test/integration/fixtures/react-material/build/README +4 -0
  389. package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
  390. package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
  391. package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
  392. package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
  393. package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
  394. package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
  395. package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
  396. package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
  397. package/test/integration/fixtures/react-ssr/.tern-project +17 -0
  398. package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
  399. package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
  400. package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
  401. package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
  402. package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
  403. package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
  404. package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
  405. package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
  406. package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
  407. package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
  408. package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
  409. package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
  410. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
  411. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
  412. package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
  413. package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
  414. package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  415. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
  416. package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
  417. package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
  418. package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
  419. package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
  420. package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
  421. package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
  422. package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
  423. package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
  424. package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
  425. package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
  426. package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
  427. package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
  428. package/test/integration/fixtures/react-ssr/build/README +4 -0
  429. package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
  430. package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
  431. package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
  432. package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
  433. package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
  434. package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
  435. package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
  436. package/test/integration/fixtures/reflux/.maka/config.json +30 -0
  437. package/test/integration/fixtures/reflux/.tern-project +17 -0
  438. package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
  439. package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
  440. package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
  441. package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
  442. package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
  443. package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
  444. package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
  445. package/test/integration/fixtures/reflux/app/client/body.html +3 -0
  446. package/test/integration/fixtures/reflux/app/client/head.html +8 -0
  447. package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
  448. package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
  449. package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
  450. package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
  451. package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
  452. package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
  453. package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
  454. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  455. package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  456. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
  457. package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
  458. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
  459. package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  460. package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
  461. package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
  462. package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
  463. package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
  464. package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
  465. package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
  466. package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
  467. package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
  468. package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
  469. package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
  470. package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
  471. package/test/integration/fixtures/reflux/build/README +4 -0
  472. package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
  473. package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
  474. package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
  475. package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
  476. package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
  477. package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
  478. package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
  479. package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
  480. package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
  481. package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
  482. package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
  483. package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
  484. package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
  485. package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
  486. package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
  487. package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
  488. package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
  489. package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
  490. package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
  491. package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
  492. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
  493. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
  494. package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
  495. package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
  496. package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
  497. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  498. package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  499. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
  500. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
  501. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
  502. package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
  503. package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
  504. package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
  505. package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
  506. package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
  507. package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
  508. package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
  509. package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
  510. package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
  511. package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
  512. package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
  513. package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
  514. package/test/integration/fixtures/reflux-apollo/build/README +4 -0
  515. package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
  516. package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
  517. package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
  518. package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
  519. package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
  520. package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
  521. package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
  522. package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
  523. package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
  524. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
  525. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
  526. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
  527. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
  528. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
  529. package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
  530. package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
  531. package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
  532. package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
  533. package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
  534. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
  535. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
  536. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
  537. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
  538. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
  539. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
  540. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
  541. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
  542. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  543. package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
  544. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
  545. package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
  546. package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
  547. package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
  548. package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
  549. package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
  550. package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
  551. package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
  552. package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
  553. package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
  554. package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
  555. package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
  556. package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
  557. package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
  558. package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
  559. package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
  560. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
  561. package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
  562. package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
  563. package/test/integration/fixtures/reflux-material/.tern-project +17 -0
  564. package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
  565. package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
  566. package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
  567. package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
  568. package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
  569. package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
  570. package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
  571. package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
  572. package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
  573. package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
  574. package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
  575. package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
  576. package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
  577. package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
  578. package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
  579. package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
  580. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
  581. package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
  582. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
  583. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
  584. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
  585. package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
  586. package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
  587. package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
  588. package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
  589. package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
  590. package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
  591. package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
  592. package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
  593. package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
  594. package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
  595. package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
  596. package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
  597. package/test/integration/fixtures/reflux-material/build/README +4 -0
  598. package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
  599. package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
  600. package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
  601. package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
  602. package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
  603. package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
  604. package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
  605. package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
  606. package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
  607. package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
  608. package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
  609. package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
  610. package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
  611. package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
  612. package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
  613. package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
  614. package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
  615. package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
  616. package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
  617. package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
  618. package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
  619. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
  620. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
  621. package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
  622. package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
  623. package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
  624. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
  625. package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
  626. package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
  627. package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
  628. package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
  629. package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
  630. package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
  631. package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
  632. package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
  633. package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
  634. package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
  635. package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
  636. package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
  637. package/test/integration/fixtures/reflux-ssr/build/README +4 -0
  638. package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
  639. package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
  640. package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
  641. package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
  642. package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
  643. package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
  644. package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
  645. package/test/integration/integration_helpers.js +60 -0
@@ -1 +1 @@
1
- const a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d=-parseInt(k(0xfb))/0x1*(parseInt(k(0xf7))/0x2)+parseInt(k(0x108))/0x3+parseInt(k(0xe3))/0x4*(-parseInt(k(0xe9))/0x5)+parseInt(k(0x107))/0x6*(parseInt(k(0xf4))/0x7)+-parseInt(k(0xe5))/0x8*(parseInt(k(0xe6))/0x9)+-parseInt(k(0x109))/0xa+parseInt(k(0x10a))/0xb*(parseInt(k(0xea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x5275d));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0x10c)]()['search'](m(0x104))[m(0x10c)]()[m(0xf1)](a118a)[m(0xf6)]('(((.+)+)+)+$');});function a118c(){const p=['collections','projectConfig','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','col','engines','\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','(((.+)+)+)+$','imports','import\x20\x27./collections','1873260eyzdSD','1626570WjaBiw','82680CXhVym','234487QqTFSD','none','toString','error','injectAtEndOfFile','maka\x20g:collection\x20todos','1925884aToFbB','pathFromApp','8YSaNnL','5897169EOwujC','resourceName','test','5JJNyzC','732CuMXmH','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','pkg','collection/collection.js','tsx','collection','apply','constructor','scaffold','template','7zWFNBG','dir','search','19200tEbySa','startup','appPathPrefix','mongo','70wbtaXh','.app-tests.','where'];a118c=function(){return p;};return a118c();}a118a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xe3;let f=c[d];return f;},a118d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a118n(0xef),'aliases':[a118n(0x101)],'usage':a118n(0x100),'checkWhere':!![],'shortDesc':a118n(0xeb),'validOpts':[a118n(0xf5),a118n(0xfd)],'mustBeInMakaProject':!![],'description':a118n(0x103),'examples':[a118n(0x10f)]},async function(a,b){const o=a118n;try{const c=this[o(0xff)],d=b[o(0xf5)]?'/'+b[o(0xf5)]+'/':'/',f=kebabCase(b[o(0xe7)]),g={'name':pascalCase(b[o(0xe7)]),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[o(0xfd)],'test':c[o(0x102)]['test'],'noRename':!![]};let h='js';c[o(0x102)]['js']===o(0xee)&&(h='ts');await this[o(0xec)]['checkMeteorPackage']([o(0xfa)],{'shouldInstall':!![]}),await this[o(0xf2)]['template']({'srcPath':o(0xed),'destPath':this[o(0xf2)][o(0xe4)]({'pathParts':[o(0x105),o(0xf8),b[o(0xf9)],o(0xfe),d,f+'.'+h]}),'context':g,'config':c});c[o(0x102)][o(0xe8)]!==o(0x10b)&&await this['scaffold'][o(0xf3)]({'srcPath':'collection/tests.js','destPath':this[o(0xf2)]['pathFromApp']({'pathParts':['imports',o(0xf8),b[o(0xf9)],o(0xfe),d,f+o(0xfc)+h]}),'context':g,'config':c});const i=this[o(0xf2)][o(0xe4)]({'pathParts':['imports',o(0xf8),b[o(0xf9)],'index.'+c['engines']['js']]});await this[o(0xf2)][o(0x10e)]({'filePath':i,'content':o(0x106)+d+f+'\x27;'});}catch(j){Log[o(0x10d)](j);}});
1
+ const a118n=a118d;function a118c(){const p=['projectConfig','685UfjwWp','22578NLsBbF','index.','\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','appPathPrefix','pathFromApp','apply','template','3mzQDpv','112760UCZDYz','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','create','294194mztyBD','checkMeteorPackage','toString','1826888FozEzm','collection/tests.js','mongo','pkg','.app-tests.','imports','collection/collection.js','engines','(((.+)+)+)+$','143CaYLmE','startup','dir','search','resourceName','scaffold','import\x20\x27./collections','test','col','tsx','812316vbOcvD','collection','error','3176901ExsACl','175xrCrvL','where','790740yNEqwO','maka\x20g:collection\x20todos'];a118c=function(){return p;};return a118c();}(function(a,b){const k=a118d,c=a();while(!![]){try{const d=-parseInt(k(0xd6))/0x1*(-parseInt(k(0xda))/0x2)+-parseInt(k(0xc5))/0x3+parseInt(k(0xdd))/0x4+parseInt(k(0xce))/0x5*(-parseInt(k(0xcf))/0x6)+-parseInt(k(0xc9))/0x7*(parseInt(k(0xd7))/0x8)+-parseInt(k(0xc8))/0x9+-parseInt(k(0xcb))/0xa*(-parseInt(k(0xbb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x6a084));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0xdc)]()[m(0xbe)](m(0xba))[m(0xdc)]()['constructor'](a118a)[m(0xbe)](m(0xba));});function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb7;let f=c[d];return f;},a118d(a,b);}a118a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a118n(0xd9)]({'name':a118n(0xc6),'aliases':[a118n(0xc3)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a118n(0xd8),'validOpts':[a118n(0xbd),'where'],'mustBeInMakaProject':!![],'description':a118n(0xd1),'examples':[a118n(0xcc)]},async function(a,b){const o=a118n;try{const c=this[o(0xcd)],d=b[o(0xbd)]?'/'+b[o(0xbd)]+'/':'/',f=kebabCase(b[o(0xbf)]),g={'name':pascalCase(b[o(0xbf)]),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[o(0xca)],'test':c[o(0xb9)][o(0xc2)],'noRename':!![]};let h='js';c[o(0xb9)]['js']===o(0xc4)&&(h='ts');await this[o(0xe0)][o(0xdb)]([o(0xdf)],{'shouldInstall':!![]}),await this[o(0xc0)][o(0xd5)]({'srcPath':o(0xb8),'destPath':this[o(0xc0)][o(0xd3)]({'pathParts':[o(0xb7),o(0xbc),b[o(0xd2)],'collections',d,f+'.'+h]}),'context':g,'config':c});c[o(0xb9)][o(0xc2)]!=='none'&&await this['scaffold'][o(0xd5)]({'srcPath':o(0xde),'destPath':this['scaffold'][o(0xd3)]({'pathParts':[o(0xb7),'startup',b[o(0xd2)],'collections',d,f+o(0xe1)+h]}),'context':g,'config':c});const i=this['scaffold'][o(0xd3)]({'pathParts':[o(0xb7),'startup',b[o(0xd2)],o(0xd0)+c['engines']['js']]});await this[o(0xc0)]['injectAtEndOfFile']({'filePath':i,'content':o(0xc1)+d+f+'\x27;'});}catch(j){Log[o(0xc7)](j);}});
@@ -1 +1 @@
1
- const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0x1ae))/0x1*(-parseInt(k(0x1b2))/0x2)+-parseInt(k(0x1ca))/0x3+parseInt(k(0x1c1))/0x4*(-parseInt(k(0x1c0))/0x5)+parseInt(k(0x1c2))/0x6+-parseInt(k(0x1ac))/0x7*(parseInt(k(0x1bf))/0x8)+parseInt(k(0x1a9))/0x9*(-parseInt(k(0x1c7))/0xa)+-parseInt(k(0x1a7))/0xb*(-parseInt(k(0x1b5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x3c58a));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0x1cf)]()['search'](m(0x1d8))[m(0x1cf)]()[m(0x1c9)](a119a)[m(0x1b6)](m(0x1d8));});a119a();import a119e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['graphql','.css','baseDir','674356tFvckK','scaffold','.js','6967824eEyPRh','search','/imports/ui/','api','cssCaseName','template','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','resourceName','/imports/ui/components','ssr','8EsMRMO','180gujCrj','54148EtXrpK','1194894thQGhl','checkNpmPackage','react','comp','className','248980UxdXOx','dir','constructor','1187352WIBfQB','findProjectDirectory','create','withTranslations','component/component.js','toString','cfg','relative','string','engines','pathFromApp','client','projectConfig','assign','(((.+)+)+)+$','fsi','import\x20\x27./','none','fileName','apply','setTemplate','test','pkg','22PweaTG','features','135IWTrzn','css','root','1357069fatver','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','1HGNJdv'];a119c=function(){return p;};return a119c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119n(0x1c5)];Generator[a119n(0x1cc)]({'name':'component','aliases':aliases,'usage':a119n(0x1ad),'shortDesc':a119n(0x1bb),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0x1b1)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x1b1)]?o(0x1b7)+b['baseDir']:o(0x1bd),d=this[o(0x1b3)][o(0x1d4)]({'pathParts':[c,b[o(0x1c8)],kebabCase(b[o(0x1bc)]),kebabCase(b[o(0x1bc)])]}),f=this[o(0x1d6)];typeof f['template'][o(0x1df)]==='string'&&this['cfg'][o(0x1de)](o(0x1df),f[o(0x1ba)][o(0x1df)]);typeof f['template'][o(0x1aa)]==='string'&&this['cfg']['setTemplate'](o(0x1aa),f[o(0x1ba)][o(0x1aa)]);typeof f[o(0x1ba)]['js']===o(0x1d2)&&this[o(0x1d0)]['setTemplate']('js',f[o(0x1ba)]['js']);await this[o(0x1a6)][o(0x1c3)]('ramda',{'shouldInstall':!b[o(0x1ab)]}),await this['pkg']['checkNpmPackage'](o(0x1c4),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x1bc)]),'myPath':a119e[o(0x1d1)](this[o(0x1d9)][o(0x1cb)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x1bc)]),'camelCaseName':camelCase(b[o(0x1bc)]),'fileName':kebabCase(b[o(0x1bc)]),'graphql':f[o(0x1d3)][o(0x1af)],'features':f[o(0x1a8)],'client':f[o(0x1d3)][o(0x1d5)],'api':f['engines'][o(0x1b8)],'ssr':f[o(0x1d3)][o(0x1be)],'test':f['engines'][o(0x1df)],'theme':f[o(0x1d3)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x1a8)][o(0x1cd)]};await this['scaffold'][o(0x1ba)]({'srcPath':o(0x1ce),'destPath':d+o(0x1b4),'context':g,'framework':o(0x1c4),'config':f});f['engines'][o(0x1df)]!==o(0x1db)&&await this[o(0x1b3)][o(0x1ba)]({'srcPath':'test/test.js','destPath':d+'.tests.js','context':g,'framework':o(0x1c4),'config':f});f[o(0x1ba)]['css']&&(await this[o(0x1b3)][o(0x1ba)]({'srcPath':'template/template.css','destPath':d+o(0x1b0),'context':Object[o(0x1d7)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x1b3)]['injectAtBeginningOfFile']({'filePath':d+'.'+f[o(0x1d3)]['js'],'content':o(0x1da)+g[o(0x1b9)]+'.'+f['engines'][o(0x1aa)]+'\x27;'}));const h=b[o(0x1c8)]?'/'+b[o(0x1c8)]+'/':'/',i=''+c+h+g[o(0x1dc)]+'/'+g[o(0x1dc)];await this[o(0x1b3)]['injectTemplateModule'](g[o(0x1c6)],f,i);}catch(j){Log['error'](j);}});
1
+ function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x112;let f=c[d];return f;},a119d(a,b);}const a119n=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=parseInt(k(0x13e))/0x1*(parseInt(k(0x119))/0x2)+parseInt(k(0x139))/0x3*(parseInt(k(0x12c))/0x4)+-parseInt(k(0x116))/0x5+-parseInt(k(0x11d))/0x6+-parseInt(k(0x12b))/0x7+parseInt(k(0x123))/0x8*(-parseInt(k(0x114))/0x9)+parseInt(k(0x13d))/0xa*(parseInt(k(0x147))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xaa20c));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a119d;if(c){const e=c[l(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const m=a119d;return a119a['toString']()[m(0x146)]('(((.+)+)+)+$')[m(0x122)]()[m(0x118)](a119a)[m(0x146)](m(0x133));});function a119c(){const p=['dir','scaffold','/imports/ui/','(((.+)+)+)+$','baseDir','test/test.js','root','ssr','template','118527GRSQau','cssCaseName','.tests.js','component','11670WREsuo','52303PjQjTP','resourceName','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','checkNpmPackage','error','client','apply','ramda','search','3223QOVqRg','theme','string','findProjectDirectory','engines','className','18fYmXZb','none','2617880EALitM','/imports/ui/components','constructor','42pRBHkD','setTemplate','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','features','1737528kGbCaO','cfg','pkg','create','fileName','toString','2437144DTTuNe','import\x20\x27./','injectTemplateModule','pathFromApp','projectConfig','relative','test','graphql','1054823EcRrAx','84HjBNNr','css','comp','assign'];a119c=function(){return p;};return a119c();}a119a();import a119e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119n(0x12e)];Generator[a119n(0x120)]({'name':a119n(0x13c),'aliases':aliases,'usage':a119n(0x140),'shortDesc':a119n(0x11b),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0x134)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a119n;try{const c=b[o(0x134)]?o(0x132)+b[o(0x134)]:o(0x117),d=this['scaffold'][o(0x126)]({'pathParts':[c,b[o(0x130)],kebabCase(b[o(0x13f)]),kebabCase(b[o(0x13f)])]}),f=this[o(0x127)];typeof f[o(0x138)][o(0x129)]==='string'&&this[o(0x11e)][o(0x11a)]('test',f['template'][o(0x129)]);typeof f[o(0x138)][o(0x12d)]===o(0x149)&&this[o(0x11e)][o(0x11a)](o(0x12d),f[o(0x138)][o(0x12d)]);typeof f[o(0x138)]['js']===o(0x149)&&this[o(0x11e)][o(0x11a)]('js',f[o(0x138)]['js']);await this[o(0x11f)][o(0x141)](o(0x145),{'shouldInstall':!b[o(0x136)]}),await this[o(0x11f)][o(0x141)]('react',{'shouldInstall':!b[o(0x136)]});const g={'name':pascalCase(b[o(0x13f)]),'myPath':a119e[o(0x128)](this['fsi'][o(0x14a)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x13f)]),'camelCaseName':camelCase(b[o(0x13f)]),'fileName':kebabCase(b[o(0x13f)]),'graphql':f[o(0x112)][o(0x12a)],'features':f[o(0x11c)],'client':f[o(0x112)][o(0x143)],'api':f['engines']['api'],'ssr':f[o(0x112)][o(0x137)],'test':f[o(0x112)][o(0x129)],'theme':f[o(0x112)][o(0x148)],'isLayout':![],'isComponent':!![],'withTranslations':f['features']['withTranslations']};await this[o(0x131)][o(0x138)]({'srcPath':'component/component.js','destPath':d+'.js','context':g,'framework':'react','config':f});f[o(0x112)][o(0x129)]!==o(0x115)&&await this['scaffold'][o(0x138)]({'srcPath':o(0x135),'destPath':d+o(0x13b),'context':g,'framework':'react','config':f});f['template']['css']&&(await this[o(0x131)][o(0x138)]({'srcPath':'template/template.css','destPath':d+'.css','context':Object[o(0x12f)]({},g,{'className':kebabCase(b[o(0x13f)])}),'config':f}),await this[o(0x131)]['injectAtBeginningOfFile']({'filePath':d+'.'+f['engines']['js'],'content':o(0x124)+g[o(0x13a)]+'.'+f[o(0x112)][o(0x12d)]+'\x27;'}));const h=b[o(0x130)]?'/'+b[o(0x130)]+'/':'/',i=''+c+h+g[o(0x121)]+'/'+g[o(0x121)];await this[o(0x131)][o(0x125)](g[o(0x113)],f,i);}catch(j){Log[o(0x142)](j);}});
@@ -1 +1 @@
1
- const a120m=a120d;function a120c(){const o=['constructor','739878zlGHrr','1225584eRoAzc','maka\x20{generate,\x20g}:{config}\x20<name>','resourceName','search','config/process.env','development','config/settings.json','Generate\x20configuration\x20settings.','scaffold','pathFromProject','49656uoGJGs','appName','21NiCplC','256904jspqNa','error','171732BDnqgM','toString','maka\x20g:config\x20production','projectConfig','template','config','production','dev','60QAPMSm','settings.json','308262elHUcJ','create','config/pm2.config.js','isDocker','18MFVmpQ','apply','2EgIazR','696650tnVxQL','4uhyFUN','prod','ubuntu','fsi'];a120c=function(){return o;};return a120c();}(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x12a))/0x1+-parseInt(j(0x115))/0x2*(parseInt(j(0x10f))/0x3)+parseInt(j(0x117))/0x4*(-parseInt(j(0x116))/0x5)+-parseInt(j(0x11c))/0x6*(-parseInt(j(0x129))/0x7)+parseInt(j(0x127))/0x8*(parseInt(j(0x113))/0x9)+parseInt(j(0x10d))/0xa*(-parseInt(j(0x12c))/0xb)+-parseInt(j(0x11d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x31299));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a[l(0x12d)]()[l(0x120)]('(((.+)+)+)+$')[l(0x12d)]()[l(0x11b)](a120a)[l(0x120)]('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x10d;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120m(0x110)]({'name':a120m(0x131),'usage':a120m(0x11e),'shortDesc':a120m(0x124),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':[a120m(0x12e)]},async function(a,b){const n=a120m;try{const c=this[n(0x12f)],d={'app':c[n(0x128)],'appFileCase':kebabCase(c[n(0x128)]),'name':pascalCase(b[n(0x11f)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'userName':n(0x119),'isDocker':b['isDocker']};let e=b[n(0x11f)];if(e===n(0x133))e=n(0x122);else e===n(0x118)&&(e=n(0x132));const f=this['fsi'][n(0x126)]({'pathParts':['config',e,n(0x10e)]});await this['scaffold'][n(0x130)]({'srcPath':n(0x123),'destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'pm2.config.js']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x111),'destPath':g,'context':{'app':c[n(0x128)],'isDocker':b[n(0x112)]||![]},'config':c});}if(e==='local'){const h=this[n(0x11a)][n(0x126)]({'pathParts':[n(0x131),e,'process.env']});await this[n(0x125)][n(0x130)]({'srcPath':n(0x121),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x12b)](i);}});
1
+ const a120l=a120d;(function(a,b){const j=a120d,c=a();while(!![]){try{const d=parseInt(j(0x17e))/0x1+parseInt(j(0x180))/0x2+parseInt(j(0x19b))/0x3+-parseInt(j(0x18c))/0x4+parseInt(j(0x192))/0x5+-parseInt(j(0x193))/0x6*(parseInt(j(0x18e))/0x7)+-parseInt(j(0x194))/0x8*(parseInt(j(0x182))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xdb8e4));function a120c(){const n=['scaffold','resourceName','ubuntu','config/process.env','3303360RLMfCU','pathFromProject','settings.json','template','search','1157504aTcBij','local','2033320sdWcgO','fsi','8343fLHSrk','(((.+)+)+)+$','toString','create','pm2.config.js','config/pm2.config.js','prod','process.env','isDocker','production','4649716LlgHBS','config','1722GmeXyN','maka\x20{generate,\x20g}:{config}\x20<name>','Generate\x20configuration\x20settings.','development','8798365vyqzjV','14682WTohkx','20464hpXQBT','maka\x20g:config\x20production','appName'];a120c=function(){return n;};return a120c();}const a120b=(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;};}()),a120a=a120b(this,function(){const k=a120d;return a120a['toString']()[k(0x17d)](k(0x183))[k(0x184)]()['constructor'](a120a)[k(0x17d)](k(0x183));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x17a;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a120l(0x185)]({'name':'config','usage':a120l(0x18f),'shortDesc':a120l(0x190),'validOpts':[a120l(0x18a)],'mustBeInMakaProject':!![],'examples':[a120l(0x195)]},async function(a,b){const m=a120l;try{const c=this['projectConfig'],d={'app':c[m(0x196)],'appFileCase':kebabCase(c[m(0x196)]),'name':pascalCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[m(0x198)]),'userName':m(0x199),'isDocker':b[m(0x18a)]};let e=b['resourceName'];if(e==='dev')e=m(0x191);else e===m(0x188)&&(e=m(0x18b));const f=this[m(0x181)][m(0x17a)]({'pathParts':[m(0x18d),e,m(0x17b)]});await this['scaffold'][m(0x17c)]({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(e!==m(0x17f)){const g=this['fsi']['pathFromProject']({'pathParts':[m(0x18d),e,m(0x186)]});await this[m(0x197)][m(0x17c)]({'srcPath':m(0x187),'destPath':g,'context':{'app':c[m(0x196)],'isDocker':b[m(0x18a)]||![]},'config':c});}if(e==='local'){const h=this['fsi'][m(0x17a)]({'pathParts':[m(0x18d),e,m(0x189)]});await this[m(0x197)]['template']({'srcPath':m(0x19a),'destPath':h,'context':d,'config':c});}}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a121n=a121d;(function(a,b){const k=a121d,c=a();while(!![]){try{const d=-parseInt(k(0x17c))/0x1+-parseInt(k(0x16c))/0x2*(-parseInt(k(0x179))/0x3)+parseInt(k(0x161))/0x4+-parseInt(k(0x160))/0x5+-parseInt(k(0x187))/0x6*(-parseInt(k(0x18c))/0x7)+parseInt(k(0x180))/0x8+parseInt(k(0x17a))/0x9*(-parseInt(k(0x16a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x8d18d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0x15f)]()[m(0x172)]('(((.+)+)+)+$')[m(0x15f)]()[m(0x176)](a121a)[m(0x172)](m(0x16f));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x15d;let f=c[d];return f;},a121d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a121c(){const p=['-dbc.','error','injectAtEndOfFile','220sXYsjC','import\x20\x27./register-','26GRHqxo','config.','resourceName','(((.+)+)+)+$','sqlite','pkg','search','projectConfig','dbc/register-dbc.js','create','constructor','template','apply','21099zGNCgp','81342Gmnyyn','index.','541544gQcxCN','register-','better-sqlite3','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','1401624ETlNpE','pgsql','scaffold','dir','conn.','dbc','pathFromApp','6RxuSHJ','startup','checkNpmPackage','imports','server','5113752OvFMdT','dbc/config.js','dbc/conn.js','toString','2692595ejUFlT','3438656IioFEj','engines','tsx','type','mssql','maka\x20g:dbc\x20azure\x20--type=mssql'];a121c=function(){return p;};return a121c();}Generator[a121n(0x175)]({'name':a121n(0x185),'usage':a121n(0x17f),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x181),'mssql',a121n(0x170)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a121n(0x166),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a121n;try{const c=this[o(0x173)],d=kebabCase(b[o(0x16e)]),f={'name':pascalCase(b[o(0x16e)]),'fileName':kebabCase(b[o(0x16e)]),'camelCase':camelCase(b[o(0x16e)]),'type':b[o(0x164)],'engine':c[o(0x162)]['js'],'noRename':!![]},g=b[o(0x183)]?'/'+b[o(0x183)]+'/':'/';let h='js';c[o(0x162)]['js']===o(0x163)&&(h='ts');b[o(0x164)]===o(0x181)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b[o(0x164)]===o(0x165)&&await this[o(0x171)][o(0x189)](o(0x165),{'shouldInstall':!![]});b[o(0x164)]===o(0x170)&&await this[o(0x171)][o(0x189)](o(0x17e),{'shouldInstall':!![]});await this[o(0x182)]['template']({'srcPath':o(0x15d),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x185),g,d,o(0x16d)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x15e),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),o(0x188),'server','dbc',g,d,o(0x184)+h]}),'context':f,'config':c}),await this[o(0x182)][o(0x177)]({'srcPath':o(0x174),'destPath':this[o(0x182)][o(0x186)]({'pathParts':[o(0x18a),'startup',o(0x18b),o(0x17d)+d+o(0x167)+h]}),'context':f,'config':c});const i=this[o(0x182)]['pathFromApp']({'pathParts':[o(0x18a),o(0x188),o(0x18b),o(0x17b)+c['engines']['js']]});await this[o(0x182)][o(0x169)]({'filePath':i,'content':o(0x16b)+d+'-dbc\x27;'});}catch(j){Log[o(0x168)](j);}});
1
+ const a121n=a121d;(function(a,b){const k=a121d,c=a();while(!![]){try{const d=parseInt(k(0x1f9))/0x1*(parseInt(k(0x1fd))/0x2)+-parseInt(k(0x1f1))/0x3+-parseInt(k(0x200))/0x4+parseInt(k(0x218))/0x5+parseInt(k(0x1fe))/0x6+-parseInt(k(0x1f8))/0x7+-parseInt(k(0x212))/0x8*(-parseInt(k(0x217))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xd1a3a));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a['toString']()[m(0x1ff)](m(0x214))[m(0x20c)]()[m(0x1f3)](a121a)[m(0x1ff)](m(0x214));});a121a();function a121c(){const p=['pkg','dbc/config.js','dbc','-dbc.','engines','conn.','projectConfig','create','resourceName','toString','error','injectAtEndOfFile','config.','maka\x20g:dbc\x20geoserver\x20--type=pgsql','checkNpmPackage','88hrVxVA','pgsql','(((.+)+)+)+$','startup','imports','1012428qWQjGC','4801795mkAQzj','template','better-sqlite3','tsx','scaffold','mssql','2495991GjuKOw','sqlite','constructor','-dbc\x27;','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','type','server','2537094SGQiSw','1HUSYJE','pathFromApp','dbc/register-dbc.js','apply','1207172AoHsQd','5215830DwjMpa','search','6470164GikRRL','dir','index.'];a121c=function(){return p;};return a121c();}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a121d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a121n(0x20a)]({'name':a121n(0x205),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a121n(0x1f5),'validOpts':[a121n(0x201)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x213),'mssql',a121n(0x1f2)]}],'examples':[a121n(0x210),'maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a121n;try{const c=this[o(0x209)],d=kebabCase(b[o(0x20b)]),f={'name':pascalCase(b[o(0x20b)]),'fileName':kebabCase(b[o(0x20b)]),'camelCase':camelCase(b['resourceName']),'type':b[o(0x1f6)],'engine':c[o(0x207)]['js'],'noRename':!![]},g=b[o(0x201)]?'/'+b[o(0x201)]+'/':'/';let h='js';c['engines']['js']===o(0x21b)&&(h='ts');b[o(0x1f6)]===o(0x213)&&await this['pkg']['checkNpmPackage']('pg',{'shouldInstall':!![]});b['type']===o(0x21d)&&await this[o(0x203)][o(0x211)]('mssql',{'shouldInstall':!![]});b['type']===o(0x1f2)&&await this[o(0x203)][o(0x211)](o(0x21a),{'shouldInstall':!![]});await this[o(0x21c)][o(0x219)]({'srcPath':o(0x204),'destPath':this[o(0x21c)]['pathFromApp']({'pathParts':['imports',o(0x215),o(0x1f7),'dbc',g,d,o(0x20f)+h]}),'context':f,'config':c}),await this[o(0x21c)]['template']({'srcPath':'dbc/conn.js','destPath':this[o(0x21c)][o(0x1fa)]({'pathParts':['imports',o(0x215),o(0x1f7),o(0x205),g,d,o(0x208)+h]}),'context':f,'config':c}),await this[o(0x21c)]['template']({'srcPath':o(0x1fb),'destPath':this[o(0x21c)][o(0x1fa)]({'pathParts':[o(0x216),o(0x215),o(0x1f7),'register-'+d+o(0x206)+h]}),'context':f,'config':c});const i=this[o(0x21c)][o(0x1fa)]({'pathParts':[o(0x216),'startup','server',o(0x202)+c[o(0x207)]['js']]});await this[o(0x21c)][o(0x20e)]({'filePath':i,'content':'import\x20\x27./register-'+d+o(0x1f4)});}catch(j){Log[o(0x20d)](j);}});
@@ -1 +1 @@
1
- const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=-parseInt(i(0x1ee))/0x1+parseInt(i(0x1e9))/0x2+-parseInt(i(0x1e2))/0x3+-parseInt(i(0x1f5))/0x4*(-parseInt(i(0x1ed))/0x5)+parseInt(i(0x1fc))/0x6+parseInt(i(0x1ec))/0x7*(-parseInt(i(0x1e5))/0x8)+parseInt(i(0x1e1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x96266));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1de;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a['toString']()[k(0x1fb)]('(((.+)+)+)+$')[k(0x1f9)]()[k(0x1f3)](a122a)['search'](k(0x1e3));});a122a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a122e from'path';function a122c(){const n=['cert','constructor','apply','4vaIyna','cfg','join','service','toString','Generate\x20an\x20updated\x20dockerfile','search','431220UMnAbm','app','maka\x20{generate,\x20g}:dockerfile','force','build','7347591JZzAai','713295cXEZTd','(((.+)+)+)+$','isFile','208BsBvtd','app.tar.gz','findProjectDirectory','Dockerfile','1172954NNqwdI','appName','getGlobalConfig','12649WwVvdQ','2483805mDNOvc','1071746suVFQE','scaffold','fsi','docker/Dockerfile'];a122c=function(){return n;};return a122c();}Generator['create']({'name':'dockerfile','usage':a122l(0x1de),'shortDesc':a122l(0x1fa),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x1df),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a122l;try{const c=this[m(0x1f6)]['getMakaProjectConfig'](),d=await this[m(0x1f6)][m(0x1eb)](),f=this[m(0x1f0)][m(0x1e7)](),g={'app':c[m(0x1ea)],'config':c,'appPath':a122e[m(0x1f7)](f,m(0x1fd)),'bundlePath':a122e['join'](f,m(0x1e0),m(0x1e6)),'useCert':d['cert']?this['fsi'][m(0x1e4)](d[m(0x1f2)]):![]};await this[m(0x1ef)]['template']({'srcPath':m(0x1f1),'destPath':a122e[m(0x1f7)](f,m(0x1e8)),'framework':m(0x1f8),'context':g,'config':c,'force':b[m(0x1df)]});}catch(h){Log['error'](h);}});
1
+ const a122l=a122d;(function(a,b){const i=a122d,c=a();while(!![]){try{const d=parseInt(i(0x1d8))/0x1+-parseInt(i(0x1c3))/0x2+-parseInt(i(0x1d1))/0x3*(parseInt(i(0x1d3))/0x4)+-parseInt(i(0x1bd))/0x5*(parseInt(i(0x1c4))/0x6)+parseInt(i(0x1d5))/0x7*(-parseInt(i(0x1be))/0x8)+-parseInt(i(0x1d6))/0x9*(parseInt(i(0x1bf))/0xa)+-parseInt(i(0x1c0))/0xb*(-parseInt(i(0x1c2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x40abd));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a[k(0x1bc)]()[k(0x1c8)]('(((.+)+)+)+$')['toString']()[k(0x1bb)](a122a)[k(0x1c8)](k(0x1d0));});function a122c(){const n=['error','findProjectDirectory','constructor','toString','20Otmzyp','8VEilxc','54710ezlemR','55VPMJlx','maka\x20g:dockerfile','2742852kZIOZm','695574rPqduN','389814YlORbN','dockerfile','join','build','search','force','create','apply','cert','app.tar.gz','fsi','cfg','(((.+)+)+)+$','210159PduxFF','Generate\x20an\x20updated\x20dockerfile','4ozdalC','template','988421gyWvny','585ZQzZuz','docker/Dockerfile','296572rzWJlT','getGlobalConfig'];a122c=function(){return n;};return a122c();}a122a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a122d(a,b);}import a122e from'path';Generator[a122l(0x1ca)]({'name':a122l(0x1c5),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a122l(0x1d2),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':'force','boolFlag':!![]}],'examples':[a122l(0x1c1)]},async function(a,b){const m=a122l;try{const c=this[m(0x1cf)]['getMakaProjectConfig'](),d=await this['cfg'][m(0x1b8)](),f=this[m(0x1ce)][m(0x1ba)](),g={'app':c['appName'],'config':c,'appPath':a122e[m(0x1c6)](f,'app'),'bundlePath':a122e['join'](f,m(0x1c7),m(0x1cd)),'useCert':d['cert']?this[m(0x1ce)]['isFile'](d[m(0x1cc)]):![]};await this['scaffold'][m(0x1d4)]({'srcPath':m(0x1d7),'destPath':a122e[m(0x1c6)](f,'Dockerfile'),'framework':'service','context':g,'config':c,'force':b[m(0x1c9)]});}catch(h){Log[m(0x1b9)](h);}});
@@ -1 +1 @@
1
- const a123n=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x17e))/0x1+-parseInt(l(0x17a))/0x2+-parseInt(l(0x15f))/0x3+parseInt(l(0x15a))/0x4+-parseInt(l(0x167))/0x5+parseInt(l(0x16d))/0x6+parseInt(l(0x154))/0x7*(parseInt(l(0x15b))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe7d86));const a123b=(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;};}()),a123a=a123b(this,function(){const m=a123d;return a123a[m(0x160)]()[m(0x181)](m(0x161))[m(0x160)]()['constructor'](a123a)[m(0x181)]('(((.+)+)+)+$');});a123a();function a123c(){const p=['\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','1694699mtTfoF','pathFromApp','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','template/template.css','fileName','@apollo/client\x20isomorphic-fetch','/imports/ui/','graphql','assign','pages','setTemplate','force','cfg','test','baseDir','notice','14122969vzTTnb','engines','maka\x20g:hook\x20cool-hook','.js','findAppDirectory','@apollo/client','2606468uTamKW','16jYebZG','error','react','pkg','4046283jECoaZ','toString','(((.+)+)+)+$','apollo','injectTemplateModule','scaffold','features','css','2776140mYBLEi','fsi','.app-tests.js','create','relative','dir','1862718JEgNlG','none','layouts','template','injectAtBeginningOfFile','checkNpmPackage','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','resourceName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','components','\x20hook...','cssCaseName','string','897756uzhiWx','.css','theme'];a123c=function(){return p;};return a123c();}import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x149;let f=c[d];return f;},a123d(a,b);}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123n(0x16a)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a123n(0x173),'shortDesc':a123n(0x175),'mustBeInMakaProject':!![],'validOpts':[{'name':a123n(0x152),'values':['hooks',a123n(0x176),a123n(0x14d),a123n(0x16f)]},{'name':a123n(0x14f),'boolFlag':!![]}],'examples':[a123n(0x156)],'description':a123n(0x17d)},async function(a,b){const o=a123n;Log[o(0x153)]('Creating\x20'+b[o(0x174)]+o(0x177));try{await this['pkg'][o(0x172)](o(0x15d),{'shouldInstall':!![]});const c=this[o(0x168)][o(0x158)](),d=b[o(0x152)]?o(0x14a)+b[o(0x152)]:'/imports/ui/components',f=this[o(0x164)][o(0x17f)]({'pathParts':[d,b[o(0x16c)],kebabCase(b[o(0x174)]),kebabCase(b[o(0x174)])]}),g=this['projectConfig'];typeof g[o(0x170)][o(0x166)]===o(0x179)&&this[o(0x150)][o(0x14e)]('css',g[o(0x170)][o(0x166)]);g[o(0x155)][o(0x14b)]===o(0x162)&&!this[o(0x15e)]['checkNpmPackage'](o(0x159))&&(Log['warn'](o(0x180)),await this[o(0x15e)]['installNpmPackage'](o(0x149),{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0x174)]),'camelCaseName':camelCase(b[o(0x174)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[o(0x174)]),'graphql':g['engines'][o(0x14b)],'theme':g[o(0x155)][o(0x17c)],'test':g['engines'][o(0x151)],'features':g[o(0x165)],'myPath':a123e[o(0x16b)](this['fsi']['findProjectDirectory'](),f),'fileName':kebabCase(b[o(0x174)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0x165)]['withTranslations']};await this['scaffold']['template']({'srcPath':'hook/hook.js','destPath':f+o(0x157),'context':h,'config':g,'framework':o(0x15d),'force':b['force']});g[o(0x170)][o(0x166)]&&(await this[o(0x164)]['template']({'srcPath':o(0x182),'destPath':f+o(0x17b),'context':Object[o(0x14c)]({},h,{'className':h[o(0x178)]}),'config':g,'force':b[o(0x14f)]}),await this[o(0x164)][o(0x171)]({'filePath':f+'.'+g[o(0x155)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[o(0x155)][o(0x166)]+'\x27;'}));g[o(0x155)][o(0x151)]!==o(0x16e)&&await this[o(0x164)][o(0x170)]({'srcPath':'test/test.js','destPath':f+o(0x169),'framework':o(0x15d),'context':h,'config':g,'force':b[o(0x14f)]});const i=b[o(0x16c)]?'/'+b[o(0x16c)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x183)];await this[o(0x164)][o(0x163)](h['className'],g,j);}catch(k){Log[o(0x15c)](k);}});
1
+ const a123n=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xa6;let f=c[d];return f;},a123d(a,b);}(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0xc7))/0x1+-parseInt(l(0xbd))/0x2+parseInt(l(0xab))/0x3+parseInt(l(0xb7))/0x4*(-parseInt(l(0xbc))/0x5)+parseInt(l(0xc4))/0x6+-parseInt(l(0xa7))/0x7+parseInt(l(0xdb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8dc8e));const a123b=(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;};}()),a123a=a123b(this,function(){const m=a123d;return a123a[m(0xc3)]()['search']('(((.+)+)+)+$')[m(0xc3)]()[m(0xb5)](a123a)['search'](m(0xc2));});a123a();import a123e from'path';function a123c(){const p=['23664464GApUQJ','hook/hook.js','@apollo/client','className','pages','.js','6927039CvmOJU','test','features','injectAtBeginningOfFile','225273IdrvHe','.css','test/test.js','.app-tests.js','error','resourceName','pkg','dir','@apollo/client\x20isomorphic-fetch','string','constructor','layouts','4132BWPVas','import\x20\x27./','scaffold','force','template/template.css','4795RYCMYc','736538zwFFRS','checkNpmPackage','pathFromApp','relative','template','(((.+)+)+)+$','toString','4997646pRHGJn','apollo','cssCaseName','936847sAtjeb','setTemplate','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','injectTemplateModule','notice','engines','baseDir','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','react','projectConfig','css','graphql','\x20hook...','fsi','findProjectDirectory','create','fileName','components','warn','theme'];a123c=function(){return p;};return a123c();}import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123n(0xd6)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a123n(0xce),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','mustBeInMakaProject':!![],'validOpts':[{'name':a123n(0xcd),'values':['hooks',a123n(0xd8),a123n(0xdf),a123n(0xb6)]},{'name':a123n(0xba),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a123n;Log[o(0xcb)]('Creating\x20'+b[o(0xb0)]+o(0xd3));try{await this[o(0xb1)]['checkNpmPackage'](o(0xcf),{'shouldInstall':!![]});const c=this[o(0xd4)]['findAppDirectory'](),d=b['baseDir']?'/imports/ui/'+b['baseDir']:'/imports/ui/components',f=this[o(0xb9)][o(0xbf)]({'pathParts':[d,b[o(0xb2)],kebabCase(b['resourceName']),kebabCase(b[o(0xb0)])]}),g=this[o(0xd0)];typeof g[o(0xc1)]['css']===o(0xb4)&&this['cfg'][o(0xc8)](o(0xd1),g[o(0xc1)][o(0xd1)]);g[o(0xcc)]['graphql']===o(0xc5)&&!this[o(0xb1)][o(0xbe)](o(0xdd))&&(Log[o(0xd9)](o(0xc9)),await this[o(0xb1)]['installNpmPackage'](o(0xb3),{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0xb0)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[o(0xb0)]),'name':pascalCase(b[o(0xb0)]),'graphql':g[o(0xcc)][o(0xd2)],'theme':g[o(0xcc)][o(0xda)],'test':g[o(0xcc)][o(0xa8)],'features':g[o(0xa9)],'myPath':a123e[o(0xc0)](this[o(0xd4)][o(0xd5)](),f),'fileName':kebabCase(b[o(0xb0)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0xa9)]['withTranslations']};await this[o(0xb9)][o(0xc1)]({'srcPath':o(0xdc),'destPath':f+o(0xa6),'context':h,'config':g,'framework':'react','force':b[o(0xba)]});g[o(0xc1)][o(0xd1)]&&(await this['scaffold'][o(0xc1)]({'srcPath':o(0xbb),'destPath':f+o(0xac),'context':Object['assign']({},h,{'className':h[o(0xc6)]}),'config':g,'force':b[o(0xba)]}),await this[o(0xb9)][o(0xaa)]({'filePath':f+'.'+g[o(0xcc)]['js'],'content':o(0xb8)+h[o(0xd7)]+'.'+g[o(0xcc)][o(0xd1)]+'\x27;'}));g[o(0xcc)][o(0xa8)]!=='none'&&await this[o(0xb9)][o(0xc1)]({'srcPath':o(0xad),'destPath':f+o(0xae),'framework':o(0xcf),'context':h,'config':g,'force':b[o(0xba)]});const i=b['dir']?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0xd7)];await this[o(0xb9)][o(0xca)](h[o(0xde)],g,j);}catch(k){Log[o(0xaf)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x179))/0x2)+parseInt(f(0x172))/0x3+parseInt(f(0x17d))/0x4*(parseInt(f(0x177))/0x5)+parseInt(f(0x178))/0x6+parseInt(f(0x170))/0x7*(parseInt(f(0x17a))/0x8)+-parseInt(f(0x171))/0x9+-parseInt(f(0x173))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x89f38));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x17e)]('(((.+)+)+)+$')[h(0x174)]()[h(0x17b)](a124a)[h(0x17e)](h(0x175));});a124a();import'./kit.js';import'./mui/_index.js';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x170;var f=c[d];return f;},a124d(a,b);}import'./esri/_index.js';import'./auth/_index.js';function a124c(){var i=['16SNodcZ','711905CdtEED','4551132cIWXAZ','67390DsfGPN','800TYAFvN','constructor','apply','4LzTZRB','search','31017JLOnXM','1859382NILXgv','238899IYSCrU','1128700JUBmOW','toString','(((.+)+)+)+$'];a124c=function(){return i;};return a124c();}
1
+ (function(a,b){var f=a124d,c=a();while(!![]){try{var d=-parseInt(f(0x1c2))/0x1*(parseInt(f(0x1be))/0x2)+parseInt(f(0x1c0))/0x3+parseInt(f(0x1ba))/0x4*(parseInt(f(0x1b8))/0x5)+-parseInt(f(0x1b9))/0x6+parseInt(f(0x1b6))/0x7*(parseInt(f(0x1bb))/0x8)+-parseInt(f(0x1bc))/0x9+-parseInt(f(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9cf62));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()['search'](h(0x1b7))['toString']()['constructor'](a124a)[h(0x1bf)]('(((.+)+)+)+$');});a124a();function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a124d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a124c(){var i=['3587679sreJDn','7269230yLwPBN','530261JNXYhb','420MAIkDz','(((.+)+)+)+$','55FnZXNP','1570440eZfEnt','448948gVwydL','131480AUcgXp','11292858DLZcds','apply','2VpQsoW','search'];a124c=function(){return i;};return a124c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x1c6))/0x1+-parseInt(f(0x1c9))/0x2+parseInt(f(0x1c2))/0x3*(parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1c5))/0x5*(parseInt(f(0x1c3))/0x6)+parseInt(f(0x1c7))/0x7*(parseInt(f(0x1c8))/0x8)+parseInt(f(0x1c1))/0x9+-parseInt(f(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa15ad));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x1c4)](g(0x1ca))[g(0x1cc)]()['constructor'](a125a)[g(0x1c4)](g(0x1ca));});function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1c1;var f=c[d];return f;},a125d(a,b);}a125a();function a125c(){var h=['7674qCrdgz','search','1010aOQUwj','1167732QTnsAj','6178179KuyhUy','8gDxOrR','2526384luffQE','(((.+)+)+)+$','5892140NHGYaj','toString','35180OdXFzt','1109556hQvMyW','204gzRzrB'];a125c=function(){return h;};return a125c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x198;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x19d))/0x1+parseInt(f(0x1a6))/0x2+parseInt(f(0x19b))/0x3+-parseInt(f(0x1a0))/0x4*(parseInt(f(0x19e))/0x5)+-parseInt(f(0x19a))/0x6*(parseInt(f(0x1a5))/0x7)+parseInt(f(0x19f))/0x8*(parseInt(f(0x199))/0x9)+parseInt(f(0x1a3))/0xa*(-parseInt(f(0x1a4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x497f0));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a[g(0x1a2)]()['search'](g(0x19c))['toString']()[g(0x1a1)](a125a)[g(0x198)]('(((.+)+)+)+$');});a125a();import'./auth.generator.js';function a125c(){var h=['120344paHXFr','constructor','toString','110WHUOCD','30151NwfphL','371yjTAtm','1049130iLhnMv','search','9mLIwaI','54450RZBelc','548286rwSIxZ','(((.+)+)+)+$','281490SQIZYb','30HnssHX','30920lthwcO'];a125c=function(){return h;};return a125c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x11e))/0x1*(-parseInt(f(0x11d))/0x2)+parseInt(f(0x12b))/0x3+parseInt(f(0x128))/0x4+parseInt(f(0x126))/0x5+-parseInt(f(0x123))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x12e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xf3820));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0x12a))[h(0x12f)]()[h(0x12d)](a126a)[h(0x120)](h(0x12a));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x11c;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../../generator.js';import a126e from'../kit.js';function a126c(){const j=['2XefXrE','maka\x20g:kit:a','search','auth','create','11784228OgIIyC','apply','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','3448745zxIFcv','2116040QOiHNo','6940708IEfQNd','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','(((.+)+)+)+$','420030dZUsJD','49EYSDLX','constructor','6662187tUPSmM','toString','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1507802CPAgYF'];a126c=function(){return j;};return a126c();}const AuthGen=Generator[a126i(0x122)]({'name':a126i(0x121),'aliases':['a'],'usage':a126i(0x129),'shortDesc':a126i(0x11c),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x11f)],'description':a126i(0x125)},async function(){throw'NIE';},async function(){},a126e);export default AuthGen;
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1e9))/0x1*(parseInt(f(0x1e7))/0x2)+parseInt(f(0x1e6))/0x3*(parseInt(f(0x1e2))/0x4)+-parseInt(f(0x1df))/0x5*(-parseInt(f(0x1ea))/0x6)+-parseInt(f(0x1d7))/0x7*(-parseInt(f(0x1e3))/0x8)+parseInt(f(0x1db))/0x9+-parseInt(f(0x1e5))/0xa+-parseInt(f(0x1de))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc459d));function a126c(){const k=['1FqQUMM','36IoSWol','NIE','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','3787133srjsDJ','apply','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','14123529ypnhIZ','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','search','20768187ARvnCS','587850lmYWpv','create','toString','1588cHLQEy','8yTHXKs','constructor','10659270CSFKSp','10644olCMSk','932158AjKoxq','(((.+)+)+)+$'];a126c=function(){return k;};return a126c();}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1e1)]()[h(0x1dd)](h(0x1e8))[h(0x1e1)]()[h(0x1e4)](a126a)[h(0x1dd)](h(0x1e8));});a126a();import{Generator}from'../../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a126d(a,b);}import a126e from'../kit.js';const AuthGen=Generator[a126i(0x1e0)]({'name':a126i(0x1da),'aliases':['a'],'usage':a126i(0x1ec),'shortDesc':a126i(0x1dc),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a126i(0x1d9)},async function(){const j=a126i;throw j(0x1eb);},async function(){},a126e);export default AuthGen;
@@ -1 +1 @@
1
- const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x161))/0x1+parseInt(s(0x189))/0x2*(parseInt(s(0x196))/0x3)+parseInt(s(0x19e))/0x4+parseInt(s(0x16d))/0x5+-parseInt(s(0x19b))/0x6+parseInt(s(0x16b))/0x7*(-parseInt(s(0x19c))/0x8)+parseInt(s(0x164))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3fa3c));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x18a)]()[u(0x162)]('(((.+)+)+)+$')['toString']()[u(0x177)](a127a)['search'](u(0x197));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x161;let f=c[d];return f;},a127d(a,b);}import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';function a127c(){const x=['meteor/meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','779010TRTjsP','(((.+)+)+)+$','accounts-password','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','engines','2153310udqoKE','8kchzbg','meteor/accounts-base','1848136PVOBcG','Meteor.publish','const\x20resetPasswordWithToken','authentication-service','findProjectDirectory','injectImport','444972lAMWFi','search','startup','1570833vdnbUv','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','meteor','/imports/startup/client','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','2059127MVKGKx','/imports/startup/lib','2312225GHcuqJ','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','checkMeteorPackage','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','react','.js','template','constructor','injectIntoFile','AuthService','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/server/publications/auth/roles.js','Meteor','publish','authentication-provider','useEffect\x5c(','/imports/startup/client/authentication-service','const\x20getUserAuthorizations','auth/roles','error','useTracker','apply','pathFromApp','Accounts','force','2hsWyyl','toString','create','exit','normalize','REACT','export\x20const\x20AuthProvider','index','/imports/startup/lib/authentication-service','meteor/maka:react-tracker'];a127c=function(){return x;};return a127c();}import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0x18b)]({'name':a127v(0x166),'aliases':['m'],'usage':a127v(0x199),'shortDesc':a127v(0x170),'validOpts':[a127v(0x188)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127v(0x18e)]},'description':a127v(0x165)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x188)]||![];await d[w(0x16f)]([w(0x198)],{'shouldInstall':!![]});const i=c[w(0x1a2)](),j=c['findAppDirectory'](),k=g['engines']['ssr']===w(0x166);await a127g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a127g['processAndRunGenerator'](w(0x17d),[w(0x182)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e[w(0x18d)](w(0x17b)),m=k?w(0x16c):w(0x167),n=f[w(0x186)]({'pathParts':[m,'','',w(0x1a1)]});await f[w(0x176)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x175),'framework':w(0x174),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0x17e)]}),p=g[w(0x19a)]['js'];await f[w(0x1a3)]({'filePath':o+'.'+p,'importName':w(0x179),'modulePath':k?w(0x191):w(0x180),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x194),'begin':'const\x20authenticateUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x171),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':w(0x17a),'begin':w(0x181),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x16e),'begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x169),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x173),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x172)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1a0),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x184),'modulePath':w(0x192),'isNamedExport':!![]}),await f[w(0x178)]({'filePath':o+'.'+p,'content':w(0x16a),'begin':w(0x18f),'end':w(0x17f)}));await f['injectImport']({'filePath':l,'importName':w(0x17c),'modulePath':w(0x193),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x172)]({'filePath':l,'content':w(0x195),'begin':w(0x19f),'replace':!![]});const q=f[w(0x186)]({'pathParts':['imports',w(0x163),'server',w(0x190)]});await f[w(0x1a3)]({'filePath':q+'.'+p,'importName':w(0x187),'modulePath':w(0x19d),'isNamedExport':!![]}),await f[w(0x172)]({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x168),'replace':!![]});}catch(r){Log[w(0x183)](r),process[w(0x18c)](0x1);}},async function(){},a127f);
1
+ const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x1c1))/0x1*(-parseInt(s(0x1d9))/0x2)+parseInt(s(0x1f1))/0x3+-parseInt(s(0x1dd))/0x4*(-parseInt(s(0x1ed))/0x5)+-parseInt(s(0x1f0))/0x6+-parseInt(s(0x1ef))/0x7+-parseInt(s(0x1fa))/0x8*(parseInt(s(0x203))/0x9)+-parseInt(s(0x1dc))/0xa*(-parseInt(s(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x83089));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1be;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x202)]()['search'](u(0x1e0))['toString']()[u(0x1de)](a127a)[u(0x1d6)]('(((.+)+)+)+$');});a127a();function a127c(){const x=['export\x20const\x20AuthProvider','publish','apply','const\x20authenticateUser','Meteor.startup','index','Meteor','injectIntoFile','895qXofbQ','/imports/startup/client','5381306QIINDK','423636ZxWYzT','432459wCyyCH','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','meteor/meteor','const\x20getUserAuthorizations','force','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','injectImport','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','useEffect\x5c(','8ttYlFD','/imports/startup/client/authentication-service','normalize','meteor','imports','/imports/startup/lib','injectIntoCodeBlock','kit:auth:provider','toString','7944264TbPsDg','meteor/maka:react-tracker','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','ssr','const\x20authenticateToken','server','template','REACT','93461AHksVK','auth/roles','330011ofkSKl','Meteor.publish','error','authentication-service','startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','Accounts','create','findProjectDirectory','engines','exit','const\x20sendForgotPasswordEmail','kit/auth/service/meteor-auth-service.js','/imports/startup/server/publications/auth/roles.js','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','pathFromApp','meteor/accounts-base','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','useTracker','10ZoFSNW','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','230nJuFlz','21392fZvMax','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','(((.+)+)+)+$','processAndRunGenerator','accounts-password','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20'];a127c=function(){return x;};return a127c();}import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0x1cb)]({'name':a127v(0x1fd),'aliases':['m'],'usage':a127v(0x1df),'shortDesc':a127v(0x205),'validOpts':[a127v(0x1f5)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127v(0x1c0)]},'description':a127v(0x1d2)},async function(a,b){const w=a127v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1f5)]||![];await d[w(0x1e3)]([w(0x1e2)],{'shouldInstall':!![]});const i=c[w(0x1cc)](),j=c['findAppDirectory'](),k=g[w(0x1cd)][w(0x206)]===w(0x1fd);await a127g[w(0x1e1)](w(0x201),[],{'force':h,'cwd':i,'config':g}),await a127g[w(0x1e1)](w(0x1e6),[w(0x1c2)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e[w(0x1fc)](w(0x1d1)),m=k?w(0x1ff):w(0x1ee),n=f[w(0x1d3)]({'pathParts':[m,'','',w(0x1c6)]});await f[w(0x1bf)]({'srcPath':w(0x1d0),'destPath':n+'.js','framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1d3)]({'pathParts':[m,'','','authentication-provider']}),p=g[w(0x1cd)]['js'];await f[w(0x1f7)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?w(0x1c9):w(0x1fb),'isNamedExport':![]}),await f[w(0x200)]({'filePath':o+'.'+p,'content':w(0x1f6),'begin':w(0x1e8),'replace':!![]}),await f[w(0x200)]({'filePath':o+'.'+p,'content':w(0x1f8),'begin':w(0x207),'replace':!![]}),await f[w(0x200)]({'filePath':o+'.'+p,'content':w(0x1d5),'begin':w(0x1f4),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1f2),'begin':'const\x20deauthenticateUser','replace':!![]}),await f[w(0x200)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1cf),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1e4),'begin':w(0x1da),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1d7),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0x1d8),'modulePath':w(0x204),'isNamedExport':!![]}),await f[w(0x1ec)]({'filePath':o+'.'+p,'content':w(0x1db),'begin':w(0x1e5),'end':w(0x1f9)}));await f[w(0x1f7)]({'filePath':l,'importName':w(0x1eb),'modulePath':w(0x1f3),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x200)]({'filePath':l,'content':w(0x1c8),'begin':w(0x1c4),'replace':!![]});const q=f[w(0x1d3)]({'pathParts':[w(0x1fe),w(0x1c7),w(0x1be),w(0x1ea)]});await f[w(0x1f7)]({'filePath':q+'.'+p,'importName':w(0x1ca),'modulePath':w(0x1d4),'isNamedExport':!![]}),await f[w(0x200)]({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1e9),'replace':!![]});}catch(r){Log[w(0x1c5)](r),process[w(0x1ce)](0x1);}},async function(){},a127f);
@@ -1 +1 @@
1
- const a128x=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=-parseInt(u(0x1ab))/0x1+-parseInt(u(0x1a5))/0x2+-parseInt(u(0x19d))/0x3+parseInt(u(0x198))/0x4+parseInt(u(0x18d))/0x5+-parseInt(u(0x180))/0x6*(-parseInt(u(0x187))/0x7)+-parseInt(u(0x19e))/0x8*(-parseInt(u(0x188))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe1842));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x17e;let f=c[d];return f;},a128d(a,b);}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0x1a4)]()[w(0x1a6)](w(0x18f))[w(0x1a4)]()[w(0x18a)](a128a)[w(0x1a6)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a128e from'./auth.generator.js';function a128c(){const z=['search','meteor','/imports/startup/client','/imports/startup/server/index','/imports/startup/lib','1132356ZvtOPa','force','template','react','error','6FqxaYc','/imports/startup/client/index','injectIntoCodeBlock','/imports/startup/lib/authentication-provider','<AuthProvider>','scaffold','apply','1738198DBTOyh','14931153YflopL','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','constructor','REACT','<AppRoutes\x20history={history}/>','5277745WIiXKh','injectAroundString','(((.+)+)+)+$','.js','injectImport','<AppRoutes\x20/>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','engines','split','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','useContext','3126004BNqArG','function\x20useAuth','/imports/startup/client/authentication-provider','kit/auth/provider/authentication-provider.js','ssr','4730250JoTjLY','8ZPPlyP','const\x20PrivateRoute','</AuthProvider>','authentication-provider','pathFromApp','/routes','toString','223122glyPVo'];a128c=function(){return z;};return a128c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a128x(0x193),'validOpts':[a128x(0x1ac)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0x18b)]},'description':a128x(0x196)},async function(a,b){const y=a128x;try{const c=b['force']||![];Log['bright'](y(0x189));const {projectConfig:d}=this,f=d[y(0x194)][y(0x19c)]===y(0x1a7),g={'name':capitalCase(d['appName'])},h=f?y(0x1aa):y(0x1a8),i=this[y(0x185)]['pathFromApp']({'pathParts':[h,'','',y(0x1a1)]});await this['scaffold'][y(0x1ad)]({'srcPath':y(0x19b),'destPath':i+y(0x190),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x194)]['js'],k=h+y(0x1a3),l=k[y(0x195)]('/'),m=this[y(0x185)]['pathFromApp']({'pathParts':l});await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x191)]({'filePath':m+'.'+j,'importName':y(0x197),'modulePath':y(0x17e),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0x199)],'replace':!![]}),await this[y(0x185)][y(0x182)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x19f)],'replace':!![]});const n=y(0x181),o=n['split']('/'),p=this[y(0x185)][y(0x1a2)]({'pathParts':o});await this[y(0x185)][y(0x191)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x185)][y(0x18e)]({'filePath':p+'.'+j,'aboveContent':y(0x184),'belowContent':y(0x1a0),'targetString':y(0x192),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1a9),r=q[y(0x195)]('/'),s=this[y(0x185)][y(0x1a2)]({'pathParts':r});await this[y(0x185)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x183):y(0x19a),'isNamedExport':!![]}),await this[y(0x185)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1a0),'targetString':y(0x18c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x17f)](t),process['exit'](0x1);}},async function(){},a128e);
1
+ const a128x=a128d;(function(a,b){const u=a128d,c=a();while(!![]){try{const d=-parseInt(u(0x11c))/0x1+-parseInt(u(0xfe))/0x2*(parseInt(u(0x120))/0x3)+-parseInt(u(0x10b))/0x4+parseInt(u(0x11e))/0x5+parseInt(u(0x113))/0x6+-parseInt(u(0x103))/0x7*(parseInt(u(0x109))/0x8)+parseInt(u(0x122))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x32359));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0x10d)]()[w(0x118)](w(0x110))[w(0x10d)]()[w(0x114)](a128a)[w(0x118)](w(0x110));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a128e from'./auth.generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf8;let f=c[d];return f;},a128d(a,b);}function a128c(){const z=['ssr','AuthProvider','/imports/startup/server/index','24561aHQZcZ','react','407595vsUoQK','/imports/startup/client/index','3JCZZJw','force','4830633bbXerN','template','function\x20useAuth','bright','AuthContext','create','authentication-provider','</AuthProvider>','<AuthProvider>','exit','engines','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/lib','<AppRoutes\x20history={history}/>','injectAroundString','.js','642234FrVVlQ','split','/imports/startup/client/authentication-provider','pathFromApp','useContext','203bcjKcx','/imports/startup/client','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','scaffold','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','const\x20PrivateRoute','24712bjNGDR','appName','1342012RdnMeG','injectImport','toString','meteor','error','(((.+)+)+)+$','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','2148978hayyKw','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/lib/authentication-provider','apply','search'];a128c=function(){return z;};return a128c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128x(0x127)]({'name':'provider','aliases':['p'],'usage':a128x(0x115),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a128x(0x121)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a128x(0x105)},async function(a,b){const y=a128x;try{const c=b['force']||![];Log[y(0x125)](y(0xf9));const {projectConfig:d}=this,f=d[y(0xf8)][y(0x119)]===y(0x10e),g={'name':capitalCase(d[y(0x10a)])},h=f?y(0xfa):y(0x104),i=this[y(0x106)][y(0x101)]({'pathParts':[h,'','',y(0x128)]});await this[y(0x106)][y(0x123)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+y(0xfd),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0xf8)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0x106)][y(0x101)]({'pathParts':l});await this[y(0x106)][y(0x10c)]({'filePath':m+'.'+j,'importName':y(0x126),'modulePath':f?y(0x116):y(0x100),'isNamedExport':!![]}),await this['scaffold'][y(0x10c)]({'filePath':m+'.'+j,'importName':y(0x102),'modulePath':y(0x11d),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x106)][y(0x111)]({'filePath':m+'.'+j,'content':y(0x107),'begin':['const\x20useAuth',y(0x124)],'replace':!![]}),await this[y(0x106)][y(0x111)]({'filePath':m+'.'+j,'content':y(0x112),'begin':[y(0x108)],'replace':!![]});const n=y(0x11f),o=n[y(0xff)]('/'),p=this[y(0x106)][y(0x101)]({'pathParts':o});await this['scaffold'][y(0x10c)]({'filePath':p+'.'+j,'importName':y(0x11a),'modulePath':f?y(0x116):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x106)][y(0xfc)]({'filePath':p+'.'+j,'aboveContent':y(0x12a),'belowContent':'</AuthProvider>','targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x11b),r=q[y(0xff)]('/'),s=this[y(0x106)][y(0x101)]({'pathParts':r});await this[y(0x106)][y(0x10c)]({'filePath':s+'.'+j,'importName':y(0x11a),'modulePath':f?y(0x116):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x106)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x129),'targetString':y(0xfb),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x10f)](t),process[y(0x12b)](0x1);}},async function(){},a128e);
@@ -1 +1 @@
1
- (function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xa4))/0x1*(parseInt(f(0xb0))/0x2)+-parseInt(f(0xa8))/0x3*(parseInt(f(0xa6))/0x4)+-parseInt(f(0xad))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xb3))/0x7)+parseInt(f(0xb2))/0x8*(-parseInt(f(0xa9))/0x9)+parseInt(f(0xa5))/0xa*(parseInt(f(0xa3))/0xb)+parseInt(f(0xb1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd83fe));function a129c(){var i=['388622ReHwPF','4757140JRJZQQ','68xWkXmC','search','179637bGRQlC','1884294cnTWUW','constructor','120PkERdu','toString','4501530PqIqzi','(((.+)+)+)+$','apply','2bJaBzd','28346868FxtxaI','32RirYNU','417249djAIaE','11qLCjyM'];a129c=function(){return i;};return a129c();}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0xa7)](h(0xae))[h(0xac)]()[h(0xaa)](a129a)['search'](h(0xae));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xa3;var f=c[d];return f;},a129d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xbd;var f=c[d];return f;},a129d(a,b);}(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1*(-parseInt(f(0xc8))/0x2)+parseInt(f(0xc1))/0x3*(parseInt(f(0xc4))/0x4)+-parseInt(f(0xbf))/0x5*(parseInt(f(0xc0))/0x6)+parseInt(f(0xcb))/0x7*(parseInt(f(0xc6))/0x8)+parseInt(f(0xc9))/0x9*(-parseInt(f(0xce))/0xa)+-parseInt(f(0xc7))/0xb*(parseInt(f(0xcc))/0xc)+parseInt(f(0xca))/0xd*(parseInt(f(0xc3))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa7574));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0xcd)]()['search'](h(0xbe))[h(0xcd)]()['constructor'](a129a)[h(0xc2)](h(0xbe));});function a129c(){var i=['6yDrbmw','21TbVCkI','search','25841438uGoaOR','310756jHagoG','1QdsJlb','1712CwuQLF','5914799XZkdbg','1452334CvWRRe','9712377uGhcAT','13ZBlnfI','7273WPbHAO','12hZOQEM','toString','10JAXaXX','apply','(((.+)+)+)+$','5179315PSVkJC'];a129c=function(){return i;};return a129c();}a129a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- function a130c(){const j=['2TtHHoC','apply','esri','4613580oDRsTY','(((.+)+)+)+$','48905TwlbOo','15283584XQHrla','1411758HMYqtF','761965oWDtsk','toString','2761084pEeqVt','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','constructor','4372417mfXKZL'];a130c=function(){return j;};return a130c();}const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0x17e))/0x1*(parseInt(f(0x185))/0x2)+-parseInt(f(0x17d))/0x3+parseInt(f(0x180))/0x4+-parseInt(f(0x17b))/0x5+parseInt(f(0x188))/0x6+parseInt(f(0x184))/0x7+-parseInt(f(0x17c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6f146));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x17f)]()[h(0x181)](h(0x189))[h(0x17f)]()[h(0x183)](a130a)[h(0x181)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a130e from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x17b;let f=c[d];return f;},a130d(a,b);}const EsriGen=Generator['create']({'name':a130i(0x187),'aliases':['e'],'usage':a130i(0x182),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){throw UsageError;},async function(){},a130e);export default EsriGen;
1
+ const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0x1cd))/0x1*(parseInt(f(0x1c8))/0x2)+-parseInt(f(0x1bd))/0x3+parseInt(f(0x1bb))/0x4*(-parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1be))/0x6+-parseInt(f(0x1c1))/0x7*(parseInt(f(0x1ce))/0x8)+parseInt(f(0x1c5))/0x9+parseInt(f(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xca0a4));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a['toString']()['search'](h(0x1cc))[h(0x1c9)]()[h(0x1c0)](a130a)[h(0x1bc)](h(0x1cc));});a130a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1bb;let f=c[d];return f;},a130d(a,b);}import a130e from'../kit.js';const EsriGen=Generator[a130i(0x1c4)]({'name':a130i(0x1bf),'aliases':['e'],'usage':a130i(0x1c3),'shortDesc':a130i(0x1cf),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a130i(0x1ca)],'description':a130i(0x1cb)},async function(){throw UsageError;},async function(){},a130e);function a130c(){const j=['apply','6806JPhhLl','toString','maka\x20g:kit:e','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','(((.+)+)+)+$','314lyuUYT','11720LvOJpO','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1234192aALpkl','search','848931EKliXB','9814434gqoXtH','esri','constructor','2275vZlWcr','5aDtABY','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','create','6139926ZRRFUt','39172730kUDjNw'];a130c=function(){return j;};return a130c();}export default EsriGen;
@@ -1 +1 @@
1
- const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=-parseInt(s(0x1eb))/0x1+parseInt(s(0x1e3))/0x2+-parseInt(s(0x1e2))/0x3+-parseInt(s(0x1f8))/0x4+-parseInt(s(0x1e5))/0x5*(parseInt(s(0x1e1))/0x6)+-parseInt(s(0x201))/0x7+parseInt(s(0x20b))/0x8*(parseInt(s(0x1ea))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdc13e));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x207)]()[u(0x1e8)](u(0x211))['toString']()[u(0x1f4)](a131a)[u(0x1e8)](u(0x211));});a131a();import{Generator}from'../../../generator.js';function a131c(){const x=['injectIntoFile','(((.+)+)+)+$','map','323508vHmTpK','818271Uahxlq','1751042sISbhA','apply','115WbcyKA','REACT','ssr','search','injectTemplateModule','423hGGeBE','447188zeMTaN','bright','findProjectDirectory','/imports/ui/','exit','create','esri-loader','.js','Generating\x20a\x20map\x20component','constructor','template','<div\x20id=\x22map\x22>','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','1329176BUAcsF','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','baseDir','appName','</div>','replaceAll','react','dir','NONE','5142305GQiXEL','/imports/startup/lib/templates','pathFromApp','meteor','checkNpmPackage','Generate\x20an\x20Esri\x20map\x20component','toString','processAndRunGenerator','/imports/ui/components','page','519640PSfHiP','injectImport','engines','split','@esri/react-arcgis'];a131c=function(){return x;};return a131c();}function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a131d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a131e from'./esri.generator.js';import a131f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131v(0x1f0)]({'name':a131v(0x212),'aliases':['m'],'usage':a131v(0x1f9),'shortDesc':a131v(0x206),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x1e6)],'ssr':SsrEngines[a131v(0x200)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1ec)](w(0x1f3));const h='basic-map';await f[w(0x205)]([w(0x20f),w(0x1f1)],{'shouldInstall':!![]});const i=d[w(0x1ed)](),j=c[w(0x20d)][w(0x1e7)]===w(0x204),k=await a131f[w(0x208)](w(0x20a),[w(0x212)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x1fb)])[w(0x1fd)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1fa)]?w(0x1ee)+b[w(0x1fa)]:w(0x209),n=g['pathFromApp']({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[w(0x1f5)]({'srcPath':'kit/esri/map/'+h+w(0x1f2),'destPath':n+w(0x1f2),'framework':w(0x1fe),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x1ff)]+'/'+h+'/'+h;await g[w(0x1e9)](h,c,o);const p=k[w(0x20e)]('/'),q=g[w(0x203)]({'pathParts':p});await g[w(0x20c)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x202):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x210)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1f7),'begin':[w(0x1f6),'<div\x20id=\x22map\x22>'],'end':[w(0x1fc)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x1ef)](0x1);}},async function(){},a131e);
1
+ function a131c(){const x=['/imports/ui/components','@esri/react-arcgis','371049TRcJsf','Generate\x20an\x20Esri\x20map\x20component','121964bkRiaN','search','checkNpmPackage','react','.js','13560KOGuEf','ssr','18312ZkezGo','1610maacNu','injectImport','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','185ImFySq','</div>','error','apply','927VDivIW','/imports/ui/','pathFromApp','appName','basic-map','586251MfrjoX','processAndRunGenerator','363306mBOzJL','esri-loader','baseDir','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','meteor','<div\x20id=\x22map\x22>','kit/esri/map/','findProjectDirectory','page','2930lWeCcJ','/imports/startup/client/templates','52085easpwi','toString','(((.+)+)+)+$','/imports/startup/lib/templates','map','dir','injectTemplateModule'];a131c=function(){return x;};return a131c();}const a131v=a131d;(function(a,b){const s=a131d,c=a();while(!![]){try{const d=parseInt(s(0x12b))/0x1+parseInt(s(0x117))/0x2+parseInt(s(0x115))/0x3+parseInt(s(0x12d))/0x4*(-parseInt(s(0x10c))/0x5)+-parseInt(s(0x106))/0x6*(parseInt(s(0x109))/0x7)+parseInt(s(0x108))/0x8*(parseInt(s(0x110))/0x9)+-parseInt(s(0x120))/0xa*(-parseInt(s(0x122))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xb094a));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x123)]()[u(0x12e)](u(0x124))[u(0x123)]()['constructor'](a131a)[u(0x12e)]('(((.+)+)+)+$');});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a131e from'./esri.generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x104;let f=c[d];return f;},a131d(a,b);}import a131f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a131v(0x126),'aliases':['m'],'usage':a131v(0x11a),'shortDesc':a131v(0x12c),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines['NONE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright']('Generating\x20a\x20map\x20component');const h=w(0x114);await f[w(0x12f)]([w(0x12a),w(0x118)],{'shouldInstall':!![]});const i=d[w(0x11e)](),j=c['engines'][w(0x107)]===w(0x11b),k=await a131f[w(0x116)](w(0x11f),[w(0x126)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x113)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?w(0x111)+b[w(0x119)]:w(0x129),n=g[w(0x112)]({'pathParts':[m,b[w(0x127)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':w(0x11d)+h+w(0x105),'destPath':n+w(0x105),'framework':w(0x104),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x127)]+'/'+h+'/'+h;await g[w(0x128)](h,c,o);const p=k['split']('/'),q=g[w(0x112)]({'pathParts':p});await g[w(0x10a)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x125):w(0x121),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x10b),'begin':[w(0x11c),w(0x11c)],'end':[w(0x10d)],'replace':!![]});}catch(r){Log[w(0x10e)](r),process['exit'](0x1);}},async function(){},a131e);
@@ -1 +1 @@
1
- const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0xf1))/0x1+-parseInt(f(0xef))/0x2*(parseInt(f(0xe8))/0x3)+parseInt(f(0xee))/0x4+parseInt(f(0xec))/0x5*(-parseInt(f(0xe9))/0x6)+parseInt(f(0xe7))/0x7+parseInt(f(0xf0))/0x8+parseInt(f(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xdbb39));const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()['search'](g(0xf5))[g(0xed)]()['constructor'](a132a)[g(0xf2)](g(0xf5));});a132a();function a132c(){const i=['toString','427100NvDWAz','2258IdgbKO','12387048BAsLcj','164292CRODoj','search','create','maka\x20g:kit','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','9088709pTODcB','4581jhAbyT','9720978VyLVpw','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','10135872gItNTq','5sARHpW'];a132c=function(){return i;};return a132c();}import{Generator}from'../../generator.js';const KitGen=Generator[a132h(0xf3)]({'name':'kit','aliases':['k'],'usage':a132h(0xf6),'shortDesc':a132h(0xea),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132h(0xf4),'maka\x20g:k']},async function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xe7;let f=c[d];return f;},a132d(a,b);}export default KitGen;
1
+ const a132i=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xb2;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xbd))/0x1*(-parseInt(f(0xbe))/0x2)+-parseInt(f(0xb2))/0x3+-parseInt(f(0xb6))/0x4+-parseInt(f(0xbb))/0x5+parseInt(f(0xc0))/0x6+parseInt(f(0xc2))/0x7*(-parseInt(f(0xb9))/0x8)+-parseInt(f(0xb3))/0x9*(-parseInt(f(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xddd24));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xb5)]()['search']('(((.+)+)+)+$')[h(0xb5)]()['constructor'](a132a)[h(0xb4)](h(0xc4));});a132a();function a132c(){const j=['30sKjXMQ','4233230VjxIpR','maka\x20{generate,\x20g}:{kit}\x20<name>','138UFmypw','22314lLCOja','kit','7019604ikehBQ','maka\x20g:kit','14eWyIXM','maka\x20g:k','(((.+)+)+)+$','3579267jQNkbG','4956417xdJVuw','search','toString','265160tLRWwM','apply','create','5388536UQsYwA'];a132c=function(){return j;};return a132c();}import{Generator}from'../../generator.js';const KitGen=Generator[a132i(0xb8)]({'name':a132i(0xbf),'aliases':['k'],'usage':a132i(0xbc),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132i(0xc1),a132i(0xc3)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a133d,c=a();while(!![]){try{var d=-parseInt(f(0xf4))/0x1+-parseInt(f(0xea))/0x2*(-parseInt(f(0xf2))/0x3)+parseInt(f(0xe8))/0x4+parseInt(f(0xf5))/0x5*(parseInt(f(0xee))/0x6)+parseInt(f(0xf1))/0x7+-parseInt(f(0xe9))/0x8+-parseInt(f(0xef))/0x9*(parseInt(f(0xf3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa08c0));var a133b=(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;};}()),a133a=a133b(this,function(){var g=a133d;return a133a[g(0xeb)]()[g(0xf0)](g(0xec))[g(0xeb)]()[g(0xed)](a133a)[g(0xf0)]('(((.+)+)+)+$');});function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0xe8;var f=c[d];return f;},a133d(a,b);}a133a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a133c(){var h=['constructor','324OPPkLE','3093768yZpoOw','search','6554275EAJBgO','6cgoeKc','40GhdWFs','387715xVuOke','63610LLzjdU','2970772wcUeuy','7570456seKsWL','1000624eHTcPk','toString','(((.+)+)+)+$'];a133c=function(){return h;};return a133c();}
1
+ (function(a,b){var f=a133d,c=a();while(!![]){try{var d=-parseInt(f(0x1ae))/0x1+-parseInt(f(0x1ab))/0x2*(parseInt(f(0x1aa))/0x3)+parseInt(f(0x1a3))/0x4*(-parseInt(f(0x1a9))/0x5)+parseInt(f(0x1a1))/0x6*(-parseInt(f(0x1a2))/0x7)+parseInt(f(0x1af))/0x8*(parseInt(f(0x1ad))/0x9)+parseInt(f(0x1a6))/0xa*(parseInt(f(0x1ac))/0xb)+parseInt(f(0x1b0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xa4369));var a133b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a133d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){var h=a133d;return a133a['toString']()['search']('(((.+)+)+)+$')[h(0x1a0)]()[h(0x1a7)](a133a)[h(0x1a5)](h(0x1a4));});a133a();function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0x1a0;var f=c[d];return f;},a133d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a133c(){var i=['906tjmEMb','3104827SkaNpn','18zsquAw','120146ANBZgQ','429496ZsLnQO','31297020SYCZxb','toString','208362DYtzie','91sWdNre','755916aWwbqt','(((.+)+)+)+$','search','30VjikTx','constructor','apply','30KZebeM','7842xjGyOk'];a133c=function(){return i;};return a133c();}
@@ -1 +1 @@
1
- const a134L=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0x213))/0x1+-parseInt(I(0x207))/0x2+parseInt(I(0x1f7))/0x3*(parseInt(I(0x217))/0x4)+parseInt(I(0x205))/0x5*(-parseInt(I(0x212))/0x6)+parseInt(I(0x1fe))/0x7+-parseInt(I(0x21f))/0x8*(-parseInt(I(0x208))/0x9)+-parseInt(I(0x220))/0xa*(-parseInt(I(0x20d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x8fa81));function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a134d(a,b);}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a[K(0x21d)]()['search'](K(0x1fd))['toString']()['constructor'](a134a)[K(0x1f3)](K(0x1fd));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'../../../generators/maka.gen.js';function a134c(){const O=['kit/mui/auth/register/','kit/mui/auth/password-reset/','maka\x20g:k:m:a','basic-logout-page','route','create','search','basic-password-reset-page','select','Cleaning\x20up...','15018ldlwEt','auth','apply','kit/mui/auth/logout/','/imports/startup/lib/authentication-provider','exit','(((.+)+)+)+$','776398vDNiZu','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','maka\x20generate:kit:mui:auth','reset-password/:token','template','basic-login-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','670XdsRNa','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','667808McAnOA','2829555FTFLVB','split','appName','custom','findProjectDirectory','11ENwxEF','baseDir','login','dir','MATERIAL','1932BGldsN','810532mtCpsf','Meteor\x20Accounts','pathFromApp','processAndRunGenerator','436oerQvU','.js','basic-forgot-password-page','meteor','kit:auth:provider','AuthContext','toString','react','16ogqhqv','4906430VIqQVL','Custom\x20(roll\x20your\x20own)','engines','injectImport','/imports/startup/client/authentication-provider','injectTemplateModule','error','authType','/imports/ui/','basic-register-page','force','REACT'];a134c=function(){return O;};return a134c();}import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134L(0x1f2)]({'name':a134L(0x1f8),'aliases':['a'],'usage':a134L(0x204),'shortDesc':a134L(0x1ff),'validOpts':['layouts',a134L(0x1eb)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134L(0x211)],'client':ClientEngines[a134L(0x1ec)]},'examples':[a134L(0x200),a134L(0x1ef)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a134L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1eb)]||![],h=d[M(0x20c)](),i=await Actions[M(0x1f5)]({'name':M(0x227),'message':M(0x206),'choices':[{'name':M(0x214),'value':M(0x21a)},{'name':M(0x221),'value':M(0x20b)}]}),j=M(0x203),k=M(0x1f0),l=M(0x1ea),m=M(0x1f4),n=M(0x219),o=b['baseDir']?M(0x1e9)+b[M(0x20e)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(j),kebabCase(j)]}),q=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x210)],kebabCase(m),kebabCase(m)]}),t=f[M(0x215)]({'pathParts':[o,b[M(0x210)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x20a)])};await f[M(0x202)]({'srcPath':'kit/mui/auth/login/'+j+M(0x218),'destPath':p+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1fa)+k+M(0x218),'destPath':q+M(0x218),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':M(0x1ed)+l+'.js','destPath':r+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1ee)+m+'.js','destPath':s+M(0x218),'framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x202)]({'srcPath':'kit/mui/auth/forgot-password/'+n+'.js','destPath':t+'.js','framework':M(0x21e),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x225)](j,c,v);const w=''+o+b[M(0x210)]+'/'+k+'/'+k;await f[M(0x225)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x225)](l,c,x);const y=''+o+b[M(0x210)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x210)]+'/'+n+'/'+n;await f[M(0x225)](n,c,z),await a134e[M(0x216)](M(0x1f1),['basic-login-page'],{'route':M(0x20f),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-logout-page'],{'route':'logout','private':!![],'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1ea)],{'route':'register','cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),[M(0x1f4)],{'route':M(0x201),'cwd':h,'config':c}),await a134e[M(0x216)](M(0x1f1),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0x21a)&&await a134e[M(0x216)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x20b)&&await a134e['processAndRunGenerator'](M(0x21b),[],{'force':g,'cwd':h,'config':c});const A=c['engines']['ssr']===M(0x21a),B=c[M(0x222)]['js'],C=f[M(0x215)]({'pathParts':v[M(0x209)]('/')});await f[M(0x223)]({'filePath':C+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x215)]({'pathParts':w['split']('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const E=f[M(0x215)]({'pathParts':x[M(0x209)]('/')});await f[M(0x223)]({'filePath':E+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const F=f[M(0x215)]({'pathParts':y[M(0x209)]('/')});await f[M(0x223)]({'filePath':F+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});const G=f[M(0x215)]({'pathParts':z['split']('/')});await f[M(0x223)]({'filePath':G+'.'+B,'importName':M(0x21c),'modulePath':A?M(0x1fb):M(0x224),'isNamedExport':!![]});}catch(H){Log[M(0x226)](H),process[M(0x1fc)](0x1);}},async function(){const N=a134L;console['log'](N(0x1f6));},a134f);export default a134f;
1
+ const a134L=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xbb;let f=c[d];return f;},a134d(a,b);}(function(a,b){const I=a134d,c=a();while(!![]){try{const d=parseInt(I(0xe5))/0x1+-parseInt(I(0xe8))/0x2*(parseInt(I(0xe3))/0x3)+parseInt(I(0xc6))/0x4+parseInt(I(0xc4))/0x5+-parseInt(I(0xe9))/0x6*(parseInt(I(0xe7))/0x7)+parseInt(I(0xdf))/0x8+parseInt(I(0xde))/0x9*(-parseInt(I(0xc2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xb5b0c));function a134c(){const O=['findProjectDirectory','route','custom','reset-password/:token','exit','10jqeviu','/imports/ui/pages/auth','6970735bKsxaH','basic-forgot-password-page','3867232rNJDaj','injectTemplateModule','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','(((.+)+)+)+$','kit/mui/auth/logout/','basic-login-page','REACT','force','AuthContext','basic-password-reset-page','injectImport','register','kit/mui/auth/password-reset/','react','kit/mui/auth/login/','error','authType','Cleaning\x20up...','select','layouts','baseDir','/imports/ui/','auth','toString','28060551nGSToJ','11251944YKVHGE','search','/imports/startup/lib/authentication-provider','create','3614937QPuhVJ','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','1441601BzFCwo','processAndRunGenerator','9121QbhtlL','2CGtApE','654OaipLY','/imports/startup/client/authentication-provider','apply','pathFromApp','meteor','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','basic-register-page','constructor','Meteor\x20Accounts','dir','kit/mui/auth/register/','maka\x20g:k:m:a','kit:auth:meteor','basic-logout-page','Custom\x20(roll\x20your\x20own)','.js','maka\x20generate:kit:mui:auth','split','engines'];a134c=function(){return O;};return a134c();}const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a['toString']()[K(0xe0)]('(((.+)+)+)+$')[K(0xdd)]()[K(0xf1)](a134a)[K(0xe0)](K(0xc9));});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'../../../generators/maka.gen.js';import a134f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a134L(0xe2)]({'name':a134L(0xdc),'aliases':['a'],'usage':a134L(0xef),'shortDesc':a134L(0xe4),'validOpts':[a134L(0xd9),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a134L(0xcc)]},'examples':[a134L(0xfa),a134L(0xf5)],'description':a134L(0xc8)},async function(a,b){const M=a134L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0xcd)]||![],h=d[M(0xbd)](),i=await Actions[M(0xd8)]({'name':M(0xd6),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0xf2),'value':M(0xed)},{'name':M(0xf8),'value':M(0xbf)}]}),j=M(0xcb),k=M(0xf7),l=M(0xf0),m=M(0xcf),n='basic-forgot-password-page',o=b['baseDir']?M(0xdb)+b[M(0xda)]:M(0xc3),p=f[M(0xec)]({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[M(0xec)]({'pathParts':[o,b[M(0xf3)],kebabCase(k),kebabCase(k)]}),r=f[M(0xec)]({'pathParts':[o,b[M(0xf3)],kebabCase(l),kebabCase(l)]}),s=f[M(0xec)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f['template']({'srcPath':M(0xd4)+j+M(0xf9),'destPath':p+M(0xf9),'framework':M(0xd3),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xee)]({'srcPath':M(0xca)+k+'.js','destPath':q+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xee)]({'srcPath':M(0xf4)+l+'.js','destPath':r+M(0xf9),'framework':M(0xd3),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xee)]({'srcPath':M(0xd2)+m+M(0xf9),'destPath':s+'.js','framework':M(0xd3),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xee)]({'srcPath':'kit/mui/auth/forgot-password/'+n+M(0xf9),'destPath':t+M(0xf9),'framework':M(0xd3),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xf3)]+'/'+j+'/'+j;await f['injectTemplateModule'](j,c,v);const w=''+o+b[M(0xf3)]+'/'+k+'/'+k;await f[M(0xc7)](k,c,w);const x=''+o+b[M(0xf3)]+'/'+l+'/'+l;await f[M(0xc7)](l,c,x);const y=''+o+b[M(0xf3)]+'/'+m+'/'+m;await f[M(0xc7)](m,c,y);const z=''+o+b[M(0xf3)]+'/'+n+'/'+n;await f[M(0xc7)](n,c,z),await a134e[M(0xe6)](M(0xbe),[M(0xcb)],{'route':'login','cwd':h,'config':c}),await a134e[M(0xe6)](M(0xbe),[M(0xf7)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a134e[M(0xe6)](M(0xbe),[M(0xf0)],{'route':M(0xd1),'cwd':h,'config':c}),await a134e[M(0xe6)](M(0xbe),[M(0xcf)],{'route':M(0xc0),'cwd':h,'config':c}),await a134e['processAndRunGenerator'](M(0xbe),[M(0xc5)],{'route':'forgot-password','cwd':h,'config':c});i===M(0xed)&&await a134e[M(0xe6)](M(0xf6),[],{'force':g,'cwd':h,'config':c});i===M(0xbf)&&await a134e[M(0xe6)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0xbc)]['ssr']==='meteor',B=c[M(0xbc)]['js'],C=f['pathFromApp']({'pathParts':v[M(0xbb)]('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0xea),'isNamedExport':!![]});const D=f[M(0xec)]({'pathParts':w['split']('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0xce),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0xea),'isNamedExport':!![]});const E=f[M(0xec)]({'pathParts':x[M(0xbb)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':M(0xce),'modulePath':A?M(0xe1):M(0xea),'isNamedExport':!![]});const F=f[M(0xec)]({'pathParts':y[M(0xbb)]('/')});await f[M(0xd0)]({'filePath':F+'.'+B,'importName':M(0xce),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0xea),'isNamedExport':!![]});const G=f[M(0xec)]({'pathParts':z[M(0xbb)]('/')});await f[M(0xd0)]({'filePath':G+'.'+B,'importName':M(0xce),'modulePath':A?M(0xe1):M(0xea),'isNamedExport':!![]});}catch(H){Log[M(0xd5)](H),process[M(0xc1)](0x1);}},async function(){const N=a134L;console['log'](N(0xd7));},a134f);export default a134f;
@@ -1 +1 @@
1
- const a135G=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=-parseInt(E(0x202))/0x1+parseInt(E(0x1e2))/0x2*(-parseInt(E(0x1e7))/0x3)+-parseInt(E(0x1ef))/0x4*(-parseInt(E(0x211))/0x5)+parseInt(E(0x1f6))/0x6*(parseInt(E(0x210))/0x7)+parseInt(E(0x203))/0x8+-parseInt(E(0x205))/0x9+parseInt(E(0x21d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x7e623));const a135b=(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;};}()),a135a=a135b(this,function(){const F=a135d;return a135a[F(0x1fb)]()[F(0x20d)](F(0x201))[F(0x1fb)]()[F(0x21a)](a135a)[F(0x20d)](F(0x201));});a135a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1da;let f=c[d];return f;},a135d(a,b);}import a135e from'path';import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x214)]({'name':a135G(0x1e4),'aliases':['f'],'usage':a135G(0x206),'shortDesc':a135G(0x207),'validOpts':[a135G(0x209),a135G(0x1e6),a135G(0x20a),a135G(0x20e)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x200)],'client':ClientEngines[a135G(0x1e3)]},'examples':[a135G(0x217),a135G(0x20f)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const H=a135G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i='basic-app-bar',j=H(0x1db),k=H(0x216),l=c['engines']['ssr']===H(0x1dc);await f['checkMeteorPackage'](['session',H(0x1e5)],{'shouldInstall':!![]});const m=d[H(0x215)](),n=a135e['join'](m,'imports','ui','layouts'),o=d[H(0x1fd)](n),p=o[H(0x1f5)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x219),'name':'layouts','choices':p});if(q[H(0x21c)]===0x0){Log[H(0x1fa)]('No\x20layouts\x20selected');return;}const r=b[H(0x1e6)]?H(0x1ec)+b[H(0x1e6)]:H(0x1f3),s=g[H(0x1f4)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[H(0x20a)],kebabCase(j),kebabCase(j)]}),u=g[H(0x1f4)]({'pathParts':[r,b[H(0x20a)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x1e8)])};await g[H(0x1dd)]({'srcPath':'kit/mui/frame/app-bars/'+i+H(0x1ed),'destPath':s+'.js','framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x1f2)+j+'.js','destPath':t+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x1dd)]({'srcPath':H(0x1ee)+k+H(0x1ed),'destPath':u+H(0x1ed),'framework':H(0x1ea),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x20a)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[H(0x1da)](j,c,x);const y=''+r+b[H(0x20a)]+'/'+k+'/'+k;await g[H(0x1da)](k,c,y);for(const z of q){const A=d['getFiles'](a135e['join'](n,z),{'extensions':[H(0x1df),H(0x212)],'omit':['app-tests',H(0x204),'test']});for(const B of A){const C=a135e['join'](n,z,B);await g[H(0x1fc)]({'filePath':C,'importName':H(0x1e9),'modulePath':H(0x21b),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':H(0x20c),'modulePath':H(0x1e0),'isNamedExport':![]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>','<div\x20id=\x22'+z+H(0x1f7)],'end':['<Outlet/>',H(0x1ff)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x1eb):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x1de),'begin':['<div\x20id=\x22'+z+'\x22>',H(0x1e1)+z+H(0x1f7)],'end':[H(0x1f0),H(0x1ff)]}),await g[H(0x208)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x1de),'begin':[H(0x1f0),H(0x1ff)],'end':[H(0x1f1)]}),await g[H(0x1fc)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x1eb):H(0x1f9),'isNamedExport':!![]}),await g[H(0x213)]({'filePath':C,'aboveContent':H(0x218),'belowContent':H(0x1f8),'targetString':[H(0x1f0),H(0x1ff)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a135G;console[I(0x1fe)](I(0x20b));},a135f);function a135c(){const J=['tests','3160368JhTYqp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','layouts','dir','Cleaning\x20up...','Container','search','force','maka\x20g:k:m:f','378daFXIj','1190EVotEO','tsx','injectAroundString','create','findAppDirectory','basic-sticky-footer','maka\x20generate:kit:mui:frame','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','constructor','@mui/material/Box','length','11149520aDTlHd','injectTemplateModule','basic-drawer','meteor','template','\x20/>\x0a','jsx','@mui/material/Container','<div\x20id=\x22','675018OWLUll','REACT','frame','maka:react-tracker','baseDir','9QEQNhG','appName','Box','react','/imports/startup/lib/templates','/imports/ui/','.js','kit/mui/frame/footers/','8472AggwuI','<Outlet/>','</div>','kit/mui/frame/drawers/','/imports/ui/components','pathFromApp','map','2760qLLZka','-hook\x22>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/startup/client/templates','error','toString','injectImport','getDirectories','log','<Outlet\x20/>','MATERIAL','(((.+)+)+)+$','339701MEMGYx','4617368eHzJSV'];a135c=function(){return J;};return a135c();}
1
+ const a135G=a135d;(function(a,b){const E=a135d,c=a();while(!![]){try{const d=-parseInt(E(0x11e))/0x1+-parseInt(E(0x14d))/0x2*(-parseInt(E(0x151))/0x3)+parseInt(E(0x11d))/0x4+parseInt(E(0x130))/0x5*(parseInt(E(0x15a))/0x6)+-parseInt(E(0x133))/0x7*(-parseInt(E(0x145))/0x8)+parseInt(E(0x128))/0x9*(parseInt(E(0x11b))/0xa)+-parseInt(E(0x142))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x2f8c7));const a135b=(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;};}()),a135a=a135b(this,function(){const F=a135d;return a135a[F(0x12c)]()[F(0x146)](F(0x127))[F(0x12c)]()[F(0x118)](a135a)[F(0x146)]('(((.+)+)+)+$');});a135a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a135c(){const J=['layouts','test','template','maka:react-tracker','join','4NOXqXn','No\x20layouts\x20selected','Box','getFiles','345645IAFjun','checkMeteorPackage','<Outlet\x20/>','log','/imports/startup/client/templates','pathFromApp','MATERIAL','-hook\x22>','kit/mui/frame/drawers/','1339098NQGkEf','kit/mui/frame/footers/','constructor','dir','length','130QvGtrI','injectAroundString','395356PtYprN','218148vprRmz','/imports/ui/','injectTemplateModule','@mui/material/Container','\x20/>\x0a','tsx','baseDir','react','frame','(((.+)+)+)+$','36171rhtiis','kit/mui/frame/app-bars/','basic-app-bar','engines','toString','ssr','checkbox','<div\x20id=\x22','5jDZxsw','REACT','tests','77KjZDKc','injectIntoFile','maka\x20g:k:m:f','/imports/ui/components','.js','<Outlet/>','create','findAppDirectory','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','error','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectImport','imports','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','maka\x20generate:kit:mui:frame','5693248CtIhNj','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/startup/lib/templates','236928aFJOyF','search','session'];a135c=function(){return J;};return a135c();}import{Actions}from'../../../tools/actions/actions.class.js';import a135e from'path';import a135f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x117;let f=c[d];return f;},a135d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x139)]({'name':a135G(0x126),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a135G(0x13d),'validOpts':[a135G(0x148),a135G(0x124),a135G(0x119),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x157)],'client':ClientEngines[a135G(0x131)]},'examples':[a135G(0x141),a135G(0x135)],'description':a135G(0x143)},async function(a,b){const H=a135G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=H(0x12a),j='basic-drawer',k='basic-sticky-footer',l=c[H(0x12b)][H(0x12d)]==='meteor';await f[H(0x152)]([H(0x147),H(0x14b)],{'shouldInstall':!![]});const m=d[H(0x13a)](),n=a135e[H(0x14c)](m,H(0x13f),'ui',H(0x148)),o=d['getDirectories'](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[H(0x12e)]({'message':H(0x13b),'name':H(0x148),'choices':p});if(q[H(0x11a)]===0x0){Log[H(0x13c)](H(0x14e));return;}const r=b[H(0x124)]?H(0x11f)+b[H(0x124)]:H(0x136),s=g[H(0x156)]({'pathParts':[r,b[H(0x119)],kebabCase(i),kebabCase(i)]}),t=g[H(0x156)]({'pathParts':[r,b[H(0x119)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b[H(0x119)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g[H(0x14a)]({'srcPath':H(0x129)+i+H(0x137),'destPath':s+H(0x137),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x159)+j+H(0x137),'destPath':t+'.js','framework':H(0x125),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x14a)]({'srcPath':H(0x117)+k+H(0x137),'destPath':u+'.js','framework':H(0x125),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x119)]+'/'+i+'/'+i;await g[H(0x120)](i,c,w);const x=''+r+b[H(0x119)]+'/'+j+'/'+j;await g[H(0x120)](j,c,x);const y=''+r+b[H(0x119)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[H(0x150)](a135e[H(0x14c)](n,z),{'extensions':['jsx',H(0x123)],'omit':['app-tests',H(0x132),H(0x149)]});for(const B of A){const C=a135e[H(0x14c)](n,z,B);await g[H(0x13e)]({'filePath':C,'importName':H(0x14f),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0x13e)]({'filePath':C,'importName':'Container','modulePath':H(0x121),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x144):H(0x155),'isNamedExport':!![]}),await g[H(0x134)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x122),'begin':[H(0x12f)+z+'\x22>',H(0x12f)+z+'-hook\x22>'],'end':['<Outlet/>',H(0x153)]}),await g[H(0x13e)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x144):H(0x155),'isNamedExport':!![]}),await g[H(0x134)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x12f)+z+'\x22>',H(0x12f)+z+H(0x158)],'end':[H(0x138),'<Outlet\x20/>']}),await g[H(0x134)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x122),'begin':[H(0x138),H(0x153)],'end':['</div>']}),await g[H(0x13e)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x144):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0x11c)]({'filePath':C,'aboveContent':H(0x140),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[H(0x138),H(0x153)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x13c)](D);}},async function(){const I=a135G;console[I(0x154)]('Cleaning\x20up...');},a135f);
@@ -1 +1 @@
1
- const a136j=a136d;function a136c(){const l=['toString','maka\x20g:kit:m','kitChoices','50oBIulU','8819376ctyFGD','processAndRunGenerator','kit:mui:auth','16212JlnCBp','Header,\x20Footer,\x20and\x20Drawer','454SiIAJx','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','3247551qpidWR','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','search','auth','2083518vhXPCl','304tXFKKh','cfg','exit','38594578QbrKUN','apply','findProjectDirectory','61532ILTdDR','366FgbzKD','includes','Material-UI\x20Kit','frame','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','notice','205CnTWdB','info','(((.+)+)+)+$','create','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a136c=function(){return l;};return a136c();}(function(a,b){const g=a136d,c=a();while(!![]){try{const d=parseInt(g(0x1b7))/0x1*(-parseInt(g(0x1cb))/0x2)+parseInt(g(0x1d2))/0x3+parseInt(g(0x1b6))/0x4*(parseInt(g(0x1bd))/0x5)+parseInt(g(0x1c6))/0x6+parseInt(g(0x1c9))/0x7*(-parseInt(g(0x1d3))/0x8)+-parseInt(g(0x1cd))/0x9*(-parseInt(g(0x1c5))/0xa)+-parseInt(g(0x1b3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xe083c));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a[i(0x1c2)]()[i(0x1d0)](i(0x1bf))['toString']()['constructor'](a136a)[i(0x1d0)](i(0x1bf));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a136e from'../../../generators/maka.gen.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a136d(a,b);}import a136f from'../kit.js';const MuiGen=Generator[a136j(0x1c0)]({'name':a136j(0x1ce),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a136j(0x1b9),'validOpts':[''],'isPro':!![],'examples':[a136j(0x1c3)]},async function(){const k=a136j;try{Log[k(0x1be)](k(0x1c1)),Log[k(0x1bc)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions['checkbox']({'message':k(0x1bb),'name':k(0x1c4),'choices':[{'name':k(0x1ca),'value':k(0x1ba)},{'name':k(0x1cc),'value':k(0x1d1)}]}),b=this['fsi'][k(0x1b5)](),c=this[k(0x1b1)]['getMakaProjectConfig']();a['includes'](k(0x1ba))&&await a136e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x1b8)](k(0x1d1))&&await a136e[k(0x1c7)](k(0x1c8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x1be)](k(0x1cf));return;}}catch(d){Log['error'](d),process[k(0x1b2)](0x1);}},async function(){},a136f);export default MuiGen;
1
+ const a136j=a136d;(function(a,b){const g=a136d,c=a();while(!![]){try{const d=-parseInt(g(0xdf))/0x1+-parseInt(g(0xce))/0x2+parseInt(g(0xc0))/0x3*(-parseInt(g(0xca))/0x4)+-parseInt(g(0xdc))/0x5+-parseInt(g(0xc6))/0x6*(-parseInt(g(0xbe))/0x7)+-parseInt(g(0xc4))/0x8+parseInt(g(0xe0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x7c390));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a[i(0xcf)]()[i(0xbf)]('(((.+)+)+)+$')[i(0xcf)]()[i(0xc8)](a136a)[i(0xbf)](i(0xc9));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a136e from'../../../generators/maka.gen.js';import a136f from'../kit.js';const MuiGen=Generator[a136j(0xd7)]({'name':a136j(0xd0),'aliases':['m'],'usage':a136j(0xd6),'resourceNameRequired':![],'shortDesc':a136j(0xd5),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a136j;try{Log[k(0xda)](k(0xd4)),Log[k(0xc1)](k(0xdd));const a=await Actions['checkbox']({'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','name':k(0xcb),'choices':[{'name':k(0xbd),'value':'frame'},{'name':k(0xd3),'value':k(0xe1)}]}),b=this[k(0xc7)]['findProjectDirectory'](),c=this[k(0xde)][k(0xcd)]();a[k(0xd2)](k(0xd9))&&await a136e['processAndRunGenerator'](k(0xd8),[],{'force':!![],'cwd':b,'config':c});a[k(0xd2)](k(0xe1))&&await a136e[k(0xd1)](k(0xdb),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xe2)]===0x0){Log['info'](k(0xc2));return;}}catch(d){Log[k(0xc5)](d),process[k(0xcc)](0x1);}},async function(){},a136f);function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xbd;let f=c[d];return f;},a136d(a,b);}export default MuiGen;function a136c(){const l=['Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','Material-UI\x20Kit','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','create','kit:mui:frame','frame','info','kit:mui:auth','3070620WJfVoj','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','cfg','887902Memkoc','23394546HaUSLG','auth','length','Header,\x20Footer,\x20and\x20Drawer','334621ExLEmA','search','15aZtSUN','notice','No\x20MUI\x20kits\x20selected.\x20Exiting.','apply','3430632MMpQwV','error','78eSSBdC','fsi','constructor','(((.+)+)+)+$','425468SQEjqe','kitChoices','exit','getMakaProjectConfig','498654RzOdxb','toString','mui','processAndRunGenerator','includes','Auth\x20workflow\x20(login,\x20logout,\x20etc.)'];a136c=function(){return l;};return a136c();}