@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 a163i=a163d;(function(a,b){const g=a163d,c=a();while(!![]){try{const d=parseInt(g(0x19e))/0x1*(-parseInt(g(0x1ac))/0x2)+parseInt(g(0x19b))/0x3*(-parseInt(g(0x1a7))/0x4)+-parseInt(g(0x1a5))/0x5*(parseInt(g(0x194))/0x6)+parseInt(g(0x1a2))/0x7*(-parseInt(g(0x18f))/0x8)+-parseInt(g(0x198))/0x9*(-parseInt(g(0x190))/0xa)+-parseInt(g(0x1ae))/0xb*(parseInt(g(0x19c))/0xc)+-parseInt(g(0x1a8))/0xd*(-parseInt(g(0x19a))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0xc1523));const a163b=(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;};}()),a163a=a163b(this,function(){const h=a163d;return a163a[h(0x1a0)]()[h(0x1a1)]('(((.+)+)+)+$')[h(0x1a0)]()[h(0x19f)](a163a)[h(0x1a1)]('(((.+)+)+)+$');});function a163c(){const n=['1162139EofMoz','Please\x20choose\x20a\x20value\x20for\x20','5792yqWefV','3800WZvRsO','ask','inputOpts','Invalid\x20value\x20for\x20','240lixcRm','select','Please\x20choose\x20a\x20valid\x20value\x20for\x20','handleOptions','21681qCuqza','handleValidOptions','5404bWCpvt','3405225mZVHcy','24QXbuoQ','Please\x20provide\x20a\x20valid\x20value\x20for\x20','4cWaRRJ','constructor','toString','search','5824cszmFD','includes','Please\x20provide\x20a\x20value\x20for\x20','9245JjUDtW','opts','4hWDkDD','72670RFGUjo','handleRequiredOptions','string','requiredOpts','129308NLzwsy','validOpts'];a163c=function(){return n;};return a163c();}function a163d(a,b){const c=a163c();return a163d=function(d,e){d=d-0x18e;let f=c[d];return f;},a163d(a,b);}a163a();import{Actions}from'../actions/actions.class.js';export class OptionHandler{[a163i(0x192)];[a163i(0x1a6)];[a163i(0x1ab)];[a163i(0x1ad)];constructor(){const j=a163i;this[j(0x192)]=[],this[j(0x1a6)]={},this[j(0x1ab)]=[],this[j(0x1ad)]=[];}async[a163i(0x197)](a,b,c){const k=a163i;this['inputOpts']=a,this[k(0x1ab)]=b,this[k(0x1ad)]=c,await this[k(0x1a9)](),await this[k(0x199)]();}async[a163i(0x1a9)](){const l=a163i;if(this[l(0x1ab)]?.['length']>0x0)for(const a of this[l(0x1ab)]){let b=!![];const {name:c,values:d}=typeof a===l(0x1aa)?{'name':a,'values':undefined}:a;if(!this['inputOpts']['includes'](c)){const e=d?await Actions[l(0x195)]({'name':c,'message':l(0x18e)+c,'choices':d['map'](f=>({'name':f,'value':f}))}):await Actions[l(0x191)](l(0x1a4)+c);this['opts'][c]=e,b=d?d['includes'](this[l(0x1a6)][c]):!![];}else b=d?d[l(0x1a3)](this['opts'][c]):!![];if(!b)throw new Error(l(0x193)+c+':\x20'+this['opts'][c]);}}async[a163i(0x199)](){const m=a163i;if(this[m(0x1ad)]?.['length']>0x0)for(const a of this[m(0x1ad)]){const {name:b,values:c}=typeof a===m(0x1aa)?{'name':a,'values':undefined}:a,d=this[m(0x1a6)][b];if(d!==undefined&&(!c||!c[m(0x1a3)](d))){const e=c?await Actions[m(0x195)]({'name':b,'message':m(0x196)+b,'choices':c['map'](f=>({'name':f,'value':f}))}):await Actions['ask'](m(0x19d)+b);this[m(0x1a6)][b]=e;}}}}
1
+ const a163j=a163d;function a163d(a,b){const c=a163c();return a163d=function(d,e){d=d-0x13f;let f=c[d];return f;},a163d(a,b);}(function(a,b){const g=a163d,c=a();while(!![]){try{const d=parseInt(g(0x154))/0x1+-parseInt(g(0x15d))/0x2*(parseInt(g(0x14b))/0x3)+-parseInt(g(0x145))/0x4*(parseInt(g(0x14c))/0x5)+parseInt(g(0x140))/0x6*(-parseInt(g(0x15e))/0x7)+-parseInt(g(0x153))/0x8+-parseInt(g(0x14a))/0x9*(parseInt(g(0x15b))/0xa)+parseInt(g(0x147))/0xb*(parseInt(g(0x14e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0xb312f));function a163c(){const o=['handleOptions','handleRequiredOptions','4942948RwKYMJ','validOpts','902737uOofsH','toString','includes','2988vFlWdA','3XnCllJ','5JZkKjh','inputOpts','444ruoEKz','length','apply','Invalid\x20value\x20for\x20','Please\x20choose\x20a\x20value\x20for\x20','4585296cmGwqi','1320053xfFRrT','map','ask','search','(((.+)+)+)+$','requiredOpts','opts','760IAmSVt','select','2483618EbzeRM','91lVxVXP','constructor','Please\x20choose\x20a\x20valid\x20value\x20for\x20','252510SVJMMS','Please\x20provide\x20a\x20value\x20for\x20','string'];a163c=function(){return o;};return a163c();}const a163b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a163d;if(c){const e=c[h(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){const i=a163d;return a163a['toString']()[i(0x157)](i(0x158))[i(0x148)]()[i(0x15f)](a163a)[i(0x157)](i(0x158));});a163a();import{Actions}from'../actions/actions.class.js';export class OptionHandler{['inputOpts'];[a163j(0x15a)];[a163j(0x159)];[a163j(0x146)];constructor(){const k=a163j;this[k(0x14d)]=[],this[k(0x15a)]={},this[k(0x159)]=[],this[k(0x146)]=[];}async[a163j(0x143)](a,b,c){const l=a163j;this[l(0x14d)]=a,this[l(0x159)]=b,this['validOpts']=c,await this[l(0x144)](),await this['handleValidOptions']();}async[a163j(0x144)](){const m=a163j;if(this[m(0x159)]?.[m(0x14f)]>0x0)for(const a of this[m(0x159)]){let b=!![];const {name:c,values:d}=typeof a==='string'?{'name':a,'values':undefined}:a;if(!this[m(0x14d)][m(0x149)](c)){const e=d?await Actions['select']({'name':c,'message':m(0x152)+c,'choices':d[m(0x155)](f=>({'name':f,'value':f}))}):await Actions[m(0x156)](m(0x141)+c);this[m(0x15a)][c]=e,b=d?d[m(0x149)](this[m(0x15a)][c]):!![];}else b=d?d[m(0x149)](this[m(0x15a)][c]):!![];if(!b)throw new Error(m(0x151)+c+':\x20'+this[m(0x15a)][c]);}}async['handleValidOptions'](){const n=a163j;if(this[n(0x146)]?.[n(0x14f)]>0x0)for(const a of this[n(0x146)]){const {name:b,values:c}=typeof a===n(0x142)?{'name':a,'values':undefined}:a,d=this[n(0x15a)][b];if(d!==undefined&&(!c||!c[n(0x149)](d))){const e=c?await Actions[n(0x15c)]({'name':b,'message':n(0x13f)+b,'choices':c['map'](f=>({'name':f,'value':f}))}):await Actions[n(0x156)]('Please\x20provide\x20a\x20valid\x20value\x20for\x20'+b);this[n(0x15a)][b]=e;}}}}
@@ -1 +1 @@
1
- const a164q=a164d;function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x112;let f=c[d];return f;},a164d(a,b);}(function(a,b){const m=a164d,c=a();while(!![]){try{const d=-parseInt(m(0x161))/0x1*(parseInt(m(0x12b))/0x2)+parseInt(m(0x133))/0x3+-parseInt(m(0x112))/0x4+parseInt(m(0x160))/0x5+-parseInt(m(0x141))/0x6+parseInt(m(0x128))/0x7*(-parseInt(m(0x13b))/0x8)+parseInt(m(0x163))/0x9*(parseInt(m(0x14b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0x9cdee));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a164d;if(c){const e=c[n(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const o=a164d;return a164a['toString']()[o(0x159)](o(0x142))['toString']()[o(0x169)](a164a)['search'](o(0x142));});a164a();import a164e from'path';import a164f from'fs';import{exec}from'child_process';function a164c(){const E=['74977dcqiaG','split','exit','6JOlKMJ','toString','Missing\x20dependencies\x20detected:\x20','msg','withSpinner','.\x20Installing...','length','\x20into.','1567308lIsKMN','\x20from.','push','setupNpm()','Installing\x20npm\x20dependencies','meteorCommand','message','ensureAllDependenciesInstalled()','848ASmIZa','\x20is/are\x20present.','string','start','npm','installMeteorPackage','4333830VuzbQq','(((.+)+)+)+$','Cannot\x20find\x20your\x20node_modules\x20folder.','existsSync','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20','checkMeteorPackage()','shouldInstall','failure','\x20add\x20','warn','130rmDArn','keys','\x20--allow-incompatible-update','findAppDirectory','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20','npm\x20i\x20--save\x20-q\x20','join','success','dependencies','saveDev','packages','getInstance','search','devDependencies','node_modules','developer\x20','Error\x20in\x20','isSelfTest','Installing\x20','2205410OqVPLo','232663HXVkyn','utf8','1966077ccKyNS','All\x20dependencies\x20are\x20installed.','Removing\x20insecure\x20meteor\x20packages','env','installNpmPackage','npm\x20packages','constructor','meteor','2420820jHUwhG','npm\x20i\x20--save-dev\x20-q\x20','install','cwd','Could\x20not\x20install\x20npm\x20dependencies','readFileSync','Couldn\x27t\x20find\x20an\x20app\x20directory.','MAKA_DEV','app','stringify','apply','setupNpm','Installing\x20meteor\x20packages','includes','package.json','.meteor','instance','appendFileSync','isDirectory','True','error','fsi'];a164c=function(){return E;};return a164c();}import{Log}from'../log/log.class.js';import{SpawnAsync}from'../spawn-async/spawn-async.class.js';const errorHandler=(a,b)=>{const p=a164d;process[p(0x166)][p(0x119)]===p(0x125)&&Log[p(0x126)](p(0x15d)+a),b&&console['error'](b);};export class PKG{static [a164q(0x122)];['fsi'];[a164q(0x16a)];constructor(a){const r=a164q;this[r(0x127)]=a,this['meteor']=a[r(0x138)]();}static[a164q(0x158)](a){const s=a164q;return!PKG['instance']&&(PKG[s(0x122)]=new PKG(a)),PKG[s(0x122)];}[a164q(0x140)](a,b){return new Promise((c,d)=>{const t=a164d;b=b||{},b[t(0x115)]=b[t(0x115)]||this[t(0x127)][t(0x14e)]();if(!b[t(0x15e)]){const f=Log['withSpinner'](),g=this[t(0x127)][t(0x14e)](b[t(0x115)]);if(!g)Log[t(0x126)](t(0x145)+JSON[t(0x11b)](a)+t(0x132)),d();else try{if(a[t(0x129)]('\x20')['length']>0x1){const h=a[t(0x129)]('\x20');for(const i of h){const j=this['fsi'][t(0x14e)](b[t(0x115)]),k=a164f[t(0x117)](a164e[t(0x153)](j,t(0x121),t(0x157)),t(0x162));k['indexOf'](i[t(0x129)]('@')[0x0])===-0x1&&a164f[t(0x123)](a164e[t(0x153)](j,'.meteor',t(0x157)),i+'\x0a');}}f[t(0x13e)](t(0x11e)),exec(this[t(0x16a)]+t(0x149)+a+t(0x14d),{'cwd':g},l=>{const u=t;l&&(Log[u(0x126)]('\x0a'+l[u(0x139)]),d(),process[u(0x12a)](0x1)),f[u(0x154)](),c();});}catch(l){Log[t(0x126)](l),f['failure'](),d();}}});}['removeMeteorPackage'](a,b){return new Promise((c,d)=>{const v=a164d;b=b||{},b[v(0x115)]=b[v(0x115)]||'.';if(!b[v(0x15e)]){const f=this['fsi'][v(0x14e)](b[v(0x115)]);if(!f)Log[v(0x126)](v(0x151)+JSON[v(0x11b)](a)+v(0x134)),d();else{const g=Log['withSpinner']();try{g[v(0x13e)](v(0x165)),exec(this[v(0x16a)]+'\x20remove\x20'+a,{'cwd':f},h=>{const w=v;h&&(Log['error']('\x0a'+h[w(0x139)]),d(),process[w(0x12a)](0x1)),g[w(0x154)](),c();});}catch(h){Log[v(0x126)](h),g[v(0x148)](),d();}}}});}async['checkMeteorPackage'](a,b){const x=a164q;try{const c=this['fsi'][x(0x14e)]();if(!c)return Log['error'](x(0x150)+JSON[x(0x11b)](a)+x(0x13c)),![];const d=a164f['readFileSync'](a164e[x(0x153)](c,x(0x121),x(0x157)),'utf-8')[x(0x129)]('\x0a')['filter'](Boolean);typeof a==='string'&&(a=[a]);const f=[];for(const g of a){const h=d[x(0x11f)](g);!h&&f['push'](g);}if(b[x(0x147)]&&f[x(0x131)]>0x0){const i=f['join']('\x20');await this[x(0x140)](i,b);}return f[x(0x131)]===0x0;}catch(j){errorHandler(x(0x146),j),process[x(0x12a)](0x1);}}async[a164q(0x11d)](a){const y=a164q;try{const b=this[y(0x127)][y(0x14e)](a[y(0x115)]);if(!b)Log['error'](y(0x14f));else{const c=this[y(0x127)][y(0x124)](a164e[y(0x153)](b,y(0x15b)));!c&&(Log['warn'](y(0x143)),await SpawnAsync[y(0x12f)](this[y(0x16a)],[y(0x13f),y(0x114)],{'cwd':b,'message':y(0x137)}));const d=this[y(0x127)][y(0x124)](a164e[y(0x153)](b,y(0x15b)));if(!d)throw Log[y(0x126)](y(0x116));}}catch(f){errorHandler(y(0x136),f),process['exit'](0x1);}}async['checkNpmPackage'](a,b){const z=a164q;try{b=b||{};if(b[z(0x15e)])return![];const c=b[z(0x115)]?b['cwd']:this[z(0x127)][z(0x14e)]();if(!c)return Log['error']('Couldn\x27t\x20find\x20a\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20'+JSON[z(0x11b)](a)+z(0x13c)),![];const d=JSON['parse'](a164f['readFileSync'](a164e['join'](c,z(0x120)))[z(0x12c)]());!d['dependencies']&&(d['dependencies']={});!d['devDependencies']&&(d[z(0x15a)]={});const f=[];typeof a===z(0x13d)&&(a=[a]);for(const g of a){const h=d[z(0x155)][g]||d[z(0x15a)][g];!h&&f[z(0x135)](g);}if(b[z(0x147)]&&f['length']>0x0){await this[z(0x167)](f[z(0x153)]('\x20'),b);const i=JSON['parse'](a164f[z(0x117)](a164e[z(0x153)](c,z(0x120)))[z(0x12c)]());for(const j of f){if(!(i['dependencies'][j]||i[z(0x15a)][j]))return![];}}return f[z(0x131)]===0x0;}catch(k){errorHandler('checkNpmPackage()',k),process[z(0x12a)](0x1);}}async['ensureAllDependenciesInstalled'](){const A=a164q;try{const a=this[A(0x127)][A(0x14e)]();if(!a){Log[A(0x126)](A(0x118));return;}const b=a164f['existsSync'](a164e['join'](a,A(0x15b)));if(!b){const g=process['cwd']();await this['setupNpm']({'cwd':a164e[A(0x153)](g,A(0x11a))});}const c=JSON['parse'](a164f[A(0x117)](a164e['join'](a,'package.json'))[A(0x12c)]()),d=Object[A(0x14c)]({...c[A(0x155)],...c[A(0x15a)]}),f=[];for(const h of d){!a164f[A(0x144)](a164e['join'](a,A(0x15b),h))&&f['push'](h);}f['length']>0x0?(Log[A(0x14a)](A(0x12d)+f[A(0x153)](',\x20')+A(0x130)),await this[A(0x167)](f['join']('\x20'),{'shouldInstall':!![]})):Log[A(0x154)](A(0x164));}catch(i){errorHandler(A(0x13a),i),process[A(0x12a)](0x1);}}['installNpmPackage'](a,b){return new Promise((c,d)=>{const B=a164d;b=b||{},b[B(0x115)]=b['cwd']||this['fsi'][B(0x14e)]();const f=b[B(0x12e)]?b[B(0x12e)]:B(0x15f)+(b[B(0x156)]?B(0x15c):'')+B(0x168);if(!b['isSelfTest']){const g=this[B(0x127)][B(0x14e)](b['cwd']);if(!g)Log[B(0x126)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20'+JSON[B(0x11b)](a)+'\x20into.'),d();else{const h=Log[B(0x12f)](),i=b['cwd']?b[B(0x115)]:g;try{b[B(0x156)]?(h[B(0x13e)](f),exec(B(0x113)+a,{'cwd':i},j=>{const C=B;j&&(Log[C(0x126)]('\x0a'+j[C(0x139)]),d(),process[C(0x12a)](0x1)),h['success'](),c();})):(h[B(0x13e)](f),exec(B(0x152)+a,{'cwd':i},j=>{const D=B;j&&(Log['error']('\x0a'+j[D(0x139)]),d(),process[D(0x12a)](0x1)),h['success'](),c();}));}catch(j){Log[B(0x126)](j),d();}}}});}}
1
+ const a164q=a164d;(function(a,b){const m=a164d,c=a();while(!![]){try{const d=-parseInt(m(0xa2))/0x1+parseInt(m(0xbb))/0x2*(-parseInt(m(0xbe))/0x3)+parseInt(m(0xc0))/0x4*(-parseInt(m(0x88))/0x5)+parseInt(m(0xd5))/0x6+parseInt(m(0x80))/0x7+parseInt(m(0x84))/0x8+-parseInt(m(0xbd))/0x9*(-parseInt(m(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0xbb8a5));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a164d;if(c){const e=c[n(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const o=a164d;return a164a[o(0x99)]()['search']('(((.+)+)+)+$')[o(0x99)]()[o(0xba)](a164a)[o(0x8c)](o(0xcf));});a164a();import a164e from'path';function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x7d;let f=c[d];return f;},a164d(a,b);}import a164f from'fs';import{exec}from'child_process';function a164c(){const E=['developer\x20','\x20from.','Error\x20in\x20','\x20--allow-incompatible-update','success','shouldInstall','checkMeteorPackage()','Could\x20not\x20install\x20npm\x20dependencies','includes','constructor','2306FGkIuA','Installing\x20','99ITwJTJ','2373lJpzPw','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20','996904wRYKRD','split','findAppDirectory','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20','meteorCommand','checkMeteorPackage','indexOf','push','394290qnljAd','cwd','error','meteor','utf8','keys','\x20is/are\x20present.','(((.+)+)+)+$','saveDev','Couldn\x27t\x20find\x20an\x20app\x20directory.','\x20into.','npm\x20packages','instance','3813300qkbVKP','npm\x20i\x20--save-dev\x20-q\x20','parse','packages','10297714qhThbK','node_modules','readFileSync','app','1862928CqyvGd','.\x20Installing...','isDirectory','failure','15FnOLXf','Cannot\x20find\x20your\x20node_modules\x20folder.','existsSync','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20','search','message','exit','length','fsi','devDependencies','checkNpmPackage()','isSelfTest','All\x20dependencies\x20are\x20installed.','ensureAllDependenciesInstalled()','\x20add\x20','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.','getInstance','toString','Couldn\x27t\x20find\x20a\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20','utf-8','apply','True','string','msg','withSpinner','Installing\x20meteor\x20packages','345371ebUwFj','setupNpm','warn','env','join','installNpmPackage','Missing\x20dependencies\x20detected:\x20','.meteor','npm\x20i\x20--save\x20-q\x20','stringify','\x20remove\x20','package.json','start','installMeteorPackage','dependencies'];a164c=function(){return E;};return a164c();}import{Log}from'../log/log.class.js';import{SpawnAsync}from'../spawn-async/spawn-async.class.js';const errorHandler=(a,b)=>{const p=a164d;process[p(0xa5)]['MAKA_DEV']===p(0x9d)&&Log[p(0xca)](p(0xb3)+a),b&&console[p(0xca)](b);};export class PKG{static ['instance'];[a164q(0x90)];[a164q(0xcb)];constructor(a){const r=a164q;this[r(0x90)]=a,this[r(0xcb)]=a[r(0xc4)]();}static[a164q(0x98)](a){const s=a164q;return!PKG[s(0xd4)]&&(PKG['instance']=new PKG(a)),PKG[s(0xd4)];}[a164q(0xaf)](a,b){return new Promise((c,d)=>{const t=a164d;b=b||{},b[t(0xc9)]=b[t(0xc9)]||this[t(0x90)][t(0xc2)]();if(!b['isSelfTest']){const f=Log['withSpinner'](),g=this['fsi'][t(0xc2)](b[t(0xc9)]);if(!g)Log[t(0xca)](t(0xc3)+JSON[t(0xab)](a)+t(0xd2)),d();else try{if(a['split']('\x20')[t(0x8f)]>0x1){const h=a[t(0xc1)]('\x20');for(const i of h){const j=this[t(0x90)][t(0xc2)](b[t(0xc9)]),k=a164f['readFileSync'](a164e[t(0xa6)](j,t(0xa9),t(0x7f)),t(0xcc));k[t(0xc6)](i['split']('@')[0x0])===-0x1&&a164f['appendFileSync'](a164e[t(0xa6)](j,'.meteor',t(0x7f)),i+'\x0a');}}f[t(0xae)](t(0xa1)),exec(this['meteor']+t(0x96)+a+t(0xb4),{'cwd':g},l=>{const u=t;l&&(Log[u(0xca)]('\x0a'+l['message']),d(),process['exit'](0x1)),f[u(0xb5)](),c();});}catch(l){Log[t(0xca)](l),f[t(0x87)](),d();}}});}['removeMeteorPackage'](a,b){return new Promise((c,d)=>{const v=a164d;b=b||{},b['cwd']=b[v(0xc9)]||'.';if(!b['isSelfTest']){const f=this[v(0x90)]['findAppDirectory'](b[v(0xc9)]);if(!f)Log['error']('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20'+JSON[v(0xab)](a)+v(0xb2)),d();else{const g=Log[v(0xa0)]();try{g[v(0xae)]('Removing\x20insecure\x20meteor\x20packages'),exec(this[v(0xcb)]+v(0xac)+a,{'cwd':f},h=>{const w=v;h&&(Log['error']('\x0a'+h[w(0x8d)]),d(),process[w(0x8e)](0x1)),g[w(0xb5)](),c();});}catch(h){Log[v(0xca)](h),g['failure'](),d();}}}});}async[a164q(0xc5)](a,b){const x=a164q;try{const c=this[x(0x90)][x(0xc2)]();if(!c)return Log[x(0xca)](x(0xbf)+JSON[x(0xab)](a)+x(0xce)),![];const d=a164f['readFileSync'](a164e[x(0xa6)](c,x(0xa9),x(0x7f)),x(0x9b))[x(0xc1)]('\x0a')['filter'](Boolean);typeof a===x(0x9e)&&(a=[a]);const f=[];for(const g of a){const h=d[x(0xb9)](g);!h&&f[x(0xc7)](g);}if(b[x(0xb6)]&&f[x(0x8f)]>0x0){const i=f[x(0xa6)]('\x20');await this['installMeteorPackage'](i,b);}return f[x(0x8f)]===0x0;}catch(j){errorHandler(x(0xb7),j),process['exit'](0x1);}}async[a164q(0xa3)](a){const y=a164q;try{const b=this[y(0x90)]['findAppDirectory'](a[y(0xc9)]);if(!b)Log[y(0xca)](y(0x97));else{const c=this[y(0x90)][y(0x86)](a164e[y(0xa6)](b,'node_modules'));!c&&(Log[y(0xa4)](y(0x89)),await SpawnAsync['withSpinner'](this[y(0xcb)],['npm','install'],{'cwd':b,'message':'Installing\x20npm\x20dependencies'}));const d=this[y(0x90)][y(0x86)](a164e[y(0xa6)](b,y(0x81)));if(!d)throw Log['error'](y(0xb8));}}catch(f){errorHandler('setupNpm()',f),process[y(0x8e)](0x1);}}async['checkNpmPackage'](a,b){const z=a164q;try{b=b||{};if(b[z(0x93)])return![];const c=b[z(0xc9)]?b['cwd']:this['fsi']['findAppDirectory']();if(!c)return Log[z(0xca)](z(0x9a)+JSON['stringify'](a)+z(0xce)),![];const d=JSON[z(0x7e)](a164f[z(0x82)](a164e[z(0xa6)](c,z(0xad)))[z(0x99)]());!d[z(0xb0)]&&(d[z(0xb0)]={});!d[z(0x91)]&&(d[z(0x91)]={});const f=[];typeof a===z(0x9e)&&(a=[a]);for(const g of a){const h=d[z(0xb0)][g]||d[z(0x91)][g];!h&&f['push'](g);}if(b['shouldInstall']&&f[z(0x8f)]>0x0){await this[z(0xa7)](f[z(0xa6)]('\x20'),b);const i=JSON['parse'](a164f[z(0x82)](a164e['join'](c,z(0xad)))[z(0x99)]());for(const j of f){if(!(i['dependencies'][j]||i[z(0x91)][j]))return![];}}return f['length']===0x0;}catch(k){errorHandler(z(0x92),k),process['exit'](0x1);}}async['ensureAllDependenciesInstalled'](){const A=a164q;try{const a=this[A(0x90)][A(0xc2)]();if(!a){Log[A(0xca)](A(0xd1));return;}const b=a164f[A(0x8a)](a164e[A(0xa6)](a,A(0x81)));if(!b){const g=process[A(0xc9)]();await this[A(0xa3)]({'cwd':a164e[A(0xa6)](g,A(0x83))});}const c=JSON[A(0x7e)](a164f['readFileSync'](a164e[A(0xa6)](a,'package.json'))[A(0x99)]()),d=Object[A(0xcd)]({...c['dependencies'],...c[A(0x91)]}),f=[];for(const h of d){!a164f[A(0x8a)](a164e[A(0xa6)](a,A(0x81),h))&&f[A(0xc7)](h);}f[A(0x8f)]>0x0?(Log[A(0xa4)](A(0xa8)+f[A(0xa6)](',\x20')+A(0x85)),await this['installNpmPackage'](f[A(0xa6)]('\x20'),{'shouldInstall':!![]})):Log[A(0xb5)](A(0x94));}catch(i){errorHandler(A(0x95),i),process[A(0x8e)](0x1);}}['installNpmPackage'](a,b){return new Promise((c,d)=>{const B=a164d;b=b||{},b['cwd']=b[B(0xc9)]||this[B(0x90)][B(0xc2)]();const f=b[B(0x9f)]?b[B(0x9f)]:B(0xbc)+(b[B(0xd0)]?B(0xb1):'')+B(0xd3);if(!b[B(0x93)]){const g=this[B(0x90)][B(0xc2)](b[B(0xc9)]);if(!g)Log[B(0xca)](B(0x8b)+JSON[B(0xab)](a)+B(0xd2)),d();else{const h=Log['withSpinner'](),i=b['cwd']?b[B(0xc9)]:g;try{b[B(0xd0)]?(h[B(0xae)](f),exec(B(0x7d)+a,{'cwd':i},j=>{const C=B;j&&(Log[C(0xca)]('\x0a'+j['message']),d(),process[C(0x8e)](0x1)),h[C(0xb5)](),c();})):(h['start'](f),exec(B(0xaa)+a,{'cwd':i},j=>{const D=B;j&&(Log['error']('\x0a'+j[D(0x8d)]),d(),process[D(0x8e)](0x1)),h[D(0xb5)](),c();}));}catch(j){Log[B(0xca)](j),d();}}}});}}
@@ -1 +1 @@
1
- const a165i=a165d;(function(a,b){const f=a165d,c=a();while(!![]){try{const d=-parseInt(f(0x161))/0x1*(-parseInt(f(0x156))/0x2)+parseInt(f(0x154))/0x3*(parseInt(f(0x15a))/0x4)+parseInt(f(0x166))/0x5*(-parseInt(f(0x163))/0x6)+-parseInt(f(0x16c))/0x7+parseInt(f(0x158))/0x8*(parseInt(f(0x16a))/0x9)+parseInt(f(0x16b))/0xa+parseInt(f(0x164))/0xb*(-parseInt(f(0x167))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0x9c7d0));const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a165d;if(c){const e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const h=a165d;return a165a['toString']()[h(0x170)](h(0x159))[h(0x16d)]()['constructor'](a165a)[h(0x170)](h(0x159));});a165a();function a165c(){const n=['win32','draw','dlMessage','462013sKgspA','total','12AiCKeo','19707699ihywaW','complete','776885FEwmPl','12JmegFy','min','majestic','32526jnadBW','8046040KHRRxK','6522922KGBzuA','toString','platform','lastLoggedProgress','search','graphic','repeat','round','singleLine','Downloading','241539rtsgkW','width','4lPKlvD','apply','1992UOERLu','(((.+)+)+)+$','52tLMKSD','singleLineSuccess','colors','current'];a165c=function(){return n;};return a165c();}function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x153;let f=c[d];return f;},a165d(a,b);}import{Log}from'../log/log.class.js';const isWin=process[a165i(0x16e)]===a165i(0x15e),downArrow=isWin?'<':'↓';export class Progress{[a165i(0x162)];[a165i(0x15d)];['width'];[a165i(0x16f)];[a165i(0x160)];['graphic'];constructor(a,b=a165i(0x153),c=downArrow){const j=a165i;this[j(0x162)]=a,this[j(0x15d)]=0x0,this['width']=0x28,this[j(0x16f)]=0x0,this[j(0x160)]=b,this[j(0x171)]=Log['colors'][j(0x169)](c);}['update'](a){const k=a165i;this[k(0x15d)]+=a,this['draw']();}[a165i(0x165)](){const l=a165i;this['current']=this[l(0x162)],this[l(0x15f)](),Log[l(0x15b)]('');}['draw'](){const m=a165i,a=Math[m(0x168)](0x64,Math[m(0x173)](this[m(0x15d)]/this[m(0x162)]*0x64));if(a!==this[m(0x16f)]){this[m(0x16f)]=a;const b=Math[m(0x173)](a/0x64*this[m(0x155)]),c=this['width']-b,d=''+Log[m(0x15c)]['success']('█')['repeat'](b)+'░'[m(0x172)](c),e=this[m(0x171)]+'\x20'+this[m(0x160)]+':\x20['+d+']\x20'+a+'%';Log[m(0x174)](e);}}}
1
+ const a165i=a165d;(function(a,b){const f=a165d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1*(-parseInt(f(0x166))/0x2)+parseInt(f(0x15b))/0x3+-parseInt(f(0x157))/0x4+parseInt(f(0x16a))/0x5*(-parseInt(f(0x153))/0x6)+parseInt(f(0x16e))/0x7+parseInt(f(0x160))/0x8+parseInt(f(0x155))/0x9*(parseInt(f(0x158))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0x7c426));function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x152;let f=c[d];return f;},a165d(a,b);}function a165c(){const n=['draw','7875tHdwUR','singleLineSuccess','2533564YhflGL','1630epSDEh','min','platform','835437ZMNglQ','current','(((.+)+)+)+$','total','complete','8784UzdwSn','Downloading','dlMessage','apply','toString','width','4ecpsIc','501508JlmgcI','lastLoggedProgress','update','65WZigCH','constructor','majestic','colors','5048904yrBnxm','search','graphic','repeat','singleLine',':\x20[','round','463446fhYmkm'];a165c=function(){return n;};return a165c();}const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a165d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const h=a165d;return a165a['toString']()[h(0x16f)](h(0x15d))[h(0x164)]()[h(0x16b)](a165a)[h(0x16f)](h(0x15d));});a165a();import{Log}from'../log/log.class.js';const isWin=process[a165i(0x15a)]==='win32',downArrow=isWin?'<':'↓';export class Progress{[a165i(0x15e)];['current'];[a165i(0x165)];['lastLoggedProgress'];[a165i(0x162)];['graphic'];constructor(a,b=a165i(0x161),c=downArrow){const j=a165i;this['total']=a,this[j(0x15c)]=0x0,this[j(0x165)]=0x28,this[j(0x168)]=0x0,this[j(0x162)]=b,this[j(0x170)]=Log[j(0x16d)][j(0x16c)](c);}[a165i(0x169)](a){const k=a165i;this['current']+=a,this[k(0x154)]();}[a165i(0x15f)](){const l=a165i;this['current']=this[l(0x15e)],this[l(0x154)](),Log[l(0x156)]('');}['draw'](){const m=a165i,a=Math[m(0x159)](0x64,Math[m(0x152)](this[m(0x15c)]/this['total']*0x64));if(a!==this['lastLoggedProgress']){this[m(0x168)]=a;const b=Math[m(0x152)](a/0x64*this[m(0x165)]),c=this[m(0x165)]-b,d=''+Log[m(0x16d)]['success']('█')[m(0x171)](b)+'░'[m(0x171)](c),e=this[m(0x170)]+'\x20'+this['dlMessage']+m(0x173)+d+']\x20'+a+'%';Log[m(0x172)](e);}}}
@@ -1 +1 @@
1
- const a166z=a166d;(function(a,b){const v=a166d,c=a();while(!![]){try{const d=-parseInt(v(0x243))/0x1*(-parseInt(v(0x24d))/0x2)+parseInt(v(0x25a))/0x3+-parseInt(v(0x1f6))/0x4+-parseInt(v(0x25e))/0x5+-parseInt(v(0x1cf))/0x6+parseInt(v(0x220))/0x7+parseInt(v(0x24e))/0x8*(-parseInt(v(0x1f4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0x1b25f));const a166b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a166d;if(c){const e=c[w(0x261)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){const x=a166d;return a166a[x(0x24a)]()['search'](x(0x21a))[x(0x24a)]()[x(0x249)](a166a)[x(0x1f9)](x(0x21a));});a166a();import a166e from'path';import a166f from'fs';import a166g from'util';import{exec}from'child_process';import a166h from'delete';import a166i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a166d;process[y(0x263)]['MAKA_DEV']===y(0x1f3)&&Log['error'](y(0x234)+a),b&&console['error'](b);},isWin=process['platform']==='win32',treeSymbol=isWin?a166z(0x236):'\x20┗';function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a166d(a,b);}function a166c(){const a7=['verbose','rewriteSourcePathForEngine()','cwd','header','push','Dockerfile','441738BIbKyl','utf8','noRename','from\x20\x22','ssr','jsx','less','.jsx','injectIntoFile','relative','injectIntoFile()','repeat','split','error','isDirectory','template','.js','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','filter','injectAtEndOfFile()','.js.ts','.meteor','import\x20','export\x20{\x20','engine','splice','detectIndentation','Looking\x20for\x20','adjustIndentation','pathFromApp','MAKA_COMMAND_PATH','from','message','getCommonIndentSize','Directory\x20','\x20updated\x20file\x20','True','63isbHpD','Meteor\x20project\x20already\x20exists\x20at\x20','83904ddNDfG','createEmptyMeteorProject','trim','search','injectIntoCodeBlock','engineAndTypeFromfilePath()','existsSync','isArray','.git','injectAfterLineNumber','engineAndTypeFromfilePath','isFile','isTemplateForEngine','injectAtBeginningOfFile()','slice','writeFileSync','stringify','client','templateContent()','rewriteDestinationPathForType','fileContainsString','readFileSync','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','match','findAppDirectory','injectTemplateModule','templates.js','rewriteDestinationPathForType()','\x20create\x20','includes','import\x20{\x20','exit','calculateMode','warn','createFile','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','(((.+)+)+)+$','png','isTemplateForEngine()','injectAroundString()','injectAtEndOfFile','map','1521569SoUVxk','injectTemplateModule()','normalize','pathFromAppWithNoReWrite()','injectAtBeginningOfFile','createDirectory','length','\x20from\x20\x27','fsi','pathFromTemplates()','tsx','.tsx','some','No\x20pathParts\x20option\x20provided','writeSourcePath','ico','copyTemplateDirectory','css','startup','concat','Error\x20in\x20','\x20doesn\x27t\x20exist','\x20->','json','rewriteDestinationPathForEngine','sep','engines','pop','No\x20app\x20directory\x20found','getInstance','File\x20not\x20found:\x20','test','replace','indexOf','\x5cS*$','511ZkSHip','\x20}\x20from\x20\x27','\x27;\x0a','\x20from','rewriteSourcePathForEngine','readdirSync','constructor','toString','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','html','10InryCy','87688hvGMTu','--release\x20','yaml','type','templates','join','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','injectAroundString','lib','templateContent','imports','[\x5cs\x5cS]*?)(','361095XzOwTU','injectImport()','instance','mpi','288810WfcgPM','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','forEach','apply','render','env','endsWith','meteor','pathFromTemplates','startsWith','reduce','release'];a166c=function(){return a7;};return a166c();}export class Scaffold{static ['instance'];[a166z(0x228)];[a166z(0x25d)];constructor(a,b){const A=a166z;this['fsi']=a,this[A(0x25d)]=b;}static[a166z(0x23d)](a,b){const B=a166z;return!Scaffold[B(0x25c)]&&(Scaffold[B(0x25c)]=new Scaffold(a,b)),Scaffold['instance'];}async[a166z(0x1f7)](a,b){const C=a166z;b[C(0x1cb)]=b[C(0x1cb)]||'.';const c=a166e[C(0x253)](b[C(0x1cb)],a),d=a166e[C(0x253)](c,C(0x1e4));if(this['fsi'][C(0x1dd)](d))throw new Error(C(0x1f5)+JSON[C(0x206)](c));const e='--minimal',f=a166e[C(0x253)](b['cwd']),g=a166g['promisify'](exec),h=b['release']?C(0x24f)+b['release']:'';b[C(0x269)]&&b[C(0x269)][C(0x213)]('alpha')&&(Log[C(0x217)]('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[C(0x269)]),Log['warn'](C(0x24b)));try{await g(this['mpi'][C(0x265)]+C(0x212)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x1dc)]('\x0a'+k[C(0x1ef)]);throw k;}const i=a166e['join'](f,a);if(!a166f[C(0x1fc)](i))throw new Error(C(0x1f1)+i+C(0x235));const j=a166f[C(0x248)](i);for(const l of j){if(l!==C(0x1fe)&&l!==C(0x1e4)){const m=a166e[C(0x253)](i,l);await a166h(m,{'force':!![]});}}}[a166z(0x200)]({filePath:a}){const D=a166z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0x20d)](b);c=c&&c[0x0][D(0x1db)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c[D(0x23b)]()||d;if(d)d=d[D(0x240)]('.','');if(f)f=f[D(0x240)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x1fb),g),process[D(0x215)](0x1);}}['rewriteDestinationPathForType']({pathParts:a,config:b}){const E=a166z;try{const c=a['join'](a166e[E(0x239)]),d=this['engineAndTypeFromfilePath']({'filePath':c})[E(0x251)],f=b?.['engines'][d],g=new RegExp('\x5c.'+d+E(0x242));return!d||!f?c:c[E(0x240)](g,'.'+d);}catch(h){errorHandler(E(0x211),h),process[E(0x215)](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a166z;try{if(!b)throw new Error(F(0x25f));const c=a[F(0x253)](a166e['sep']),d=this[F(0x200)]({'filePath':c});if(!d[F(0x251)]||!d[F(0x1e7)])return!![];const f=b[F(0x23a)][d[F(0x251)]];if(!f)return!![];return f===d['engine'];}catch(g){errorHandler(F(0x21c),g),process[F(0x215)](0x1);}}[a166z(0x22e)]({pathParts:pathParts=[]}){const G=a166z;return pathParts[G(0x253)](a166e['sep']);}[a166z(0x238)]({pathParts:pathParts=[],config:a}){const H=a166z;try{const b=pathParts['join'](a166e[H(0x239)]),c=this[H(0x200)]({'filePath':b})[H(0x251)],d=a?.['engines'][c],f=new RegExp('\x5c.'+c+H(0x242));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process[H(0x215)](0x1);}}[a166z(0x247)]({pathParts:pathParts=[],framework:framework=a166z(0x265),config:a}){const I=a166z;try{const b=a166e[I(0x222)](pathParts[I(0x253)](a166e[I(0x239)]));if(!b[I(0x264)](I(0x1df)))return b;const c='js';if(!a?.['engines']||!a?.[I(0x23a)][c])return b;const d=a[I(0x23a)][c],f=d===I(0x22a)?['.js.tsx',I(0x1e3),I(0x1df)]:['.js.jsx',I(0x1df)];for(const g of f){const h=b[I(0x240)](/\.js$/,g),i=a166e['join'](I(0x252),framework,h),j=a166e[I(0x222)](a166e[I(0x253)](global[I(0x1ed)],i));if(a166f['existsSync'](j))return h;}return b;}catch(k){errorHandler(I(0x1ca),k),process[I(0x215)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a166z(0x265),config:b}){const J=a166z;try{const c=this[J(0x247)]({'pathParts':a,'framework':framework,'config':b}),d=a166e[J(0x253)]('src/templates/'+framework,c),f=a166e[J(0x253)](global[J(0x1ed)],'..',d);return f;}catch(g){errorHandler(J(0x229),g),process[J(0x215)](0x1);}}[a166z(0x257)]({srcPath:a,context:b,framework:c,config:d}){const K=a166z;try{let f=this[K(0x266)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x200)]({'filePath':f}),h=[K(0x231),'scss',K(0x1d5),K(0x24c),'js',K(0x1d4),'ts',K(0x22a),K(0x237),'env',K(0x250),K(0x1de)],i=[K(0x21b),K(0x22f)];if(!this[K(0x228)][K(0x201)](f)){g===K(0x1d4)&&(f=f[K(0x240)](K(0x1d6),''));g==='tsx'&&(f=f[K(0x240)](K(0x22b),''));if(!this['fsi'][K(0x201)](f))throw new Error('Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20'+JSON[K(0x206)](f));}const j=f[K(0x1db)]('.'),k=a166e[K(0x222)](f)['split'](a166e[K(0x239)]),l=k[k[K(0x226)]-0x1]===K(0x1ce),m=i[K(0x213)](j[j['length']-0x1]),n=a166f[K(0x20b)](f);if(l)return a166i[K(0x262)](n[K(0x24a)](),b)[K(0x1f8)]();if(m)return Buffer[K(0x1ee)](n)['toString']('base64');if(!h[K(0x213)](j[j[K(0x226)]-0x1]))return n[K(0x24a)]()[K(0x1f8)]();return a166i[K(0x262)](n[K(0x24a)](),b||{})[K(0x1f8)]();}catch(o){errorHandler(K(0x208),o),process[K(0x215)](0x1);}}async[a166z(0x1de)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a166z;try{const g=[L(0x21b),L(0x22f)],h=g[L(0x213)](a[L(0x1db)]('.')[L(0x23b)]()||''),i=this[L(0x257)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x1d1)]?b=this[L(0x209)]({'pathParts':[b],'config':d}):b=this['rewriteDestinationPathForEngine']({'pathParts':[b],'config':d});const j=await this['fsi'][L(0x218)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler('template()',k),process[L(0x215)](0x1);}}async[a166z(0x230)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a166z;try{const i=this[M(0x266)]({'pathParts':[a],'framework':g,'config':h}),j=this['pathFromTemplates']({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x240)](j,'');},l=n=>{const O=M;return n[O(0x240)](i,b);};await this[M(0x228)][M(0x225)]({'dirPath':b});const m=a166f['readdirSync'](i);for(const n of m){try{const o=a166e[M(0x253)](i,n),p=k(o),q=l(o),r=d[M(0x21f)](t=>a166e['normalize'](t)),s=a166e['normalize'](a166e['join'](a,n));if(r[M(0x213)](s))continue;if(this[M(0x228)][M(0x1dd)](o))await this[M(0x230)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x228)][M(0x201)](o)&&this[M(0x202)]({'pathParts':[o],'config':h}))await this[M(0x1de)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x241)](a166e[M(0x253)](a,n))>=0x0&&this['fsi'][M(0x201)](o)&&(c[M(0x1d1)]=!![],await this[M(0x1de)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x1d1)]=![]);}}catch(t){console[M(0x1dc)](t),process['exit'](0x1);}}}catch(u){errorHandler('copyTemplateDirectory()',u),process['exit'](0x1);}}async[a166z(0x224)]({filePath:a,content:b,opts:c}){const P=a166z;if(!a)throw new Error(P(0x254));try{!this[P(0x228)]['isFile'](a)&&await this[P(0x228)][P(0x218)]({'filePath':a,'data':b});let d=a166f[P(0x20b)](a,P(0x1d0));d=b+'\x0a'+d,a166f[P(0x205)](a,d),c?.['verbose']&&Log[P(0x1cc)](treeSymbol+'\x20updated\x20file\x20'+a166e['relative'](process[P(0x1cb)](),a));}catch(f){errorHandler(P(0x203),f),process[P(0x215)](0x1);}}async['injectAtEndOfFile']({filePath:a,content:b,opts:c}){const Q=a166z;try{if(!this[Q(0x228)][Q(0x201)](a))await this['fsi'][Q(0x218)]({'filePath':a,'data':b});else{let d=a166f[Q(0x20b)](a,Q(0x1d0));!d[Q(0x213)](b)&&(d=d+'\x0a'+b,a166f['writeFileSync'](a,d)),c?.[Q(0x26a)]&&Log[Q(0x1cc)](treeSymbol+Q(0x1f2)+a166e[Q(0x1d8)](process['cwd'](),a));}}catch(f){errorHandler(Q(0x1e2),f),process[Q(0x215)](0x1);}}async[a166z(0x255)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a166z;try{if(!this[R(0x228)][R(0x201)](a))throw Log[R(0x1dc)]('No\x20file\x20found\x20at\x20path\x20'+JSON['stringify'](a));const f=a166f[R(0x20b)](a,R(0x1d0)),g=f['replace'](/\r\n|\r/g,'\x0a'),h=g[R(0x1db)]('\x0a'),j=this[R(0x1e9)](h),k=b[R(0x240)](/\r\n|\r/g,'\x0a')[R(0x1db)]('\x0a'),l=c[R(0x240)](/\r\n|\r/g,'\x0a')['split']('\x0a'),m=new RegExp(Array[R(0x1fd)](d)?d['join']('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x226)];p++){const q=h[p];if(m[R(0x23f)](q)){const r=this[R(0x1eb)](j,targetIndentAdjustment),s=r+q['trim']();k['forEach'](t=>{const S=R;!g[S(0x213)](t[S(0x1f8)]())&&n[S(0x1cd)](this[S(0x1eb)](j,indentAdjustment)+t);}),n[R(0x1cd)](s),l[R(0x260)](t=>{const T=R;!g[T(0x213)](t[T(0x1f8)]())&&n['push'](this[T(0x1eb)](j,indentAdjustment)+t);});}else n[R(0x1cd)](q);}const o=n['join']('\x0a');a166f[R(0x205)](a,o),Log[R(0x1cc)](treeSymbol+R(0x1f2)+a166e[R(0x1d8)](process['cwd'](),a));}catch(t){errorHandler(R(0x21d),t),process[R(0x215)](0x1);}}['adjustIndentation'](a,b){const U=a166z;if(b===0x0)return a;const c=a[U(0x226)]+b;return c>0x0?a[0x0]['repeat'](c):'';}[a166z(0x1e9)](a){const V=a166z;let b=0x0,c=0x0;a[V(0x260)](f=>{const W=V;if(f[W(0x267)]('\x20'))b++;else f[W(0x267)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x1f0)](a,d);return d[V(0x1da)](e);}[a166z(0x1f0)](a,b){const X=a166z,c=a[X(0x1e1)](d=>d&&d[X(0x267)](b))[X(0x21f)](d=>{const Y=X,e=d[Y(0x20d)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x226)]:0x0;});if(c[X(0x226)]===0x0)return 0x0;return this[X(0x216)](c);}['calculateMode'](a){const Z=a166z,b=a[Z(0x268)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object['keys'](b)['reduce']((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a166z(0x1fa)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a166z;try{if(!this[a0(0x228)][a0(0x201)](a))throw new Error(a0(0x23e)+a);const d=a166f['readFileSync'](a,a0(0x1d0)),f=d[a0(0x1db)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[a0(0x1fd)](c)?c:[c];for(let o=0x0;o<f[a0(0x226)];o++){const p=f[o];k&&p[a0(0x213)]('{')&&j++;if(m[a0(0x22c)](q=>p[a0(0x213)](q))){g=o,k=!![],j++;continue;}if(k){p[a0(0x213)](b['trim']())&&(l=!![]);if(p[a0(0x213)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error'](a0(0x1e0)+a),Log['error']('While\x20injecting\x20'+b),Log[a0(0x1dc)](a0(0x1ea)+c);throw new Error(a0(0x20c));}if(l)return;let n=f['slice'](0x0,g+0x1);replace?(n[a0(0x1cd)](b[a0(0x1f8)]()),n[a0(0x1cd)](f[h])):(n=n[a0(0x233)](f[a0(0x204)](g+0x1,h)),n['push'](b[a0(0x1f8)]())),n=n[a0(0x233)](f[a0(0x204)](h+0x1)),a166f[a0(0x205)](a,n['join']('\x0a'),a0(0x1d0));}catch(q){console[a0(0x1dc)]('Error\x20in\x20injectIntoCodeBlock:\x20',q);throw q;}}async[a166z(0x1d7)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a166z;try{const g=await this[a1(0x228)][a1(0x20a)](a,c);if(g)return;if(!this[a1(0x228)]['isFile'](a))throw Log[a1(0x1dc)](a1(0x219)+JSON[a1(0x206)](a));const h=a166f[a1(0x20b)](a,a1(0x1d0));if(!Array[a1(0x1fd)](d))d=[d];if(!Array[a1(0x1fd)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a1(0x259)+l+')','i');i=h[a1(0x240)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error('No\x20matching\x20section\x20found.');a166f['writeFileSync'](a,i),Log[a1(0x1cc)](treeSymbol+a1(0x1f2)+a166e[a1(0x1d8)](process['cwd'](),a));}catch(n){errorHandler(a1(0x1d9),n),process[a1(0x215)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a166z;try{const f=a166f[a2(0x20b)](a,'utf8');let g;d?g=a2(0x214)+b+a2(0x244)+c+'\x27;\x0a':g=a2(0x1e5)+b+a2(0x227)+c+a2(0x245);const h=f[a2(0x1db)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a2(0x213)]('from\x20\x27'+c+'\x27')||m['includes'](a2(0x1d2)+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp('import\x20'+b+a2(0x246));if(m[a2(0x20d)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h['length'];o++){if(h[o][a2(0x20d)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a2(0x226)];p++){h[p]['match'](/^import .* from .*;$/)&&(j=p);}j++;}h['splice'](j,0x0,g);const l=h[a2(0x253)]('\x0a');a166f[a2(0x205)](a,l,'utf8');}catch(q){errorHandler(a2(0x25b),q),process['exit'](0x1);}}async[a166z(0x20f)](a,b,c){const a3=a166z;try{let d;b['engines'][a3(0x1d3)]!=='none'?d=this[a3(0x1ec)]({'pathParts':[a3(0x258),a3(0x232),a3(0x256),a3(0x210)],'config':b}):d=this['pathFromApp']({'pathParts':[a3(0x258),a3(0x232),a3(0x207),a3(0x210)],'config':b});const f=this['rewriteDestinationPathForEngine']({'pathParts':[d],'config':b}),g=a3(0x1e6)+pascalCase(a)+a3(0x244)+c+'\x27;',h=await this[a3(0x228)]['fileContainsString'](f,g);!h&&this[a3(0x21e)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a3(0x221),i),process[a3(0x215)](0x1);}}[a166z(0x1ff)]({filePath:a,content:b,lineNumber:c}){const a4=a166z;try{const d=a166f[a4(0x20b)](a)['toString']()[a4(0x1db)]('\x0a');d[a4(0x1e8)](c,0x0,b);const f=d[a4(0x253)]('\x0a');a166f[a4(0x205)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a4(0x215)](0x1);}}[a166z(0x1ec)]({pathParts:a,config:b}){const a5=a166z;try{if(!a)throw new Error(a5(0x22d));const c=this[a5(0x247)]({'pathParts':a,'config':b}),d=this[a5(0x228)][a5(0x20e)]();return d?a166e[a5(0x253)](d,c):'';}catch(f){errorHandler('pathFromApp()',f),process[a5(0x215)](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a6=a166z;try{const c=this[a6(0x22e)]({'pathParts':a,'config':b}),d=this[a6(0x228)]['findAppDirectory']();if(!d)throw new Error(a6(0x23c));return a166e['join'](d,c);}catch(f){errorHandler(a6(0x223),f),process['exit'](0x1);}}}
1
+ function a166c(){const a7=['engine','findAppDirectory','verbose','injectTemplateModule','pathFromApp()','MAKA_COMMAND_PATH','release','stringify','png','\x27;\x0a','slice','import\x20','\x20}\x20from\x20\x27','templates','.tsx','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','684213ZZZkgy','(((.+)+)+)+$','error','templateContent()','injectAroundString()','readdirSync','pathFromTemplates()','startsWith','3810AbMnnu','pathFromApp','isArray','exit','createDirectory','header','message','includes','env','Looking\x20for\x20','warn','engineAndTypeFromfilePath()','engines','Error\x20in\x20injectIntoCodeBlock:\x20','injectAtEndOfFile','templates.js','MAKA_DEV','join','11209016dnhGLa','File\x20not\x20found:\x20','toString','startup','No\x20app\x20directory\x20found','10565343MSvuFl','--release\x20','injectAfterLineNumber','template','--minimal','none','96UEqaIu','tsx','json','filter','readFileSync','getCommonIndentSize','utf8','repeat','injectIntoFile','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','type','No\x20matching\x20section\x20found.','18428760fhtzni','While\x20injecting\x20','sep','\x20updated\x20file\x20','lib','mpi','Dockerfile','trim','imports','.meteor','rewriteSourcePathForEngine','normalize','injectIntoFile()','writeFileSync','fsi','Error\x20in\x20','4Swhoch','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','No\x20pathParts\x20option\x20provided','jsx','copyTemplateDirectory','835rEVIDo','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','base64','\x5cS*$','src/templates/','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','split','createFile','6466747pDomPU','existsSync','map','yaml','rewriteDestinationPathForType','from\x20\x27','push','instance','isTemplateForEngine()','injectAtBeginningOfFile()','isTemplateForEngine','search','forEach','noRename','injectAtEndOfFile()','\x20from\x20\x27','alpha','endsWith','\x20doesn\x27t\x20exist','template()','Meteor\x20project\x20already\x20exists\x20at\x20','html','createEmptyMeteorProject','rewriteDestinationPathForEngine','.js','detectIndentation','518645DAALbU','concat','relative','meteor','render','replace','isDirectory','engineAndTypeFromfilePath','injectImport','platform','test','keys','rewriteSourcePathForEngine()','length','calculateMode','less','from','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','injectIntoCodeBlock','adjustIndentation','apply','isFile','fileContainsString','pop','templateContent','match','ico','reduce','import\x20{\x20','cwd','promisify','constructor','pathFromTemplates','client','.js.tsx'];a166c=function(){return a7;};return a166c();}const a166z=a166d;(function(a,b){const v=a166d,c=a();while(!![]){try{const d=parseInt(v(0x13d))/0x1*(parseInt(v(0xff))/0x2)+parseInt(v(0xf7))/0x3*(-parseInt(v(0x138))/0x4)+parseInt(v(0x15f))/0x5*(-parseInt(v(0x11c))/0x6)+-parseInt(v(0x145))/0x7+parseInt(v(0x111))/0x8+-parseInt(v(0x116))/0x9+parseInt(v(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0xcf52b));const a166b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a166d;if(c){const e=c[w(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){const x=a166d;return a166a[x(0x113)]()[x(0x150)](x(0xf8))[x(0x113)]()[x(0xe3)](a166a)[x(0x150)](x(0xf8));});a166a();import a166e from'path';import a166f from'fs';import a166g from'util';import{exec}from'child_process';function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0xd7;let f=c[d];return f;},a166d(a,b);}import a166h from'delete';import a166i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a166d;process[y(0x107)][y(0x10f)]==='True'&&Log[y(0xf9)](y(0x137)+a),b&&console[y(0xf9)](b);},isWin=process[a166z(0x168)]==='win32',treeSymbol=isWin?'\x20->':'\x20┗';export class Scaffold{static [a166z(0x14c)];[a166z(0x136)];[a166z(0x12d)];constructor(a,b){const A=a166z;this[A(0x136)]=a,this[A(0x12d)]=b;}static['getInstance'](a,b){const B=a166z;return!Scaffold[B(0x14c)]&&(Scaffold[B(0x14c)]=new Scaffold(a,b)),Scaffold[B(0x14c)];}async[a166z(0x15b)](a,b){const C=a166z;b[C(0xe1)]=b[C(0xe1)]||'.';const c=a166e[C(0x110)](b[C(0xe1)],a),d=a166e[C(0x110)](c,C(0x131));if(this[C(0x136)][C(0x165)](d))throw new Error(C(0x159)+JSON['stringify'](c));const e=C(0x11a),f=a166e['join'](b['cwd']),g=a166g[C(0xe2)](exec),h=b['release']?C(0x117)+b[C(0xed)]:'';b['release']&&b[C(0xed)][C(0x106)](C(0x155))&&(Log['warn'](C(0x13e)+b[C(0xed)]),Log[C(0x109)](C(0x142)));try{await g(this[C(0x12d)]['meteor']+'\x20create\x20'+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0xf9)]('\x0a'+k[C(0x105)]);throw k;}const i=a166e['join'](f,a);if(!a166f[C(0x146)](i))throw new Error('Directory\x20'+i+C(0x157));const j=a166f['readdirSync'](i);for(const l of j){if(l!=='.git'&&l!==C(0x131)){const m=a166e[C(0x110)](i,l);await a166h(m,{'force':!![]});}}}['engineAndTypeFromfilePath']({filePath:a}){const D=a166z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a[D(0xdd)](b);c=c&&c[0x0][D(0x143)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c[D(0xdb)]()||d;if(d)d=d[D(0x164)]('.','');if(f)f=f[D(0x164)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x10a),g),process[D(0x102)](0x1);}}['rewriteDestinationPathForType']({pathParts:a,config:b}){const E=a166z;try{const c=a['join'](a166e[E(0x12a)]),d=this['engineAndTypeFromfilePath']({'filePath':c})['type'],f=b?.[E(0x10b)][d],g=new RegExp('\x5c.'+d+E(0x140));return!d||!f?c:c[E(0x164)](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process[E(0x102)](0x1);}}[a166z(0x14f)]({pathParts:a,config:b}){const F=a166z;try{if(!b)throw new Error('No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.');const c=a[F(0x110)](a166e['sep']),d=this[F(0x166)]({'filePath':c});if(!d[F(0x126)]||!d['engine'])return!![];const f=b[F(0x10b)][d[F(0x126)]];if(!f)return!![];return f===d[F(0xe7)];}catch(g){errorHandler(F(0x14d),g),process[F(0x102)](0x1);}}['writeSourcePath']({pathParts:pathParts=[]}){const G=a166z;return pathParts[G(0x110)](a166e[G(0x12a)]);}[a166z(0x15c)]({pathParts:pathParts=[],config:a}){const H=a166z;try{const b=pathParts[H(0x110)](a166e[H(0x12a)]),c=this[H(0x166)]({'filePath':b})[H(0x126)],d=a?.[H(0x10b)][c],f=new RegExp('\x5c.'+c+H(0x140));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process['exit'](0x1);}}['rewriteSourcePathForEngine']({pathParts:pathParts=[],framework:framework=a166z(0x162),config:a}){const I=a166z;try{const b=a166e[I(0x133)](pathParts['join'](a166e['sep']));if(!b[I(0x156)]('.js'))return b;const c='js';if(!a?.[I(0x10b)]||!a?.[I(0x10b)][c])return b;const d=a[I(0x10b)][c],f=d===I(0x11d)?[I(0xe6),'.js.ts',I(0x15d)]:['.js.jsx',I(0x15d)];for(const g of f){const h=b['replace'](/\.js$/,g),i=a166e[I(0x110)](I(0xf4),framework,h),j=a166e[I(0x133)](a166e[I(0x110)](global[I(0xec)],i));if(a166f[I(0x146)](j))return h;}return b;}catch(k){errorHandler(I(0x16b),k),process[I(0x102)](0x1);}}['pathFromTemplates']({pathParts:a,framework:framework=a166z(0x162),config:b}){const J=a166z;try{const c=this[J(0x132)]({'pathParts':a,'framework':framework,'config':b}),d=a166e[J(0x110)](J(0x141)+framework,c),f=a166e[J(0x110)](global['MAKA_COMMAND_PATH'],'..',d);return f;}catch(g){errorHandler(J(0xfd),g),process[J(0x102)](0x1);}}[a166z(0xdc)]({srcPath:a,context:b,framework:c,config:d}){const K=a166z;try{let f=this['pathFromTemplates']({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x166)]({'filePath':f}),h=['css','scss',K(0x16e),K(0x15a),'js',K(0x13b),'ts',K(0x11d),K(0x11e),'env',K(0x148),K(0x119)],i=['png',K(0xde)];if(!this[K(0x136)]['isFile'](f)){g===K(0x13b)&&(f=f['replace']('.jsx',''));g==='tsx'&&(f=f['replace'](K(0xf5),''));if(!this[K(0x136)][K(0xd9)](f))throw new Error(K(0x139)+JSON[K(0xee)](f));}const j=f[K(0x143)]('.'),k=a166e[K(0x133)](f)[K(0x143)](a166e[K(0x12a)]),l=k[k[K(0x16c)]-0x1]===K(0x12e),m=i[K(0x106)](j[j[K(0x16c)]-0x1]),n=a166f[K(0x120)](f);if(l)return a166i[K(0x163)](n[K(0x113)](),b)[K(0x12f)]();if(m)return Buffer[K(0x16f)](n)[K(0x113)](K(0x13f));if(!h[K(0x106)](j[j['length']-0x1]))return n[K(0x113)]()['trim']();return a166i[K(0x163)](n[K(0x113)](),b||{})['trim']();}catch(o){errorHandler(K(0xfa),o),process[K(0x102)](0x1);}}async['template']({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a166z;try{const g=[L(0xef),'ico'],h=g[L(0x106)](a['split']('.')['pop']()||''),i=this[L(0xdc)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x152)]?b=this[L(0x149)]({'pathParts':[b],'config':d}):b=this[L(0x15c)]({'pathParts':[b],'config':d});const j=await this[L(0x136)][L(0x144)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x158),k),process[L(0x102)](0x1);}}async[a166z(0x13c)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a166z;try{const i=this[M(0xe4)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0xe4)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x164)](j,'');},l=n=>{const O=M;return n[O(0x164)](i,b);};await this[M(0x136)][M(0x103)]({'dirPath':b});const m=a166f[M(0xfc)](i);for(const n of m){try{const o=a166e[M(0x110)](i,n),p=k(o),q=l(o),r=d[M(0x147)](t=>a166e[M(0x133)](t)),s=a166e[M(0x133)](a166e[M(0x110)](a,n));if(r[M(0x106)](s))continue;if(this[M(0x136)][M(0x165)](o))await this[M(0x13c)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x136)][M(0xd9)](o)&&this[M(0x14f)]({'pathParts':[o],'config':h}))await this['template']({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f['indexOf'](a166e[M(0x110)](a,n))>=0x0&&this[M(0x136)][M(0xd9)](o)&&(c['noRename']=!![],await this[M(0x119)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x152)]=![]);}}catch(t){console[M(0xf9)](t),process[M(0x102)](0x1);}}}catch(u){errorHandler('copyTemplateDirectory()',u),process[M(0x102)](0x1);}}async['injectAtBeginningOfFile']({filePath:a,content:b,opts:c}){const P=a166z;if(!a)throw new Error(P(0x125));try{!this[P(0x136)][P(0xd9)](a)&&await this['fsi'][P(0x144)]({'filePath':a,'data':b});let d=a166f[P(0x120)](a,P(0x122));d=b+'\x0a'+d,a166f['writeFileSync'](a,d),c?.[P(0xe9)]&&Log[P(0x104)](treeSymbol+P(0x12b)+a166e[P(0x161)](process[P(0xe1)](),a));}catch(f){errorHandler(P(0x14e),f),process[P(0x102)](0x1);}}async[a166z(0x10d)]({filePath:a,content:b,opts:c}){const Q=a166z;try{if(!this[Q(0x136)][Q(0xd9)](a))await this['fsi'][Q(0x144)]({'filePath':a,'data':b});else{let d=a166f[Q(0x120)](a,'utf8');!d[Q(0x106)](b)&&(d=d+'\x0a'+b,a166f[Q(0x135)](a,d)),c?.[Q(0xe9)]&&Log[Q(0x104)](treeSymbol+Q(0x12b)+a166e['relative'](process[Q(0xe1)](),a));}}catch(f){errorHandler(Q(0x153),f),process[Q(0x102)](0x1);}}async['injectAroundString']({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a166z;try{if(!this[R(0x136)]['isFile'](a))throw Log[R(0xf9)]('No\x20file\x20found\x20at\x20path\x20'+JSON[R(0xee)](a));const f=a166f['readFileSync'](a,R(0x122)),g=f[R(0x164)](/\r\n|\r/g,'\x0a'),h=g[R(0x143)]('\x0a'),j=this[R(0x15e)](h),k=b[R(0x164)](/\r\n|\r/g,'\x0a')[R(0x143)]('\x0a'),l=c[R(0x164)](/\r\n|\r/g,'\x0a')['split']('\x0a'),m=new RegExp(Array[R(0x101)](d)?d[R(0x110)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x16c)];p++){const q=h[p];if(m[R(0x169)](q)){const r=this[R(0xd7)](j,targetIndentAdjustment),s=r+q[R(0x12f)]();k[R(0x151)](t=>{const S=R;!g[S(0x106)](t[S(0x12f)]())&&n[S(0x14b)](this[S(0xd7)](j,indentAdjustment)+t);}),n[R(0x14b)](s),l['forEach'](t=>{const T=R;!g[T(0x106)](t[T(0x12f)]())&&n[T(0x14b)](this[T(0xd7)](j,indentAdjustment)+t);});}else n[R(0x14b)](q);}const o=n[R(0x110)]('\x0a');a166f[R(0x135)](a,o),Log[R(0x104)](treeSymbol+'\x20updated\x20file\x20'+a166e[R(0x161)](process[R(0xe1)](),a));}catch(t){errorHandler(R(0xfb),t),process[R(0x102)](0x1);}}[a166z(0xd7)](a,b){const U=a166z;if(b===0x0)return a;const c=a[U(0x16c)]+b;return c>0x0?a[0x0][U(0x123)](c):'';}[a166z(0x15e)](a){const V=a166z;let b=0x0,c=0x0;a[V(0x151)](f=>{const W=V;if(f[W(0xfe)]('\x20'))b++;else f[W(0xfe)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x121)](a,d);return d[V(0x123)](e);}[a166z(0x121)](a,b){const X=a166z,c=a[X(0x11f)](d=>d&&d[X(0xfe)](b))[X(0x147)](d=>{const Y=X,e=d[Y(0xdd)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x16c)]:0x0;});if(c[X(0x16c)]===0x0)return 0x0;return this[X(0x16d)](c);}[a166z(0x16d)](a){const Z=a166z,b=a[Z(0xdf)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x16a)](b)[Z(0xdf)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a166z(0x171)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a166z;try{if(!this[a0(0x136)]['isFile'](a))throw new Error(a0(0x112)+a);const d=a166f['readFileSync'](a,a0(0x122)),f=d['split']('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[a0(0x101)](c)?c:[c];for(let o=0x0;o<f[a0(0x16c)];o++){const p=f[o];k&&p[a0(0x106)]('{')&&j++;if(m['some'](q=>p[a0(0x106)](q))){g=o,k=!![],j++;continue;}if(k){p[a0(0x106)](b[a0(0x12f)]())&&(l=!![]);if(p[a0(0x106)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error'](a0(0x170)+a),Log[a0(0xf9)](a0(0x129)+b),Log[a0(0xf9)](a0(0x108)+c);throw new Error(a0(0xf6));}if(l)return;let n=f[a0(0xf1)](0x0,g+0x1);replace?(n[a0(0x14b)](b[a0(0x12f)]()),n[a0(0x14b)](f[h])):(n=n[a0(0x160)](f[a0(0xf1)](g+0x1,h)),n[a0(0x14b)](b[a0(0x12f)]())),n=n[a0(0x160)](f[a0(0xf1)](h+0x1)),a166f['writeFileSync'](a,n['join']('\x0a'),a0(0x122));}catch(q){console[a0(0xf9)](a0(0x10c),q);throw q;}}async[a166z(0x124)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a166z;try{const g=await this[a1(0x136)][a1(0xda)](a,c);if(g)return;if(!this[a1(0x136)][a1(0xd9)](a))throw Log['error']('No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20'+JSON[a1(0xee)](a));const h=a166f[a1(0x120)](a,a1(0x122));if(!Array[a1(0x101)](d))d=[d];if(!Array[a1(0x101)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+'[\x5cs\x5cS]*?)('+l+')','i');i=h[a1(0x164)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error(a1(0x127));a166f[a1(0x135)](a,i),Log[a1(0x104)](treeSymbol+a1(0x12b)+a166e[a1(0x161)](process[a1(0xe1)](),a));}catch(n){errorHandler(a1(0x134),n),process[a1(0x102)](0x1);}}async[a166z(0x167)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a166z;try{const f=a166f[a2(0x120)](a,a2(0x122));let g;d?g=a2(0xe0)+b+'\x20}\x20from\x20\x27'+c+a2(0xf0):g='import\x20'+b+a2(0x154)+c+'\x27;\x0a';const h=f[a2(0x143)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a2(0x106)](a2(0x14a)+c+'\x27')||m['includes']('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a2(0xf2)+b+'\x20from');if(m['match'](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a2(0x16c)];o++){if(h[o][a2(0xdd)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a2(0x16c)];p++){h[p][a2(0xdd)](/^import .* from .*;$/)&&(j=p);}j++;}h['splice'](j,0x0,g);const l=h['join']('\x0a');a166f[a2(0x135)](a,l,a2(0x122));}catch(q){errorHandler('injectImport()',q),process['exit'](0x1);}}async[a166z(0xea)](a,b,c){const a3=a166z;try{let d;b['engines']['ssr']!==a3(0x11b)?d=this[a3(0x100)]({'pathParts':[a3(0x130),a3(0x114),a3(0x12c),a3(0x10e)],'config':b}):d=this[a3(0x100)]({'pathParts':[a3(0x130),a3(0x114),a3(0xe5),a3(0x10e)],'config':b});const f=this[a3(0x15c)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a3(0xf3)+c+'\x27;',h=await this[a3(0x136)]['fileContainsString'](f,g);!h&&this[a3(0x10d)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler('injectTemplateModule()',i),process['exit'](0x1);}}[a166z(0x118)]({filePath:a,content:b,lineNumber:c}){const a4=a166z;try{const d=a166f[a4(0x120)](a)[a4(0x113)]()[a4(0x143)]('\x0a');d['splice'](c,0x0,b);const f=d[a4(0x110)]('\x0a');a166f[a4(0x135)](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a4(0x102)](0x1);}}[a166z(0x100)]({pathParts:a,config:b}){const a5=a166z;try{if(!a)throw new Error(a5(0x13a));const c=this[a5(0x132)]({'pathParts':a,'config':b}),d=this[a5(0x136)]['findAppDirectory']();return d?a166e[a5(0x110)](d,c):'';}catch(f){errorHandler(a5(0xeb),f),process[a5(0x102)](0x1);}}['pathFromAppWithNoReWrite']({pathParts:a,config:b}){const a6=a166z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a6(0x136)][a6(0xe8)]();if(!d)throw new Error(a6(0x115));return a166e[a6(0x110)](d,c);}catch(f){errorHandler('pathFromAppWithNoReWrite()',f),process['exit'](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){const j=a167d,c=a();while(!![]){try{const d=parseInt(j(0x1e8))/0x1*(parseInt(j(0x1d2))/0x2)+parseInt(j(0x1d4))/0x3*(parseInt(j(0x1d7))/0x4)+parseInt(j(0x1df))/0x5+parseInt(j(0x1e0))/0x6+-parseInt(j(0x1da))/0x7+-parseInt(j(0x1ec))/0x8+-parseInt(j(0x1e2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0xc3d48));const a167b=(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;};}()),a167a=a167b(this,function(){const k=a167d;return a167a[k(0x1dd)]()[k(0x1e1)](k(0x1d8))[k(0x1dd)]()[k(0x1d9)](a167a)[k(0x1e1)](k(0x1d8));});a167a();import{spawn}from'child_process';import{Log}from'../log/log.class.js';function a167c(){const r=['search','13228992SPJkPo','SIGINT','message','inherit','log','close','755830EfYdHB','error','success','withSpinner','1327408jxwyKG','2dwSDTH','disconnect','3WDxpNs','failure','pid','6166516fhplFy','(((.+)+)+)+$','constructor','2546173NgLnQd','verbose','ignore','toString','cwd','2144955nOIVgR','451338IfLKdL'];a167c=function(){return r;};return a167c();}function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a167d(a,b);}export class SpawnAsync{static['withSpinner'](a,b,c){return new Promise((d,e)=>{const l=a167d,f=Log[l(0x1eb)](),g=c?.[l(0x1de)]||'.';c?.[l(0x1e4)]&&f['start'](c?.[l(0x1e4)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.[l(0x1db)]?l(0x1e5):l(0x1dc)});process['on'](l(0x1e3),()=>{const m=l,i=h[m(0x1d6)];i&&process['kill'](i);}),h['on']('data',i=>{const n=l;console[n(0x1e6)](i);}),h['on'](l(0x1d3),()=>{const o=l;c?.[o(0x1e4)]&&f[o(0x1ea)](),d();}),h['on'](l(0x1e7),()=>{const p=l;c?.[p(0x1e4)]&&f[p(0x1ea)](),d();}),h['on'](l(0x1e9),()=>{const q=l;c?.[q(0x1e4)]&&f[q(0x1d5)](),e();});});}}
1
+ const a167m=a167d;(function(a,b){const j=a167d,c=a();while(!![]){try{const d=-parseInt(j(0xf0))/0x1*(-parseInt(j(0x100))/0x2)+-parseInt(j(0xee))/0x3*(parseInt(j(0xf3))/0x4)+parseInt(j(0x103))/0x5*(-parseInt(j(0xfd))/0x6)+parseInt(j(0xf7))/0x7+-parseInt(j(0xe8))/0x8+-parseInt(j(0xe9))/0x9+-parseInt(j(0xfe))/0xa*(-parseInt(j(0xef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0x876c6));const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a167d;if(c){const e=c[k(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const l=a167d;return a167a[l(0xf1)]()['search'](l(0xf8))[l(0xf1)]()[l(0xe7)](a167a)['search']('(((.+)+)+)+$');});a167a();function a167c(){const t=['log','error','cwd','5482770EUMjAh','4986460kLFAIR','data','122hydgUo','failure','message','5uxhCyK','constructor','4799304NwuoKQ','732807oOwBIb','ignore','SIGINT','kill','verbose','276531TzpUdN','44QlsfTS','6004rRzWCM','toString','start','28Cypfkc','apply','pid','withSpinner','3039652fSJHOL','(((.+)+)+)+$','success'];a167c=function(){return t;};return a167c();}function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0xe7;let f=c[d];return f;},a167d(a,b);}import{spawn}from'child_process';import{Log}from'../log/log.class.js';export class SpawnAsync{static[a167m(0xf6)](a,b,c){return new Promise((d,e)=>{const n=a167d,f=Log[n(0xf6)](),g=c?.[n(0xfc)]||'.';c?.[n(0x102)]&&f[n(0xf2)](c?.['message']);const h=spawn(a,b,{'cwd':g,'stdio':c?.[n(0xed)]?'inherit':n(0xea)});process['on'](n(0xeb),()=>{const o=n,i=h[o(0xf5)];i&&process[o(0xec)](i);}),h['on'](n(0xff),i=>{const p=n;console[p(0xfa)](i);}),h['on']('disconnect',()=>{const q=n;c?.[q(0x102)]&&f[q(0xf9)](),d();}),h['on']('close',()=>{const r=n;c?.[r(0x102)]&&f[r(0xf9)](),d();}),h['on'](n(0xfb),()=>{const s=n;c?.[s(0x102)]&&f[s(0x101)](),e();});});}}
@@ -1 +1 @@
1
- (function(a,b){var f=a168d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1+-parseInt(f(0x93))/0x2*(-parseInt(f(0x9e))/0x3)+parseInt(f(0x91))/0x4+-parseInt(f(0x95))/0x5*(-parseInt(f(0x9a))/0x6)+parseInt(f(0x9d))/0x7*(parseInt(f(0x99))/0x8)+-parseInt(f(0x9c))/0x9+-parseInt(f(0x96))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0xc560a));var a168b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a168d;if(c){var e=c[g(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a168a=a168b(this,function(){var h=a168d;return a168a[h(0x98)]()[h(0x92)]('(((.+)+)+)+$')[h(0x98)]()[h(0x97)](a168a)[h(0x92)]('(((.+)+)+)+$');});function a168c(){var i=['13625460MuhqXf','constructor','toString','302656mMfXyb','12tmMSfD','1190862lwYaqn','11517021SsJQMq','7jbxePY','252NpwGTJ','947092JvmeoX','search','36700aHufMi','apply','1109515OjhceP'];a168c=function(){return i;};return a168c();}a168a();function a168d(a,b){var c=a168c();return a168d=function(d,e){d=d-0x91;var f=c[d];return f;},a168d(a,b);}export{};
1
+ (function(a,b){var f=a168d,c=a();while(!![]){try{var d=parseInt(f(0x74))/0x1*(parseInt(f(0x6e))/0x2)+-parseInt(f(0x6a))/0x3+-parseInt(f(0x72))/0x4+parseInt(f(0x76))/0x5+-parseInt(f(0x77))/0x6*(-parseInt(f(0x6d))/0x7)+-parseInt(f(0x75))/0x8+-parseInt(f(0x71))/0x9*(-parseInt(f(0x6f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0xed685));var a168b=(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;};}()),a168a=a168b(this,function(){var g=a168d;return a168a[g(0x73)]()[g(0x70)](g(0x6c))[g(0x73)]()[g(0x6b)](a168a)['search'](g(0x6c));});function a168d(a,b){var c=a168c();return a168d=function(d,e){d=d-0x6a;var f=c[d];return f;},a168d(a,b);}a168a();function a168c(){var h=['1855158uHagGn','3893007KyftXx','constructor','(((.+)+)+)+$','42jrLtkl','1825166KDTJeS','3694940WREuWX','search','9uTgpgC','6846192ojAOYY','toString','2RvTNiD','3403504mgyZrr','1786290LkuaBE'];a168c=function(){return h;};return a168c();}export{};
@@ -1 +1 @@
1
- const a169s=a169d;(function(a,b){const m=a169d,c=a();while(!![]){try{const d=-parseInt(m(0xd2))/0x1*(-parseInt(m(0xb9))/0x2)+-parseInt(m(0xd6))/0x3*(-parseInt(m(0xd4))/0x4)+parseInt(m(0xb6))/0x5*(parseInt(m(0xaa))/0x6)+-parseInt(m(0xc0))/0x7*(parseInt(m(0xd0))/0x8)+-parseInt(m(0xce))/0x9*(-parseInt(m(0xaf))/0xa)+-parseInt(m(0xd5))/0xb*(parseInt(m(0xd7))/0xc)+-parseInt(m(0xb2))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0x92f6e));function a169c(){const w=['env','start','scp','inherit','sshSync','19369IicTGh','push','(((.+)+)+)+$','utf-8','tty','ConnectTimeout=2','stderr','sshVerbose','ignore','withSpinner','dest','disconnect','silentOutput','error','5990481zCmiii','user','1032rsdEyY','verbose','15278pwlJdt','port','3344iGUkGG','11SxGFeR','2463PLEhvD','5362116zpRrDw','concat','close','source','message','failure','2423382JpizJP','ping','constructor','ssh\x20','pipe','10GEIOjH','join','ssh','20043322CyMaEB','toString','search','2>&1','5fyXAkq','success','host','156gJGjvR','pem'];a169c=function(){return w;};return a169c();}const a169b=(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;};}()),a169a=a169b(this,function(){const n=a169d;return a169a[n(0xb3)]()[n(0xb4)](n(0xc2))[n(0xb3)]()[n(0xac)](a169a)[n(0xb4)]('(((.+)+)+)+$');});a169a();import a169e from'path';import{execSync,spawnSync,spawn}from'child_process';function a169d(a,b){const c=a169c();return a169d=function(d,e){d=d-0xa6;let f=c[d];return f;},a169d(a,b);}import{Log}from'../log/log.class.js';export class SSH{static ['ssh']=(a,b,c)=>{return new Promise((d,e)=>{const o=a169d,f=b['user']+'@'+b[o(0xb8)],g=a169e['join'](b[o(0xbb)],b[o(0xba)]),h=c?.[o(0xc4)]||![],i=c?.[o(0xc7)]||![];let j=[];h&&j['push']('-t');i&&j[o(0xc1)]('-v');j=j['concat'](['-o','ConnectTimeout=2','-i',g,'-p',b[o(0xd3)],f,a]);const k=Log[o(0xc9)]();c?.[o(0xa8)]&&k[o(0xbc)](c?.[o(0xa8)]);const l=spawn(o(0xb1),j,{'stdio':c?.['verbose']?o(0xbe):'ignore'});l['on'](o(0xcb),()=>{const p=o;c?.[p(0xa8)]&&k[p(0xb7)](),d();}),l['on'](o(0xa6),()=>{const q=o;c?.['message']&&k[q(0xb7)](),d();}),l['on'](o(0xcd),()=>{const r=o;c?.[r(0xa8)]&&k[r(0xa9)](),e();});});};static [a169s(0xbf)]=(a,b,c)=>{const t=a169s,d=b['user']+'@'+b[t(0xb8)],e=a169e[t(0xb0)](b[t(0xbb)],b[t(0xba)]),f=c?.[t(0xc4)]||![],g=c?.['sshVerbose']||![],h=c?.[t(0xcc)]||![];let i=[];f&&i[t(0xc1)]('-t');g&&i[t(0xc1)]('-v');i=i[t(0xd8)](['-o',t(0xc5),'-i',e,'-p',b[t(0xd3)]['toString'](),d,a]);const j=h?t(0xae):t(0xbe),k=spawnSync(t(0xb1),i,{'encoding':t(0xc3),'stdio':[j,t(0xae),'pipe']});if(h)return{'stdout':k['stdout']||'','stderr':k[t(0xc6)]||'','status':k['status']};};static[a169s(0xab)](a,b,c){const u=a169s,d=b[u(0xcf)]+'@'+b['host'],e=a169e[u(0xb0)](b[u(0xbb)],b['pem']),f=c?.['tty']||![];let g=[];f&&g['push']('-t');g=g[u(0xd8)](['-o',u(0xc5),'-i',e,'-p',b[u(0xd3)],d,a,u(0xb5)]);const h=u(0xad)+g[u(0xb0)]('\x20');return execSync(h)[u(0xb3)]();}static[a169s(0xbd)](a,b){const v=a169s,c=b[v(0xcf)]+'@'+b[v(0xb8)]+':'+a[v(0xca)],d=a169e[v(0xb0)](b[v(0xbb)],b[v(0xba)]),e=['-i',d,'-P',b[v(0xd3)],a[v(0xa7)],c];spawnSync(v(0xbd),e,{'stdio':a[v(0xd1)]?v(0xbe):v(0xc8)});}}
1
+ const a169p=a169d;function a169d(a,b){const c=a169c();return a169d=function(d,e){d=d-0x102;let f=c[d];return f;},a169d(a,b);}(function(a,b){const m=a169d,c=a();while(!![]){try{const d=-parseInt(m(0x102))/0x1+parseInt(m(0x127))/0x2*(-parseInt(m(0x11b))/0x3)+-parseInt(m(0x122))/0x4+-parseInt(m(0x125))/0x5*(parseInt(m(0x12a))/0x6)+-parseInt(m(0x12d))/0x7+parseInt(m(0x108))/0x8*(-parseInt(m(0x11e))/0x9)+-parseInt(m(0x121))/0xa*(-parseInt(m(0x10b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0xe6539));const a169b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a169d;if(c){const e=c[n(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){const o=a169d;return a169a['toString']()[o(0x10e)](o(0x12e))['toString']()[o(0x12c)](a169a)[o(0x10e)]('(((.+)+)+)+$');});function a169c(){const x=['592158xGDUaB','(((.+)+)+)+$','tty','withSpinner','ssh\x20','1459553OMapcS','push','inherit','2>&1','ssh','dest','4596328OmWFAE','host','ignore','72430919eZFrKe','user','apply','search','start','message','toString','source','pipe','silentOutput','error','success','stderr','pem','join','sshSync','5390703rrxqEw','sshVerbose','scp','9NYtZpA','verbose','env','10UMxdMe','6759492ezxHoC','failure','close','89375EaEnCx','disconnect','2MXkskU','ConnectTimeout=2','port','12vsXDtL','concat','constructor'];a169c=function(){return x;};return a169c();}a169a();import a169e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a169p(0x106)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a169d,f=b[q(0x10c)]+'@'+b['host'],g=a169e[q(0x119)](b[q(0x120)],b[q(0x118)]),h=c?.[q(0x12f)]||![],i=c?.['sshVerbose']||![];let j=[];h&&j[q(0x103)]('-t');i&&j[q(0x103)]('-v');j=j[q(0x12b)](['-o',q(0x128),'-i',g,'-p',b[q(0x129)],f,a]);const k=Log[q(0x130)]();c?.[q(0x110)]&&k[q(0x10f)](c?.[q(0x110)]);const l=spawn(q(0x106),j,{'stdio':c?.[q(0x11f)]?'inherit':'ignore'});l['on'](q(0x126),()=>{const r=q;c?.[r(0x110)]&&k[r(0x116)](),d();}),l['on'](q(0x124),()=>{const s=q;c?.[s(0x110)]&&k['success'](),d();}),l['on'](q(0x115),()=>{const t=q;c?.[t(0x110)]&&k[t(0x123)](),e();});});};static [a169p(0x11a)]=(a,b,c)=>{const u=a169p,d=b[u(0x10c)]+'@'+b[u(0x109)],e=a169e[u(0x119)](b[u(0x120)],b['pem']),f=c?.[u(0x12f)]||![],g=c?.[u(0x11c)]||![],h=c?.[u(0x114)]||![];let i=[];f&&i[u(0x103)]('-t');g&&i[u(0x103)]('-v');i=i[u(0x12b)](['-o','ConnectTimeout=2','-i',e,'-p',b[u(0x129)]['toString'](),d,a]);const j=h?u(0x113):u(0x104),k=spawnSync(u(0x106),i,{'encoding':'utf-8','stdio':[j,u(0x113),u(0x113)]});if(h)return{'stdout':k['stdout']||'','stderr':k[u(0x117)]||'','status':k['status']};};static['ping'](a,b,c){const v=a169p,d=b[v(0x10c)]+'@'+b[v(0x109)],e=a169e[v(0x119)](b[v(0x120)],b[v(0x118)]),f=c?.[v(0x12f)]||![];let g=[];f&&g[v(0x103)]('-t');g=g[v(0x12b)](['-o',v(0x128),'-i',e,'-p',b['port'],d,a,v(0x105)]);const h=v(0x131)+g['join']('\x20');return execSync(h)[v(0x111)]();}static[a169p(0x11d)](a,b){const w=a169p,c=b['user']+'@'+b['host']+':'+a[w(0x107)],d=a169e[w(0x119)](b[w(0x120)],b[w(0x118)]),e=['-i',d,'-P',b[w(0x129)],a[w(0x112)],c];spawnSync(w(0x11d),e,{'stdio':a[w(0x11f)]?w(0x104):w(0x10a)});}}
@@ -1 +1 @@
1
- (function(a,b){var f=a170d,c=a();while(!![]){try{var d=parseInt(f(0xd3))/0x1*(parseInt(f(0xd8))/0x2)+parseInt(f(0xda))/0x3*(parseInt(f(0xd2))/0x4)+-parseInt(f(0xd6))/0x5+parseInt(f(0xd1))/0x6+-parseInt(f(0xdc))/0x7*(parseInt(f(0xce))/0x8)+parseInt(f(0xdb))/0x9+parseInt(f(0xcf))/0xa*(-parseInt(f(0xd7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0xee396));function a170d(a,b){var c=a170c();return a170d=function(d,e){d=d-0xce;var f=c[d];return f;},a170d(a,b);}var a170b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a170d;if(c){var e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){var h=a170d;return a170a['toString']()[h(0xd9)]('(((.+)+)+)+$')[h(0xd5)]()['constructor'](a170a)[h(0xd9)](h(0xd0));});function a170c(){var i=['1494141SmmqTo','38hkUsds','search','3860331ScWunr','4746807sKLUWf','671937HwBEqI','88fOoiAr','60kbeylX','(((.+)+)+)+$','8149524ZCZRkj','4gcGGGJ','42638uhmQAe','apply','toString','5679615ZJAeSm'];a170c=function(){return i;};return a170c();}a170a();export{};
1
+ (function(a,b){var f=a170d,c=a();while(!![]){try{var d=parseInt(f(0x17c))/0x1*(parseInt(f(0x181))/0x2)+parseInt(f(0x17a))/0x3*(parseInt(f(0x178))/0x4)+parseInt(f(0x173))/0x5+parseInt(f(0x17d))/0x6*(-parseInt(f(0x172))/0x7)+-parseInt(f(0x17f))/0x8*(-parseInt(f(0x17e))/0x9)+parseInt(f(0x174))/0xa*(-parseInt(f(0x180))/0xb)+-parseInt(f(0x171))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0x37746));function a170d(a,b){var c=a170c();return a170d=function(d,e){d=d-0x171;var f=c[d];return f;},a170d(a,b);}var a170b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a170d;if(c){var e=c[g(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){var h=a170d;return a170a[h(0x17b)]()[h(0x179)](h(0x177))[h(0x17b)]()[h(0x175)](a170a)[h(0x179)](h(0x177));});a170a();function a170c(){var i=['1550125haihFf','77790shxtJi','constructor','apply','(((.+)+)+)+$','4772Uluyts','search','930Ehwaqk','toString','1EmUQFC','1340538YTEJQP','53388fbLiKm','16AzBbbb','66uqNweD','120778oDztvs','3058428ROYMOL','7lxWpRm'];a170c=function(){return i;};return a170c();}export{};
@@ -1 +1 @@
1
- const a171h=a171d;(function(a,b){const f=a171d,c=a();while(!![]){try{const d=parseInt(f(0xf3))/0x1+-parseInt(f(0x102))/0x2+-parseInt(f(0xec))/0x3*(-parseInt(f(0xf9))/0x4)+-parseInt(f(0xf6))/0x5*(parseInt(f(0x101))/0x6)+-parseInt(f(0xf5))/0x7*(-parseInt(f(0xea))/0x8)+parseInt(f(0xe9))/0x9+-parseInt(f(0xe8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a171c,0x72153));function a171c(){const k=['genCSR','-config','-nodes','42VeUOKL','1724826WemISh','-newkey','keyName','-key','-out','search','6523170AxbOff','6192270OwTQaK','41352qkOEuN','rsa:2048','3cSBguG','openssl','req','cwd','-new','genSSC','toString','800372RZHYgJ','csrName','581zTVknV','282655rRAiAN','inherit','openssl.conf','1841204swQHLU','useConfig','-x509','push','(((.+)+)+)+$'];a171c=function(){return k;};return a171c();}const a171b=(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;};}()),a171a=a171b(this,function(){const g=a171d;return a171a[g(0xf2)]()['search'](g(0xfd))['toString']()['constructor'](a171a)[g(0xe7)]('(((.+)+)+)+$');});a171a();import{spawnSync}from'child_process';function a171d(a,b){const c=a171c();return a171d=function(d,e){d=d-0xe7;let f=c[d];return f;},a171d(a,b);}export class SSL{static[a171h(0xfe)](a){const i=a171h,b=a[i(0xef)]?a[i(0xef)]:process[i(0xef)](),c=[i(0xee),i(0xf0),i(0x103),i(0xeb),i(0x100),'-keyout',a[i(0x104)],i(0x106),a[i(0xf4)]];a[i(0xfa)]&&(c[i(0xfc)](i(0xff)),c[i(0xfc)](i(0xf8))),a[i(0xfa)]?spawnSync(i(0xed),c,{'cwd':b}):spawnSync(i(0xed),c,{'stdio':i(0xf7),'cwd':b});}static[a171h(0xf1)](a){const j=a171h,b=a[j(0xef)]?a[j(0xef)]:process[j(0xef)](),c=['req',j(0xfb),'-new',j(0x105),a[j(0x104)],'-out',a['crtName']];a[j(0xfa)]&&(c['push'](j(0xff)),c[j(0xfc)](j(0xf8))),a[j(0xfa)]?spawnSync('openssl',c,{'cwd':b}):spawnSync(j(0xed),c,{'stdio':j(0xf7),'cwd':b});}}
1
+ function a171d(a,b){const c=a171c();return a171d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a171d(a,b);}const a171i=a171d;(function(a,b){const f=a171d,c=a();while(!![]){try{const d=parseInt(f(0x1e3))/0x1*(-parseInt(f(0x1da))/0x2)+parseInt(f(0x1eb))/0x3*(parseInt(f(0x1f3))/0x4)+parseInt(f(0x1ef))/0x5+parseInt(f(0x1e0))/0x6+-parseInt(f(0x1e8))/0x7+-parseInt(f(0x1f2))/0x8*(parseInt(f(0x1ed))/0x9)+parseInt(f(0x1e4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a171c,0x3cc0e));const a171b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a171d;if(c){const e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a171a=a171b(this,function(){const h=a171d;return a171a[h(0x1e5)]()['search'](h(0x1ee))[h(0x1e5)]()['constructor'](a171a)[h(0x1f1)](h(0x1ee));});a171a();import{spawnSync}from'child_process';function a171c(){const l=['openssl','apply','req','222894QuypdJ','openssl.conf','-key','686WeEjVM','12173410YEOYQu','toString','useConfig','push','3439940oQnXed','-x509','-new','37371tFTPVD','genSSC','9nZutxp','(((.+)+)+)+$','315695CGYzbd','genCSR','search','2999688JHfPvw','24zhhmGZ','cwd','-config','rsa:2048','inherit','-out','-newkey','808MZfpRa','keyName','-keyout'];a171c=function(){return l;};return a171c();}export class SSL{static[a171i(0x1f0)](a){const j=a171i,b=a[j(0x1f4)]?a['cwd']:process['cwd'](),c=[j(0x1df),j(0x1ea),j(0x1d9),j(0x1f6),'-nodes',j(0x1dc),a[j(0x1db)],'-out',a['csrName']];a[j(0x1e6)]&&(c[j(0x1e7)](j(0x1f5)),c['push'](j(0x1e1))),a[j(0x1e6)]?spawnSync(j(0x1dd),c,{'cwd':b}):spawnSync(j(0x1dd),c,{'stdio':j(0x1d7),'cwd':b});}static[a171i(0x1ec)](a){const k=a171i,b=a[k(0x1f4)]?a[k(0x1f4)]:process[k(0x1f4)](),c=[k(0x1df),k(0x1e9),k(0x1ea),k(0x1e2),a['keyName'],k(0x1d8),a['crtName']];a[k(0x1e6)]&&(c[k(0x1e7)]('-config'),c[k(0x1e7)](k(0x1e1))),a[k(0x1e6)]?spawnSync(k(0x1dd),c,{'cwd':b}):spawnSync(k(0x1dd),c,{'stdio':k(0x1d7),'cwd':b});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.1.17",
3
+ "version": "5.1.18",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -0,0 +1,84 @@
1
+ var assert = require("chai").assert;
2
+ var helpers = require('./integration_helpers');
3
+
4
+ describe("default languages", function() {
5
+
6
+ it('react genenerated correctly', function(done) {
7
+ helpers.compare('react', [''], function(err) {
8
+ assert(err == null, err);
9
+ done();
10
+ });
11
+ });
12
+
13
+ it('react-material genenerated correctly', function(done) {
14
+ helpers.compare('react', ['--theme=material'], function(err) {
15
+ assert(err == null, err);
16
+ done();
17
+ });
18
+ });
19
+
20
+ it('react-ssr genenerated correctly', function(done) {
21
+ helpers.compare('react', ['--ssr=true'], function(err) {
22
+ assert(err == null, err);
23
+ done();
24
+ });
25
+ });
26
+
27
+
28
+ it('react-apollo genenerated correctly', function(done) {
29
+ helpers.compare('react', ['--graphql=apollo'], function(err) {
30
+ assert(err == null, err);
31
+ done();
32
+ });
33
+ });
34
+
35
+ it('react-apollo-ssr genenerated correctly', function(done) {
36
+ helpers.compare('react', ['--graphql=apollo', '--ssr=true'], function(err) {
37
+ assert(err == null, err);
38
+ done();
39
+ });
40
+ });
41
+
42
+ it('reflux genenerated correctly', function(done) {
43
+ helpers.compare('react', ['--client=reflux'], function(err) {
44
+ assert(err == null, err);
45
+ done();
46
+ });
47
+ });
48
+
49
+ it('reflux-material genenerated correctly', function(done) {
50
+ helpers.compare('react', ['--client=reflux', '--theme=material'], function(err) {
51
+ assert(err == null, err);
52
+ done();
53
+ });
54
+ });
55
+
56
+ it('reflux-ssr genenerated correctly', function(done) {
57
+ helpers.compare('react', ['--client=reflux', '--ssr=true'], function(err) {
58
+ assert(err == null, err);
59
+ done();
60
+ });
61
+ });
62
+
63
+ it('reflux-apollo genenerated correctly', function(done) {
64
+ helpers.compare('react', ['--client=reflux', '--graphql=apollo'], function(err) {
65
+ assert(err == null, err);
66
+ done();
67
+ });
68
+ });
69
+
70
+ it('reflux-apollo-ssr genenerated correctly', function(done) {
71
+ helpers.compare('react', ['--client=reflux', '--graphql=apollo', '-ssr=true'], function(err) {
72
+ assert(err == null, err);
73
+ done();
74
+ });
75
+ });
76
+
77
+
78
+ it('blaze genenerated correctly', function(done) {
79
+ helpers.compare('react', ['--client=blaze'], function(err) {
80
+ assert(err == null, err);
81
+ done();
82
+ });
83
+ });
84
+ });
@@ -0,0 +1,30 @@
1
+ {
2
+ "engines": {
3
+ "html": "html",
4
+ "js": "js",
5
+ "css": "css",
6
+ "api": "none",
7
+ "client": "blaze",
8
+ "test": "none",
9
+ "graphql": "none",
10
+ "ssr": "false"
11
+ },
12
+
13
+ "template": {
14
+ "html": "true",
15
+ "js": "true",
16
+ "css": "true",
17
+ "test": "true"
18
+ },
19
+ "features": {
20
+ "withTracker": "true"
21
+ },
22
+ "route": {
23
+ "controller": "",
24
+ "template": "true"
25
+ },
26
+
27
+ "generator": {
28
+ "comments": "true"
29
+ }
30
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "libs": [
3
+ "browser",
4
+ "jquery",
5
+ "underscore"
6
+ ],
7
+ "loadEagerly": [ "*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js" ],
8
+ "dontLoad": [ ".meteor" ],
9
+ "plugins": {
10
+ "meteor": {}
11
+ },
12
+ "requirejs": {
13
+ "baseURL": "./",
14
+ "paths": {}
15
+ },
16
+ "node": {}
17
+ }
@@ -0,0 +1,17 @@
1
+ # This file contains information which helps Meteor properly upgrade your
2
+ # app when you run 'meteor update'. You should check it into version control
3
+ # with your project.
4
+
5
+ notices-for-0.9.0
6
+ notices-for-0.9.1
7
+ 0.9.4-platform-file
8
+ notices-for-facebook-graph-api-2
9
+ 1.2.0-standard-minifiers-package
10
+ 1.2.0-meteor-platform-split
11
+ 1.2.0-cordova-changes
12
+ 1.2.0-breaking-changes
13
+ 1.3.0-split-minifiers-package
14
+ 1.4.0-remove-old-dev-bundle-link
15
+ 1.4.1-add-shell-server-package
16
+ 1.4.3-split-account-service-packages
17
+ 1.5-add-dynamic-import-package
@@ -0,0 +1,7 @@
1
+ # This file contains a token that is unique to your project.
2
+ # Check it into your repository along with the rest of this directory.
3
+ # It can be used for purposes such as:
4
+ # - ensuring you don't accidentally deploy one app on top of another
5
+ # - providing package authors with aggregated statistics
6
+
7
+ y8p9ecjug4zu.hb4hpnxnc5o7
@@ -0,0 +1,21 @@
1
+ # Meteor packages used by this project, one per line.
2
+ # Check this file (and the other files in this directory) into your repository.
3
+ #
4
+ # 'meteor add' and 'meteor remove' will edit this file for you,
5
+ # but you can also edit it by hand.
6
+
7
+ meteor-base@1.3.0 # Packages every Meteor app needs to have
8
+ mobile-experience@1.0.5 # Packages for a great mobile UX
9
+ mongo@1.4.2 # The database Meteor supports right now
10
+ blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
11
+ reactive-var@1.0.11 # Reactive variable for tracker
12
+ tracker@1.1.3 # Meteor's client-side reactive programming library
13
+
14
+ standard-minifier-css@1.4.0 # CSS minifier run for production mode
15
+ standard-minifier-js@2.3.1 # JS minifier run for production mode
16
+ es5-shim@4.7.0 # ECMAScript 5 compatibility for older browsers
17
+ ecmascript@0.10.0 # Enable ECMAScript2015+ syntax in app code
18
+ shell-server@0.3.1 # Server-side component of the `meteor shell` command
19
+
20
+ autopublish@1.0.7 # Publish all data to the clients (for prototyping)
21
+ insecure@1.0.7 # Allow all DB writes from clients (for prototyping)
@@ -0,0 +1,2 @@
1
+ server
2
+ browser
@@ -0,0 +1 @@
1
+ METEOR@1.6.1
@@ -0,0 +1,78 @@
1
+ allow-deny@1.1.0
2
+ autopublish@1.0.7
3
+ autoupdate@1.4.0
4
+ babel-compiler@7.0.5
5
+ babel-runtime@1.2.2
6
+ base64@1.0.11
7
+ binary-heap@1.0.10
8
+ blaze@2.3.2
9
+ blaze-html-templates@1.1.2
10
+ blaze-tools@1.0.10
11
+ boilerplate-generator@1.4.0
12
+ caching-compiler@1.1.11
13
+ caching-html-compiler@1.1.2
14
+ callback-hook@1.1.0
15
+ check@1.3.1
16
+ ddp@1.4.0
17
+ ddp-client@2.3.2
18
+ ddp-common@1.4.0
19
+ ddp-server@2.1.2
20
+ deps@1.0.12
21
+ diff-sequence@1.1.0
22
+ dynamic-import@0.3.0
23
+ ecmascript@0.10.5
24
+ ecmascript-runtime@0.5.0
25
+ ecmascript-runtime-client@0.6.2
26
+ ecmascript-runtime-server@0.5.0
27
+ ejson@1.1.0
28
+ es5-shim@4.7.3
29
+ geojson-utils@1.0.10
30
+ hot-code-push@1.0.4
31
+ html-tools@1.0.11
32
+ htmljs@1.0.11
33
+ http@1.4.0
34
+ id-map@1.1.0
35
+ insecure@1.0.7
36
+ jquery@1.11.11
37
+ launch-screen@1.1.1
38
+ livedata@1.0.18
39
+ logging@1.1.20
40
+ meteor@1.8.6
41
+ meteor-base@1.3.0
42
+ minifier-css@1.3.1
43
+ minifier-js@2.3.3
44
+ minimongo@1.4.3
45
+ mobile-experience@1.0.5
46
+ mobile-status-bar@1.0.14
47
+ modules@0.11.5
48
+ modules-runtime@0.9.2
49
+ mongo@1.4.5
50
+ mongo-dev-server@1.1.0
51
+ mongo-id@1.0.7
52
+ npm-mongo@2.2.34
53
+ observe-sequence@1.0.16
54
+ ordered-dict@1.1.0
55
+ promise@0.10.2
56
+ random@1.1.0
57
+ reactive-var@1.0.11
58
+ reload@1.2.0
59
+ retry@1.1.0
60
+ routepolicy@1.0.13
61
+ server-render@0.3.0
62
+ shell-server@0.3.1
63
+ shim-common@0.1.0
64
+ socket-stream-client@0.1.0
65
+ spacebars@1.0.15
66
+ spacebars-compiler@1.1.3
67
+ standard-minifier-css@1.4.1
68
+ standard-minifier-js@2.3.2
69
+ templating@1.3.2
70
+ templating-compiler@1.3.3
71
+ templating-runtime@1.3.2
72
+ templating-tools@1.1.2
73
+ tracker@1.1.3
74
+ ui@1.0.13
75
+ underscore@1.0.10
76
+ url@1.2.0
77
+ webapp@1.5.0
78
+ webapp-hashing@1.0.9
@@ -0,0 +1,2 @@
1
+ <body>
2
+ </body>
@@ -0,0 +1,8 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
+ <meta name="viewport" content="width=device-width, initial-scale=1">
5
+ <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
6
+ <meta name="description" content="blaze">
7
+ <title>blaze</title>
8
+ </head>
@@ -0,0 +1 @@
1
+ import '/imports/startup/client';