@maka/maka-cli 5.1.17 → 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(0x135))/0x1+parseInt(k(0x11d))/0x2+parseInt(k(0x12f))/0x3+-parseInt(k(0x123))/0x4*(parseInt(k(0x126))/0x5)+parseInt(k(0x11f))/0x6+-parseInt(k(0x125))/0x7*(parseInt(k(0x13b))/0x8)+-parseInt(k(0x122))/0x9*(-parseInt(k(0x133))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcacf1));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x117;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a['toString']()[m(0x12b)](m(0x13c))['toString']()[m(0x11c)](a118a)[m(0x12b)]('(((.+)+)+)+$');});function a118c(){const p=['Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','1395096SscnkL','projectConfig','startup','623853EEWqtK','3870344iOhoGv','collections','1253wyRvBa','5pfaRAb','tsx','template','pathFromApp','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','search','imports','engines','injectAtEndOfFile','943689sBCNBV','checkMeteorPackage','pkg','apply','230zunOsi','index.','854009CCWAbN','maka\x20g:collection\x20todos','\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','scaffold','appPathPrefix','dir','28744giKVIF','(((.+)+)+)+$','test','collection/collection.js','where','mongo','resourceName','create','constructor','2308154DLJwwt'];a118c=function(){return p;};return a118c();}a118a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a118n(0x11b)]({'name':'collection','aliases':['col'],'usage':a118n(0x12a),'checkWhere':!![],'shortDesc':a118n(0x11e),'validOpts':[a118n(0x13a),a118n(0x118)],'mustBeInMakaProject':!![],'description':a118n(0x137),'examples':[a118n(0x136)]},async function(a,b){const o=a118n;try{const c=this[o(0x120)],d=b['dir']?'/'+b[o(0x13a)]+'/':'/',f=kebabCase(b[o(0x11a)]),g={'name':pascalCase(b[o(0x11a)]),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[o(0x118)],'test':c[o(0x12d)][o(0x13d)],'noRename':!![]};let h='js';c[o(0x12d)]['js']===o(0x127)&&(h='ts');await this[o(0x131)][o(0x130)]([o(0x119)],{'shouldInstall':!![]}),await this[o(0x138)][o(0x128)]({'srcPath':o(0x117),'destPath':this[o(0x138)]['pathFromApp']({'pathParts':[o(0x12c),o(0x121),b[o(0x139)],'collections',d,f+'.'+h]}),'context':g,'config':c});c[o(0x12d)][o(0x13d)]!=='none'&&await this[o(0x138)]['template']({'srcPath':'collection/tests.js','destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0x12c),o(0x121),b[o(0x139)],o(0x124),d,f+'.app-tests.'+h]}),'context':g,'config':c});const i=this[o(0x138)][o(0x129)]({'pathParts':[o(0x12c),o(0x121),b['appPathPrefix'],o(0x134)+c['engines']['js']]});await this['scaffold'][o(0x12e)]({'filePath':i,'content':'import\x20\x27./collections'+d+f+'\x27;'});}catch(j){Log['error'](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 a119m=a119d;(function(a,b){const k=a119d,c=a();while(!![]){try{const d=-parseInt(k(0xa5))/0x1*(-parseInt(k(0x99))/0x2)+-parseInt(k(0xb4))/0x3+-parseInt(k(0xa3))/0x4+parseInt(k(0xc9))/0x5+-parseInt(k(0xab))/0x6+parseInt(k(0xac))/0x7*(-parseInt(k(0xa2))/0x8)+parseInt(k(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x659e9));const a119b=(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;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0xb6)]()[l(0xb8)](l(0xc6))['toString']()['constructor'](a119a)[l(0xb8)](l(0xc6));});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-0x93;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a119m(0xba)];function a119c(){const o=['3000568WEcZsd','scaffold','375787XGLaNM','test/test.js','11441475RINqbG','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','.js','features','3327180ftFhZL','1351UlaMqP','import\x20\x27./','component','baseDir','dir','theme','className','relative','635619ANlhHo','injectTemplateModule','toString','none','search','pkg','comp','engines','resourceName','css','injectAtBeginningOfFile','maka\x20g:comp\x20todos/todos-item','ssr','component/component.js','pathFromApp','graphql','.tests.js','/imports/ui/','(((.+)+)+)+$','/imports/ui/components','root','2820110hkJOar','fileName','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','template/template.css','setTemplate','error','assign','withTranslations','.css','2CgXnkM','template','cfg','api','fsi','client','react','string','test','11536cnizcO'];a119c=function(){return o;};return a119c();}Generator['create']({'name':a119m(0xae),'aliases':aliases,'usage':a119m(0xa8),'shortDesc':a119m(0xcb),'mustBeInMakaProject':!![],'validOpts':[{'name':a119m(0xaf)}],'examples':[a119m(0xbf)]},async function(a,b){const n=a119m;try{const c=b[n(0xaf)]?n(0xc5)+b['baseDir']:n(0xc7),d=this['scaffold'][n(0xc2)]({'pathParts':[c,b[n(0xb0)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),f=this['projectConfig'];typeof f['template'][n(0xa1)]===n(0xa0)&&this['cfg'][n(0x94)]('test',f[n(0x9a)][n(0xa1)]);typeof f[n(0x9a)]['css']===n(0xa0)&&this[n(0x9b)][n(0x94)](n(0xbd),f[n(0x9a)][n(0xbd)]);typeof f['template']['js']===n(0xa0)&&this[n(0x9b)][n(0x94)]('js',f[n(0x9a)]['js']);await this[n(0xb9)]['checkNpmPackage']('ramda',{'shouldInstall':!b[n(0xc8)]}),await this[n(0xb9)]['checkNpmPackage']('react',{'shouldInstall':!b[n(0xc8)]});const g={'name':pascalCase(b['resourceName']),'myPath':a119e[n(0xb3)](this[n(0x9d)]['findProjectDirectory'](),d),'cssCaseName':kebabCase(b[n(0xbc)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[n(0xbc)]),'fileName':kebabCase(b['resourceName']),'graphql':f['engines'][n(0xc3)],'features':f[n(0xaa)],'client':f[n(0xbb)][n(0x9e)],'api':f[n(0xbb)][n(0x9c)],'ssr':f[n(0xbb)][n(0xc0)],'test':f[n(0xbb)][n(0xa1)],'theme':f['engines'][n(0xb1)],'isLayout':![],'isComponent':!![],'withTranslations':f['features'][n(0x97)]};await this[n(0xa4)][n(0x9a)]({'srcPath':n(0xc1),'destPath':d+n(0xa9),'context':g,'framework':n(0x9f),'config':f});f[n(0xbb)][n(0xa1)]!==n(0xb7)&&await this[n(0xa4)][n(0x9a)]({'srcPath':n(0xa6),'destPath':d+n(0xc4),'context':g,'framework':n(0x9f),'config':f});f[n(0x9a)][n(0xbd)]&&(await this[n(0xa4)][n(0x9a)]({'srcPath':n(0x93),'destPath':d+n(0x98),'context':Object[n(0x96)]({},g,{'className':kebabCase(b[n(0xbc)])}),'config':f}),await this[n(0xa4)][n(0xbe)]({'filePath':d+'.'+f['engines']['js'],'content':n(0xad)+g['cssCaseName']+'.'+f[n(0xbb)][n(0xbd)]+'\x27;'}));const h=b[n(0xb0)]?'/'+b['dir']+'/':'/',i=''+c+h+g[n(0xca)]+'/'+g['fileName'];await this[n(0xa4)][n(0xb5)](g[n(0xb2)],f,i);}catch(j){Log[n(0x95)](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=['777882UTrCTe','constructor','60fPUAuv','6ivvXpu','isDocker','development','local','73516afpsFb','prod','settings.json','apply','scaffold','(((.+)+)+)+$','template','projectConfig','config/pm2.config.js','process.env','1102276ZKcYoU','27345591Jnejid','dev','config/settings.json','create','resourceName','search','pm2.config.js','production','Generate\x20configuration\x20settings.','5439497wRCHjs','toString','pathFromProject','2349990dSwCUs','ubuntu','config','fsi','3196184PfsOFe','appName','config/process.env'];a120c=function(){return o;};return a120c();}(function(a,b){const j=a120d,c=a();while(!![]){try{const d=-parseInt(j(0x133))/0x1+parseInt(j(0x13a))/0x2*(-parseInt(j(0x135))/0x3)+-parseInt(j(0x11f))/0x4+-parseInt(j(0x12c))/0x5+parseInt(j(0x136))/0x6*(-parseInt(j(0x129))/0x7)+parseInt(j(0x130))/0x8+parseInt(j(0x120))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x62342));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a120d;if(c){const e=c[k(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const l=a120d;return a120a['toString']()['search']('(((.+)+)+)+$')[l(0x12a)]()[l(0x134)](a120a)[l(0x125)](l(0x13f));});a120a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x11e;let f=c[d];return f;},a120d(a,b);}Generator[a120m(0x123)]({'name':a120m(0x12e),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a120m(0x128),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':['maka\x20g:config\x20production']},async function(a,b){const n=a120m;try{const c=this[n(0x141)],d={'app':c[n(0x131)],'appFileCase':kebabCase(c[n(0x131)]),'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[n(0x124)]),'camelCase':camelCase(b[n(0x124)]),'userName':n(0x12d),'isDocker':b[n(0x137)]};let e=b[n(0x124)];if(e===n(0x121))e=n(0x138);else e===n(0x13b)&&(e=n(0x127));const f=this[n(0x12f)][n(0x12b)]({'pathParts':[n(0x12e),e,n(0x13c)]});await this[n(0x13e)]['template']({'srcPath':n(0x122),'destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0x12f)][n(0x12b)]({'pathParts':['config',e,n(0x126)]});await this[n(0x13e)][n(0x140)]({'srcPath':n(0x142),'destPath':g,'context':{'app':c[n(0x131)],'isDocker':b['isDocker']||![]},'config':c});}if(e===n(0x139)){const h=this['fsi'][n(0x12b)]({'pathParts':[n(0x12e),e,n(0x11e)]});await this[n(0x13e)]['template']({'srcPath':n(0x132),'destPath':h,'context':d,'config':c});}}catch(i){Log['error'](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 a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x84;let f=c[d];return f;},a121d(a,b);}(function(a,b){const k=a121d,c=a();while(!![]){try{const d=parseInt(k(0xa1))/0x1+parseInt(k(0xad))/0x2*(-parseInt(k(0x84))/0x3)+parseInt(k(0x8f))/0x4*(-parseInt(k(0x99))/0x5)+-parseInt(k(0xb0))/0x6*(parseInt(k(0xb2))/0x7)+parseInt(k(0x91))/0x8+parseInt(k(0x8a))/0x9*(-parseInt(k(0x89))/0xa)+parseInt(k(0x93))/0xb*(parseInt(k(0x95))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x71926));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a121d;if(c){const e=c[l(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const m=a121d;return a121a[m(0xb1)]()[m(0x9c)](m(0x8b))[m(0xb1)]()[m(0x85)](a121a)['search'](m(0x8b));});a121a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a121c(){const p=['better-sqlite3','sqlite','588614lqZJzB','maka\x20g:dbc\x20geoserver\x20--type=pgsql','dbc','426042qaeEst','toString','7aiMDOf','9IZHYnz','constructor','mssql','pkg','engines','2126280xGWhcB','18UcLYPk','(((.+)+)+)+$','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/register-dbc.js','4GgGfun','template','4398344SrYFmO','type','4926251TFMSiK','create','24wcRFNY','imports','scaffold','startup','2611315qeWCVo','server','register-','search','dbc/conn.js','pathFromApp','pgsql','maka\x20g:dbc\x20azure\x20--type=mssql','921162IImJlD','projectConfig','import\x20\x27./register-','tsx','maka\x20g:dbc\x20todos\x20--type=sqlite','conn.','apply','checkNpmPackage','dir','resourceName'];a121c=function(){return p;};return a121c();}import{Log}from'../tools/log/log.class.js';Generator[a121n(0x94)]({'name':a121n(0xaf),'usage':a121n(0x8c),'shortDesc':a121n(0x8d),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a121n(0x9f),a121n(0x86),'sqlite']}],'examples':[a121n(0xae),a121n(0xa0),a121n(0xa5)]},async function(a,b){const o=a121n;try{const c=this[o(0xa2)],d=kebabCase(b[o(0xaa)]),f={'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[o(0xaa)]),'camelCase':camelCase(b[o(0xaa)]),'type':b[o(0x92)],'engine':c['engines']['js'],'noRename':!![]},g=b[o(0xa9)]?'/'+b[o(0xa9)]+'/':'/';let h='js';c[o(0x88)]['js']===o(0xa4)&&(h='ts');b[o(0x92)]===o(0x9f)&&await this[o(0x87)][o(0xa8)]('pg',{'shouldInstall':!![]});b[o(0x92)]==='mssql'&&await this[o(0x87)][o(0xa8)]('mssql',{'shouldInstall':!![]});b['type']===o(0xac)&&await this[o(0x87)][o(0xa8)](o(0xab),{'shouldInstall':!![]});await this[o(0x97)]['template']({'srcPath':'dbc/config.js','destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),o(0x98),o(0x9a),'dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x97)][o(0x90)]({'srcPath':o(0x9d),'destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),'startup',o(0x9a),o(0xaf),g,d,o(0xa6)+h]}),'context':f,'config':c}),await this['scaffold']['template']({'srcPath':o(0x8e),'destPath':this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),o(0x98),o(0x9a),o(0x9b)+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x97)][o(0x9e)]({'pathParts':[o(0x96),'startup',o(0x9a),'index.'+c[o(0x88)]['js']]});await this[o(0x97)]['injectAtEndOfFile']({'filePath':i,'content':o(0xa3)+d+'-dbc\x27;'});}catch(j){Log['error'](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(0x186))/0x1+parseInt(i(0x171))/0x2+parseInt(i(0x188))/0x3+-parseInt(i(0x179))/0x4+parseInt(i(0x187))/0x5+-parseInt(i(0x170))/0x6+-parseInt(i(0x18b))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa9399));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a122d;if(c){const e=c[j(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const k=a122d;return a122a[k(0x17a)]()[k(0x17f)](k(0x173))['toString']()[k(0x17b)](a122a)[k(0x17f)](k(0x173));});a122a();function a122c(){const n=['force','609595ruAbbv','1192420XAFkHT','3603324jOQOLO','service','maka\x20{generate,\x20g}:dockerfile','2490446rhfSPO','getGlobalConfig','maka\x20g:dockerfile','join','template','apply','8195280oxPUyj','2067106KDYdMC','docker/Dockerfile','(((.+)+)+)+$','cfg','scaffold','findProjectDirectory','app.tar.gz','build','2671748MsDIND','toString','constructor','fsi','app','appName','search','isFile','dockerfile','cert','getMakaProjectConfig','Dockerfile'];a122c=function(){return n;};return a122c();}import{Generator}from'../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x16c;let f=c[d];return f;},a122d(a,b);}import{Log}from'../tools/log/log.class.js';import a122e from'path';Generator['create']({'name':a122l(0x181),'usage':a122l(0x18a),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a122l(0x185),'boolFlag':!![]}],'examples':[a122l(0x16c)]},async function(a,b){const m=a122l;try{const c=this[m(0x174)][m(0x183)](),d=await this[m(0x174)][m(0x18c)](),f=this[m(0x17c)][m(0x176)](),g={'app':c[m(0x17e)],'config':c,'appPath':a122e[m(0x16d)](f,m(0x17d)),'bundlePath':a122e[m(0x16d)](f,m(0x178),m(0x177)),'useCert':d['cert']?this[m(0x17c)][m(0x180)](d[m(0x182)]):![]};await this[m(0x175)][m(0x16e)]({'srcPath':m(0x172),'destPath':a122e[m(0x16d)](f,m(0x184)),'framework':m(0x189),'context':g,'config':c,'force':b[m(0x185)]});}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
- function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a123d(a,b);}const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x1cb))/0x1*(parseInt(l(0x1c7))/0x2)+parseInt(l(0x1cc))/0x3+parseInt(l(0x1cd))/0x4*(parseInt(l(0x1e6))/0x5)+-parseInt(l(0x1e5))/0x6*(-parseInt(l(0x1f2))/0x7)+-parseInt(l(0x1ba))/0x8+-parseInt(l(0x1be))/0x9*(parseInt(l(0x1c0))/0xa)+parseInt(l(0x1ce))/0xb*(parseInt(l(0x1ed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd3978));function a123c(){const q=['toString','create','hook','pages','graphql','className','scaffold','@apollo/client\x20isomorphic-fetch','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','cfg','installNpmPackage','notice','none','(((.+)+)+)+$','fileName','template','baseDir','hooks','test','injectTemplateModule','findProjectDirectory','Creating\x20','3330684IPesOD','30dQsvfc','withTranslations','react','\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','cssCaseName','css','fsi','17796hWeDSI','\x20hook...','constructor','test/test.js','checkNpmPackage','7RkFBko','.css','/imports/ui/','force','pkg','theme','warn','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','apply','.js','13298696RikbmW','engines','resourceName','assign','7024059DAMyCt','relative','10AIpxJX','apollo','string','pathFromApp','maka\x20g:hook\x20cool-hook','search','projectConfig','836vcHECT','dir','hook/hook.js','features','1905RSIGrn','3716577hpSCAq','328096EWYExE','13497NgzTvx'];a123c=function(){return q;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a[n(0x1cf)]()[n(0x1c5)](n(0x1dc))[n(0x1cf)]()[n(0x1ef)](a123a)[n(0x1c5)](n(0x1dc));});a123a();import a123e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a123o(0x1d0)]({'name':a123o(0x1d1),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a123o(0x1b7),'mustBeInMakaProject':!![],'validOpts':[{'name':a123o(0x1df),'values':[a123o(0x1e0),'components',a123o(0x1d2),'layouts']},{'name':'force','boolFlag':!![]}],'examples':[a123o(0x1c4)],'description':a123o(0x1e9)},async function(a,b){const p=a123o;Log[p(0x1da)](p(0x1e4)+b[p(0x1bc)]+p(0x1ee));try{await this[p(0x1f6)][p(0x1f1)]('react',{'shouldInstall':!![]});const c=this[p(0x1ec)]['findAppDirectory'](),d=b[p(0x1df)]?p(0x1f4)+b[p(0x1df)]:'/imports/ui/components',f=this[p(0x1d5)][p(0x1c3)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x1bc)]),kebabCase(b[p(0x1bc)])]}),g=this[p(0x1c6)];typeof g[p(0x1de)][p(0x1eb)]===p(0x1c2)&&this[p(0x1d8)]['setTemplate'](p(0x1eb),g[p(0x1de)][p(0x1eb)]);g[p(0x1bb)][p(0x1d3)]===p(0x1c1)&&!this[p(0x1f6)][p(0x1f1)]('@apollo/client')&&(Log[p(0x1b6)](p(0x1d7)),await this[p(0x1f6)][p(0x1d9)](p(0x1d6),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x1bc)]),'camelCaseName':camelCase(b[p(0x1bc)]),'className':pascalCase(b[p(0x1bc)]),'name':pascalCase(b[p(0x1bc)]),'graphql':g[p(0x1bb)][p(0x1d3)],'theme':g[p(0x1bb)][p(0x1f7)],'test':g[p(0x1bb)][p(0x1e1)],'features':g['features'],'myPath':a123e[p(0x1bf)](this['fsi'][p(0x1e3)](),f),'fileName':kebabCase(b[p(0x1bc)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1ca)][p(0x1e7)]};await this[p(0x1d5)][p(0x1de)]({'srcPath':p(0x1c9),'destPath':f+p(0x1b9),'context':h,'config':g,'framework':p(0x1e8),'force':b[p(0x1f5)]});g[p(0x1de)]['css']&&(await this['scaffold'][p(0x1de)]({'srcPath':'template/template.css','destPath':f+p(0x1f3),'context':Object[p(0x1bd)]({},h,{'className':h[p(0x1ea)]}),'config':g,'force':b[p(0x1f5)]}),await this[p(0x1d5)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x1bb)]['js'],'content':'import\x20\x27./'+h[p(0x1dd)]+'.'+g[p(0x1bb)]['css']+'\x27;'}));g[p(0x1bb)]['test']!==p(0x1db)&&await this[p(0x1d5)][p(0x1de)]({'srcPath':p(0x1f0),'destPath':f+'.app-tests.js','framework':p(0x1e8),'context':h,'config':g,'force':b[p(0x1f5)]});const i=b[p(0x1c8)]?'/'+b['dir']+'/':'/',j=''+d+i+h[p(0x1dd)]+'/'+h[p(0x1dd)];await this[p(0x1d5)][p(0x1e2)](h[p(0x1d4)],g,j);}catch(k){Log['error'](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(0x163))/0x1*(-parseInt(f(0x15a))/0x2)+-parseInt(f(0x162))/0x3+-parseInt(f(0x157))/0x4*(parseInt(f(0x161))/0x5)+-parseInt(f(0x15f))/0x6*(-parseInt(f(0x165))/0x7)+parseInt(f(0x164))/0x8+parseInt(f(0x160))/0x9+parseInt(f(0x15c))/0xa*(parseInt(f(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xe8a0a));function a124c(){var i=['10OSRvsW','4235271FCozFB','25572NSIbBT','6095512yIAWMG','2838598dEqGlv','3761612YmPLri','(((.+)+)+)+$','1128633jioxsK','50PmJyjV','apply','170uqJXDD','toString','search','12wbFgIb','14107383GPXJNS'];a124c=function(){return i;};return a124c();}var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a[h(0x15d)]()[h(0x15e)]('(((.+)+)+)+$')[h(0x15d)]()['constructor'](a124a)[h(0x15e)](h(0x158));});a124a();function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x157;var f=c[d];return f;},a124d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
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(0x166))/0x1+-parseInt(f(0x16c))/0x2+parseInt(f(0x16a))/0x3+parseInt(f(0x164))/0x4+parseInt(f(0x16b))/0x5*(parseInt(f(0x16e))/0x6)+-parseInt(f(0x16f))/0x7*(parseInt(f(0x170))/0x8)+parseInt(f(0x167))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8eb6c));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x165)]()['search'](h(0x168))[h(0x165)]()[h(0x169)](a125a)['search']('(((.+)+)+)+$');});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x164;var f=c[d];return f;},a125d(a,b);}import'./auth.generator.js';function a125c(){var i=['apply','36282gExYXV','1351TDqdlE','41664wLbLSf','2334860EyruFJ','toString','800940NsJyqK','4718016bViKGR','(((.+)+)+)+$','constructor','3309531XSiYnT','275LObBAu','306122UUiZOa'];a125c=function(){return i;};return a125c();}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(0xc6))/0x1*(parseInt(f(0xcf))/0x2)+-parseInt(f(0xc5))/0x3*(parseInt(f(0xbb))/0x4)+-parseInt(f(0xcd))/0x5*(parseInt(f(0xc2))/0x6)+-parseInt(f(0xc4))/0x7*(parseInt(f(0xce))/0x8)+-parseInt(f(0xd0))/0x9*(parseInt(f(0xbc))/0xa)+parseInt(f(0xca))/0xb*(parseInt(f(0xc7))/0xc)+parseInt(f(0xbd))/0xd*(parseInt(f(0xc9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x7564b));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()['search'](h(0xc0))[h(0xcc)]()[h(0xd2)](a126a)[h(0xc3)](h(0xc0));});a126a();import{Generator}from'../../../generator.js';function a126c(){const k=['116QSrpPR','4752297deCkKK','maka\x20g:kit:a','constructor','NIE','3840044kvapNo','10phtShA','13dTEDDa','apply','create','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','198KwSkyS','search','14yqAjNm','3wGJAky','3867NaIJIK','492qjeVJd','auth','31073882ZwzRvS','210408fcxsTM','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','toString','10460ixTvzO','2966408ihTWMg'];a126c=function(){return k;};return a126c();}import a126e from'../kit.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xba;let f=c[d];return f;},a126d(a,b);}const AuthGen=Generator[a126i(0xbf)]({'name':a126i(0xc8),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a126i(0xc1),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0xd1)],'description':a126i(0xcb)},async function(){const j=a126i;throw j(0xba);},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 a127u=a127d;function a127c(){const w=['engines','9345AsnzpM','12FXgdwG','const\x20resetPasswordWithToken','const\x20getUserAuthorizations','\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','243431QnsPav','findProjectDirectory','useEffect\x5c(','6ECTMet','processAndRunGenerator','20729064BZnget','kit/auth/service/meteor-auth-service.js','imports','4eUNvJC','error','const\x20registerNewUser','Meteor','meteor','/imports/startup/client/authentication-service','1685154lxGIbE','index','4692270tCobkl','(((.+)+)+)+$','const\x20authenticateToken','authentication-provider','624uNoDwz','AuthService','\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','pathFromApp','checkMeteorPackage','search','/imports/startup/lib','kit:auth:provider','template','meteor/accounts-base','REACT','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','11pDEdlK','const\x20authenticateUser','ssr','meteor/meteor','constructor','const\x20deauthenticateUser','Accounts','injectImport','publish','server','Meteor.startup','create','\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','injectIntoFile','Meteor.publish','authentication-service','auth/roles','react','.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','findAppDirectory','export\x20const\x20AuthProvider','\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','4087155NTXFQl','meteor/maka:react-tracker','force','259785rqTMui','injectIntoCodeBlock','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','toString','const\x20sendForgotPasswordEmail'];a127c=function(){return w;};return a127c();}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xfb))/0x1*(-parseInt(s(0x103))/0x2)+-parseInt(s(0x109))/0x3*(parseInt(s(0xf7))/0x4)+parseInt(s(0xea))/0x5*(parseInt(s(0xfe))/0x6)+parseInt(s(0xf6))/0x7*(parseInt(s(0x10f))/0x8)+-parseInt(s(0xed))/0x9+parseInt(s(0x10b))/0xa*(-parseInt(s(0x11c))/0xb)+parseInt(s(0x100))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe8917));const a127b=(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;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0xf3)]()[t(0x114)]('(((.+)+)+)+$')[t(0xf3)]()[t(0x120)](a127a)['search'](t(0x10c));});a127a();import a127e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127f from'./auth.generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xe0;let f=c[d];return f;},a127d(a,b);}import a127g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127u(0x127)]({'name':a127u(0x107),'aliases':['m'],'usage':a127u(0xf0),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a127u(0xec)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a127u(0x119)]},'description':a127u(0xe9)},async function(a,b){const v=a127u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0xec)]||![];await d[v(0x113)](['accounts-password'],{'shouldInstall':!![]});const i=c[v(0xfc)](),j=c[v(0xe7)](),k=g[v(0xf5)][v(0x11e)]===v(0x107);await a127g[v(0xff)](v(0x116),[],{'force':h,'cwd':i,'config':g}),await a127g[v(0xff)](v(0x124),[v(0xe3)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a127e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?v(0x115):'/imports/startup/client',n=f[v(0x112)]({'pathParts':[m,'','',v(0xe2)]});await f[v(0x117)]({'srcPath':v(0x101),'destPath':n+v(0xe5),'framework':v(0xe4),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x112)]({'pathParts':[m,'','',v(0x10e)]}),p=g[v(0xf5)]['js'];await f[v(0x123)]({'filePath':o+'.'+p,'importName':v(0x110),'modulePath':k?v(0xf1):v(0x108),'isNamedExport':![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xfa),'begin':v(0x11d),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0x111),'begin':v(0x10d),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0x128),'begin':v(0xf9),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xf2),'begin':v(0x121),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':v(0xe6),'begin':v(0xf4),'replace':!![]}),await f[v(0xee)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x105),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x11b),'begin':v(0xf8),'replace':!![]});k&&(await f[v(0x123)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':v(0xeb),'isNamedExport':!![]}),await f[v(0xe0)]({'filePath':o+'.'+p,'content':'\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','begin':v(0xe8),'end':v(0xfd)}));await f['injectImport']({'filePath':l,'importName':v(0x106),'modulePath':v(0x11f),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0xee)]({'filePath':l,'content':v(0xef),'begin':v(0xe1),'replace':!![]});const q=f[v(0x112)]({'pathParts':[v(0x102),'startup',v(0x125),v(0x10a)]});await f['injectImport']({'filePath':q+'.'+p,'importName':v(0x122),'modulePath':v(0x118),'isNamedExport':!![]}),await f[v(0xee)]({'filePath':q+'.'+p,'content':v(0x11a),'begin':v(0x126),'replace':!![]});}catch(r){Log[v(0x104)](r),process['exit'](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(0xe8))/0x1+parseInt(u(0xed))/0x2+-parseInt(u(0xdc))/0x3+parseInt(u(0xca))/0x4*(-parseInt(u(0xe7))/0x5)+-parseInt(u(0xf5))/0x6+parseInt(u(0xe6))/0x7*(parseInt(u(0xce))/0x8)+parseInt(u(0xe9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x9ed7b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a128d;if(c){const e=c[v(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const w=a128d;return a128a[w(0xe0)]()['search'](w(0xc4))[w(0xe0)]()[w(0xcd)](a128a)[w(0xf6)](w(0xc4));});a128a();function a128c(){const z=['authentication-provider','<AppRoutes\x20/>','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','force','/imports/startup/lib','REACT','injectAroundString','const\x20PrivateRoute','bright','150885mTDiNA','const\x20useAuth','</AuthProvider>','AuthProvider','toString','injectImport','/routes','injectIntoCodeBlock','exit','kit/auth/provider/authentication-provider.js','1119251JZqYtE','5170535GUYBCb','184120QUPdTd','12836898zAuTPm','ssr','/imports/startup/lib/authentication-provider','engines','951212TrVOia','/imports/startup/client','.js','/imports/startup/client/authentication-provider','apply','<AuthProvider>','pathFromApp','appName','6612228TLdNtI','search','scaffold','meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','react','(((.+)+)+)+$','function\x20useAuth','\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','<AppRoutes\x20history={history}/>','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','provider','4EtzUjK','/imports/startup/client/index','\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','constructor','56agasQT','create','useContext','template','/imports/startup/server/index'];a128c=function(){return z;};return a128c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xc4;let f=c[d];return f;},a128d(a,b);}import a128e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128x(0xcf)]({'name':a128x(0xc9),'aliases':['p'],'usage':a128x(0xc8),'shortDesc':a128x(0xf9),'validOpts':[a128x(0xd6)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a128x(0xd8)]},'description':a128x(0xc6)},async function(a,b){const y=a128x;try{const c=b[y(0xd6)]||![];Log[y(0xdb)](y(0xd5));const {projectConfig:d}=this,f=d[y(0xec)][y(0xea)]===y(0xf8),g={'name':capitalCase(d[y(0xf4)])},h=f?y(0xd7):y(0xee),i=this[y(0xf7)][y(0xf3)]({'pathParts':[h,'','',y(0xd3)]});await this[y(0xf7)][y(0xd1)]({'srcPath':y(0xe5),'destPath':i+y(0xef),'framework':y(0xfa),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0xe2),l=k['split']('/'),m=this[y(0xf7)][y(0xf3)]({'pathParts':l});await this[y(0xf7)][y(0xe1)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0xeb):y(0xf0),'isNamedExport':!![]}),await this['scaffold'][y(0xe1)]({'filePath':m+'.'+j,'importName':y(0xd0),'modulePath':y(0xfa),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][y(0xe3)]({'filePath':m+'.'+j,'content':y(0xcc),'begin':[y(0xdd),y(0xc5)],'replace':!![]}),await this[y(0xf7)][y(0xe3)]({'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(0xda)],'replace':!![]});const n=y(0xcb),o=n['split']('/'),p=this[y(0xf7)][y(0xf3)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':y(0xdf),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0xf7)][y(0xd9)]({'filePath':p+'.'+j,'aboveContent':y(0xf2),'belowContent':y(0xde),'targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xd2),r=q['split']('/'),s=this['scaffold'][y(0xf3)]({'pathParts':r});await this[y(0xf7)][y(0xe1)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xeb):y(0xf0),'isNamedExport':!![]}),await this[y(0xf7)][y(0xd9)]({'filePath':s+'.'+j,'aboveContent':y(0xf2),'belowContent':'</AuthProvider>','targetString':y(0xc7),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0xe4)](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(0x7d))/0x1*(parseInt(f(0x81))/0x2)+parseInt(f(0x89))/0x3+-parseInt(f(0x82))/0x4+-parseInt(f(0x87))/0x5*(parseInt(f(0x7c))/0x6)+-parseInt(f(0x7b))/0x7*(parseInt(f(0x80))/0x8)+-parseInt(f(0x86))/0x9+parseInt(f(0x85))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe0bbb));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a['toString']()[h(0x7f)](h(0x84))[h(0x83)]()[h(0x88)](a129a)[h(0x7f)](h(0x84));});function a129c(){var i=['680XwdwHh','318388RsXBTq','4372960shLCYi','toString','(((.+)+)+)+$','41266620yxEyXG','13909410GLlEtW','5aQxEYE','constructor','2636097dJrHCo','34321ABCaaX','2355558GdTxlE','4KyOOUt','apply','search'];a129c=function(){return i;};return a129c();}function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x7b;var f=c[d];return f;},a129d(a,b);}a129a();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
- const a130i=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe6;let f=c[d];return f;},a130d(a,b);}(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xf0))/0x1*(parseInt(f(0xea))/0x2)+-parseInt(f(0xf2))/0x3+-parseInt(f(0xe8))/0x4+-parseInt(f(0xf4))/0x5+parseInt(f(0xe6))/0x6+-parseInt(f(0xf5))/0x7+parseInt(f(0xed))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7d0a2));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xe7)]()['search'](h(0xef))[h(0xe7)]()[h(0xe9)](a130a)[h(0xeb)](h(0xef));});a130a();import{Generator}from'../../../generator.js';function a130c(){const j=['2213202ZafcAD','toString','17328GdKoHX','constructor','2VEnQLF','search','apply','4781616WWUZea','esri','(((.+)+)+)+$','1007493NcEWwm','create','2447406QCYuPe','\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','117530elePGF','4327820UkEhUA','maka\x20g:kit:e'];a130c=function(){return j;};return a130c();}import{UsageError}from'../../../error.js';import a130e from'../kit.js';const EsriGen=Generator[a130i(0xf1)]({'name':a130i(0xee),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a130i(0xf6)],'description':a130i(0xf3)},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(0xa7))/0x1+-parseInt(s(0xa5))/0x2*(-parseInt(s(0x9f))/0x3)+parseInt(s(0x95))/0x4*(-parseInt(s(0x83))/0x5)+-parseInt(s(0x81))/0x6+parseInt(s(0x89))/0x7+-parseInt(s(0xad))/0x8*(-parseInt(s(0xa3))/0x9)+parseInt(s(0x8d))/0xa*(parseInt(s(0xab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x25555));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a131d;if(c){const e=c[t(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const u=a131d;return a131a[u(0x94)]()[u(0x9b)](u(0x80))[u(0x94)]()['constructor'](a131a)[u(0x9b)](u(0x80));});a131a();import{Generator}from'../../../generator.js';function a131c(){const x=['injectImport','react','2403DwjDKs','injectTemplateModule','24790amuScH','kit/esri/map/','9971xFMxyF','bright','.js','split','473YsbGJl','dir','840OhTzYy','esri-loader','processAndRunGenerator','pathFromApp','(((.+)+)+)+$','1305930ZLKPOA','<div\x20id=\x22map\x22>','1285hBsJjE','appName','Generate\x20an\x20Esri\x20map\x20component','map','page','basic-map','1023631CUJljd','baseDir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','REACT','44570thGnNw','replaceAll','ssr','@esri/react-arcgis','findProjectDirectory','NONE','create','toString','3052bNxAam','apply','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','/imports/ui/','search','injectIntoFile','error','engines','51uzSTCD','template'];a131c=function(){return x;};return a131c();}import{Log}from'../../../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x7f;let f=c[d];return f;},a131d(a,b);}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(0x93)]({'name':a131v(0x86),'aliases':['m'],'usage':a131v(0x98),'shortDesc':a131v(0x85),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a131v(0x8c)],'ssr':SsrEngines[a131v(0x92)]},'description':a131v(0x97)},async function(a,b){const w=a131v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xa8)]('Generating\x20a\x20map\x20component');const h=w(0x88);await f['checkNpmPackage']([w(0x90),w(0xae)],{'shouldInstall':!![]});const i=d[w(0x91)](),j=c[w(0x9e)][w(0x8f)]==='meteor',k=await a131f[w(0xaf)](w(0x87),[w(0x86)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x84)])[w(0x8e)]('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?w(0x9a)+b[w(0x8a)]:'/imports/ui/components',n=g[w(0x7f)]({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[w(0xa0)]({'srcPath':w(0xa6)+h+w(0xa9),'destPath':n+w(0xa9),'framework':w(0xa2),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0xac)]+'/'+h+'/'+h;await g[w(0xa4)](h,c,o);const p=k[w(0xaa)]('/'),q=g[w(0x7f)]({'pathParts':p});await g[w(0xa1)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x9c)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x8b),'begin':[w(0x82),w(0x82)],'end':[w(0x99)],'replace':!![]});}catch(r){Log[w(0x9d)](r),process['exit'](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 a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xc8))/0x2)+-parseInt(f(0xcc))/0x3*(parseInt(f(0xbc))/0x4)+parseInt(f(0xce))/0x5+-parseInt(f(0xbe))/0x6*(parseInt(f(0xc7))/0x7)+-parseInt(f(0xcd))/0x8+parseInt(f(0xc3))/0x9*(-parseInt(f(0xc0))/0xa)+-parseInt(f(0xc2))/0xb*(-parseInt(f(0xc4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xd134f));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xbd)]()[h(0xbf)](h(0xc9))[h(0xbd)]()['constructor'](a132a)[h(0xbf)](h(0xc9));});a132a();import{Generator}from'../../generator.js';function a132c(){const j=['toString','8760036nyxEqQ','search','40mYvybk','maka\x20g:kit','29898jQqtiy','651609QqCZHL','17868IydZGZ','5HbqMLn','apply','7VzJFDU','248018eGqExt','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','3laxHRA','2145824TbELfG','2294800NTvqsu','kit','4045072FiXrsb'];a132c=function(){return j;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xbc;let f=c[d];return f;},a132d(a,b);}const KitGen=Generator['create']({'name':a132i(0xcf),'aliases':['k'],'usage':a132i(0xca),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a132i(0xc1),a132i(0xcb)]},async function(){});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(0x9c))/0x1+-parseInt(f(0xa4))/0x2+-parseInt(f(0x9f))/0x3+parseInt(f(0xa6))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xa2))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0x9d))/0x8+parseInt(f(0xa7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x19493));var a133b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a133d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){var h=a133d;return a133a[h(0xa3)]()['search']('(((.+)+)+)+$')['toString']()[h(0x9b)](a133a)[h(0xa8)](h(0xa0));});a133a();import'./mui.generator.js';import'./frame.mui.gen.js';function a133d(a,b){var c=a133c();return a133d=function(d,e){d=d-0x9b;var f=c[d];return f;},a133d(a,b);}import'./auth.mui.gen.js';function a133c(){var i=['941128sRgtSl','34321Skpojt','161487DPVEbw','(((.+)+)+)+$','apply','204IujGrc','toString','204446JTDbBc','1670ThtiVm','1796IUyzye','5555970mPLglh','search','constructor','158680bMjEQq'];a133c=function(){return i;};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
- function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xcf;let f=c[d];return f;},a134d(a,b);}const a134L=a134d;(function(a,b){const I=a134d,c=a();while(!![]){try{const d=-parseInt(I(0xef))/0x1*(parseInt(I(0xf9))/0x2)+-parseInt(I(0xea))/0x3+parseInt(I(0xf6))/0x4*(-parseInt(I(0xf8))/0x5)+-parseInt(I(0xdd))/0x6+parseInt(I(0xe2))/0x7*(-parseInt(I(0xe3))/0x8)+-parseInt(I(0xfd))/0x9*(-parseInt(I(0xee))/0xa)+parseInt(I(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x1cadb));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a134d;if(c){const e=c[J(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const K=a134d;return a134a[K(0x104)]()[K(0xf0)](K(0xec))[K(0x104)]()['constructor'](a134a)[K(0xf0)](K(0xec));});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(0xd0)]({'name':a134L(0xd1),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a134L(0x107),'validOpts':[a134L(0xf5),a134L(0xe7)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134L(0xd5)],'client':ClientEngines[a134L(0xf1)]},'examples':[a134L(0xfe),a134L(0x105)],'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(0xe7)]||![],h=d[M(0x102)](),i=await Actions[M(0xd7)]({'name':M(0xe8),'message':M(0x106),'choices':[{'name':M(0x111),'value':'meteor'},{'name':M(0xe6),'value':M(0x10e)}]}),j=M(0x10d),k='basic-logout-page',l='basic-register-page',m=M(0xd4),n=M(0xfa),o=b['baseDir']?'/imports/ui/'+b[M(0xd9)]:M(0xfb),p=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(k),kebabCase(k)]}),r=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(l),kebabCase(l)]}),s=f[M(0xeb)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[M(0xeb)]({'pathParts':[o,b[M(0xe1)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0xe9)])};await f[M(0xdc)]({'srcPath':M(0xe5)+j+M(0xf2),'destPath':p+M(0xf2),'framework':M(0xdf),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xdc)]({'srcPath':M(0xd6)+k+M(0xf2),'destPath':q+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0xf4)+l+M(0xf2),'destPath':r+'.js','framework':M(0xdf),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xdc)]({'srcPath':M(0x110)+m+M(0xf2),'destPath':s+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x103)+n+M(0xf2),'destPath':t+M(0xf2),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xe1)]+'/'+j+'/'+j;await f[M(0x108)](j,c,v);const w=''+o+b[M(0xe1)]+'/'+k+'/'+k;await f[M(0x108)](k,c,w);const x=''+o+b[M(0xe1)]+'/'+l+'/'+l;await f[M(0x108)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0xe1)]+'/'+n+'/'+n;await f[M(0x108)](n,c,z),await a134e[M(0x101)](M(0xfc),[M(0x10d)],{'route':M(0xed),'cwd':h,'config':c}),await a134e[M(0x101)](M(0xfc),['basic-logout-page'],{'route':M(0x109),'private':!![],'cwd':h,'config':c}),await a134e[M(0x101)]('route',[M(0xdb)],{'route':'register','cwd':h,'config':c}),await a134e[M(0x101)]('route',[M(0xd4)],{'route':M(0xe4),'cwd':h,'config':c}),await a134e['processAndRunGenerator']('route',[M(0xfa)],{'route':M(0xcf),'cwd':h,'config':c});i===M(0xd8)&&await a134e[M(0x101)](M(0xe0),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a134e['processAndRunGenerator'](M(0x10a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0xda)][M(0x10f)]===M(0xd8),B=c[M(0xda)]['js'],C=f['pathFromApp']({'pathParts':v[M(0xde)]('/')});await f[M(0x100)]({'filePath':C+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0xde)]('/')});await f[M(0x100)]({'filePath':D+'.'+B,'importName':M(0xf3),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x['split']('/')});await f[M(0x100)]({'filePath':E+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const F=f[M(0xeb)]({'pathParts':y[M(0xde)]('/')});await f[M(0x100)]({'filePath':F+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):M(0xd3),'isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z[M(0xde)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0xf3),'modulePath':A?M(0xd2):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log['error'](H),process[M(0xff)](0x1);}},async function(){const N=a134L;console[N(0x10c)]('Cleaning\x20up...');},a134f);export default a134f;function a134c(){const O=['basic-forgot-password-page','/imports/ui/pages/auth','route','13437ETlpJR','maka\x20generate:kit:mui:auth','exit','injectImport','processAndRunGenerator','findProjectDirectory','kit/mui/auth/forgot-password/','toString','maka\x20g:k:m:a','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','injectTemplateModule','logout','kit:auth:provider','apply','log','basic-login-page','custom','ssr','kit/mui/auth/password-reset/','Meteor\x20Accounts','forgot-password','create','auth','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','basic-password-reset-page','MATERIAL','kit/mui/auth/logout/','select','meteor','baseDir','engines','basic-register-page','template','650274GfxBTo','split','react','kit:auth:meteor','dir','7DfpaEu','778936AgFcgb','reset-password/:token','kit/mui/auth/login/','Custom\x20(roll\x20your\x20own)','force','authType','appName','47877jDaXoe','pathFromApp','(((.+)+)+)+$','login','330YjIIro','750RkwsUT','search','REACT','.js','AuthContext','kit/mui/auth/register/','layouts','105164oiXICS','4855884jTAmhC','5ZRRhKU','334paLqpz'];a134c=function(){return O;};return a134c();}
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(0x12d))/0x1*(-parseInt(E(0x153))/0x2)+-parseInt(E(0x13e))/0x3*(-parseInt(E(0x141))/0x4)+-parseInt(E(0x135))/0x5*(-parseInt(E(0x166))/0x6)+-parseInt(E(0x140))/0x7+-parseInt(E(0x156))/0x8*(-parseInt(E(0x133))/0x9)+-parseInt(E(0x13b))/0xa+-parseInt(E(0x138))/0xb*(parseInt(E(0x16c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x482ae));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(0x15f)]()[F(0x14e)]('(((.+)+)+)+$')['toString']()[F(0x168)](a135a)[F(0x14e)]('(((.+)+)+)+$');});a135a();function a135c(){const J=['3uYHMPh','findAppDirectory','1514492yxYySj','264412hccwMH','<Outlet\x20/>','Box','<Outlet/>','injectTemplateModule','react','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','log','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','\x20/>\x0a','maka:react-tracker','search','</div>','join','test','MATERIAL','2BdwWFB','-hook\x22>','maka\x20g:k:m:f','647336BfgMfg','meteor','kit/mui/frame/app-bars/','force','pathFromApp','@mui/material/Box','template','baseDir','maka\x20generate:kit:mui:frame','toString','injectIntoFile','tsx','getFiles','appName','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','Container','105978BUrxiu','ssr','constructor','basic-sticky-footer','basic-drawer','<div\x20id=\x22','24bIObmP','/imports/startup/lib/templates','/imports/ui/','length','checkbox','app-tests','checkMeteorPackage','getDirectories','Cleaning\x20up...','421094pJTtHb','layouts','/imports/startup/client/templates','injectAroundString','/imports/ui/components','.js','45yLJUTe','kit/mui/frame/drawers/','10WqZqKE','create','<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>','833844qCSioy','dir','frame','2635460ZMCURO','@mui/material/Container','injectImport'];a135c=function(){return J;};return a135c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a135e from'path';import a135f from'./mui.generator.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x127;let f=c[d];return f;},a135d(a,b);}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a135G(0x136)]({'name':a135G(0x13a),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a135G(0x148),'validOpts':[a135G(0x12e),'baseDir',a135G(0x139),a135G(0x159)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a135G(0x152)],'client':ClientEngines['REACT']},'examples':[a135G(0x15e),a135G(0x155)],'description':a135G(0x14b)},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(0x16a),k=H(0x169),l=c['engines'][H(0x167)]===H(0x157);await f[H(0x12a)](['session',H(0x14d)],{'shouldInstall':!![]});const m=d[H(0x13f)](),n=a135e[H(0x150)](m,'imports','ui',H(0x12e)),o=d[H(0x12b)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[H(0x128)]({'message':H(0x14a),'name':H(0x12e),'choices':p});if(q[H(0x127)]===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[H(0x15d)]?H(0x16e)+b[H(0x15d)]:H(0x131),s=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(i),kebabCase(i)]}),t=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(j),kebabCase(j)]}),u=g[H(0x15a)]({'pathParts':[r,b[H(0x139)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x163)])};await g[H(0x15c)]({'srcPath':H(0x158)+i+'.js','destPath':s+H(0x132),'framework':H(0x146),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':H(0x134)+j+H(0x132),'destPath':t+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x15c)]({'srcPath':'kit/mui/frame/footers/'+k+'.js','destPath':u+H(0x132),'framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x139)]+'/'+i+'/'+i;await g[H(0x145)](i,c,w);const x=''+r+b[H(0x139)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b['dir']+'/'+k+'/'+k;await g[H(0x145)](k,c,y);for(const z of q){const A=d[H(0x162)](a135e[H(0x150)](n,z),{'extensions':[H(0x147),H(0x161)],'omit':[H(0x129),'tests',H(0x151)]});for(const B of A){const C=a135e['join'](n,z,B);await g[H(0x13d)]({'filePath':C,'importName':H(0x143),'modulePath':H(0x15b),'isNamedExport':![]}),await g[H(0x13d)]({'filePath':C,'importName':H(0x165),'modulePath':H(0x13c),'isNamedExport':![]}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x14c),'begin':[H(0x16b)+z+'\x22>',H(0x16b)+z+H(0x154)],'end':[H(0x144),'<Outlet\x20/>']}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x14c),'begin':[H(0x16b)+z+'\x22>',H(0x16b)+z+'-hook\x22>'],'end':[H(0x144),H(0x142)]}),await g[H(0x160)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x14c),'begin':[H(0x144),H(0x142)],'end':[H(0x14f)]}),await g[H(0x13d)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x16d):H(0x12f),'isNamedExport':!![]}),await g[H(0x130)]({'filePath':C,'aboveContent':H(0x137),'belowContent':H(0x164),'targetString':['<Outlet/>',H(0x142)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const I=a135G;console[I(0x149)](I(0x12c));},a135f);
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 a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a136d(a,b);}(function(a,b){const g=a136d,c=a();while(!![]){try{const d=parseInt(g(0x1ef))/0x1*(parseInt(g(0x1f5))/0x2)+parseInt(g(0x1f8))/0x3*(parseInt(g(0x1f2))/0x4)+parseInt(g(0x1f9))/0x5*(-parseInt(g(0x1f7))/0x6)+parseInt(g(0x1eb))/0x7*(-parseInt(g(0x1e9))/0x8)+-parseInt(g(0x205))/0x9*(-parseInt(g(0x1e5))/0xa)+parseInt(g(0x1e6))/0xb+-parseInt(g(0x1ee))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x8df97));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a136d;if(c){const e=c[h(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const i=a136d;return a136a['toString']()[i(0x1e7)]('(((.+)+)+)+$')['toString']()[i(0x1fd)](a136a)['search'](i(0x1fa));});a136a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a136c(){const l=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','constructor','Material-UI\x20Kit','create','kit:mui:frame','notice','kit:mui:auth','maka\x20g:kit:m','exit','553563wKSKYl','info','length','getMakaProjectConfig','\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','20NHPlHM','2524610YYpsdX','search','apply','81520sfNXHS','kitChoices','518efkXFR','No\x20MUI\x20kits\x20selected.\x20Exiting.','processAndRunGenerator','2844024mPuIqg','278861lmDiJJ','auth','fsi','4DCUeOk','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','mui','6QEYuZY','cfg','135678IAOquV','1489641hSZwcx','25vkLGoL','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a136c=function(){return l;};return a136c();}import a136e from'../../../generators/maka.gen.js';import a136f from'../kit.js';const MuiGen=Generator[a136j(0x1ff)]({'name':a136j(0x1f4),'aliases':['m'],'usage':a136j(0x1fc),'resourceNameRequired':![],'shortDesc':a136j(0x1fe),'validOpts':[''],'isPro':!![],'examples':[a136j(0x203)]},async function(){const k=a136j;try{Log[k(0x1e1)](k(0x1f3)),Log[k(0x201)](k(0x1e4));const a=await Actions['checkbox']({'message':k(0x1fb),'name':k(0x1ea),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x1f0)}]}),b=this[k(0x1f1)]['findProjectDirectory'](),c=this[k(0x1f6)][k(0x1e3)]();a['includes']('frame')&&await a136e[k(0x1ed)](k(0x200),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x1f0))&&await a136e['processAndRunGenerator'](k(0x202),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1e2)]===0x0){Log[k(0x1e1)](k(0x1ec));return;}}catch(d){Log['error'](d),process[k(0x204)](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();}