@maka/maka-cli 5.2.10 → 5.3.0

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 (831) hide show
  1. package/.github/workflows/npm-publish.yml +54 -0
  2. package/eslint.config.js +10 -1
  3. package/jest.config.js +1 -0
  4. package/package.json +19 -32
  5. package/tsconfig.json +2 -0
  6. package/.claude/settings.local.json +0 -20
  7. package/bundle/typescript/package.json +0 -119
  8. package/bundle/typescript/src/README.md +0 -37
  9. package/bundle/typescript/src/command.d.ts +0 -37
  10. package/bundle/typescript/src/command.js +0 -231
  11. package/bundle/typescript/src/command.js.map +0 -1
  12. package/bundle/typescript/src/commands/_index.d.ts +0 -24
  13. package/bundle/typescript/src/commands/_index.js +0 -26
  14. package/bundle/typescript/src/commands/_index.js.map +0 -1
  15. package/bundle/typescript/src/commands/ai/_index.d.ts +0 -2
  16. package/bundle/typescript/src/commands/ai/_index.js +0 -3
  17. package/bundle/typescript/src/commands/ai/_index.js.map +0 -1
  18. package/bundle/typescript/src/commands/ai/ai.command.d.ts +0 -3
  19. package/bundle/typescript/src/commands/ai/ai.command.js +0 -83
  20. package/bundle/typescript/src/commands/ai/ai.command.js.map +0 -1
  21. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.d.ts +0 -1
  22. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js +0 -960
  23. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js.map +0 -1
  24. package/bundle/typescript/src/commands/aws/_index.d.ts +0 -16
  25. package/bundle/typescript/src/commands/aws/_index.js +0 -17
  26. package/bundle/typescript/src/commands/aws/_index.js.map +0 -1
  27. package/bundle/typescript/src/commands/aws/aws.command.d.ts +0 -3
  28. package/bundle/typescript/src/commands/aws/aws.command.js +0 -15
  29. package/bundle/typescript/src/commands/aws/aws.command.js.map +0 -1
  30. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +0 -1
  31. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +0 -38
  32. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +0 -1
  33. package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +0 -1
  34. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +0 -41
  35. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +0 -1
  36. package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +0 -1
  37. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +0 -199
  38. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +0 -1
  39. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +0 -1
  40. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +0 -42
  41. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +0 -1
  42. package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +0 -1
  43. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +0 -43
  44. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +0 -1
  45. package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +0 -1
  46. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +0 -31
  47. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +0 -1
  48. package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +0 -1
  49. package/bundle/typescript/src/commands/aws/di.sub.cmd.js +0 -35
  50. package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +0 -1
  51. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +0 -1
  52. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +0 -25
  53. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +0 -1
  54. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +0 -1
  55. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +0 -57
  56. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +0 -1
  57. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +0 -1
  58. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +0 -32
  59. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +0 -1
  60. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +0 -1
  61. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +0 -39
  62. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +0 -1
  63. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +0 -1
  64. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +0 -104
  65. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +0 -1
  66. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +0 -1
  67. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +0 -52
  68. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +0 -1
  69. package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +0 -1
  70. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +0 -74
  71. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +0 -1
  72. package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +0 -1
  73. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +0 -45
  74. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +0 -1
  75. package/bundle/typescript/src/commands/build/_index.d.ts +0 -2
  76. package/bundle/typescript/src/commands/build/_index.js +0 -3
  77. package/bundle/typescript/src/commands/build/_index.js.map +0 -1
  78. package/bundle/typescript/src/commands/build/build.d.ts +0 -3
  79. package/bundle/typescript/src/commands/build/build.js +0 -98
  80. package/bundle/typescript/src/commands/build/build.js.map +0 -1
  81. package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +0 -1
  82. package/bundle/typescript/src/commands/build/docker.sub.cmd.js +0 -138
  83. package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +0 -1
  84. package/bundle/typescript/src/commands/create.d.ts +0 -1
  85. package/bundle/typescript/src/commands/create.js +0 -645
  86. package/bundle/typescript/src/commands/create.js.map +0 -1
  87. package/bundle/typescript/src/commands/debug.d.ts +0 -1
  88. package/bundle/typescript/src/commands/debug.js +0 -95
  89. package/bundle/typescript/src/commands/debug.js.map +0 -1
  90. package/bundle/typescript/src/commands/deploy/_index.d.ts +0 -3
  91. package/bundle/typescript/src/commands/deploy/_index.js +0 -4
  92. package/bundle/typescript/src/commands/deploy/_index.js.map +0 -1
  93. package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +0 -3
  94. package/bundle/typescript/src/commands/deploy/deploy.command.js +0 -24
  95. package/bundle/typescript/src/commands/deploy/deploy.command.js.map +0 -1
  96. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +0 -1
  97. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +0 -152
  98. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +0 -1
  99. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +0 -1
  100. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +0 -543
  101. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +0 -1
  102. package/bundle/typescript/src/commands/game/_index.d.ts +0 -5
  103. package/bundle/typescript/src/commands/game/_index.js +0 -7
  104. package/bundle/typescript/src/commands/game/_index.js.map +0 -1
  105. package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +0 -1
  106. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +0 -12
  107. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +0 -1
  108. package/bundle/typescript/src/commands/game/play.command.d.ts +0 -3
  109. package/bundle/typescript/src/commands/game/play.command.js +0 -18
  110. package/bundle/typescript/src/commands/game/play.command.js.map +0 -1
  111. package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +0 -1
  112. package/bundle/typescript/src/commands/game/pong.sub.cmd.js +0 -12
  113. package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +0 -1
  114. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +0 -9
  115. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +0 -26
  116. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +0 -1
  117. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +0 -23
  118. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +0 -24
  119. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +0 -1
  120. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +0 -7
  121. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +0 -33
  122. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +0 -1
  123. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +0 -7
  124. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +0 -69
  125. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +0 -1
  126. package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +0 -7
  127. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +0 -58
  128. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +0 -1
  129. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +0 -7
  130. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +0 -63
  131. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +0 -1
  132. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.d.ts +0 -6
  133. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +0 -36
  134. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +0 -1
  135. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +0 -8
  136. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +0 -74
  137. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +0 -1
  138. package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +0 -10
  139. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +0 -137
  140. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +0 -1
  141. package/bundle/typescript/src/commands/game/sideQuest/commands/read.d.ts +0 -6
  142. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js +0 -26
  143. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js.map +0 -1
  144. package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +0 -8
  145. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +0 -31
  146. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +0 -1
  147. package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +0 -6
  148. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +0 -24
  149. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +0 -1
  150. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +0 -6
  151. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +0 -23
  152. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +0 -1
  153. package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +0 -7
  154. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +0 -33
  155. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +0 -1
  156. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +0 -7
  157. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +0 -41
  158. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +0 -1
  159. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +0 -9
  160. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +0 -54
  161. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +0 -1
  162. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +0 -6
  163. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +0 -13
  164. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +0 -1
  165. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +0 -7
  166. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +0 -53
  167. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +0 -1
  168. package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +0 -7
  169. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +0 -34
  170. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +0 -1
  171. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +0 -9
  172. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js +0 -17
  173. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +0 -1
  174. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +0 -5
  175. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +0 -25
  176. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +0 -1
  177. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +0 -10
  178. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +0 -36
  179. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +0 -1
  180. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +0 -6
  181. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +0 -24
  182. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +0 -1
  183. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +0 -6
  184. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +0 -19
  185. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +0 -1
  186. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.d.ts +0 -6
  187. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +0 -126
  188. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +0 -1
  189. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +0 -38
  190. package/bundle/typescript/src/commands/game/sideQuest/game.js +0 -384
  191. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +0 -1
  192. package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +0 -8
  193. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +0 -9
  194. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +0 -1
  195. package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +0 -23
  196. package/bundle/typescript/src/commands/game/sideQuest/models/door.js +0 -42
  197. package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +0 -1
  198. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +0 -47
  199. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +0 -110
  200. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +0 -1
  201. package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +0 -56
  202. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +0 -145
  203. package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +0 -1
  204. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +0 -36
  205. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +0 -407
  206. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +0 -1
  207. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +0 -58
  208. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +0 -357
  209. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +0 -1
  210. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +0 -34
  211. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +0 -67
  212. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +0 -1
  213. package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +0 -69
  214. package/bundle/typescript/src/commands/game/sideQuest/models/room.js +0 -246
  215. package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +0 -1
  216. package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +0 -72
  217. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +0 -310
  218. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +0 -1
  219. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.d.ts +0 -0
  220. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js +0 -1
  221. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js.map +0 -1
  222. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +0 -281
  223. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +0 -397
  224. package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +0 -47
  225. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +0 -52
  226. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +0 -1
  227. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +0 -62
  228. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +0 -2
  229. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +0 -1
  230. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +0 -6
  231. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +0 -2
  232. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +0 -1
  233. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +0 -23
  234. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +0 -2
  235. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +0 -1
  236. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +0 -22
  237. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +0 -2
  238. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +0 -1
  239. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +0 -6
  240. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +0 -2
  241. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +0 -1
  242. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +0 -8
  243. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +0 -2
  244. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +0 -1
  245. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +0 -11
  246. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +0 -2
  247. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +0 -1
  248. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +0 -16
  249. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +0 -2
  250. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +0 -1
  251. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +0 -20
  252. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +0 -2
  253. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +0 -1
  254. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.d.ts +0 -152
  255. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js +0 -90
  256. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +0 -1
  257. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +0 -8
  258. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +0 -10
  259. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +0 -1
  260. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +0 -25
  261. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +0 -27
  262. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +0 -1
  263. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +0 -69
  264. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +0 -80
  265. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +0 -1
  266. package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +0 -7
  267. package/bundle/typescript/src/commands/game/sideQuest/ui.js +0 -72
  268. package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +0 -1
  269. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +0 -16
  270. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +0 -67
  271. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +0 -1
  272. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +0 -1
  273. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +0 -68
  274. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +0 -1
  275. package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +0 -1
  276. package/bundle/typescript/src/commands/game/snake.sub.cmd.js +0 -12
  277. package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +0 -1
  278. package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +0 -1
  279. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +0 -12
  280. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +0 -1
  281. package/bundle/typescript/src/commands/generate.d.ts +0 -1
  282. package/bundle/typescript/src/commands/generate.js +0 -42
  283. package/bundle/typescript/src/commands/generate.js.map +0 -1
  284. package/bundle/typescript/src/commands/get/_index.d.ts +0 -4
  285. package/bundle/typescript/src/commands/get/_index.js +0 -5
  286. package/bundle/typescript/src/commands/get/_index.js.map +0 -1
  287. package/bundle/typescript/src/commands/get/get.command.d.ts +0 -3
  288. package/bundle/typescript/src/commands/get/get.command.js +0 -13
  289. package/bundle/typescript/src/commands/get/get.command.js.map +0 -1
  290. package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +0 -1
  291. package/bundle/typescript/src/commands/get/global.sub.cmd.js +0 -20
  292. package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +0 -1
  293. package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +0 -1
  294. package/bundle/typescript/src/commands/get/local.sub.cmd.js +0 -14
  295. package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +0 -1
  296. package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +0 -1
  297. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +0 -21
  298. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +0 -1
  299. package/bundle/typescript/src/commands/help.d.ts +0 -1
  300. package/bundle/typescript/src/commands/help.js +0 -12
  301. package/bundle/typescript/src/commands/help.js.map +0 -1
  302. package/bundle/typescript/src/commands/install.d.ts +0 -1
  303. package/bundle/typescript/src/commands/install.js +0 -269
  304. package/bundle/typescript/src/commands/install.js.map +0 -1
  305. package/bundle/typescript/src/commands/jsdoc.d.ts +0 -1
  306. package/bundle/typescript/src/commands/jsdoc.js +0 -62
  307. package/bundle/typescript/src/commands/jsdoc.js.map +0 -1
  308. package/bundle/typescript/src/commands/lint.d.ts +0 -1
  309. package/bundle/typescript/src/commands/lint.js +0 -127
  310. package/bundle/typescript/src/commands/lint.js.map +0 -1
  311. package/bundle/typescript/src/commands/login.d.ts +0 -1
  312. package/bundle/typescript/src/commands/login.js +0 -168
  313. package/bundle/typescript/src/commands/login.js.map +0 -1
  314. package/bundle/typescript/src/commands/logout.d.ts +0 -1
  315. package/bundle/typescript/src/commands/logout.js +0 -95
  316. package/bundle/typescript/src/commands/logout.js.map +0 -1
  317. package/bundle/typescript/src/commands/maka.cmd.d.ts +0 -5
  318. package/bundle/typescript/src/commands/maka.cmd.js +0 -57
  319. package/bundle/typescript/src/commands/maka.cmd.js.map +0 -1
  320. package/bundle/typescript/src/commands/murder.d.ts +0 -1
  321. package/bundle/typescript/src/commands/murder.js +0 -31
  322. package/bundle/typescript/src/commands/murder.js.map +0 -1
  323. package/bundle/typescript/src/commands/profile.d.ts +0 -1
  324. package/bundle/typescript/src/commands/profile.js +0 -277
  325. package/bundle/typescript/src/commands/profile.js.map +0 -1
  326. package/bundle/typescript/src/commands/proxy.d.ts +0 -1
  327. package/bundle/typescript/src/commands/proxy.js +0 -168
  328. package/bundle/typescript/src/commands/proxy.js.map +0 -1
  329. package/bundle/typescript/src/commands/register.d.ts +0 -1
  330. package/bundle/typescript/src/commands/register.js +0 -104
  331. package/bundle/typescript/src/commands/register.js.map +0 -1
  332. package/bundle/typescript/src/commands/remote/_index.d.ts +0 -4
  333. package/bundle/typescript/src/commands/remote/_index.js +0 -5
  334. package/bundle/typescript/src/commands/remote/_index.js.map +0 -1
  335. package/bundle/typescript/src/commands/remote/logs.sub.cmd.d.ts +0 -1
  336. package/bundle/typescript/src/commands/remote/logs.sub.cmd.js +0 -36
  337. package/bundle/typescript/src/commands/remote/logs.sub.cmd.js.map +0 -1
  338. package/bundle/typescript/src/commands/remote/reconfig.sub.cmd.d.ts +0 -1
  339. package/bundle/typescript/src/commands/remote/reconfig.sub.cmd.js +0 -70
  340. package/bundle/typescript/src/commands/remote/reconfig.sub.cmd.js.map +0 -1
  341. package/bundle/typescript/src/commands/remote/remote.command.d.ts +0 -3
  342. package/bundle/typescript/src/commands/remote/remote.command.js +0 -13
  343. package/bundle/typescript/src/commands/remote/remote.command.js.map +0 -1
  344. package/bundle/typescript/src/commands/remote/ssh.sub.cmd.d.ts +0 -1
  345. package/bundle/typescript/src/commands/remote/ssh.sub.cmd.js +0 -44
  346. package/bundle/typescript/src/commands/remote/ssh.sub.cmd.js.map +0 -1
  347. package/bundle/typescript/src/commands/run/_index.d.ts +0 -2
  348. package/bundle/typescript/src/commands/run/_index.js +0 -3
  349. package/bundle/typescript/src/commands/run/_index.js.map +0 -1
  350. package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +0 -1
  351. package/bundle/typescript/src/commands/run/docker.sub.cmd.js +0 -82
  352. package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +0 -1
  353. package/bundle/typescript/src/commands/run/run.command.d.ts +0 -3
  354. package/bundle/typescript/src/commands/run/run.command.js +0 -200
  355. package/bundle/typescript/src/commands/run/run.command.js.map +0 -1
  356. package/bundle/typescript/src/commands/set/_index.d.ts +0 -3
  357. package/bundle/typescript/src/commands/set/_index.js +0 -4
  358. package/bundle/typescript/src/commands/set/_index.js.map +0 -1
  359. package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +0 -1
  360. package/bundle/typescript/src/commands/set/global.sub.cmd.js +0 -129
  361. package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +0 -1
  362. package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +0 -1
  363. package/bundle/typescript/src/commands/set/local.sub.cmd.js +0 -18
  364. package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +0 -1
  365. package/bundle/typescript/src/commands/set/set.command.d.ts +0 -3
  366. package/bundle/typescript/src/commands/set/set.command.js +0 -16
  367. package/bundle/typescript/src/commands/set/set.command.js.map +0 -1
  368. package/bundle/typescript/src/commands/ssl.d.ts +0 -1
  369. package/bundle/typescript/src/commands/ssl.js +0 -109
  370. package/bundle/typescript/src/commands/ssl.js.map +0 -1
  371. package/bundle/typescript/src/commands/testCmd/_index.d.ts +0 -3
  372. package/bundle/typescript/src/commands/testCmd/_index.js +0 -4
  373. package/bundle/typescript/src/commands/testCmd/_index.js.map +0 -1
  374. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +0 -1
  375. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +0 -131
  376. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +0 -1
  377. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +0 -1
  378. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +0 -133
  379. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +0 -1
  380. package/bundle/typescript/src/commands/testCmd/test.command.d.ts +0 -3
  381. package/bundle/typescript/src/commands/testCmd/test.command.js +0 -15
  382. package/bundle/typescript/src/commands/testCmd/test.command.js.map +0 -1
  383. package/bundle/typescript/src/commands/undo.d.ts +0 -1
  384. package/bundle/typescript/src/commands/undo.js +0 -12
  385. package/bundle/typescript/src/commands/undo.js.map +0 -1
  386. package/bundle/typescript/src/commands/uninstall.d.ts +0 -1
  387. package/bundle/typescript/src/commands/uninstall.js +0 -76
  388. package/bundle/typescript/src/commands/uninstall.js.map +0 -1
  389. package/bundle/typescript/src/commands/version/_index.d.ts +0 -4
  390. package/bundle/typescript/src/commands/version/_index.js +0 -5
  391. package/bundle/typescript/src/commands/version/_index.js.map +0 -1
  392. package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +0 -1
  393. package/bundle/typescript/src/commands/version/list.sub.cmd.js +0 -55
  394. package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +0 -1
  395. package/bundle/typescript/src/commands/version/meteor.sub.cmd.d.ts +0 -3
  396. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js +0 -21
  397. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js.map +0 -1
  398. package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +0 -1
  399. package/bundle/typescript/src/commands/version/use.sub.cmd.js +0 -83
  400. package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +0 -1
  401. package/bundle/typescript/src/commands/version/version.d.ts +0 -3
  402. package/bundle/typescript/src/commands/version/version.js +0 -59
  403. package/bundle/typescript/src/commands/version/version.js.map +0 -1
  404. package/bundle/typescript/src/error.d.ts +0 -12
  405. package/bundle/typescript/src/error.js +0 -13
  406. package/bundle/typescript/src/error.js.map +0 -1
  407. package/bundle/typescript/src/exec.d.ts +0 -2
  408. package/bundle/typescript/src/exec.js +0 -17
  409. package/bundle/typescript/src/exec.js.map +0 -1
  410. package/bundle/typescript/src/generator.d.ts +0 -48
  411. package/bundle/typescript/src/generator.js +0 -394
  412. package/bundle/typescript/src/generator.js.map +0 -1
  413. package/bundle/typescript/src/generators/_index.d.ts +0 -18
  414. package/bundle/typescript/src/generators/_index.js +0 -19
  415. package/bundle/typescript/src/generators/_index.js.map +0 -1
  416. package/bundle/typescript/src/generators/api.d.ts +0 -1
  417. package/bundle/typescript/src/generators/api.js +0 -257
  418. package/bundle/typescript/src/generators/api.js.map +0 -1
  419. package/bundle/typescript/src/generators/aws/_index.d.ts +0 -2
  420. package/bundle/typescript/src/generators/aws/_index.js +0 -3
  421. package/bundle/typescript/src/generators/aws/_index.js.map +0 -1
  422. package/bundle/typescript/src/generators/aws/aws.d.ts +0 -3
  423. package/bundle/typescript/src/generators/aws/aws.js +0 -16
  424. package/bundle/typescript/src/generators/aws/aws.js.map +0 -1
  425. package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +0 -2
  426. package/bundle/typescript/src/generators/aws/cloudformation/_index.js +0 -3
  427. package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +0 -1
  428. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +0 -3
  429. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +0 -21
  430. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +0 -1
  431. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +0 -3
  432. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -69
  433. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +0 -1
  434. package/bundle/typescript/src/generators/collection.d.ts +0 -1
  435. package/bundle/typescript/src/generators/collection.js +0 -78
  436. package/bundle/typescript/src/generators/collection.js.map +0 -1
  437. package/bundle/typescript/src/generators/component.d.ts +0 -1
  438. package/bundle/typescript/src/generators/component.js +0 -99
  439. package/bundle/typescript/src/generators/component.js.map +0 -1
  440. package/bundle/typescript/src/generators/config.d.ts +0 -1
  441. package/bundle/typescript/src/generators/config.js +0 -75
  442. package/bundle/typescript/src/generators/config.js.map +0 -1
  443. package/bundle/typescript/src/generators/dbc.d.ts +0 -1
  444. package/bundle/typescript/src/generators/dbc.js +0 -85
  445. package/bundle/typescript/src/generators/dbc.js.map +0 -1
  446. package/bundle/typescript/src/generators/dockerfile.d.ts +0 -1
  447. package/bundle/typescript/src/generators/dockerfile.js +0 -42
  448. package/bundle/typescript/src/generators/dockerfile.js.map +0 -1
  449. package/bundle/typescript/src/generators/hook.d.ts +0 -1
  450. package/bundle/typescript/src/generators/hook.js +0 -112
  451. package/bundle/typescript/src/generators/hook.js.map +0 -1
  452. package/bundle/typescript/src/generators/kits/_index.d.ts +0 -5
  453. package/bundle/typescript/src/generators/kits/_index.js +0 -6
  454. package/bundle/typescript/src/generators/kits/_index.js.map +0 -1
  455. package/bundle/typescript/src/generators/kits/auth/_index.d.ts +0 -4
  456. package/bundle/typescript/src/generators/kits/auth/_index.js +0 -5
  457. package/bundle/typescript/src/generators/kits/auth/_index.js.map +0 -1
  458. package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +0 -3
  459. package/bundle/typescript/src/generators/kits/auth/auth.generator.js +0 -21
  460. package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +0 -1
  461. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.d.ts +0 -1
  462. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js +0 -895
  463. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js.map +0 -1
  464. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +0 -1
  465. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -213
  466. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +0 -1
  467. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +0 -1
  468. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +0 -138
  469. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +0 -1
  470. package/bundle/typescript/src/generators/kits/esri/_index.d.ts +0 -2
  471. package/bundle/typescript/src/generators/kits/esri/_index.js +0 -3
  472. package/bundle/typescript/src/generators/kits/esri/_index.js.map +0 -1
  473. package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +0 -3
  474. package/bundle/typescript/src/generators/kits/esri/esri.generator.js +0 -31
  475. package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +0 -1
  476. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +0 -1
  477. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +0 -85
  478. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +0 -1
  479. package/bundle/typescript/src/generators/kits/frames/_index.d.ts +0 -1
  480. package/bundle/typescript/src/generators/kits/frames/_index.js +0 -2
  481. package/bundle/typescript/src/generators/kits/frames/_index.js.map +0 -1
  482. package/bundle/typescript/src/generators/kits/frames/frames.generator.d.ts +0 -3
  483. package/bundle/typescript/src/generators/kits/frames/frames.generator.js +0 -166
  484. package/bundle/typescript/src/generators/kits/frames/frames.generator.js.map +0 -1
  485. package/bundle/typescript/src/generators/kits/kit.d.ts +0 -3
  486. package/bundle/typescript/src/generators/kits/kit.js +0 -17
  487. package/bundle/typescript/src/generators/kits/kit.js.map +0 -1
  488. package/bundle/typescript/src/generators/kits/mui/_index.d.ts +0 -4
  489. package/bundle/typescript/src/generators/kits/mui/_index.js +0 -5
  490. package/bundle/typescript/src/generators/kits/mui/_index.js.map +0 -1
  491. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +0 -2
  492. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +0 -228
  493. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +0 -1
  494. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.d.ts +0 -2
  495. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js +0 -158
  496. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js.map +0 -1
  497. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +0 -1
  498. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +0 -210
  499. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +0 -1
  500. package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +0 -3
  501. package/bundle/typescript/src/generators/kits/mui/mui.generator.js +0 -79
  502. package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +0 -1
  503. package/bundle/typescript/src/generators/layout.d.ts +0 -1
  504. package/bundle/typescript/src/generators/layout.js +0 -116
  505. package/bundle/typescript/src/generators/layout.js.map +0 -1
  506. package/bundle/typescript/src/generators/maka.gen.d.ts +0 -5
  507. package/bundle/typescript/src/generators/maka.gen.js +0 -26
  508. package/bundle/typescript/src/generators/maka.gen.js.map +0 -1
  509. package/bundle/typescript/src/generators/methods.d.ts +0 -1
  510. package/bundle/typescript/src/generators/methods.js +0 -65
  511. package/bundle/typescript/src/generators/methods.js.map +0 -1
  512. package/bundle/typescript/src/generators/package.d.ts +0 -1
  513. package/bundle/typescript/src/generators/package.js +0 -71
  514. package/bundle/typescript/src/generators/package.js.map +0 -1
  515. package/bundle/typescript/src/generators/page.d.ts +0 -1
  516. package/bundle/typescript/src/generators/page.js +0 -194
  517. package/bundle/typescript/src/generators/page.js.map +0 -1
  518. package/bundle/typescript/src/generators/publish.d.ts +0 -1
  519. package/bundle/typescript/src/generators/publish.js +0 -75
  520. package/bundle/typescript/src/generators/publish.js.map +0 -1
  521. package/bundle/typescript/src/generators/route.d.ts +0 -1
  522. package/bundle/typescript/src/generators/route.js +0 -68
  523. package/bundle/typescript/src/generators/route.js.map +0 -1
  524. package/bundle/typescript/src/generators/services/_index.d.ts +0 -4
  525. package/bundle/typescript/src/generators/services/_index.js +0 -5
  526. package/bundle/typescript/src/generators/services/_index.js.map +0 -1
  527. package/bundle/typescript/src/generators/services/logger.d.ts +0 -1
  528. package/bundle/typescript/src/generators/services/logger.js +0 -50
  529. package/bundle/typescript/src/generators/services/logger.js.map +0 -1
  530. package/bundle/typescript/src/generators/services/openssl.d.ts +0 -1
  531. package/bundle/typescript/src/generators/services/openssl.js +0 -38
  532. package/bundle/typescript/src/generators/services/openssl.js.map +0 -1
  533. package/bundle/typescript/src/generators/services/service.d.ts +0 -3
  534. package/bundle/typescript/src/generators/services/service.js +0 -16
  535. package/bundle/typescript/src/generators/services/service.js.map +0 -1
  536. package/bundle/typescript/src/generators/services/translation.d.ts +0 -1
  537. package/bundle/typescript/src/generators/services/translation.js +0 -149
  538. package/bundle/typescript/src/generators/services/translation.js.map +0 -1
  539. package/bundle/typescript/src/maka.d.ts +0 -2
  540. package/bundle/typescript/src/maka.js +0 -26
  541. package/bundle/typescript/src/maka.js.map +0 -1
  542. package/bundle/typescript/src/templates/aws/cloudformation/create-ec2-instance.template +0 -14
  543. package/bundle/typescript/src/templates/meteor/api/api.js +0 -20
  544. package/bundle/typescript/src/templates/meteor/api/api.js.ts +0 -20
  545. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js +0 -50
  546. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js.ts +0 -55
  547. package/bundle/typescript/src/templates/meteor/api/graphql-api.js +0 -63
  548. package/bundle/typescript/src/templates/meteor/api/graphql-api.js.ts +0 -69
  549. package/bundle/typescript/src/templates/meteor/api/methods.js +0 -39
  550. package/bundle/typescript/src/templates/meteor/api/methods.js.ts +0 -40
  551. package/bundle/typescript/src/templates/meteor/api/register-api.js +0 -3
  552. package/bundle/typescript/src/templates/meteor/api/register-api.js.ts +0 -3
  553. package/bundle/typescript/src/templates/meteor/api/resolvers.js +0 -9
  554. package/bundle/typescript/src/templates/meteor/api/resolvers.js.ts +0 -9
  555. package/bundle/typescript/src/templates/meteor/api/tests.js +0 -0
  556. package/bundle/typescript/src/templates/meteor/api/tests.js.ts +0 -0
  557. package/bundle/typescript/src/templates/meteor/api/typeDefs.js +0 -6
  558. package/bundle/typescript/src/templates/meteor/api/typeDefs.js.ts +0 -6
  559. package/bundle/typescript/src/templates/meteor/app/client/.gitkeep +0 -0
  560. package/bundle/typescript/src/templates/meteor/app/client/body.html +0 -3
  561. package/bundle/typescript/src/templates/meteor/app/client/head.html +0 -12
  562. package/bundle/typescript/src/templates/meteor/app/client/main.js +0 -15
  563. package/bundle/typescript/src/templates/meteor/app/client/main.js.jsx +0 -15
  564. package/bundle/typescript/src/templates/meteor/app/client/main.js.ts +0 -15
  565. package/bundle/typescript/src/templates/meteor/app/client/main.js.tsx +0 -15
  566. package/bundle/typescript/src/templates/meteor/app/imports/api/.gitkeep +0 -0
  567. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js +0 -20
  568. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -107
  569. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -20
  570. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -108
  571. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js +0 -39
  572. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -33
  573. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -24
  574. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -33
  575. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js +0 -9
  576. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -9
  577. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -9
  578. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -9
  579. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js +0 -1
  580. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -20
  581. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -1
  582. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -20
  583. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -28
  584. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -28
  585. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
  586. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
  587. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js +0 -1
  588. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -98
  589. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
  590. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -98
  591. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js +0 -24
  592. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -24
  593. package/bundle/typescript/src/templates/meteor/app/lib/.gitkeep +0 -0
  594. package/bundle/typescript/src/templates/meteor/app/lib/main.js +0 -3
  595. package/bundle/typescript/src/templates/meteor/app/lib/main.js.jsx +0 -3
  596. package/bundle/typescript/src/templates/meteor/app/lib/main.js.ts +0 -3
  597. package/bundle/typescript/src/templates/meteor/app/lib/main.js.tsx +0 -3
  598. package/bundle/typescript/src/templates/meteor/app/maka.d.ts +0 -504
  599. package/bundle/typescript/src/templates/meteor/app/meteor.d.ts +0 -954
  600. package/bundle/typescript/src/templates/meteor/app/packages/.gitkeep +0 -0
  601. package/bundle/typescript/src/templates/meteor/app/private/.gitkeep +0 -0
  602. package/bundle/typescript/src/templates/meteor/app/public/.gitkeep +0 -0
  603. package/bundle/typescript/src/templates/meteor/app/public/favicon.ico +0 -0
  604. package/bundle/typescript/src/templates/meteor/app/public/maka-144x144.png +0 -0
  605. package/bundle/typescript/src/templates/meteor/app/public/maka-192x192.png +0 -0
  606. package/bundle/typescript/src/templates/meteor/app/public/maka-512x512.png +0 -0
  607. package/bundle/typescript/src/templates/meteor/app/public/manifest.json +0 -27
  608. package/bundle/typescript/src/templates/meteor/app/public/sw.js +0 -30
  609. package/bundle/typescript/src/templates/meteor/app/public/sw.js.jsx +0 -30
  610. package/bundle/typescript/src/templates/meteor/app/public/sw.js.ts +0 -30
  611. package/bundle/typescript/src/templates/meteor/app/public/sw.js.tsx +0 -30
  612. package/bundle/typescript/src/templates/meteor/app/server/.gitkeep +0 -0
  613. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js +0 -179
  614. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -179
  615. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.ts +0 -179
  616. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -179
  617. package/bundle/typescript/src/templates/meteor/app/server/main.js +0 -13
  618. package/bundle/typescript/src/templates/meteor/app/server/main.js.jsx +0 -13
  619. package/bundle/typescript/src/templates/meteor/app/server/main.js.ts +0 -13
  620. package/bundle/typescript/src/templates/meteor/app/server/main.js.tsx +0 -13
  621. package/bundle/typescript/src/templates/meteor/app/tsconfig.json +0 -40
  622. package/bundle/typescript/src/templates/meteor/collection/collection.js +0 -51
  623. package/bundle/typescript/src/templates/meteor/collection/collection.js.ts +0 -55
  624. package/bundle/typescript/src/templates/meteor/collection/tests.js +0 -27
  625. package/bundle/typescript/src/templates/meteor/collection/tests.js.ts +0 -27
  626. package/bundle/typescript/src/templates/meteor/config/docker-compose.yaml +0 -17
  627. package/bundle/typescript/src/templates/meteor/config/pm2.config.js +0 -27
  628. package/bundle/typescript/src/templates/meteor/config/process.env +0 -5
  629. package/bundle/typescript/src/templates/meteor/config/settings.json +0 -11
  630. package/bundle/typescript/src/templates/meteor/config/ssh.json +0 -6
  631. package/bundle/typescript/src/templates/meteor/dbc/config.js +0 -70
  632. package/bundle/typescript/src/templates/meteor/dbc/config.js.ts +0 -70
  633. package/bundle/typescript/src/templates/meteor/dbc/conn.js +0 -37
  634. package/bundle/typescript/src/templates/meteor/dbc/conn.js.ts +0 -37
  635. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js +0 -3
  636. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js.ts +0 -3
  637. package/bundle/typescript/src/templates/meteor/method/method.js +0 -48
  638. package/bundle/typescript/src/templates/meteor/method/method.js.ts +0 -48
  639. package/bundle/typescript/src/templates/meteor/package/client/package.js +0 -0
  640. package/bundle/typescript/src/templates/meteor/package/client/package.js.jsx +0 -0
  641. package/bundle/typescript/src/templates/meteor/package/client/package.js.ts +0 -0
  642. package/bundle/typescript/src/templates/meteor/package/client/package.js.tsx +0 -0
  643. package/bundle/typescript/src/templates/meteor/package/lib/package.js +0 -0
  644. package/bundle/typescript/src/templates/meteor/package/lib/package.js.jsx +0 -0
  645. package/bundle/typescript/src/templates/meteor/package/lib/package.js.ts +0 -0
  646. package/bundle/typescript/src/templates/meteor/package/lib/package.js.tsx +0 -0
  647. package/bundle/typescript/src/templates/meteor/package/package.js +0 -37
  648. package/bundle/typescript/src/templates/meteor/package/package.js.jsx +0 -37
  649. package/bundle/typescript/src/templates/meteor/package/package.js.ts +0 -36
  650. package/bundle/typescript/src/templates/meteor/package/package.js.tsx +0 -37
  651. package/bundle/typescript/src/templates/meteor/package/server/package.js +0 -0
  652. package/bundle/typescript/src/templates/meteor/package/server/package.js.jsx +0 -0
  653. package/bundle/typescript/src/templates/meteor/package/server/package.js.ts +0 -0
  654. package/bundle/typescript/src/templates/meteor/package/server/package.js.tsx +0 -0
  655. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js +0 -5
  656. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.jsx +0 -5
  657. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.ts +0 -5
  658. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.tsx +0 -5
  659. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js +0 -5
  660. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.jsx +0 -5
  661. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.ts +0 -5
  662. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.tsx +0 -5
  663. package/bundle/typescript/src/templates/meteor/project/.maka/config.json +0 -29
  664. package/bundle/typescript/src/templates/meteor/project/.maka/history.json +0 -1
  665. package/bundle/typescript/src/templates/meteor/project/README.md +0 -33
  666. package/bundle/typescript/src/templates/meteor/project/build/.gitkeep +0 -0
  667. package/bundle/typescript/src/templates/meteor/project/build/README +0 -4
  668. package/bundle/typescript/src/templates/meteor/project/gitignore +0 -9
  669. package/bundle/typescript/src/templates/meteor/project/package.json +0 -29
  670. package/bundle/typescript/src/templates/meteor/publish/publish.js +0 -3
  671. package/bundle/typescript/src/templates/meteor/publish/publish.js.ts +0 -3
  672. package/bundle/typescript/src/templates/meteor/service/logger/logger.js +0 -27
  673. package/bundle/typescript/src/templates/meteor/service/logger/logger.js.ts +0 -27
  674. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css +0 -5
  675. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css.less +0 -5
  676. package/bundle/typescript/src/templates/meteor/template/template-tests.js +0 -1
  677. package/bundle/typescript/src/templates/meteor/template/template-tests.js.jsx +0 -55
  678. package/bundle/typescript/src/templates/meteor/template/template-tests.js.ts +0 -1
  679. package/bundle/typescript/src/templates/meteor/template/template-tests.js.tsx +0 -55
  680. package/bundle/typescript/src/templates/meteor/template/template.css +0 -3
  681. package/bundle/typescript/src/templates/meteor/template/template.css.less +0 -3
  682. package/bundle/typescript/src/templates/meteor/template/template.css.scss +0 -3
  683. package/bundle/typescript/src/templates/meteor/template/template.html +0 -5
  684. package/bundle/typescript/src/templates/meteor/template/template.js +0 -20
  685. package/bundle/typescript/src/templates/meteor/template/template.js.jsx +0 -77
  686. package/bundle/typescript/src/templates/meteor/template/template.js.ts +0 -1
  687. package/bundle/typescript/src/templates/meteor/template/template.js.tsx +0 -89
  688. package/bundle/typescript/src/templates/react/component/component.css +0 -6
  689. package/bundle/typescript/src/templates/react/component/component.css.less +0 -6
  690. package/bundle/typescript/src/templates/react/component/component.css.scss +0 -3
  691. package/bundle/typescript/src/templates/react/component/component.js.jsx +0 -54
  692. package/bundle/typescript/src/templates/react/component/component.js.tsx +0 -59
  693. package/bundle/typescript/src/templates/react/hook/hook.css +0 -3
  694. package/bundle/typescript/src/templates/react/hook/hook.css.scss +0 -3
  695. package/bundle/typescript/src/templates/react/hook/hook.js.jsx +0 -19
  696. package/bundle/typescript/src/templates/react/hook/hook.js.tsx +0 -18
  697. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -293
  698. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -329
  699. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.jsx +0 -178
  700. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.tsx +0 -178
  701. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.jsx +0 -59
  702. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.tsx +0 -67
  703. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.jsx +0 -273
  704. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.tsx +0 -275
  705. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.jsx +0 -182
  706. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.tsx +0 -199
  707. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -138
  708. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -136
  709. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -29
  710. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -32
  711. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.css +0 -63
  712. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.jsx +0 -153
  713. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.tsx +0 -164
  714. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.css +0 -105
  715. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.jsx +0 -158
  716. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.tsx +0 -166
  717. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -34
  718. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -33
  719. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -53
  720. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -53
  721. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -25
  722. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -25
  723. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -41
  724. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -35
  725. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -33
  726. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -33
  727. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.jsx +0 -71
  728. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.tsx +0 -71
  729. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.jsx +0 -123
  730. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.tsx +0 -123
  731. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.jsx +0 -56
  732. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.tsx +0 -74
  733. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -43
  734. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -43
  735. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -121
  736. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -117
  737. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -41
  738. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -41
  739. package/bundle/typescript/src/templates/react/route/route.js +0 -8
  740. package/bundle/typescript/src/templates/react/route/route.js.jsx +0 -5
  741. package/bundle/typescript/src/templates/react/route/route.js.ts +0 -8
  742. package/bundle/typescript/src/templates/react/route/route.js.tsx +0 -5
  743. package/bundle/typescript/src/templates/react/test/test.js +0 -1
  744. package/bundle/typescript/src/templates/react/test/test.js.jsx +0 -38
  745. package/bundle/typescript/src/templates/react/test/test.js.ts +0 -1
  746. package/bundle/typescript/src/templates/react/test/test.js.tsx +0 -38
  747. package/bundle/typescript/src/templates/service/docker/Dockerfile +0 -54
  748. package/bundle/typescript/src/templates/service/eslint/babel.config.js +0 -15
  749. package/bundle/typescript/src/templates/service/eslint/config.eslint.js +0 -57
  750. package/bundle/typescript/src/templates/service/i18n/i18n.js +0 -33
  751. package/bundle/typescript/src/templates/service/i18n/i18n.js.ts +0 -33
  752. package/bundle/typescript/src/templates/service/i18n/index.js +0 -0
  753. package/bundle/typescript/src/templates/service/i18n/index.js.jsx +0 -0
  754. package/bundle/typescript/src/templates/service/i18n/locales.js +0 -3
  755. package/bundle/typescript/src/templates/service/i18n/locales.js.ts +0 -3
  756. package/bundle/typescript/src/templates/service/openssl/openssl.conf +0 -22
  757. package/bundle/typescript/src/templates/service/test/jest/jest.config.js +0 -6
  758. package/bundle/typescript/src/templates/service/test/jest/jest.setup.js +0 -7
  759. package/bundle/typescript/src/tool.d.ts +0 -74
  760. package/bundle/typescript/src/tool.js +0 -217
  761. package/bundle/typescript/src/tool.js.map +0 -1
  762. package/bundle/typescript/src/tools/actions/actions.class.d.ts +0 -29
  763. package/bundle/typescript/src/tools/actions/actions.class.js +0 -58
  764. package/bundle/typescript/src/tools/actions/actions.class.js.map +0 -1
  765. package/bundle/typescript/src/tools/aws/aws.class.d.ts +0 -51
  766. package/bundle/typescript/src/tools/aws/aws.class.js +0 -802
  767. package/bundle/typescript/src/tools/aws/aws.class.js.map +0 -1
  768. package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +0 -364
  769. package/bundle/typescript/src/tools/aws/aws.interfaces.js +0 -255
  770. package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +0 -1
  771. package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +0 -42
  772. package/bundle/typescript/src/tools/cfg/cfg.class.js +0 -402
  773. package/bundle/typescript/src/tools/cfg/cfg.class.js.map +0 -1
  774. package/bundle/typescript/src/tools/docker/docker.class.d.ts +0 -10
  775. package/bundle/typescript/src/tools/docker/docker.class.js +0 -46
  776. package/bundle/typescript/src/tools/docker/docker.class.js.map +0 -1
  777. package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +0 -18
  778. package/bundle/typescript/src/tools/docker/docker.interfaces.js +0 -2
  779. package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +0 -1
  780. package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +0 -130
  781. package/bundle/typescript/src/tools/fsi/fsi.class.js +0 -685
  782. package/bundle/typescript/src/tools/fsi/fsi.class.js.map +0 -1
  783. package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +0 -191
  784. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +0 -64
  785. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +0 -1
  786. package/bundle/typescript/src/tools/https/https.class.d.ts +0 -13
  787. package/bundle/typescript/src/tools/https/https.class.js +0 -302
  788. package/bundle/typescript/src/tools/https/https.class.js.map +0 -1
  789. package/bundle/typescript/src/tools/https/https.interface.d.ts +0 -40
  790. package/bundle/typescript/src/tools/https/https.interface.js +0 -2
  791. package/bundle/typescript/src/tools/https/https.interface.js.map +0 -1
  792. package/bundle/typescript/src/tools/log/log.class.d.ts +0 -33
  793. package/bundle/typescript/src/tools/log/log.class.js +0 -206
  794. package/bundle/typescript/src/tools/log/log.class.js.map +0 -1
  795. package/bundle/typescript/src/tools/log/log.interfaces.d.ts +0 -7
  796. package/bundle/typescript/src/tools/log/log.interfaces.js +0 -2
  797. package/bundle/typescript/src/tools/log/log.interfaces.js.map +0 -1
  798. package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +0 -26
  799. package/bundle/typescript/src/tools/mpi/mpi.class.js +0 -522
  800. package/bundle/typescript/src/tools/mpi/mpi.class.js.map +0 -1
  801. package/bundle/typescript/src/tools/options/options.class.d.ts +0 -11
  802. package/bundle/typescript/src/tools/options/options.class.js +0 -64
  803. package/bundle/typescript/src/tools/options/options.class.js.map +0 -1
  804. package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +0 -31
  805. package/bundle/typescript/src/tools/pkg/pkg.class.js +0 -314
  806. package/bundle/typescript/src/tools/pkg/pkg.class.js.map +0 -1
  807. package/bundle/typescript/src/tools/progress/progress.class.d.ts +0 -12
  808. package/bundle/typescript/src/tools/progress/progress.class.js +0 -42
  809. package/bundle/typescript/src/tools/progress/progress.class.js.map +0 -1
  810. package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +0 -198
  811. package/bundle/typescript/src/tools/scaffold/scaffold.class.js +0 -868
  812. package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +0 -1
  813. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +0 -4
  814. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +0 -42
  815. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +0 -1
  816. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +0 -6
  817. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +0 -2
  818. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +0 -1
  819. package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +0 -11
  820. package/bundle/typescript/src/tools/ssh/ssh.class.js +0 -120
  821. package/bundle/typescript/src/tools/ssh/ssh.class.js.map +0 -1
  822. package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +0 -21
  823. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +0 -2
  824. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +0 -1
  825. package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +0 -17
  826. package/bundle/typescript/src/tools/ssl/ssl.class.js +0 -54
  827. package/bundle/typescript/src/tools/ssl/ssl.class.js.map +0 -1
  828. package/bundle/typescript/src/tools/ssl/ssl.interfaces.d.ts +0 -0
  829. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +0 -1
  830. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +0 -1
  831. package/docs/MCP_SERVER.md +0 -396
@@ -1,257 +0,0 @@
1
- import { Generator } from '../generator.js';
2
- import { Log } from '../tools/log/log.class.js';
3
- import { Actions } from '../tools/actions/actions.class.js';
4
- import { ApiEngines } from '../tools/fsi/fsi.interfaces.js';
5
- import path from 'path';
6
- import { camelCase, kebabCase, pascalCase } from "change-case";
7
- Generator.create({
8
- name: 'api',
9
- aliases: ['a'],
10
- usage: 'maka {generate, g}:{api} <resource-name>',
11
- shortDesc: 'Scaffolding for an API boundary (i.e. Todos).',
12
- validOpts: [
13
- {
14
- name: 'dir',
15
- description: 'Custom directory path for the API'
16
- },
17
- {
18
- name: 'version',
19
- description: 'API version (defaults to v1)'
20
- },
21
- {
22
- name: 'withMethods',
23
- boolFlag: true,
24
- description: 'Generate RPC methods boundary'
25
- },
26
- {
27
- name: 'withRest',
28
- boolFlag: true,
29
- description: 'Generate REST API boundary'
30
- },
31
- {
32
- name: 'withGql',
33
- boolFlag: true,
34
- description: 'Generate GraphQL boundary'
35
- },
36
- {
37
- name: 'enableGateway',
38
- boolFlag: true,
39
- description: 'Enable Apollo Gateway for GraphQL federation'
40
- },
41
- {
42
- name: 'withApolloGateway',
43
- boolFlag: true,
44
- description: 'Alias for enableGateway - Enable Apollo Gateway for GraphQL federation'
45
- }
46
- ],
47
- examples: [
48
- 'maka g:api Todos',
49
- 'maka g:api Users --withMethods --withRest',
50
- 'maka g:api Products --withGql --enableGateway --version=v2',
51
- 'maka g:api Products --withGql --withApolloGateway --version=v2',
52
- 'maka g:api Orders --withMethods --withGql --version=v1'
53
- ],
54
- mustBeInMakaProject: true,
55
- description: `
56
- Scaffolding for an API boundary (i.e. Todos).
57
-
58
- The API generator will create publications, methods, fixtures, and tests
59
- for the given resource name.
60
-
61
- The API generator will ask which boundaries to create. The choices are:
62
- - RPC (Methods)
63
- - REST API
64
- - GraphQL
65
-
66
- `
67
- }, async function (args, opts) {
68
- try {
69
- const { scaffold } = this;
70
- const config = this.projectConfig;
71
- const apiChoiceBuilder = [
72
- {
73
- name: 'RPC (Methods)',
74
- value: 'withMethods'
75
- },
76
- ];
77
- apiChoiceBuilder.push({
78
- name: 'REST API',
79
- value: 'withRest'
80
- });
81
- apiChoiceBuilder.push({
82
- name: 'GraphQL',
83
- value: 'withGql'
84
- });
85
- const apiChoices = {
86
- message: 'API boundaries to create',
87
- name: 'apiAnswers',
88
- choices: apiChoiceBuilder
89
- };
90
- const apiVersion = opts.version || await Actions.ask('API Version? [v1]') || 'v1';
91
- let apiAnswers = [];
92
- // Check if any API boundary options were provided
93
- const hasProvidedBoundaries = opts.withMethods || opts.withRest || opts.withGql;
94
- if (hasProvidedBoundaries) {
95
- if (opts.withMethods)
96
- apiAnswers.push('withMethods');
97
- if (opts.withRest)
98
- apiAnswers.push('withRest');
99
- if (opts.withGql)
100
- apiAnswers.push('withGql');
101
- }
102
- else {
103
- apiAnswers = await Actions.checkbox(apiChoices);
104
- if (apiAnswers.length === 0) {
105
- Log.error(`No API boundaries selected`);
106
- process.exit(1);
107
- }
108
- }
109
- let engineConfig = 'js';
110
- if (config.engines.js === 'tsx') {
111
- engineConfig = 'ts';
112
- }
113
- // Ask if user wants to enable Apollo Gateway
114
- const appDir = this.fsi.findAppDirectory();
115
- // use path to normalize the path
116
- const pathToGatewayFile = appDir + path.normalize(`/imports/api/apollo-gateway.${engineConfig}`);
117
- const gatewayEnabled = this.fsi.isFile(pathToGatewayFile);
118
- // if gateway is not enabled, log out a message that will describe Apollo Gateway
119
- if (!gatewayEnabled && config.engines.graphql === 'apollo') {
120
- Log.info(`Apollo Gateway is a way to combine multiple GraphQL APIs into a single API. It is a way to federate multiple GraphQL APIs.`);
121
- }
122
- const resourceName = opts.resourceName;
123
- const resourceFileName = kebabCase(resourceName);
124
- const optsDir = (opts.dir) ? `/${opts.dir}/` : '/';
125
- const context = {
126
- name: pascalCase(resourceName),
127
- apiVersion,
128
- fileName: resourceFileName,
129
- camelCase: camelCase(resourceName),
130
- optsDir,
131
- api: config.engines.api,
132
- clientGraphql: config.engines.graphql, // Client-side GraphQL (Apollo Client)
133
- apiGraphql: (config.engines.apis || []).includes(ApiEngines.GRAPHQL) || config.engines.api === ApiEngines.GRAPHQL, // Server-side GraphQL API
134
- test: config.engines.test,
135
- noRename: true,
136
- withMethods: apiAnswers.includes('withMethods'),
137
- withRest: apiAnswers.includes('withRest'),
138
- withGql: apiAnswers.includes('withGql'),
139
- };
140
- // if the gateway file is already enabled, don't ask and set to false
141
- let generateGateway = false;
142
- if (context.withGql) {
143
- // Check both enableGateway and withApolloGateway flags (they're aliases)
144
- const gatewayRequested = opts.enableGateway || opts.withApolloGateway;
145
- if (gatewayRequested !== undefined) {
146
- generateGateway = gatewayEnabled ? false : gatewayRequested;
147
- }
148
- else {
149
- generateGateway = gatewayEnabled ? false : await Actions.confirm('Do you want to enable Apollo Gateway?');
150
- }
151
- }
152
- if (context.withRest) {
153
- this.cfg.setProjectConfig('engines.api', 'rest');
154
- await this.pkg.checkMeteorPackage(['maka:rest'], { shouldInstall: true });
155
- await this.scaffold.template({
156
- srcPath: 'api/api.js',
157
- destPath: this.scaffold.pathFromApp({
158
- pathParts: ['imports', 'api', apiVersion, optsDir, resourceFileName, `${resourceFileName}-${apiVersion}-rest-api.${engineConfig}`]
159
- }),
160
- context,
161
- config,
162
- });
163
- }
164
- if (context.withMethods) {
165
- await this.pkg.checkMeteorPackage(['ddp-rate-limiter', 'mdg:validated-method'], { shouldInstall: true });
166
- await this.scaffold.template({
167
- srcPath: 'api/methods.js',
168
- destPath: this.scaffold.pathFromApp({
169
- pathParts: ['imports', 'api', apiVersion, optsDir, resourceFileName, `${resourceFileName}-${apiVersion}-rpc-methods.${engineConfig}`],
170
- }),
171
- context,
172
- config,
173
- });
174
- }
175
- if (context.withGql) {
176
- await this.pkg.checkNpmPackage(['express', '@apollo/server', '@apollo/subgraph', 'graphql-tag', 'express-rate-limit', 'graphql', '@as-integrations/express5'], { shouldInstall: true });
177
- await this.scaffold.template({
178
- srcPath: 'api/graphql-api.js',
179
- destPath: this.scaffold.pathFromApp({
180
- pathParts: ['imports', 'api', apiVersion, optsDir, resourceFileName, `${resourceFileName}-${apiVersion}-graphql-api.${engineConfig}`],
181
- }),
182
- context,
183
- config,
184
- });
185
- const typeDefPath = this.scaffold.pathFromApp({
186
- pathParts: ['imports', 'api', apiVersion, optsDir, resourceFileName, 'graphql', `typeDefs.${engineConfig}`]
187
- });
188
- await this.scaffold.template({
189
- srcPath: 'api/typeDefs.js',
190
- destPath: typeDefPath,
191
- context,
192
- config,
193
- });
194
- const resolversPath = this.scaffold.pathFromApp({
195
- pathParts: ['imports', 'api', apiVersion, optsDir, resourceFileName, 'graphql', `resolvers.${engineConfig}`]
196
- });
197
- await this.scaffold.template({
198
- srcPath: 'api/resolvers.js',
199
- destPath: resolversPath,
200
- context,
201
- config,
202
- });
203
- if (generateGateway) {
204
- await this.pkg.checkNpmPackage(['@apollo/gateway', 'express'], { shouldInstall: true });
205
- await this.scaffold.template({
206
- srcPath: 'api/apollo-gateway.js',
207
- destPath: pathToGatewayFile,
208
- context,
209
- config,
210
- });
211
- await scaffold.injectIntoFile({
212
- filePath: pathToGatewayFile,
213
- content: `{ name: '${resourceFileName}${apiVersion}', url: Meteor.absoluteUrl('graphql/${apiVersion}/${resourceFileName}') },`,
214
- begin: `subgraphs: [`,
215
- end: `]`,
216
- });
217
- const destPath = this.scaffold.pathFromApp({
218
- pathParts: ['imports', 'startup', 'server', `index.${config.engines.js}`]
219
- });
220
- await this.scaffold.injectAtEndOfFile({
221
- filePath: destPath,
222
- content: `import '/imports/api/apollo-gateway.${engineConfig}';`
223
- });
224
- }
225
- // just add the subgraph to the gateway if it is already enabled
226
- if (gatewayEnabled) {
227
- await scaffold.injectIntoFile({
228
- filePath: pathToGatewayFile,
229
- content: `{ name: '${resourceFileName}${apiVersion}', url: Meteor.absoluteUrl('graphql/${apiVersion}/${resourceFileName}') },`,
230
- begin: `subgraphs: [`,
231
- end: `]`,
232
- });
233
- }
234
- }
235
- await this.scaffold.template({
236
- srcPath: 'api/register-api.js',
237
- destPath: this.scaffold.pathFromApp({
238
- pathParts: ['imports', 'startup', 'server', `register-${resourceFileName}-api.${engineConfig}`]
239
- }),
240
- context,
241
- config,
242
- force: true
243
- });
244
- const destPath = this.scaffold.pathFromApp({
245
- pathParts: ['imports', 'startup', 'server', `index.${config.engines.js}`]
246
- });
247
- await this.scaffold.injectAtEndOfFile({
248
- filePath: destPath,
249
- content: `import './register-${resourceFileName}-api';`
250
- });
251
- }
252
- catch (e) {
253
- console.error(e);
254
- process.exit(1);
255
- }
256
- });
257
- //# sourceMappingURL=api.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/generators/api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,M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AQ,EAAE,QAAQ;YAClB,OAAO,EAAE,sBAAsB,gBAAgB,QAAQ;SACxD,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
@@ -1,2 +0,0 @@
1
- import './aws.js';
2
- import './cloudformation/_index.js';
@@ -1,3 +0,0 @@
1
- import './aws.js';
2
- import './cloudformation/_index.js';
3
- //# sourceMappingURL=_index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../../../src/generators/aws/_index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,4BAA4B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Generator } from '../../generator.js';
2
- declare const AWSGen: Generator;
3
- export default AWSGen;
@@ -1,16 +0,0 @@
1
- import { Generator } from '../../generator.js';
2
- const AWSGen = Generator.create({
3
- name: 'aws',
4
- usage: 'maka {generate, g}:{aws}:<name>',
5
- shortDesc: 'Generate AWS templates',
6
- minArgLength: 1,
7
- isPro: false,
8
- validOpts: [],
9
- resourceNameRequired: false,
10
- examples: [
11
- 'maka g:aws',
12
- ],
13
- experimental: true
14
- }, async function () { });
15
- export default AWSGen;
16
- //# sourceMappingURL=aws.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"aws.js","sourceRoot":"","sources":["../../../../../src/generators/aws/aws.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,KAAK;IACX,KAAK,EAAE,iCAAiC;IACxC,SAAS,EAAE,wBAAwB;IACnC,YAAY,EAAE,CAAC;IACf,KAAK,EAAE,KAAK;IACZ,SAAS,EAAE,EAAE;IACb,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;KACb;IACD,YAAY,EAAE,IAAI;CACnB,EAAE,KAAK,eAA8B,CAAC,CAAC,CAAC;AAEzC,eAAe,MAAM,CAAC"}
@@ -1,2 +0,0 @@
1
- import './cloudformation.js';
2
- import './create-ec2-instance.cf.gen.js';
@@ -1,3 +0,0 @@
1
- import './cloudformation.js';
2
- import './create-ec2-instance.cf.gen.js';
3
- //# sourceMappingURL=_index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../../../../src/generators/aws/cloudformation/_index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,iCAAiC,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Generator } from '../../../generator.js';
2
- declare const CFGen: Generator;
3
- export default CFGen;
@@ -1,21 +0,0 @@
1
- import { Generator } from '../../../generator.js';
2
- // import { Actions } from '../../../tools/actions/actions.class.js';
3
- // import { Log } from '../../../tools/log/log.class.js';
4
- // import MakaGen from '../../../generators/maka.gen.js'
5
- import AWSGen from '../aws.js';
6
- const CFGen = Generator.create({
7
- name: 'cloudformation',
8
- aliases: ['cf'],
9
- usage: 'maka {generate, g}:{aws}:{cloudformation, cf}',
10
- shortDesc: 'AWS Cloudformation templates',
11
- resourceNameRequired: false,
12
- validOpts: [],
13
- isPro: false,
14
- examples: [
15
- 'maka g:aws:cf',
16
- ],
17
- experimental: true
18
- }, async function () {
19
- }, async function () { }, AWSGen);
20
- export default CFGen;
21
- //# sourceMappingURL=cloudformation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cloudformation.js","sourceRoot":"","sources":["../../../../../../src/generators/aws/cloudformation/cloudformation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,qEAAqE;AACrE,yDAAyD;AACzD,wDAAwD;AAExD,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,KAAK,GAAG,SAAS,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,gBAAgB;IACtB,OAAO,EAAE,CAAC,IAAI,CAAC;IACf,KAAK,EAAE,+CAA+C;IACtD,SAAS,EAAE,8BAA8B;IACzC,oBAAoB,EAAE,KAAK;IAC3B,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,KAAK;IACZ,QAAQ,EAAE;QACR,eAAe;KAChB;IACD,YAAY,EAAE,IAAI;CACnB,EAAE,KAAK;AACR,CAAC,EAAE,KAAK,eAAe,CAAC,EAAE,MAAM,CAAC,CAAC;AAElC,eAAe,KAAK,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Generator } from '../../../generator.js';
2
- declare const CEC2Gen: Generator;
3
- export default CEC2Gen;
@@ -1,69 +0,0 @@
1
- import path from 'path';
2
- import { Actions } from '../../../tools/actions/actions.class.js';
3
- import { capitalCase } from "change-case";
4
- import { Generator } from '../../../generator.js';
5
- // import { Actions } from '../../../tools/actions/actions.class.js';
6
- import { Log } from '../../../tools/log/log.class.js';
7
- // import MakaGen from '../../../generators/maka.gen.js'
8
- import CFGen from './cloudformation.js';
9
- const CEC2Gen = Generator.create({
10
- name: 'create-ec2-instance',
11
- aliases: ['cec2i'],
12
- usage: 'maka {generate, g}:{aws}:{cloudformation, cf}:cec2i',
13
- resourceNameRequired: false,
14
- shortDesc: 'AWS Cloudformation template for creating an EC2 instance',
15
- mustBeInMakaProject: true,
16
- validOpts: [{
17
- name: 'keyId',
18
- description: 'ID of the key pair to use for EC2 instance'
19
- }],
20
- isPro: false,
21
- examples: [
22
- 'maka g:aws:cf:cec2i',
23
- ],
24
- experimental: true
25
- }, async function (args, opts) {
26
- const { aws, fsi, scaffold, projectConfig } = this;
27
- try {
28
- const projectDir = fsi.findProjectDirectory();
29
- const cfDirectory = path.join(projectDir, 'cloudformation');
30
- const keysList = await aws.ec2describeKeys();
31
- const keyIdRes = opts.keyId || await Actions.ask('Please choose a key to use: ') || "-1";
32
- if (parseInt(keyIdRes) < 0) {
33
- Log.error('You must have a key-pair. Please run "maka aws create-key-pair --env <env-name>" to generate a new key');
34
- Log.notice('No instance has been created.');
35
- return;
36
- }
37
- let KEY_NAME = '';
38
- if (keysList) {
39
- for (const item of keysList) {
40
- if (parseInt(keyIdRes) === item.id) {
41
- KEY_NAME = item.name;
42
- Log.success('Setting the key-pair to: ' + KEY_NAME);
43
- break; // Exit the loop once the desired key is found
44
- }
45
- }
46
- }
47
- const SG_ID = await aws.chooseSecurityGroup();
48
- const context = {
49
- amiId: 'ami-055744c75048d8296',
50
- keyPair: KEY_NAME,
51
- sgId: SG_ID,
52
- instanceName: capitalCase(projectConfig.appName).replaceAll('-', ' '),
53
- };
54
- await scaffold.template({
55
- srcPath: `cloudformation/create-ec2-instance.template`,
56
- destPath: path.join(cfDirectory, 'create-ec2-instance.template'),
57
- framework: 'aws',
58
- context,
59
- config: projectConfig,
60
- ignore: false
61
- });
62
- }
63
- catch (e) {
64
- Log.error(e);
65
- process.exit(1);
66
- }
67
- }, async function () { }, CFGen);
68
- export default CEC2Gen;
69
- //# sourceMappingURL=create-ec2-instance.cf.gen.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"create-ec2-instance.cf.gen.js","sourceRoot":"","sources":["../../../../../../src/generators/aws/cloudformation/create-ec2-instance.cf.gen.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAElE,OAAO,EACL,WAAW,EACZ,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,qEAAqE;AACrE,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,wDAAwD;AAExD,OAAO,KAAK,MAAM,qBAAqB,CAAC;AAExC,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC;IAC/B,IAAI,EAAE,qBAAqB;IAC3B,OAA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GAAG,QAAQ,CAAC,CAAC;oBACpD,MAAM,CAAC,8CAA8C;gBACvD,CAAC;YACH,CAAC;QACH,CAAC;QAED,MAAM,KAAK,GAAG,MAAM,GAAG,CAAC,mBAAmB,EAAE,CAAC;QAE9C,MAAM,OAAO,GAAG;YACd,KAAK,EAAE,uBAAuB;YAC9B,OAAO,EAAE,QAAQ;YACjB,IAAI,EAAE,KAAK;YACX,YAAY,EAAE,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,UAAU,CAAC,GAAG,EAAE,GAAG,CAAC;SACtE,CAAC;QAEF,MAAM,QAAQ,CAAC,QAAQ,CAAC;YACtB,OAAO,EAAE,6CAA6C;YACtD,QAAQ,EAAE,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,8BAA8B,CAAC;YAChE,SAAS,EAAE,KAAK;YAChB,OAAO;YACP,MAAM,EAAE,aAAa;YACrB,MAAM,EAAE,KAAK;SACd,CAAC,CAAC;IAEL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AAEH,CAAC,EAAE,KAAK,eAAe,CAAC,EAAE,KAAK,CAAC,CAAC;AAEjC,eAAe,OAAO,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,78 +0,0 @@
1
- import { kebabCase, pascalCase } from "change-case";
2
- import { Generator } from '../generator.js';
3
- import { Log } from '../tools/log/log.class.js';
4
- Generator.create({
5
- name: 'collection',
6
- aliases: ['col'],
7
- usage: 'maka {generate, g}:{collection, col} <name>',
8
- checkWhere: true,
9
- shortDesc: 'Scaffolding for a Meteor (Mongo) Collection',
10
- validOpts: [{
11
- name: 'dir',
12
- description: 'Custom subdirectory for the collection'
13
- }, {
14
- name: 'where',
15
- description: 'Location to generate collection (client, server, or both)',
16
- values: ['client', 'server', 'both']
17
- }],
18
- mustBeInMakaProject: true,
19
- description: `
20
- Scaffolding for a Meteor (Mongo) Collection.\nhttps://docs.meteor.com/api/collections.html
21
-
22
- Collections are generated in the "lib" or "common" directory by default. This location is accessible
23
- to BOTH client and server (--where=both). Other options are "--where=server" and "--where=client" which
24
- will setup the collection in their respective locations.
25
- `,
26
- examples: [
27
- 'maka g:collection todos'
28
- ]
29
- }, async function (args, opts) {
30
- try {
31
- const config = this.projectConfig;
32
- const optsDir = (opts.dir) ? `/${opts.dir}/` : '/';
33
- const resourceFileName = kebabCase(opts.resourceName);
34
- const context = {
35
- name: pascalCase(opts.resourceName),
36
- collectionName: pascalCase(opts.resourceName),
37
- fileName: resourceFileName,
38
- where: opts.where,
39
- test: config.engines.test,
40
- noRename: true
41
- };
42
- // we don't need the jsx or tsx extensions
43
- let engineConfig = 'js';
44
- if (config.engines.js === 'tsx') {
45
- engineConfig = 'ts';
46
- }
47
- await this.pkg.checkMeteorPackage(['mongo'], { shouldInstall: true });
48
- await this.scaffold.template({
49
- srcPath: 'collection/collection.js',
50
- destPath: this.scaffold.pathFromApp({
51
- pathParts: ['imports', 'startup', opts.appPathPrefix, 'collections', optsDir, `${resourceFileName}.${engineConfig}`]
52
- }),
53
- context,
54
- config
55
- });
56
- if (config.engines.test !== 'none') {
57
- await this.scaffold.template({
58
- srcPath: 'collection/tests.js',
59
- destPath: this.scaffold.pathFromApp({
60
- pathParts: ['imports', 'startup', opts.appPathPrefix, 'collections', optsDir, `${resourceFileName}.app-tests.${engineConfig}`]
61
- }),
62
- context,
63
- config,
64
- });
65
- }
66
- const destPath = this.scaffold.pathFromApp({
67
- pathParts: ['imports', 'startup', opts.appPathPrefix, `index.${config.engines.js}`]
68
- });
69
- await this.scaffold.injectAtEndOfFile({
70
- filePath: destPath,
71
- content: `import './collections${optsDir}${resourceFileName}';`
72
- });
73
- }
74
- catch (e) {
75
- Log.error(e);
76
- }
77
- });
78
- //# sourceMappingURL=collection.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection.js","sourceRoot":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H,MAAM,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC;YACpC,QAAQ,EAAE,QAAQ;YAClB,OAAO,EAAE,wBAAwB,OAAO,GAAG,gBAAgB,IAAI;SAChE,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACf,CAAC;AACH,CAAC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- export {};
@@ -1,99 +0,0 @@
1
- import path from 'path';
2
- import { camelCase, kebabCase, pascalCase } from "change-case";
3
- import { Generator } from '../generator.js';
4
- import { Log } from '../tools/log/log.class.js';
5
- import { ApiEngines } from '../tools/fsi/fsi.interfaces.js';
6
- const aliases = ['comp'];
7
- Generator.create({
8
- name: 'component',
9
- aliases,
10
- usage: 'maka {generate, g}:{comp} [path/]<name>',
11
- shortDesc: 'Scaffolding for a React Component.\nhttps://reactjs.org/docs/react-component.html',
12
- mustBeInMakaProject: true,
13
- validOpts: [{
14
- name: 'baseDir',
15
- description: 'Base directory for component'
16
- }],
17
- examples: [
18
- 'maka g:comp todos/todos-item'
19
- ]
20
- }, async function (args, opts) {
21
- try {
22
- const projectPath = (opts.baseDir) ? `/imports/ui/${opts.baseDir}` : '/imports/ui/components';
23
- const pathToTemplate = this.scaffold.pathFromApp({
24
- pathParts: [
25
- projectPath,
26
- opts.dir,
27
- kebabCase(opts.resourceName),
28
- kebabCase(opts.resourceName)
29
- ]
30
- });
31
- const config = this.projectConfig;
32
- if (typeof (config.template.test) === 'string') {
33
- this.cfg.setTemplate('test', config.template.test);
34
- }
35
- if (typeof (config.template.css) === 'string') {
36
- this.cfg.setTemplate('css', config.template.css);
37
- }
38
- if (typeof (config.template.js) === 'string') {
39
- this.cfg.setTemplate('js', config.template.js);
40
- }
41
- await this.pkg.checkNpmPackage('ramda', { shouldInstall: !opts.root });
42
- await this.pkg.checkNpmPackage('react', { shouldInstall: !opts.root });
43
- const context = {
44
- name: pascalCase(opts.resourceName),
45
- myPath: path.relative(this.fsi.findProjectDirectory(), pathToTemplate),
46
- cssCaseName: kebabCase(opts.resourceName),
47
- className: pascalCase(opts.resourceName),
48
- camelCaseName: camelCase(opts.resourceName),
49
- fileName: kebabCase(opts.resourceName),
50
- clientGraphql: config.engines.graphql, // Client-side GraphQL (Apollo Client)
51
- apiGraphql: (config.engines.apis || []).includes(ApiEngines.GRAPHQL) || config.engines.api === ApiEngines.GRAPHQL, // Server-side GraphQL API
52
- features: config.features,
53
- client: config.engines.client,
54
- api: config.engines.api,
55
- ssr: config.engines.ssr,
56
- test: config.engines.test,
57
- theme: config.engines.theme,
58
- isLayout: false,
59
- isComponent: true,
60
- withTranslations: config.features.withTranslations
61
- };
62
- await this.scaffold.template({
63
- srcPath: 'component/component.js',
64
- destPath: pathToTemplate + '.js',
65
- context,
66
- framework: 'react',
67
- config
68
- });
69
- if (config.engines.test !== 'none') {
70
- await this.scaffold.template({
71
- srcPath: 'test/test.js',
72
- destPath: pathToTemplate + '.tests.js',
73
- context,
74
- framework: 'react',
75
- config
76
- });
77
- }
78
- if (config.template.css) {
79
- await this.scaffold.template({
80
- srcPath: 'template/template.css',
81
- destPath: pathToTemplate + '.css',
82
- context: Object.assign({}, context, { className: kebabCase(opts.resourceName) }),
83
- config
84
- });
85
- await this.scaffold.injectAtBeginningOfFile({
86
- filePath: pathToTemplate + "." + config.engines.js,
87
- content: `import './${context.cssCaseName}.${config.engines.css}';`
88
- });
89
- }
90
- // Import the template in the templates.js file
91
- const optsDir = (opts.dir) ? `/${opts.dir}/` : '/';
92
- const npmImportString = `${projectPath}${optsDir}${context.fileName}/${context.fileName}`;
93
- await this.scaffold.injectTemplateModule(context.className, config, npmImportString);
94
- }
95
- catch (e) {
96
- Log.error(e);
97
- }
98
- });
99
- //# sourceMappingURL=component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/generators/component.ts"],"names":[],"mappings":"AAAA,OAAO,IAA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