@maka/maka-cli 5.1.17 → 5.1.19

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-0xd8;let f=c[d];return f;},a163d(a,b);}(function(a,b){const g=a163d,c=a();while(!![]){try{const d=-parseInt(g(0xf3))/0x1*(parseInt(g(0xf0))/0x2)+parseInt(g(0xde))/0x3*(-parseInt(g(0xee))/0x4)+parseInt(g(0xeb))/0x5*(parseInt(g(0xf1))/0x6)+parseInt(g(0xf4))/0x7+parseInt(g(0xe9))/0x8*(parseInt(g(0xd8))/0x9)+parseInt(g(0xf7))/0xa+-parseInt(g(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0xa9aea));const a163b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a163d;if(c){const e=c[h(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){const i=a163d;return a163a[i(0xf6)]()[i(0xe7)](i(0xe2))['toString']()[i(0xec)](a163a)[i(0xe7)](i(0xe2));});a163a();import{Actions}from'../actions/actions.class.js';export class OptionHandler{['inputOpts'];[a163j(0xdd)];[a163j(0xea)];['validOpts'];constructor(){const k=a163j;this[k(0xe0)]=[],this[k(0xdd)]={},this[k(0xea)]=[],this[k(0xed)]=[];}async[a163j(0xda)](a,b,c){const l=a163j;this[l(0xe0)]=a,this[l(0xea)]=b,this[l(0xed)]=c,await this[l(0xe6)](),await this['handleValidOptions']();}async[a163j(0xe6)](){const m=a163j;if(this[m(0xea)]?.[m(0xe8)]>0x0)for(const a of this['requiredOpts']){let b=!![];const {name:c,values:d}=typeof a==='string'?{'name':a,'values':undefined}:a;if(!this['inputOpts'][m(0xe3)](c)){const e=d?await Actions[m(0xe4)]({'name':c,'message':m(0xf5)+c,'choices':d['map'](f=>({'name':f,'value':f}))}):await Actions['ask'](m(0xdf)+c);this['opts'][c]=e,b=d?d[m(0xe3)](this[m(0xdd)][c]):!![];}else b=d?d[m(0xe3)](this['opts'][c]):!![];if(!b)throw new Error(m(0xef)+c+':\x20'+this[m(0xdd)][c]);}}async['handleValidOptions'](){const n=a163j;if(this[n(0xed)]?.['length']>0x0)for(const a of this[n(0xed)]){const {name:b,values:c}=typeof a===n(0xf8)?{'name':a,'values':undefined}:a,d=this['opts'][b];if(d!==undefined&&(!c||!c[n(0xe3)](d))){const e=c?await Actions['select']({'name':b,'message':n(0xdc)+b,'choices':c[n(0xd9)](f=>({'name':f,'value':f}))}):await Actions[n(0xf2)](n(0xe1)+b);this['opts'][b]=e;}}}}function a163c(){const o=['Please\x20provide\x20a\x20value\x20for\x20','inputOpts','Please\x20provide\x20a\x20valid\x20value\x20for\x20','(((.+)+)+)+$','includes','select','apply','handleRequiredOptions','search','length','8359032rxnuCG','requiredOpts','333430midCJc','constructor','validOpts','169888lyRsPr','Invalid\x20value\x20for\x20','1336Msjgxn','114kTbdlv','ask','645WRtIbX','504406vRegkA','Please\x20choose\x20a\x20value\x20for\x20','toString','6110420uIpfJj','string','9YxyXIS','map','handleOptions','8880685wxCRNi','Please\x20choose\x20a\x20valid\x20value\x20for\x20','opts','75IsgCjb'];a163c=function(){return o;};return a163c();}
@@ -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(0x190))/0x1+parseInt(m(0x18b))/0x2*(-parseInt(m(0x196))/0x3)+-parseInt(m(0x16c))/0x4+parseInt(m(0x16a))/0x5*(parseInt(m(0x188))/0x6)+-parseInt(m(0x17c))/0x7*(parseInt(m(0x171))/0x8)+parseInt(m(0x165))/0x9*(parseInt(m(0x191))/0xa)+-parseInt(m(0x14c))/0xb*(-parseInt(m(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0x8f281));const a164b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a164d;if(c){const e=c[n(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a164a=a164b(this,function(){const o=a164d;return a164a[o(0x184)]()[o(0x149)](o(0x17d))[o(0x184)]()['constructor'](a164a)[o(0x149)](o(0x17d));});a164a();import a164e from'path';function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x146;let f=c[d];return f;},a164d(a,b);}import a164f from'fs';import{exec}from'child_process';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(0x14f)]['MAKA_DEV']==='True'&&Log[p(0x160)](p(0x16d)+a),b&&console['error'](b);};function a164c(){const E=['12vfraww','failure','package.json','153OHDDro','packages','\x20--allow-incompatible-update','exit','meteor','1925505asJbbI','npm\x20packages','1522984VOJzbu','Error\x20in\x20','setupNpm()','shouldInstall','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20','210296LmbSJT','stringify','installNpmPackage','devDependencies','app','Couldn\x27t\x20find\x20an\x20app\x20directory.','fsi','Cannot\x20find\x20your\x20node_modules\x20folder.','checkNpmPackage()','checkMeteorPackage()','\x20from.','7pqTRSZ','(((.+)+)+)+$','msg','isDirectory','includes','parse','saveDev','string','toString','.meteor','apply','message','6OudTTU','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20','withSpinner','170ZBTdcm','setupNpm','split','cwd','existsSync','472598RXxHoj','220460KXaEQS','length','\x20is/are\x20present.','ensureAllDependenciesInstalled()','keys','36417fXLYrj','npm\x20i\x20--save\x20-q\x20','ensureAllDependenciesInstalled','indexOf','meteorCommand','join','search','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20','Could\x20not\x20install\x20npm\x20dependencies','19117252pckLVC','removeMeteorPackage','warn','env','.\x20Installing...','findAppDirectory','isSelfTest','start','dependencies','readFileSync','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.','Couldn\x27t\x20find\x20a\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20','utf8','utf-8','Installing\x20npm\x20dependencies','\x20remove\x20','instance','push','success','installMeteorPackage','error','node_modules'];a164c=function(){return E;};return a164c();}export class PKG{static ['instance'];['fsi'];[a164q(0x169)];constructor(a){const r=a164q;this[r(0x177)]=a,this[r(0x169)]=a[r(0x147)]();}static['getInstance'](a){const s=a164q;return!PKG[s(0x15c)]&&(PKG['instance']=new PKG(a)),PKG[s(0x15c)];}['installMeteorPackage'](a,b){return new Promise((c,d)=>{const t=a164d;b=b||{},b['cwd']=b[t(0x18e)]||this[t(0x177)][t(0x151)]();if(!b[t(0x152)]){const f=Log[t(0x18a)](),g=this[t(0x177)]['findAppDirectory'](b[t(0x18e)]);if(!g)Log['error']('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20'+JSON[t(0x172)](a)+'\x20into.'),d();else try{if(a[t(0x18d)]('\x20')[t(0x192)]>0x1){const h=a['split']('\x20');for(const i of h){const j=this[t(0x177)][t(0x151)](b['cwd']),k=a164f['readFileSync'](a164e['join'](j,t(0x185),'packages'),t(0x158));k[t(0x146)](i['split']('@')[0x0])===-0x1&&a164f['appendFileSync'](a164e['join'](j,t(0x185),t(0x166)),i+'\x0a');}}f[t(0x153)]('Installing\x20meteor\x20packages'),exec(this[t(0x169)]+'\x20add\x20'+a+t(0x167),{'cwd':g},l=>{const u=t;l&&(Log[u(0x160)]('\x0a'+l[u(0x187)]),d(),process['exit'](0x1)),f[u(0x15e)](),c();});}catch(l){Log[t(0x160)](l),f[t(0x163)](),d();}}});}[a164q(0x14d)](a,b){return new Promise((c,d)=>{const v=a164d;b=b||{},b['cwd']=b[v(0x18e)]||'.';if(!b[v(0x152)]){const f=this[v(0x177)]['findAppDirectory'](b['cwd']);if(!f)Log[v(0x160)](v(0x189)+JSON[v(0x172)](a)+v(0x17b)),d();else{const g=Log[v(0x18a)]();try{g['start']('Removing\x20insecure\x20meteor\x20packages'),exec(this[v(0x169)]+v(0x15b)+a,{'cwd':f},h=>{const w=v;h&&(Log[w(0x160)]('\x0a'+h['message']),d(),process[w(0x168)](0x1)),g[w(0x15e)](),c();});}catch(h){Log[v(0x160)](h),g['failure'](),d();}}}});}async['checkMeteorPackage'](a,b){const x=a164q;try{const c=this['fsi'][x(0x151)]();if(!c)return Log[x(0x160)](x(0x170)+JSON[x(0x172)](a)+x(0x193)),![];const d=a164f[x(0x155)](a164e[x(0x148)](c,x(0x185),x(0x166)),x(0x159))[x(0x18d)]('\x0a')['filter'](Boolean);typeof a===x(0x183)&&(a=[a]);const f=[];for(const g of a){const h=d[x(0x180)](g);!h&&f['push'](g);}if(b['shouldInstall']&&f[x(0x192)]>0x0){const i=f[x(0x148)]('\x20');await this[x(0x15f)](i,b);}return f[x(0x192)]===0x0;}catch(j){errorHandler(x(0x17a),j),process[x(0x168)](0x1);}}async[a164q(0x18c)](a){const y=a164q;try{const b=this['fsi'][y(0x151)](a['cwd']);if(!b)Log[y(0x160)](y(0x156));else{const c=this[y(0x177)][y(0x17f)](a164e['join'](b,y(0x161)));!c&&(Log[y(0x14e)](y(0x178)),await SpawnAsync[y(0x18a)](this[y(0x169)],['npm','install'],{'cwd':b,'message':y(0x15a)}));const d=this[y(0x177)][y(0x17f)](a164e['join'](b,y(0x161)));if(!d)throw Log[y(0x160)](y(0x14b));}}catch(f){errorHandler(y(0x16e),f),process[y(0x168)](0x1);}}async['checkNpmPackage'](a,b){const z=a164q;try{b=b||{};if(b[z(0x152)])return![];const c=b[z(0x18e)]?b[z(0x18e)]:this[z(0x177)]['findAppDirectory']();if(!c)return Log[z(0x160)](z(0x157)+JSON[z(0x172)](a)+z(0x193)),![];const d=JSON['parse'](a164f[z(0x155)](a164e[z(0x148)](c,z(0x164)))['toString']());!d['dependencies']&&(d[z(0x154)]={});!d[z(0x174)]&&(d[z(0x174)]={});const f=[];typeof a===z(0x183)&&(a=[a]);for(const g of a){const h=d['dependencies'][g]||d[z(0x174)][g];!h&&f[z(0x15d)](g);}if(b[z(0x16f)]&&f[z(0x192)]>0x0){await this[z(0x173)](f[z(0x148)]('\x20'),b);const i=JSON[z(0x181)](a164f[z(0x155)](a164e[z(0x148)](c,z(0x164)))[z(0x184)]());for(const j of f){if(!(i[z(0x154)][j]||i[z(0x174)][j]))return![];}}return f[z(0x192)]===0x0;}catch(k){errorHandler(z(0x179),k),process['exit'](0x1);}}async[a164q(0x198)](){const A=a164q;try{const a=this[A(0x177)]['findAppDirectory']();if(!a){Log[A(0x160)](A(0x176));return;}const b=a164f[A(0x18f)](a164e[A(0x148)](a,'node_modules'));if(!b){const g=process[A(0x18e)]();await this[A(0x18c)]({'cwd':a164e[A(0x148)](g,A(0x175))});}const c=JSON[A(0x181)](a164f[A(0x155)](a164e[A(0x148)](a,A(0x164)))[A(0x184)]()),d=Object[A(0x195)]({...c[A(0x154)],...c['devDependencies']}),f=[];for(const h of d){!a164f[A(0x18f)](a164e[A(0x148)](a,A(0x161),h))&&f[A(0x15d)](h);}f[A(0x192)]>0x0?(Log[A(0x14e)]('Missing\x20dependencies\x20detected:\x20'+f[A(0x148)](',\x20')+A(0x150)),await this[A(0x173)](f[A(0x148)]('\x20'),{'shouldInstall':!![]})):Log[A(0x15e)]('All\x20dependencies\x20are\x20installed.');}catch(i){errorHandler(A(0x194),i),process[A(0x168)](0x1);}}['installNpmPackage'](a,b){return new Promise((c,d)=>{const B=a164d;b=b||{},b[B(0x18e)]=b[B(0x18e)]||this[B(0x177)]['findAppDirectory']();const f=b[B(0x17e)]?b[B(0x17e)]:'Installing\x20'+(b[B(0x182)]?'developer\x20':'')+B(0x16b);if(!b[B(0x152)]){const g=this[B(0x177)][B(0x151)](b[B(0x18e)]);if(!g)Log['error'](B(0x14a)+JSON[B(0x172)](a)+'\x20into.'),d();else{const h=Log[B(0x18a)](),i=b[B(0x18e)]?b[B(0x18e)]:g;try{b[B(0x182)]?(h[B(0x153)](f),exec('npm\x20i\x20--save-dev\x20-q\x20'+a,{'cwd':i},j=>{const C=B;j&&(Log[C(0x160)]('\x0a'+j[C(0x187)]),d(),process[C(0x168)](0x1)),h[C(0x15e)](),c();})):(h[B(0x153)](f),exec(B(0x197)+a,{'cwd':i},j=>{const D=B;j&&(Log[D(0x160)]('\x0a'+j[D(0x187)]),d(),process['exit'](0x1)),h['success'](),c();}));}catch(j){Log[B(0x160)](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 a165c(){const n=['singleLineSuccess','toString',':\x20[','update','16RzZoxo','Downloading','majestic','success','apply','current','win32','10650QWHQKe','454200HmkbZr','graphic','680510RdBGZg','round','(((.+)+)+)+$','2878527UsdJNs','total','2610lxxmPY','44523zMUtkr','dlMessage','colors','search','3766pNDfBI','695551jWzkjA','repeat','lastLoggedProgress','complete','singleLine','constructor','6350968LgXcyA','width','min','draw'];a165c=function(){return n;};return a165c();}function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x13d;let f=c[d];return f;},a165d(a,b);}(function(a,b){const f=a165d,c=a();while(!![]){try{const d=parseInt(f(0x152))/0x1+parseInt(f(0x147))/0x2+parseInt(f(0x14a))/0x3+parseInt(f(0x13d))/0x4*(-parseInt(f(0x145))/0x5)+parseInt(f(0x144))/0x6*(parseInt(f(0x151))/0x7)+-parseInt(f(0x158))/0x8+parseInt(f(0x14d))/0x9*(-parseInt(f(0x14c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0x7a86b));const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a165d;if(c){const e=c[g(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const h=a165d;return a165a[h(0x15d)]()['search'](h(0x149))[h(0x15d)]()[h(0x157)](a165a)[h(0x150)](h(0x149));});a165a();import{Log}from'../log/log.class.js';const isWin=process['platform']===a165i(0x143),downArrow=isWin?'<':'↓';export class Progress{['total'];['current'];[a165i(0x159)];[a165i(0x154)];['dlMessage'];[a165i(0x146)];constructor(a,b=a165i(0x13e),c=downArrow){const j=a165i;this[j(0x14b)]=a,this[j(0x142)]=0x0,this[j(0x159)]=0x28,this['lastLoggedProgress']=0x0,this[j(0x14e)]=b,this[j(0x146)]=Log[j(0x14f)][j(0x13f)](c);}[a165i(0x15f)](a){const k=a165i;this[k(0x142)]+=a,this[k(0x15b)]();}[a165i(0x155)](){const l=a165i;this[l(0x142)]=this[l(0x14b)],this[l(0x15b)](),Log[l(0x15c)]('');}['draw'](){const m=a165i,a=Math[m(0x15a)](0x64,Math[m(0x148)](this['current']/this[m(0x14b)]*0x64));if(a!==this['lastLoggedProgress']){this[m(0x154)]=a;const b=Math[m(0x148)](a/0x64*this['width']),c=this['width']-b,d=''+Log[m(0x14f)][m(0x140)]('█')[m(0x153)](b)+'░'[m(0x153)](c),e=this[m(0x146)]+'\x20'+this['dlMessage']+m(0x15e)+d+']\x20'+a+'%';Log[m(0x156)](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
+ const a166z=a166d;(function(a,b){const v=a166d,c=a();while(!![]){try{const d=-parseInt(v(0x146))/0x1*(-parseInt(v(0x16e))/0x2)+-parseInt(v(0x194))/0x3*(-parseInt(v(0x18e))/0x4)+-parseInt(v(0x1aa))/0x5+-parseInt(v(0x13a))/0x6+parseInt(v(0x12c))/0x7+parseInt(v(0x18f))/0x8+-parseInt(v(0x1a9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0x8c43b));const a166b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a166d;if(c){const e=c[w(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){const x=a166d;return a166a[x(0x13e)]()[x(0x164)](x(0x192))['toString']()[x(0x16c)](a166a)[x(0x164)]('(((.+)+)+)+$');});a166a();import a166e from'path';import a166f from'fs';import a166g from'util';import{exec}from'child_process';function a166c(){const a5=['templateContent()','detectIndentation','client','5694471wMZpxl','2824895FcfqyE','\x20}\x20from\x20\x27','\x27;\x0a','.tsx','join','import\x20','splice','readdirSync','test','writeFileSync','json','png','tsx','isFile','injectAroundString()','pathFromTemplates','ico','existsSync','win32','\x20doesn\x27t\x20exist','release','No\x20pathParts\x20option\x20provided','error','imports','repeat','instance','noRename','No\x20file\x20found\x20at\x20path\x20','message','templates','warn','7892920MDTDTE','fsi','MAKA_COMMAND_PATH','env','rewriteDestinationPathForType','injectImport()','engines','utf8','File\x20not\x20found:\x20','filter','css','render','adjustIndentation','createFile','5979516WZxZPm','copyTemplateDirectory()','base64','jsx','toString','createEmptyMeteorProject','.meteor','MAKA_DEV','rewriteSourcePathForEngine','injectAtBeginningOfFile','indexOf','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','821TLUNRM','mpi','meteor','isArray','Looking\x20for\x20','template','from','templateContent','match','templates.js','calculateMode','injectIntoFile','--release\x20','.js','readFileSync','rewriteDestinationPathForEngine','injectAtEndOfFile','writeSourcePath','engine','injectTemplateModule()','split','lib','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20','\x20from','scss','exit','[\x5cs\x5cS]*?)(','isDirectory','cwd','sep','search','.js.ts','rewriteDestinationPathForEngine()','concat','apply','startsWith','\x20create\x20','\x5cS*$','constructor','stringify','2422DwSpnI','injectAroundString','trim','html','length','Error\x20in\x20injectIntoCodeBlock:\x20','createDirectory','normalize','push','isTemplateForEngine','injectIntoCodeBlock','.js.jsx','\x20updated\x20file\x20','less','forEach','No\x20app\x20directory\x20found','from\x20\x27','No\x20matching\x20section\x20found.','Meteor\x20project\x20already\x20exists\x20at\x20','includes','engineAndTypeFromfilePath','header','While\x20injecting\x20','engineAndTypeFromfilePath()','reduce','injectAtEndOfFile()','endsWith','.jsx','relative','getCommonIndentSize','Directory\x20','rewriteSourcePathForEngine()','4pivLcx','2269960qzWTne','pathFromApp()','\x20from\x20\x27','(((.+)+)+)+$','.git','1089813cKzoFi','copyTemplateDirectory','pathFromAppWithNoReWrite','keys','slice','map','findAppDirectory','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','pop','verbose','replace','pathFromApp','export\x20{\x20','pathFromAppWithNoReWrite()','Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues','type','startup'];a166c=function(){return a5;};return a166c();}import a166h from'delete';import a166i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0x125;let f=c[d];return f;},a166d(a,b);}const errorHandler=(a,b)=>{const y=a166d;process[y(0x12f)][y(0x141)]==='True'&&Log[y(0x1c0)]('Error\x20in\x20'+a),b&&console[y(0x1c0)](b);},isWin=process['platform']===a166z(0x1bc),treeSymbol=isWin?'\x20->':'\x20┗';export class Scaffold{static [a166z(0x126)];[a166z(0x12d)];['mpi'];constructor(a,b){this['fsi']=a,this['mpi']=b;}static['getInstance'](a,b){const A=a166z;return!Scaffold['instance']&&(Scaffold['instance']=new Scaffold(a,b)),Scaffold[A(0x126)];}async[a166z(0x13f)](a,b){const B=a166z;b[B(0x162)]=b[B(0x162)]||'.';const c=a166e['join'](b['cwd'],a),d=a166e[B(0x1ae)](c,'.meteor');if(this[B(0x12d)]['isDirectory'](d))throw new Error(B(0x180)+JSON[B(0x16d)](c));const e='--minimal',f=a166e['join'](b[B(0x162)]),g=a166g['promisify'](exec),h=b[B(0x1be)]?B(0x152)+b[B(0x1be)]:'';b[B(0x1be)]&&b[B(0x1be)][B(0x181)]('alpha')&&(Log['warn']('Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20'+b[B(0x1be)]),Log[B(0x12b)](B(0x1a3)));try{await g(this[B(0x147)][B(0x148)]+B(0x16a)+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[B(0x1c0)]('\x0a'+k[B(0x129)]);throw k;}const i=a166e['join'](f,a);if(!a166f[B(0x1bb)](i))throw new Error(B(0x18c)+i+B(0x1bd));const j=a166f[B(0x1b1)](i);for(const l of j){if(l!==B(0x193)&&l!==B(0x140)){const m=a166e[B(0x1ae)](i,l);await a166h(m,{'force':!![]});}}}[a166z(0x182)]({filePath:a}){const C=a166z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a['match'](b);c=c&&c[0x0]['split']('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c['pop'](),f=c['pop']()||d;if(d)d=d['replace']('.','');if(f)f=f[C(0x19f)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(C(0x185),g),process[C(0x15f)](0x1);}}[a166z(0x130)]({pathParts:a,config:b}){const D=a166z;try{const c=a[D(0x1ae)](a166e['sep']),d=this['engineAndTypeFromfilePath']({'filePath':c})[D(0x1a4)],f=b?.[D(0x132)][d],g=new RegExp('\x5c.'+d+D(0x16b));return!d||!f?c:c[D(0x19f)](g,'.'+d);}catch(h){errorHandler('rewriteDestinationPathForType()',h),process['exit'](0x1);}}[a166z(0x177)]({pathParts:a,config:b}){const E=a166z;try{if(!b)throw new Error('No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.');const c=a[E(0x1ae)](a166e[E(0x163)]),d=this[E(0x182)]({'filePath':c});if(!d[E(0x1a4)]||!d[E(0x158)])return!![];const f=b['engines'][d[E(0x1a4)]];if(!f)return!![];return f===d[E(0x158)];}catch(g){errorHandler('isTemplateForEngine()',g),process[E(0x15f)](0x1);}}[a166z(0x157)]({pathParts:pathParts=[]}){const F=a166z;return pathParts[F(0x1ae)](a166e[F(0x163)]);}[a166z(0x155)]({pathParts:pathParts=[],config:a}){const G=a166z;try{const b=pathParts[G(0x1ae)](a166e['sep']),c=this[G(0x182)]({'filePath':b})[G(0x1a4)],d=a?.[G(0x132)][c],f=new RegExp('\x5c.'+c+G(0x16b));return!c||!d?b:b[G(0x19f)](f,'.'+d);}catch(g){errorHandler(G(0x166),g),process[G(0x15f)](0x1);}}[a166z(0x142)]({pathParts:pathParts=[],framework:framework='meteor',config:a}){const H=a166z;try{const b=a166e[H(0x175)](pathParts[H(0x1ae)](a166e[H(0x163)]));if(!b[H(0x188)](H(0x153)))return b;const c='js';if(!a?.[H(0x132)]||!a?.[H(0x132)][c])return b;const d=a['engines'][c],f=d===H(0x1b6)?['.js.tsx',H(0x165),H(0x153)]:[H(0x179),H(0x153)];for(const g of f){const h=b['replace'](/\.js$/,g),i=a166e[H(0x1ae)](H(0x12a),framework,h),j=a166e['normalize'](a166e[H(0x1ae)](global[H(0x12e)],i));if(a166f[H(0x1bb)](j))return h;}return b;}catch(k){errorHandler(H(0x18d),k),process['exit'](0x1);}}[a166z(0x1b9)]({pathParts:a,framework:framework=a166z(0x148),config:b}){const I=a166z;try{const c=this[I(0x142)]({'pathParts':a,'framework':framework,'config':b}),d=a166e[I(0x1ae)]('src/templates/'+framework,c),f=a166e[I(0x1ae)](global['MAKA_COMMAND_PATH'],'..',d);return f;}catch(g){errorHandler('pathFromTemplates()',g),process['exit'](0x1);}}[a166z(0x14d)]({srcPath:a,context:b,framework:c,config:d}){const J=a166z;try{let f=this[J(0x1b9)]({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[J(0x182)]({'filePath':f}),h=[J(0x136),J(0x15e),J(0x17b),J(0x171),'js',J(0x13d),'ts',J(0x1b6),J(0x1b4),J(0x12f),'yaml',J(0x14b)],i=[J(0x1b5),'ico'];if(!this[J(0x12d)][J(0x1b7)](f)){g==='jsx'&&(f=f[J(0x19f)](J(0x189),''));g===J(0x1b6)&&(f=f[J(0x19f)](J(0x1ad),''));if(!this[J(0x12d)][J(0x1b7)](f))throw new Error('Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20'+JSON[J(0x16d)](f));}const j=f[J(0x15a)]('.'),k=a166e[J(0x175)](f)[J(0x15a)](a166e[J(0x163)]),l=k[k[J(0x172)]-0x1]==='Dockerfile',m=i[J(0x181)](j[j[J(0x172)]-0x1]),n=a166f[J(0x154)](f);if(l)return a166i[J(0x137)](n[J(0x13e)](),b)[J(0x170)]();if(m)return Buffer[J(0x14c)](n)[J(0x13e)](J(0x13c));if(!h['includes'](j[j['length']-0x1]))return n[J(0x13e)]()[J(0x170)]();return a166i[J(0x137)](n['toString'](),b||{})['trim']();}catch(o){errorHandler(J(0x1a6),o),process[J(0x15f)](0x1);}}async[a166z(0x14b)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const K=a166z;try{const g=[K(0x1b5),K(0x1ba)],h=g[K(0x181)](a[K(0x15a)]('.')[K(0x19d)]()||''),i=this['templateContent']({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.['noRename']?b=this[K(0x130)]({'pathParts':[b],'config':d}):b=this[K(0x155)]({'pathParts':[b],'config':d});const j=await this[K(0x12d)]['createFile']({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler('template()',k),process[K(0x15f)](0x1);}}async[a166z(0x195)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const L=a166z;try{const i=this[L(0x1b9)]({'pathParts':[a],'framework':g,'config':h}),j=this[L(0x1b9)]({'pathParts':[],'framework':g,'config':h}),k=n=>{return n['replace'](j,'');},l=n=>{const M=L;return n[M(0x19f)](i,b);};await this['fsi'][L(0x174)]({'dirPath':b});const m=a166f['readdirSync'](i);for(const n of m){try{const o=a166e['join'](i,n),p=k(o),q=l(o),r=d[L(0x199)](t=>a166e[L(0x175)](t)),s=a166e[L(0x175)](a166e[L(0x1ae)](a,n));if(r['includes'](s))continue;if(this[L(0x12d)][L(0x161)](o))await this[L(0x195)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this['fsi'][L(0x1b7)](o)&&this['isTemplateForEngine']({'pathParts':[o],'config':h}))await this['template']({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[L(0x144)](a166e[L(0x1ae)](a,n))>=0x0&&this[L(0x12d)][L(0x1b7)](o)&&(c[L(0x127)]=!![],await this[L(0x14b)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c['noRename']=![]);}}catch(t){console[L(0x1c0)](t),process['exit'](0x1);}}}catch(u){errorHandler(L(0x13b),u),process[L(0x15f)](0x1);}}async[a166z(0x143)]({filePath:a,content:b,opts:c}){const N=a166z;if(!a)throw new Error(N(0x19c));try{!this['fsi'][N(0x1b7)](a)&&await this['fsi'][N(0x139)]({'filePath':a,'data':b});let d=a166f[N(0x154)](a,N(0x133));d=b+'\x0a'+d,a166f[N(0x1b3)](a,d),c?.[N(0x19e)]&&Log[N(0x183)](treeSymbol+'\x20updated\x20file\x20'+a166e[N(0x18a)](process[N(0x162)](),a));}catch(f){errorHandler('injectAtBeginningOfFile()',f),process[N(0x15f)](0x1);}}async[a166z(0x156)]({filePath:a,content:b,opts:c}){const O=a166z;try{if(!this[O(0x12d)]['isFile'](a))await this['fsi'][O(0x139)]({'filePath':a,'data':b});else{let d=a166f['readFileSync'](a,O(0x133));!d[O(0x181)](b)&&(d=d+'\x0a'+b,a166f[O(0x1b3)](a,d)),c?.['verbose']&&Log['header'](treeSymbol+O(0x17a)+a166e['relative'](process[O(0x162)](),a));}}catch(f){errorHandler(O(0x187),f),process[O(0x15f)](0x1);}}async[a166z(0x16f)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const P=a166z;try{if(!this[P(0x12d)]['isFile'](a))throw Log[P(0x1c0)](P(0x128)+JSON['stringify'](a));const f=a166f[P(0x154)](a,P(0x133)),g=f[P(0x19f)](/\r\n|\r/g,'\x0a'),h=g[P(0x15a)]('\x0a'),j=this['detectIndentation'](h),k=b[P(0x19f)](/\r\n|\r/g,'\x0a')[P(0x15a)]('\x0a'),l=c[P(0x19f)](/\r\n|\r/g,'\x0a')[P(0x15a)]('\x0a'),m=new RegExp(Array[P(0x149)](d)?d[P(0x1ae)]('|'):d,'i'),n=[];for(let p=0x0;p<h[P(0x172)];p++){const q=h[p];if(m[P(0x1b2)](q)){const r=this[P(0x138)](j,targetIndentAdjustment),s=r+q[P(0x170)]();k['forEach'](t=>{const Q=P;!g[Q(0x181)](t[Q(0x170)]())&&n[Q(0x176)](this['adjustIndentation'](j,indentAdjustment)+t);}),n[P(0x176)](s),l[P(0x17c)](t=>{const R=P;!g[R(0x181)](t[R(0x170)]())&&n['push'](this[R(0x138)](j,indentAdjustment)+t);});}else n[P(0x176)](q);}const o=n[P(0x1ae)]('\x0a');a166f[P(0x1b3)](a,o),Log[P(0x183)](treeSymbol+'\x20updated\x20file\x20'+a166e[P(0x18a)](process[P(0x162)](),a));}catch(t){errorHandler(P(0x1b8),t),process['exit'](0x1);}}[a166z(0x138)](a,b){const S=a166z;if(b===0x0)return a;const c=a['length']+b;return c>0x0?a[0x0][S(0x125)](c):'';}[a166z(0x1a7)](a){const U=a166z;let b=0x0,c=0x0;a['forEach'](f=>{const T=a166d;if(f[T(0x169)]('\x20'))b++;else f[T(0x169)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[U(0x18b)](a,d);return d[U(0x125)](e);}[a166z(0x18b)](a,b){const V=a166z,c=a[V(0x135)](d=>d&&d[V(0x169)](b))[V(0x199)](d=>{const W=V,e=d[W(0x14e)](new RegExp('^'+b+'+'));return e?e[0x0][W(0x172)]:0x0;});if(c[V(0x172)]===0x0)return 0x0;return this[V(0x150)](c);}[a166z(0x150)](a){const X=a166z,b=a[X(0x186)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[X(0x197)](b)[X(0x186)]((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a166z(0x178)]({filePath:a,content:b,begin:c,replace:replace=![]}){const Y=a166z;try{if(!this[Y(0x12d)][Y(0x1b7)](a))throw new Error(Y(0x134)+a);const d=a166f['readFileSync'](a,Y(0x133)),f=d[Y(0x15a)]('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array[Y(0x149)](c)?c:[c];for(let o=0x0;o<f[Y(0x172)];o++){const p=f[o];k&&p[Y(0x181)]('{')&&j++;if(m['some'](q=>p[Y(0x181)](q))){g=o,k=!![],j++;continue;}if(k){p[Y(0x181)](b[Y(0x170)]())&&(l=!![]);if(p[Y(0x181)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error'](Y(0x15c)+a),Log['error'](Y(0x184)+b),Log[Y(0x1c0)](Y(0x14a)+c);throw new Error(Y(0x19b));}if(l)return;let n=f[Y(0x198)](0x0,g+0x1);replace?(n[Y(0x176)](b[Y(0x170)]()),n['push'](f[h])):(n=n[Y(0x167)](f[Y(0x198)](g+0x1,h)),n[Y(0x176)](b[Y(0x170)]())),n=n[Y(0x167)](f['slice'](h+0x1)),a166f[Y(0x1b3)](a,n[Y(0x1ae)]('\x0a'),Y(0x133));}catch(q){console[Y(0x1c0)](Y(0x173),q);throw q;}}async[a166z(0x151)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const Z=a166z;try{const g=await this[Z(0x12d)]['fileContainsString'](a,c);if(g)return;if(!this[Z(0x12d)][Z(0x1b7)](a))throw Log['error'](Z(0x145)+JSON[Z(0x16d)](a));const h=a166f[Z(0x154)](a,'utf8');if(!Array[Z(0x149)](d))d=[d];if(!Array[Z(0x149)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+Z(0x160)+l+')','i');i=h[Z(0x19f)](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(Z(0x17f));a166f[Z(0x1b3)](a,i),Log[Z(0x183)](treeSymbol+'\x20updated\x20file\x20'+a166e['relative'](process[Z(0x162)](),a));}catch(n){errorHandler('injectIntoFile()',n),process[Z(0x15f)](0x1);}}async['injectImport']({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a0=a166z;try{const f=a166f['readFileSync'](a,a0(0x133));let g;d?g='import\x20{\x20'+b+a0(0x1ab)+c+'\x27;\x0a':g=a0(0x1af)+b+a0(0x191)+c+a0(0x1ac);const h=f[a0(0x15a)]('\x0a');let j=0x0,k=![];for(const m of h){if(m[a0(0x181)](a0(0x17e)+c+'\x27')||m['includes']('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a0(0x1af)+b+a0(0x15d));if(m[a0(0x14e)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a0(0x172)];o++){if(h[o][a0(0x14e)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a0(0x172)];p++){h[p][a0(0x14e)](/^import .* from .*;$/)&&(j=p);}j++;}h[a0(0x1b0)](j,0x0,g);const l=h['join']('\x0a');a166f[a0(0x1b3)](a,l,a0(0x133));}catch(q){errorHandler(a0(0x131),q),process[a0(0x15f)](0x1);}}async['injectTemplateModule'](a,b,c){const a1=a166z;try{let d;b[a1(0x132)]['ssr']!=='none'?d=this[a1(0x1a0)]({'pathParts':['imports',a1(0x1a5),a1(0x15b),'templates.js'],'config':b}):d=this[a1(0x1a0)]({'pathParts':[a1(0x1c1),a1(0x1a5),a1(0x1a8),a1(0x14f)],'config':b});const f=this[a1(0x155)]({'pathParts':[d],'config':b}),g=a1(0x1a1)+pascalCase(a)+'\x20}\x20from\x20\x27'+c+'\x27;',h=await this['fsi']['fileContainsString'](f,g);!h&&this[a1(0x156)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a1(0x159),i),process[a1(0x15f)](0x1);}}['injectAfterLineNumber']({filePath:a,content:b,lineNumber:c}){const a2=a166z;try{const d=a166f[a2(0x154)](a)['toString']()[a2(0x15a)]('\x0a');d['splice'](c,0x0,b);const f=d[a2(0x1ae)]('\x0a');a166f['writeFileSync'](a,f);}catch(g){errorHandler('injectAfterLineNumber()',g),process[a2(0x15f)](0x1);}}[a166z(0x1a0)]({pathParts:a,config:b}){const a3=a166z;try{if(!a)throw new Error(a3(0x1bf));const c=this[a3(0x142)]({'pathParts':a,'config':b}),d=this[a3(0x12d)][a3(0x19a)]();return d?a166e[a3(0x1ae)](d,c):'';}catch(f){errorHandler(a3(0x190),f),process[a3(0x15f)](0x1);}}[a166z(0x196)]({pathParts:a,config:b}){const a4=a166z;try{const c=this[a4(0x157)]({'pathParts':a,'config':b}),d=this[a4(0x12d)][a4(0x19a)]();if(!d)throw new Error(a4(0x17d));return a166e[a4(0x1ae)](d,c);}catch(f){errorHandler(a4(0x1a2),f),process[a4(0x15f)](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(0xc7))/0x1+-parseInt(j(0xd5))/0x2*(-parseInt(j(0xcf))/0x3)+parseInt(j(0xd7))/0x4+-parseInt(j(0xde))/0x5+-parseInt(j(0xe2))/0x6+-parseInt(j(0xe0))/0x7+-parseInt(j(0xcc))/0x8*(-parseInt(j(0xd6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0x48aed));function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0xc6;let f=c[d];return f;},a167d(a,b);}const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a167d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const l=a167d;return a167a[l(0xca)]()[l(0xc9)](l(0xdc))[l(0xca)]()[l(0xd8)](a167a)[l(0xc9)](l(0xdc));});a167a();import{spawn}from'child_process';import{Log}from'../log/log.class.js';export class SpawnAsync{static[a167m(0xdd)](a,b,c){return new Promise((d,e)=>{const n=a167d,f=Log[n(0xdd)](),g=c?.[n(0xd1)]||'.';c?.[n(0xd0)]&&f[n(0xd9)](c?.[n(0xd0)]);const h=spawn(a,b,{'cwd':g,'stdio':c?.['verbose']?n(0xdb):n(0xc6)});process['on'](n(0xdf),()=>{const o=n,i=h[o(0xce)];i&&process[o(0xc8)](i);}),h['on'](n(0xd4),i=>{const p=n;console[p(0xcd)](i);}),h['on'](n(0xe1),()=>{c?.['message']&&f['success'](),d();}),h['on'](n(0xcb),()=>{const q=n;c?.[q(0xd0)]&&f[q(0xd2)](),d();}),h['on']('error',()=>{const r=n;c?.[r(0xd0)]&&f[r(0xd3)](),e();});});}}function a167c(){const s=['log','pid','378KiOFFU','message','cwd','success','failure','data','1224bRBwDr','1629EdibOC','1873376krtqnP','constructor','start','apply','inherit','(((.+)+)+)+$','withSpinner','1998880VgqMka','SIGINT','2710981zCmkTG','disconnect','819654TSGDFU','ignore','510125sZgCEf','kill','search','toString','close','7328CYoskZ'];a167c=function(){return s;};return a167c();}
@@ -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 a168d(a,b){var c=a168c();return a168d=function(d,e){d=d-0x8d;var f=c[d];return f;},a168d(a,b);}(function(a,b){var f=a168d,c=a();while(!![]){try{var d=-parseInt(f(0x98))/0x1+-parseInt(f(0x96))/0x2+-parseInt(f(0x8d))/0x3*(-parseInt(f(0x92))/0x4)+-parseInt(f(0x8e))/0x5+parseInt(f(0x93))/0x6+-parseInt(f(0x94))/0x7+parseInt(f(0x97))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0xd0853));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(0x95)]()[g(0x91)](g(0x8f))[g(0x95)]()[g(0x90)](a168a)[g(0x91)](g(0x8f));});a168a();export{};function a168c(){var h=['13029136HNYphl','789501YJKarO','894DwzhSE','7639910zxtGMM','(((.+)+)+)+$','constructor','search','15868rPOXsb','9335856cTZQmS','4005939ozkDdu','toString','1245850aOjGwQ'];a168c=function(){return h;};return a168c();}
@@ -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(a,b){const m=a169d,c=a();while(!![]){try{const d=parseInt(m(0x140))/0x1+parseInt(m(0x13c))/0x2*(parseInt(m(0x128))/0x3)+-parseInt(m(0x13f))/0x4+parseInt(m(0x150))/0x5*(-parseInt(m(0x147))/0x6)+-parseInt(m(0x145))/0x7+parseInt(m(0x146))/0x8+parseInt(m(0x141))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0x3c02d));const a169b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a169d;if(c){const e=c[n(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){const o=a169d;return a169a[o(0x13d)]()['search'](o(0x137))['toString']()[o(0x13b)](a169a)['search'](o(0x137));});a169a();import a169e from'path';function a169c(){const x=['54JwQUyg','error','start','disconnect','tty','ConnectTimeout=2','join','concat','dest','status','ssh','env','message','success','sshVerbose','(((.+)+)+)+$','host','pem','port','constructor','6490LcTdkN','toString','close','23992sgWHNY','161577NelwEx','3710052ZyzqLq','push','scp','apply','198653ZOXyaw','661080WdmiRQ','6BNZupe','silentOutput','sshSync','user','verbose','ssh\x20','failure','inherit','ignore','2173340EAZlXk','pipe'];a169c=function(){return x;};return a169c();}import{execSync,spawnSync,spawn}from'child_process';function a169d(a,b){const c=a169c();return a169d=function(d,e){d=d-0x128;let f=c[d];return f;},a169d(a,b);}import{Log}from'../log/log.class.js';export class SSH{static [a169p(0x132)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a169d,f=b[q(0x14a)]+'@'+b[q(0x138)],g=a169e[q(0x12e)](b[q(0x133)],b['pem']),h=c?.['tty']||![],i=c?.[q(0x136)]||![];let j=[];h&&j[q(0x142)]('-t');i&&j[q(0x142)]('-v');j=j[q(0x12f)](['-o',q(0x12d),'-i',g,'-p',b['port'],f,a]);const k=Log['withSpinner']();c?.[q(0x134)]&&k[q(0x12a)](c?.[q(0x134)]);const l=spawn('ssh',j,{'stdio':c?.[q(0x14b)]?'inherit':q(0x14f)});l['on'](q(0x12b),()=>{const r=q;c?.['message']&&k[r(0x135)](),d();}),l['on'](q(0x13e),()=>{const s=q;c?.[s(0x134)]&&k[s(0x135)](),d();}),l['on'](q(0x129),()=>{const t=q;c?.[t(0x134)]&&k[t(0x14d)](),e();});});};static [a169p(0x149)]=(a,b,c)=>{const u=a169p,d=b[u(0x14a)]+'@'+b[u(0x138)],e=a169e['join'](b[u(0x133)],b[u(0x139)]),f=c?.[u(0x12c)]||![],g=c?.[u(0x136)]||![],h=c?.[u(0x148)]||![];let i=[];f&&i['push']('-t');g&&i['push']('-v');i=i['concat'](['-o',u(0x12d),'-i',e,'-p',b[u(0x13a)]['toString'](),d,a]);const j=h?u(0x151):'inherit',k=spawnSync('ssh',i,{'encoding':'utf-8','stdio':[j,u(0x151),u(0x151)]});if(h)return{'stdout':k['stdout']||'','stderr':k['stderr']||'','status':k[u(0x131)]};};static['ping'](a,b,c){const v=a169p,d=b[v(0x14a)]+'@'+b[v(0x138)],e=a169e[v(0x12e)](b[v(0x133)],b[v(0x139)]),f=c?.[v(0x12c)]||![];let g=[];f&&g['push']('-t');g=g[v(0x12f)](['-o',v(0x12d),'-i',e,'-p',b['port'],d,a,'2>&1']);const h=v(0x14c)+g[v(0x12e)]('\x20');return execSync(h)[v(0x13d)]();}static['scp'](a,b){const w=a169p,c=b[w(0x14a)]+'@'+b[w(0x138)]+':'+a[w(0x130)],d=a169e[w(0x12e)](b[w(0x133)],b[w(0x139)]),e=['-i',d,'-P',b[w(0x13a)],a['source'],c];spawnSync(w(0x143),e,{'stdio':a['verbose']?w(0x14e):w(0x14f)});}}
@@ -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 a170d(a,b){var c=a170c();return a170d=function(d,e){d=d-0x10f;var f=c[d];return f;},a170d(a,b);}(function(a,b){var f=a170d,c=a();while(!![]){try{var d=-parseInt(f(0x117))/0x1*(-parseInt(f(0x118))/0x2)+parseInt(f(0x114))/0x3*(parseInt(f(0x112))/0x4)+-parseInt(f(0x11c))/0x5*(parseInt(f(0x11a))/0x6)+-parseInt(f(0x116))/0x7*(parseInt(f(0x11b))/0x8)+parseInt(f(0x110))/0x9+parseInt(f(0x113))/0xa+parseInt(f(0x115))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0x1ce13));function a170c(){var i=['(((.+)+)+)+$','1075782sfIAWO','376UUrxCv','5OIfXLV','search','constructor','1683cpMGeh','apply','172188FBVnyQ','135200Efhfgk','6lkzKbW','1753664hszIIt','23695oEUBKP','197458QEDybI','2VmGIKo'];a170c=function(){return i;};return a170c();}var a170b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a170d;if(c){var e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){var h=a170d;return a170a['toString']()[h(0x11d)](h(0x119))['toString']()[h(0x10f)](a170a)[h(0x11d)](h(0x119));});a170a();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
+ const a171i=a171d;(function(a,b){const f=a171d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1*(parseInt(f(0x107))/0x2)+-parseInt(f(0x103))/0x3*(parseInt(f(0x112))/0x4)+-parseInt(f(0x11c))/0x5+-parseInt(f(0x114))/0x6*(-parseInt(f(0xfd))/0x7)+parseInt(f(0x101))/0x8*(-parseInt(f(0x108))/0x9)+parseInt(f(0x10e))/0xa+parseInt(f(0x11a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a171c,0x4ac39));const a171b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a171d;if(c){const e=c[g(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a171a=a171b(this,function(){const h=a171d;return a171a['toString']()[h(0x10a)](h(0xfb))[h(0x115)]()[h(0x10d)](a171a)[h(0x10a)]('(((.+)+)+)+$');});a171a();import{spawnSync}from'child_process';function a171d(a,b){const c=a171c();return a171d=function(d,e){d=d-0xfb;let f=c[d];return f;},a171d(a,b);}function a171c(){const l=['2474895LlPEFz','(((.+)+)+)+$','crtName','28SJcklW','csrName','apply','-keyout','3619896GQDNpK','-new','868668juOxhC','openssl','cwd','keyName','253162gifrVA','9rkBent','req','search','-nodes','-config','constructor','4017970KQIIli','genSSC','inherit','-newkey','4aTiQAl','openssl.conf','636486xEhWlc','toString','push','genCSR','useConfig','1FFlrZv','9280865WSoOzS','-out'];a171c=function(){return l;};return a171c();}export class SSL{static[a171i(0x117)](a){const j=a171i,b=a[j(0x105)]?a[j(0x105)]:process[j(0x105)](),c=[j(0x109),j(0x102),j(0x111),'rsa:2048',j(0x10b),j(0x100),a[j(0x106)],j(0x11b),a[j(0xfe)]];a[j(0x118)]&&(c[j(0x116)]('-config'),c[j(0x116)](j(0x113))),a[j(0x118)]?spawnSync('openssl',c,{'cwd':b}):spawnSync(j(0x104),c,{'stdio':j(0x110),'cwd':b});}static[a171i(0x10f)](a){const k=a171i,b=a[k(0x105)]?a[k(0x105)]:process[k(0x105)](),c=[k(0x109),'-x509','-new','-key',a[k(0x106)],k(0x11b),a[k(0xfc)]];a[k(0x118)]&&(c['push'](k(0x10c)),c['push']('openssl.conf')),a['useConfig']?spawnSync(k(0x104),c,{'cwd':b}):spawnSync(k(0x104),c,{'stdio':k(0x110),'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.19",
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';
@@ -0,0 +1,3 @@
1
+ /** @namespace Client */
2
+ // This defines the routes that the application will respond to
3
+ import './routes.js';