@maka/maka-cli 5.2.4 → 5.2.6

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 (819) hide show
  1. package/package.json +4 -3
  2. package/bundle/typescript/package.json +0 -118
  3. package/bundle/typescript/src/README.md +0 -37
  4. package/bundle/typescript/src/command.d.ts +0 -37
  5. package/bundle/typescript/src/command.js +0 -231
  6. package/bundle/typescript/src/command.js.map +0 -1
  7. package/bundle/typescript/src/commands/_index.d.ts +0 -26
  8. package/bundle/typescript/src/commands/_index.js +0 -28
  9. package/bundle/typescript/src/commands/_index.js.map +0 -1
  10. package/bundle/typescript/src/commands/ai/_index.d.ts +0 -2
  11. package/bundle/typescript/src/commands/ai/_index.js +0 -3
  12. package/bundle/typescript/src/commands/ai/_index.js.map +0 -1
  13. package/bundle/typescript/src/commands/ai/ai.command.d.ts +0 -3
  14. package/bundle/typescript/src/commands/ai/ai.command.js +0 -83
  15. package/bundle/typescript/src/commands/ai/ai.command.js.map +0 -1
  16. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.d.ts +0 -1
  17. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js +0 -964
  18. package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js.map +0 -1
  19. package/bundle/typescript/src/commands/aws/_index.d.ts +0 -16
  20. package/bundle/typescript/src/commands/aws/_index.js +0 -17
  21. package/bundle/typescript/src/commands/aws/_index.js.map +0 -1
  22. package/bundle/typescript/src/commands/aws/aws.command.d.ts +0 -3
  23. package/bundle/typescript/src/commands/aws/aws.command.js +0 -15
  24. package/bundle/typescript/src/commands/aws/aws.command.js.map +0 -1
  25. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +0 -1
  26. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +0 -38
  27. package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +0 -1
  28. package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +0 -1
  29. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +0 -41
  30. package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +0 -1
  31. package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +0 -1
  32. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +0 -199
  33. package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +0 -1
  34. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +0 -1
  35. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +0 -42
  36. package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +0 -1
  37. package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +0 -1
  38. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +0 -43
  39. package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +0 -1
  40. package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +0 -1
  41. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +0 -31
  42. package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +0 -1
  43. package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +0 -1
  44. package/bundle/typescript/src/commands/aws/di.sub.cmd.js +0 -35
  45. package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +0 -1
  46. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +0 -1
  47. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +0 -25
  48. package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +0 -1
  49. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +0 -1
  50. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +0 -57
  51. package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +0 -1
  52. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +0 -1
  53. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +0 -32
  54. package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +0 -1
  55. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +0 -1
  56. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +0 -39
  57. package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +0 -1
  58. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +0 -1
  59. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +0 -104
  60. package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +0 -1
  61. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +0 -1
  62. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +0 -52
  63. package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +0 -1
  64. package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +0 -1
  65. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +0 -74
  66. package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +0 -1
  67. package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +0 -1
  68. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +0 -45
  69. package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +0 -1
  70. package/bundle/typescript/src/commands/build/_index.d.ts +0 -2
  71. package/bundle/typescript/src/commands/build/_index.js +0 -3
  72. package/bundle/typescript/src/commands/build/_index.js.map +0 -1
  73. package/bundle/typescript/src/commands/build/build.d.ts +0 -3
  74. package/bundle/typescript/src/commands/build/build.js +0 -98
  75. package/bundle/typescript/src/commands/build/build.js.map +0 -1
  76. package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +0 -1
  77. package/bundle/typescript/src/commands/build/docker.sub.cmd.js +0 -138
  78. package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +0 -1
  79. package/bundle/typescript/src/commands/create.d.ts +0 -1
  80. package/bundle/typescript/src/commands/create.js +0 -645
  81. package/bundle/typescript/src/commands/create.js.map +0 -1
  82. package/bundle/typescript/src/commands/debug.d.ts +0 -1
  83. package/bundle/typescript/src/commands/debug.js +0 -95
  84. package/bundle/typescript/src/commands/debug.js.map +0 -1
  85. package/bundle/typescript/src/commands/deploy/_index.d.ts +0 -3
  86. package/bundle/typescript/src/commands/deploy/_index.js +0 -4
  87. package/bundle/typescript/src/commands/deploy/_index.js.map +0 -1
  88. package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +0 -3
  89. package/bundle/typescript/src/commands/deploy/deploy.command.js +0 -24
  90. package/bundle/typescript/src/commands/deploy/deploy.command.js.map +0 -1
  91. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +0 -1
  92. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +0 -152
  93. package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +0 -1
  94. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +0 -1
  95. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +0 -543
  96. package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +0 -1
  97. package/bundle/typescript/src/commands/game/_index.d.ts +0 -5
  98. package/bundle/typescript/src/commands/game/_index.js +0 -7
  99. package/bundle/typescript/src/commands/game/_index.js.map +0 -1
  100. package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +0 -1
  101. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +0 -12
  102. package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +0 -1
  103. package/bundle/typescript/src/commands/game/play.command.d.ts +0 -3
  104. package/bundle/typescript/src/commands/game/play.command.js +0 -18
  105. package/bundle/typescript/src/commands/game/play.command.js.map +0 -1
  106. package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +0 -1
  107. package/bundle/typescript/src/commands/game/pong.sub.cmd.js +0 -12
  108. package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +0 -1
  109. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +0 -9
  110. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +0 -26
  111. package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +0 -1
  112. package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +0 -23
  113. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +0 -24
  114. package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +0 -1
  115. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +0 -7
  116. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +0 -33
  117. package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +0 -1
  118. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +0 -7
  119. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +0 -69
  120. package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +0 -1
  121. package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +0 -7
  122. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +0 -58
  123. package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +0 -1
  124. package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +0 -7
  125. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +0 -63
  126. package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +0 -1
  127. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.d.ts +0 -6
  128. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +0 -36
  129. package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +0 -1
  130. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +0 -8
  131. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +0 -74
  132. package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +0 -1
  133. package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +0 -10
  134. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +0 -137
  135. package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +0 -1
  136. package/bundle/typescript/src/commands/game/sideQuest/commands/read.d.ts +0 -6
  137. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js +0 -26
  138. package/bundle/typescript/src/commands/game/sideQuest/commands/read.js.map +0 -1
  139. package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +0 -8
  140. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +0 -31
  141. package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +0 -1
  142. package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +0 -6
  143. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +0 -24
  144. package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +0 -1
  145. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +0 -6
  146. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +0 -23
  147. package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +0 -1
  148. package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +0 -7
  149. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +0 -33
  150. package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +0 -1
  151. package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +0 -7
  152. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +0 -41
  153. package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +0 -1
  154. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +0 -9
  155. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +0 -54
  156. package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +0 -1
  157. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +0 -6
  158. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +0 -13
  159. package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +0 -1
  160. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +0 -7
  161. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +0 -53
  162. package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +0 -1
  163. package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +0 -7
  164. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +0 -34
  165. package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +0 -1
  166. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +0 -9
  167. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js +0 -17
  168. package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +0 -1
  169. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +0 -5
  170. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +0 -25
  171. package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +0 -1
  172. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +0 -10
  173. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +0 -36
  174. package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +0 -1
  175. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +0 -6
  176. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +0 -24
  177. package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +0 -1
  178. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +0 -6
  179. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +0 -19
  180. package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +0 -1
  181. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.d.ts +0 -6
  182. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +0 -126
  183. package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +0 -1
  184. package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +0 -38
  185. package/bundle/typescript/src/commands/game/sideQuest/game.js +0 -384
  186. package/bundle/typescript/src/commands/game/sideQuest/game.js.map +0 -1
  187. package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +0 -8
  188. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +0 -9
  189. package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +0 -1
  190. package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +0 -23
  191. package/bundle/typescript/src/commands/game/sideQuest/models/door.js +0 -42
  192. package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +0 -1
  193. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +0 -47
  194. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +0 -110
  195. package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +0 -1
  196. package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +0 -56
  197. package/bundle/typescript/src/commands/game/sideQuest/models/item.js +0 -145
  198. package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +0 -1
  199. package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +0 -36
  200. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +0 -407
  201. package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +0 -1
  202. package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +0 -58
  203. package/bundle/typescript/src/commands/game/sideQuest/models/player.js +0 -357
  204. package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +0 -1
  205. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +0 -34
  206. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +0 -67
  207. package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +0 -1
  208. package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +0 -69
  209. package/bundle/typescript/src/commands/game/sideQuest/models/room.js +0 -246
  210. package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +0 -1
  211. package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +0 -72
  212. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +0 -310
  213. package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +0 -1
  214. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.d.ts +0 -0
  215. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js +0 -1
  216. package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js.map +0 -1
  217. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +0 -281
  218. package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +0 -397
  219. package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +0 -47
  220. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +0 -52
  221. package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +0 -1
  222. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +0 -62
  223. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +0 -2
  224. package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +0 -1
  225. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +0 -6
  226. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +0 -2
  227. package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +0 -1
  228. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +0 -23
  229. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +0 -2
  230. package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +0 -1
  231. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +0 -22
  232. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +0 -2
  233. package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +0 -1
  234. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +0 -6
  235. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +0 -2
  236. package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +0 -1
  237. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +0 -8
  238. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +0 -2
  239. package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +0 -1
  240. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +0 -11
  241. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +0 -2
  242. package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +0 -1
  243. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +0 -16
  244. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +0 -2
  245. package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +0 -1
  246. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +0 -20
  247. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +0 -2
  248. package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +0 -1
  249. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.d.ts +0 -152
  250. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js +0 -90
  251. package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +0 -1
  252. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +0 -8
  253. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +0 -10
  254. package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +0 -1
  255. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +0 -25
  256. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +0 -27
  257. package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +0 -1
  258. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +0 -69
  259. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +0 -80
  260. package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +0 -1
  261. package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +0 -7
  262. package/bundle/typescript/src/commands/game/sideQuest/ui.js +0 -72
  263. package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +0 -1
  264. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +0 -16
  265. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +0 -67
  266. package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +0 -1
  267. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +0 -1
  268. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +0 -68
  269. package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +0 -1
  270. package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +0 -1
  271. package/bundle/typescript/src/commands/game/snake.sub.cmd.js +0 -12
  272. package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +0 -1
  273. package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +0 -1
  274. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +0 -12
  275. package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +0 -1
  276. package/bundle/typescript/src/commands/generate.d.ts +0 -1
  277. package/bundle/typescript/src/commands/generate.js +0 -42
  278. package/bundle/typescript/src/commands/generate.js.map +0 -1
  279. package/bundle/typescript/src/commands/get/_index.d.ts +0 -4
  280. package/bundle/typescript/src/commands/get/_index.js +0 -5
  281. package/bundle/typescript/src/commands/get/_index.js.map +0 -1
  282. package/bundle/typescript/src/commands/get/get.command.d.ts +0 -3
  283. package/bundle/typescript/src/commands/get/get.command.js +0 -13
  284. package/bundle/typescript/src/commands/get/get.command.js.map +0 -1
  285. package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +0 -1
  286. package/bundle/typescript/src/commands/get/global.sub.cmd.js +0 -20
  287. package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +0 -1
  288. package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +0 -1
  289. package/bundle/typescript/src/commands/get/local.sub.cmd.js +0 -14
  290. package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +0 -1
  291. package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +0 -1
  292. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +0 -21
  293. package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +0 -1
  294. package/bundle/typescript/src/commands/help.d.ts +0 -1
  295. package/bundle/typescript/src/commands/help.js +0 -12
  296. package/bundle/typescript/src/commands/help.js.map +0 -1
  297. package/bundle/typescript/src/commands/install.d.ts +0 -1
  298. package/bundle/typescript/src/commands/install.js +0 -269
  299. package/bundle/typescript/src/commands/install.js.map +0 -1
  300. package/bundle/typescript/src/commands/jsdoc.d.ts +0 -1
  301. package/bundle/typescript/src/commands/jsdoc.js +0 -62
  302. package/bundle/typescript/src/commands/jsdoc.js.map +0 -1
  303. package/bundle/typescript/src/commands/lint.d.ts +0 -1
  304. package/bundle/typescript/src/commands/lint.js +0 -127
  305. package/bundle/typescript/src/commands/lint.js.map +0 -1
  306. package/bundle/typescript/src/commands/login.d.ts +0 -1
  307. package/bundle/typescript/src/commands/login.js +0 -168
  308. package/bundle/typescript/src/commands/login.js.map +0 -1
  309. package/bundle/typescript/src/commands/logout.d.ts +0 -1
  310. package/bundle/typescript/src/commands/logout.js +0 -95
  311. package/bundle/typescript/src/commands/logout.js.map +0 -1
  312. package/bundle/typescript/src/commands/logs.d.ts +0 -1
  313. package/bundle/typescript/src/commands/logs.js +0 -35
  314. package/bundle/typescript/src/commands/logs.js.map +0 -1
  315. package/bundle/typescript/src/commands/maka.cmd.d.ts +0 -5
  316. package/bundle/typescript/src/commands/maka.cmd.js +0 -57
  317. package/bundle/typescript/src/commands/maka.cmd.js.map +0 -1
  318. package/bundle/typescript/src/commands/murder.d.ts +0 -1
  319. package/bundle/typescript/src/commands/murder.js +0 -31
  320. package/bundle/typescript/src/commands/murder.js.map +0 -1
  321. package/bundle/typescript/src/commands/profile.d.ts +0 -1
  322. package/bundle/typescript/src/commands/profile.js +0 -277
  323. package/bundle/typescript/src/commands/profile.js.map +0 -1
  324. package/bundle/typescript/src/commands/proxy.d.ts +0 -1
  325. package/bundle/typescript/src/commands/proxy.js +0 -168
  326. package/bundle/typescript/src/commands/proxy.js.map +0 -1
  327. package/bundle/typescript/src/commands/reconfig.d.ts +0 -1
  328. package/bundle/typescript/src/commands/reconfig.js +0 -69
  329. package/bundle/typescript/src/commands/reconfig.js.map +0 -1
  330. package/bundle/typescript/src/commands/register.d.ts +0 -1
  331. package/bundle/typescript/src/commands/register.js +0 -104
  332. package/bundle/typescript/src/commands/register.js.map +0 -1
  333. package/bundle/typescript/src/commands/run/_index.d.ts +0 -2
  334. package/bundle/typescript/src/commands/run/_index.js +0 -3
  335. package/bundle/typescript/src/commands/run/_index.js.map +0 -1
  336. package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +0 -1
  337. package/bundle/typescript/src/commands/run/docker.sub.cmd.js +0 -82
  338. package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +0 -1
  339. package/bundle/typescript/src/commands/run/run.command.d.ts +0 -3
  340. package/bundle/typescript/src/commands/run/run.command.js +0 -200
  341. package/bundle/typescript/src/commands/run/run.command.js.map +0 -1
  342. package/bundle/typescript/src/commands/set/_index.d.ts +0 -3
  343. package/bundle/typescript/src/commands/set/_index.js +0 -4
  344. package/bundle/typescript/src/commands/set/_index.js.map +0 -1
  345. package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +0 -1
  346. package/bundle/typescript/src/commands/set/global.sub.cmd.js +0 -115
  347. package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +0 -1
  348. package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +0 -1
  349. package/bundle/typescript/src/commands/set/local.sub.cmd.js +0 -18
  350. package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +0 -1
  351. package/bundle/typescript/src/commands/set/set.command.d.ts +0 -3
  352. package/bundle/typescript/src/commands/set/set.command.js +0 -16
  353. package/bundle/typescript/src/commands/set/set.command.js.map +0 -1
  354. package/bundle/typescript/src/commands/ssh.d.ts +0 -1
  355. package/bundle/typescript/src/commands/ssh.js +0 -43
  356. package/bundle/typescript/src/commands/ssh.js.map +0 -1
  357. package/bundle/typescript/src/commands/ssl.d.ts +0 -1
  358. package/bundle/typescript/src/commands/ssl.js +0 -109
  359. package/bundle/typescript/src/commands/ssl.js.map +0 -1
  360. package/bundle/typescript/src/commands/testCmd/_index.d.ts +0 -3
  361. package/bundle/typescript/src/commands/testCmd/_index.js +0 -4
  362. package/bundle/typescript/src/commands/testCmd/_index.js.map +0 -1
  363. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +0 -1
  364. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +0 -131
  365. package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +0 -1
  366. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +0 -1
  367. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +0 -133
  368. package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +0 -1
  369. package/bundle/typescript/src/commands/testCmd/test.command.d.ts +0 -3
  370. package/bundle/typescript/src/commands/testCmd/test.command.js +0 -15
  371. package/bundle/typescript/src/commands/testCmd/test.command.js.map +0 -1
  372. package/bundle/typescript/src/commands/undo.d.ts +0 -1
  373. package/bundle/typescript/src/commands/undo.js +0 -12
  374. package/bundle/typescript/src/commands/undo.js.map +0 -1
  375. package/bundle/typescript/src/commands/uninstall.d.ts +0 -1
  376. package/bundle/typescript/src/commands/uninstall.js +0 -76
  377. package/bundle/typescript/src/commands/uninstall.js.map +0 -1
  378. package/bundle/typescript/src/commands/version/_index.d.ts +0 -4
  379. package/bundle/typescript/src/commands/version/_index.js +0 -5
  380. package/bundle/typescript/src/commands/version/_index.js.map +0 -1
  381. package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +0 -1
  382. package/bundle/typescript/src/commands/version/list.sub.cmd.js +0 -55
  383. package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +0 -1
  384. package/bundle/typescript/src/commands/version/meteor.sub.cmd.d.ts +0 -3
  385. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js +0 -21
  386. package/bundle/typescript/src/commands/version/meteor.sub.cmd.js.map +0 -1
  387. package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +0 -1
  388. package/bundle/typescript/src/commands/version/use.sub.cmd.js +0 -83
  389. package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +0 -1
  390. package/bundle/typescript/src/commands/version/version.d.ts +0 -3
  391. package/bundle/typescript/src/commands/version/version.js +0 -59
  392. package/bundle/typescript/src/commands/version/version.js.map +0 -1
  393. package/bundle/typescript/src/error.d.ts +0 -12
  394. package/bundle/typescript/src/error.js +0 -13
  395. package/bundle/typescript/src/error.js.map +0 -1
  396. package/bundle/typescript/src/exec.d.ts +0 -2
  397. package/bundle/typescript/src/exec.js +0 -17
  398. package/bundle/typescript/src/exec.js.map +0 -1
  399. package/bundle/typescript/src/generator.d.ts +0 -48
  400. package/bundle/typescript/src/generator.js +0 -394
  401. package/bundle/typescript/src/generator.js.map +0 -1
  402. package/bundle/typescript/src/generators/_index.d.ts +0 -18
  403. package/bundle/typescript/src/generators/_index.js +0 -19
  404. package/bundle/typescript/src/generators/_index.js.map +0 -1
  405. package/bundle/typescript/src/generators/api.d.ts +0 -1
  406. package/bundle/typescript/src/generators/api.js +0 -257
  407. package/bundle/typescript/src/generators/api.js.map +0 -1
  408. package/bundle/typescript/src/generators/aws/_index.d.ts +0 -2
  409. package/bundle/typescript/src/generators/aws/_index.js +0 -3
  410. package/bundle/typescript/src/generators/aws/_index.js.map +0 -1
  411. package/bundle/typescript/src/generators/aws/aws.d.ts +0 -3
  412. package/bundle/typescript/src/generators/aws/aws.js +0 -16
  413. package/bundle/typescript/src/generators/aws/aws.js.map +0 -1
  414. package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +0 -2
  415. package/bundle/typescript/src/generators/aws/cloudformation/_index.js +0 -3
  416. package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +0 -1
  417. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +0 -3
  418. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +0 -21
  419. package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +0 -1
  420. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +0 -3
  421. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -69
  422. package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +0 -1
  423. package/bundle/typescript/src/generators/collection.d.ts +0 -1
  424. package/bundle/typescript/src/generators/collection.js +0 -78
  425. package/bundle/typescript/src/generators/collection.js.map +0 -1
  426. package/bundle/typescript/src/generators/component.d.ts +0 -1
  427. package/bundle/typescript/src/generators/component.js +0 -99
  428. package/bundle/typescript/src/generators/component.js.map +0 -1
  429. package/bundle/typescript/src/generators/config.d.ts +0 -1
  430. package/bundle/typescript/src/generators/config.js +0 -75
  431. package/bundle/typescript/src/generators/config.js.map +0 -1
  432. package/bundle/typescript/src/generators/dbc.d.ts +0 -1
  433. package/bundle/typescript/src/generators/dbc.js +0 -85
  434. package/bundle/typescript/src/generators/dbc.js.map +0 -1
  435. package/bundle/typescript/src/generators/dockerfile.d.ts +0 -1
  436. package/bundle/typescript/src/generators/dockerfile.js +0 -42
  437. package/bundle/typescript/src/generators/dockerfile.js.map +0 -1
  438. package/bundle/typescript/src/generators/hook.d.ts +0 -1
  439. package/bundle/typescript/src/generators/hook.js +0 -112
  440. package/bundle/typescript/src/generators/hook.js.map +0 -1
  441. package/bundle/typescript/src/generators/kits/_index.d.ts +0 -5
  442. package/bundle/typescript/src/generators/kits/_index.js +0 -6
  443. package/bundle/typescript/src/generators/kits/_index.js.map +0 -1
  444. package/bundle/typescript/src/generators/kits/auth/_index.d.ts +0 -4
  445. package/bundle/typescript/src/generators/kits/auth/_index.js +0 -5
  446. package/bundle/typescript/src/generators/kits/auth/_index.js.map +0 -1
  447. package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +0 -3
  448. package/bundle/typescript/src/generators/kits/auth/auth.generator.js +0 -21
  449. package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +0 -1
  450. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.d.ts +0 -1
  451. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js +0 -895
  452. package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js.map +0 -1
  453. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +0 -1
  454. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -213
  455. package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +0 -1
  456. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +0 -1
  457. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +0 -138
  458. package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +0 -1
  459. package/bundle/typescript/src/generators/kits/esri/_index.d.ts +0 -2
  460. package/bundle/typescript/src/generators/kits/esri/_index.js +0 -3
  461. package/bundle/typescript/src/generators/kits/esri/_index.js.map +0 -1
  462. package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +0 -3
  463. package/bundle/typescript/src/generators/kits/esri/esri.generator.js +0 -31
  464. package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +0 -1
  465. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +0 -1
  466. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +0 -85
  467. package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +0 -1
  468. package/bundle/typescript/src/generators/kits/frames/_index.d.ts +0 -1
  469. package/bundle/typescript/src/generators/kits/frames/_index.js +0 -2
  470. package/bundle/typescript/src/generators/kits/frames/_index.js.map +0 -1
  471. package/bundle/typescript/src/generators/kits/frames/frames.generator.d.ts +0 -3
  472. package/bundle/typescript/src/generators/kits/frames/frames.generator.js +0 -166
  473. package/bundle/typescript/src/generators/kits/frames/frames.generator.js.map +0 -1
  474. package/bundle/typescript/src/generators/kits/kit.d.ts +0 -3
  475. package/bundle/typescript/src/generators/kits/kit.js +0 -17
  476. package/bundle/typescript/src/generators/kits/kit.js.map +0 -1
  477. package/bundle/typescript/src/generators/kits/mui/_index.d.ts +0 -4
  478. package/bundle/typescript/src/generators/kits/mui/_index.js +0 -5
  479. package/bundle/typescript/src/generators/kits/mui/_index.js.map +0 -1
  480. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +0 -2
  481. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +0 -228
  482. package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +0 -1
  483. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.d.ts +0 -2
  484. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js +0 -158
  485. package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js.map +0 -1
  486. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +0 -1
  487. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +0 -210
  488. package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +0 -1
  489. package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +0 -3
  490. package/bundle/typescript/src/generators/kits/mui/mui.generator.js +0 -79
  491. package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +0 -1
  492. package/bundle/typescript/src/generators/layout.d.ts +0 -1
  493. package/bundle/typescript/src/generators/layout.js +0 -116
  494. package/bundle/typescript/src/generators/layout.js.map +0 -1
  495. package/bundle/typescript/src/generators/maka.gen.d.ts +0 -5
  496. package/bundle/typescript/src/generators/maka.gen.js +0 -26
  497. package/bundle/typescript/src/generators/maka.gen.js.map +0 -1
  498. package/bundle/typescript/src/generators/methods.d.ts +0 -1
  499. package/bundle/typescript/src/generators/methods.js +0 -65
  500. package/bundle/typescript/src/generators/methods.js.map +0 -1
  501. package/bundle/typescript/src/generators/package.d.ts +0 -1
  502. package/bundle/typescript/src/generators/package.js +0 -71
  503. package/bundle/typescript/src/generators/package.js.map +0 -1
  504. package/bundle/typescript/src/generators/page.d.ts +0 -1
  505. package/bundle/typescript/src/generators/page.js +0 -194
  506. package/bundle/typescript/src/generators/page.js.map +0 -1
  507. package/bundle/typescript/src/generators/publish.d.ts +0 -1
  508. package/bundle/typescript/src/generators/publish.js +0 -75
  509. package/bundle/typescript/src/generators/publish.js.map +0 -1
  510. package/bundle/typescript/src/generators/route.d.ts +0 -1
  511. package/bundle/typescript/src/generators/route.js +0 -68
  512. package/bundle/typescript/src/generators/route.js.map +0 -1
  513. package/bundle/typescript/src/generators/services/_index.d.ts +0 -4
  514. package/bundle/typescript/src/generators/services/_index.js +0 -5
  515. package/bundle/typescript/src/generators/services/_index.js.map +0 -1
  516. package/bundle/typescript/src/generators/services/logger.d.ts +0 -1
  517. package/bundle/typescript/src/generators/services/logger.js +0 -50
  518. package/bundle/typescript/src/generators/services/logger.js.map +0 -1
  519. package/bundle/typescript/src/generators/services/openssl.d.ts +0 -1
  520. package/bundle/typescript/src/generators/services/openssl.js +0 -38
  521. package/bundle/typescript/src/generators/services/openssl.js.map +0 -1
  522. package/bundle/typescript/src/generators/services/service.d.ts +0 -3
  523. package/bundle/typescript/src/generators/services/service.js +0 -16
  524. package/bundle/typescript/src/generators/services/service.js.map +0 -1
  525. package/bundle/typescript/src/generators/services/translation.d.ts +0 -1
  526. package/bundle/typescript/src/generators/services/translation.js +0 -149
  527. package/bundle/typescript/src/generators/services/translation.js.map +0 -1
  528. package/bundle/typescript/src/maka.d.ts +0 -2
  529. package/bundle/typescript/src/maka.js +0 -26
  530. package/bundle/typescript/src/maka.js.map +0 -1
  531. package/bundle/typescript/src/templates/aws/cloudformation/create-ec2-instance.template +0 -14
  532. package/bundle/typescript/src/templates/meteor/api/api.js +0 -20
  533. package/bundle/typescript/src/templates/meteor/api/api.js.ts +0 -20
  534. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js +0 -50
  535. package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js.ts +0 -55
  536. package/bundle/typescript/src/templates/meteor/api/graphql-api.js +0 -63
  537. package/bundle/typescript/src/templates/meteor/api/graphql-api.js.ts +0 -69
  538. package/bundle/typescript/src/templates/meteor/api/methods.js +0 -39
  539. package/bundle/typescript/src/templates/meteor/api/methods.js.ts +0 -40
  540. package/bundle/typescript/src/templates/meteor/api/register-api.js +0 -3
  541. package/bundle/typescript/src/templates/meteor/api/register-api.js.ts +0 -3
  542. package/bundle/typescript/src/templates/meteor/api/resolvers.js +0 -9
  543. package/bundle/typescript/src/templates/meteor/api/resolvers.js.ts +0 -9
  544. package/bundle/typescript/src/templates/meteor/api/tests.js +0 -0
  545. package/bundle/typescript/src/templates/meteor/api/tests.js.ts +0 -0
  546. package/bundle/typescript/src/templates/meteor/api/typeDefs.js +0 -6
  547. package/bundle/typescript/src/templates/meteor/api/typeDefs.js.ts +0 -6
  548. package/bundle/typescript/src/templates/meteor/app/client/.gitkeep +0 -0
  549. package/bundle/typescript/src/templates/meteor/app/client/body.html +0 -3
  550. package/bundle/typescript/src/templates/meteor/app/client/head.html +0 -12
  551. package/bundle/typescript/src/templates/meteor/app/client/main.js +0 -15
  552. package/bundle/typescript/src/templates/meteor/app/client/main.js.jsx +0 -15
  553. package/bundle/typescript/src/templates/meteor/app/client/main.js.ts +0 -15
  554. package/bundle/typescript/src/templates/meteor/app/client/main.js.tsx +0 -15
  555. package/bundle/typescript/src/templates/meteor/app/imports/api/.gitkeep +0 -0
  556. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js +0 -20
  557. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -107
  558. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -20
  559. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -108
  560. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js +0 -39
  561. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -33
  562. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -24
  563. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -33
  564. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js +0 -9
  565. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -9
  566. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -9
  567. package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -9
  568. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js +0 -1
  569. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -20
  570. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -1
  571. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -20
  572. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -28
  573. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -28
  574. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
  575. package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
  576. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js +0 -1
  577. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -98
  578. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
  579. package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -98
  580. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js +0 -24
  581. package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -24
  582. package/bundle/typescript/src/templates/meteor/app/lib/.gitkeep +0 -0
  583. package/bundle/typescript/src/templates/meteor/app/lib/main.js +0 -3
  584. package/bundle/typescript/src/templates/meteor/app/lib/main.js.jsx +0 -3
  585. package/bundle/typescript/src/templates/meteor/app/lib/main.js.ts +0 -3
  586. package/bundle/typescript/src/templates/meteor/app/lib/main.js.tsx +0 -3
  587. package/bundle/typescript/src/templates/meteor/app/maka.d.ts +0 -504
  588. package/bundle/typescript/src/templates/meteor/app/meteor.d.ts +0 -954
  589. package/bundle/typescript/src/templates/meteor/app/packages/.gitkeep +0 -0
  590. package/bundle/typescript/src/templates/meteor/app/private/.gitkeep +0 -0
  591. package/bundle/typescript/src/templates/meteor/app/public/.gitkeep +0 -0
  592. package/bundle/typescript/src/templates/meteor/app/public/favicon.ico +0 -0
  593. package/bundle/typescript/src/templates/meteor/app/public/maka-144x144.png +0 -0
  594. package/bundle/typescript/src/templates/meteor/app/public/maka-192x192.png +0 -0
  595. package/bundle/typescript/src/templates/meteor/app/public/maka-512x512.png +0 -0
  596. package/bundle/typescript/src/templates/meteor/app/public/manifest.json +0 -27
  597. package/bundle/typescript/src/templates/meteor/app/public/sw.js +0 -30
  598. package/bundle/typescript/src/templates/meteor/app/public/sw.js.jsx +0 -30
  599. package/bundle/typescript/src/templates/meteor/app/public/sw.js.ts +0 -30
  600. package/bundle/typescript/src/templates/meteor/app/public/sw.js.tsx +0 -30
  601. package/bundle/typescript/src/templates/meteor/app/server/.gitkeep +0 -0
  602. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js +0 -179
  603. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -179
  604. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.ts +0 -179
  605. package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -179
  606. package/bundle/typescript/src/templates/meteor/app/server/main.js +0 -13
  607. package/bundle/typescript/src/templates/meteor/app/server/main.js.jsx +0 -13
  608. package/bundle/typescript/src/templates/meteor/app/server/main.js.ts +0 -13
  609. package/bundle/typescript/src/templates/meteor/app/server/main.js.tsx +0 -13
  610. package/bundle/typescript/src/templates/meteor/app/tsconfig.json +0 -40
  611. package/bundle/typescript/src/templates/meteor/collection/collection.js +0 -51
  612. package/bundle/typescript/src/templates/meteor/collection/collection.js.ts +0 -55
  613. package/bundle/typescript/src/templates/meteor/collection/tests.js +0 -27
  614. package/bundle/typescript/src/templates/meteor/collection/tests.js.ts +0 -27
  615. package/bundle/typescript/src/templates/meteor/config/docker-compose.yaml +0 -17
  616. package/bundle/typescript/src/templates/meteor/config/pm2.config.js +0 -27
  617. package/bundle/typescript/src/templates/meteor/config/process.env +0 -5
  618. package/bundle/typescript/src/templates/meteor/config/settings.json +0 -11
  619. package/bundle/typescript/src/templates/meteor/config/ssh.json +0 -6
  620. package/bundle/typescript/src/templates/meteor/dbc/config.js +0 -70
  621. package/bundle/typescript/src/templates/meteor/dbc/config.js.ts +0 -70
  622. package/bundle/typescript/src/templates/meteor/dbc/conn.js +0 -37
  623. package/bundle/typescript/src/templates/meteor/dbc/conn.js.ts +0 -37
  624. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js +0 -3
  625. package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js.ts +0 -3
  626. package/bundle/typescript/src/templates/meteor/method/method.js +0 -48
  627. package/bundle/typescript/src/templates/meteor/method/method.js.ts +0 -48
  628. package/bundle/typescript/src/templates/meteor/package/client/package.js +0 -0
  629. package/bundle/typescript/src/templates/meteor/package/client/package.js.jsx +0 -0
  630. package/bundle/typescript/src/templates/meteor/package/client/package.js.ts +0 -0
  631. package/bundle/typescript/src/templates/meteor/package/client/package.js.tsx +0 -0
  632. package/bundle/typescript/src/templates/meteor/package/lib/package.js +0 -0
  633. package/bundle/typescript/src/templates/meteor/package/lib/package.js.jsx +0 -0
  634. package/bundle/typescript/src/templates/meteor/package/lib/package.js.ts +0 -0
  635. package/bundle/typescript/src/templates/meteor/package/lib/package.js.tsx +0 -0
  636. package/bundle/typescript/src/templates/meteor/package/package.js +0 -37
  637. package/bundle/typescript/src/templates/meteor/package/package.js.jsx +0 -37
  638. package/bundle/typescript/src/templates/meteor/package/package.js.ts +0 -36
  639. package/bundle/typescript/src/templates/meteor/package/package.js.tsx +0 -37
  640. package/bundle/typescript/src/templates/meteor/package/server/package.js +0 -0
  641. package/bundle/typescript/src/templates/meteor/package/server/package.js.jsx +0 -0
  642. package/bundle/typescript/src/templates/meteor/package/server/package.js.ts +0 -0
  643. package/bundle/typescript/src/templates/meteor/package/server/package.js.tsx +0 -0
  644. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js +0 -5
  645. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.jsx +0 -5
  646. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.ts +0 -5
  647. package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.tsx +0 -5
  648. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js +0 -5
  649. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.jsx +0 -5
  650. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.ts +0 -5
  651. package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.tsx +0 -5
  652. package/bundle/typescript/src/templates/meteor/project/.maka/config.json +0 -29
  653. package/bundle/typescript/src/templates/meteor/project/.maka/history.json +0 -1
  654. package/bundle/typescript/src/templates/meteor/project/README.md +0 -33
  655. package/bundle/typescript/src/templates/meteor/project/build/.gitkeep +0 -0
  656. package/bundle/typescript/src/templates/meteor/project/build/README +0 -4
  657. package/bundle/typescript/src/templates/meteor/project/gitignore +0 -9
  658. package/bundle/typescript/src/templates/meteor/project/package.json +0 -29
  659. package/bundle/typescript/src/templates/meteor/publish/publish.js +0 -3
  660. package/bundle/typescript/src/templates/meteor/publish/publish.js.ts +0 -3
  661. package/bundle/typescript/src/templates/meteor/service/logger/logger.js +0 -27
  662. package/bundle/typescript/src/templates/meteor/service/logger/logger.js.ts +0 -27
  663. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css +0 -5
  664. package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css.less +0 -5
  665. package/bundle/typescript/src/templates/meteor/template/template-tests.js +0 -1
  666. package/bundle/typescript/src/templates/meteor/template/template-tests.js.jsx +0 -55
  667. package/bundle/typescript/src/templates/meteor/template/template-tests.js.ts +0 -1
  668. package/bundle/typescript/src/templates/meteor/template/template-tests.js.tsx +0 -55
  669. package/bundle/typescript/src/templates/meteor/template/template.css +0 -3
  670. package/bundle/typescript/src/templates/meteor/template/template.css.less +0 -3
  671. package/bundle/typescript/src/templates/meteor/template/template.css.scss +0 -3
  672. package/bundle/typescript/src/templates/meteor/template/template.html +0 -5
  673. package/bundle/typescript/src/templates/meteor/template/template.js +0 -20
  674. package/bundle/typescript/src/templates/meteor/template/template.js.jsx +0 -77
  675. package/bundle/typescript/src/templates/meteor/template/template.js.ts +0 -1
  676. package/bundle/typescript/src/templates/meteor/template/template.js.tsx +0 -89
  677. package/bundle/typescript/src/templates/react/component/component.css +0 -6
  678. package/bundle/typescript/src/templates/react/component/component.css.less +0 -6
  679. package/bundle/typescript/src/templates/react/component/component.css.scss +0 -3
  680. package/bundle/typescript/src/templates/react/component/component.js.jsx +0 -54
  681. package/bundle/typescript/src/templates/react/component/component.js.tsx +0 -59
  682. package/bundle/typescript/src/templates/react/hook/hook.css +0 -3
  683. package/bundle/typescript/src/templates/react/hook/hook.css.scss +0 -3
  684. package/bundle/typescript/src/templates/react/hook/hook.js.jsx +0 -19
  685. package/bundle/typescript/src/templates/react/hook/hook.js.tsx +0 -18
  686. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -293
  687. package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -329
  688. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.jsx +0 -178
  689. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.tsx +0 -178
  690. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.jsx +0 -59
  691. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.tsx +0 -67
  692. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.jsx +0 -273
  693. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.tsx +0 -275
  694. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.jsx +0 -182
  695. package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.tsx +0 -199
  696. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -138
  697. package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -136
  698. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -29
  699. package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -32
  700. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.css +0 -63
  701. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.jsx +0 -153
  702. package/bundle/typescript/src/templates/react/kit/frames/frames-demo.tsx +0 -164
  703. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.css +0 -105
  704. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.jsx +0 -158
  705. package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.tsx +0 -166
  706. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -34
  707. package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -33
  708. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -53
  709. package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -53
  710. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -25
  711. package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -25
  712. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -41
  713. package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -35
  714. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -33
  715. package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -33
  716. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.jsx +0 -71
  717. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.tsx +0 -71
  718. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.jsx +0 -123
  719. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.tsx +0 -123
  720. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.jsx +0 -56
  721. package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.tsx +0 -74
  722. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -43
  723. package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -43
  724. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -121
  725. package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -117
  726. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -41
  727. package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -41
  728. package/bundle/typescript/src/templates/react/route/route.js +0 -8
  729. package/bundle/typescript/src/templates/react/route/route.js.jsx +0 -5
  730. package/bundle/typescript/src/templates/react/route/route.js.ts +0 -8
  731. package/bundle/typescript/src/templates/react/route/route.js.tsx +0 -5
  732. package/bundle/typescript/src/templates/react/test/test.js +0 -1
  733. package/bundle/typescript/src/templates/react/test/test.js.jsx +0 -38
  734. package/bundle/typescript/src/templates/react/test/test.js.ts +0 -1
  735. package/bundle/typescript/src/templates/react/test/test.js.tsx +0 -38
  736. package/bundle/typescript/src/templates/service/docker/Dockerfile +0 -54
  737. package/bundle/typescript/src/templates/service/eslint/babel.config.js +0 -15
  738. package/bundle/typescript/src/templates/service/eslint/config.eslint.js +0 -57
  739. package/bundle/typescript/src/templates/service/i18n/i18n.js +0 -33
  740. package/bundle/typescript/src/templates/service/i18n/i18n.js.ts +0 -33
  741. package/bundle/typescript/src/templates/service/i18n/index.js +0 -0
  742. package/bundle/typescript/src/templates/service/i18n/index.js.jsx +0 -0
  743. package/bundle/typescript/src/templates/service/i18n/locales.js +0 -3
  744. package/bundle/typescript/src/templates/service/i18n/locales.js.ts +0 -3
  745. package/bundle/typescript/src/templates/service/openssl/openssl.conf +0 -22
  746. package/bundle/typescript/src/templates/service/test/jest/jest.config.js +0 -6
  747. package/bundle/typescript/src/templates/service/test/jest/jest.setup.js +0 -7
  748. package/bundle/typescript/src/tool.d.ts +0 -74
  749. package/bundle/typescript/src/tool.js +0 -217
  750. package/bundle/typescript/src/tool.js.map +0 -1
  751. package/bundle/typescript/src/tools/actions/actions.class.d.ts +0 -25
  752. package/bundle/typescript/src/tools/actions/actions.class.js +0 -20
  753. package/bundle/typescript/src/tools/actions/actions.class.js.map +0 -1
  754. package/bundle/typescript/src/tools/aws/aws.class.d.ts +0 -51
  755. package/bundle/typescript/src/tools/aws/aws.class.js +0 -802
  756. package/bundle/typescript/src/tools/aws/aws.class.js.map +0 -1
  757. package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +0 -364
  758. package/bundle/typescript/src/tools/aws/aws.interfaces.js +0 -255
  759. package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +0 -1
  760. package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +0 -42
  761. package/bundle/typescript/src/tools/cfg/cfg.class.js +0 -402
  762. package/bundle/typescript/src/tools/cfg/cfg.class.js.map +0 -1
  763. package/bundle/typescript/src/tools/docker/docker.class.d.ts +0 -10
  764. package/bundle/typescript/src/tools/docker/docker.class.js +0 -46
  765. package/bundle/typescript/src/tools/docker/docker.class.js.map +0 -1
  766. package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +0 -18
  767. package/bundle/typescript/src/tools/docker/docker.interfaces.js +0 -2
  768. package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +0 -1
  769. package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +0 -130
  770. package/bundle/typescript/src/tools/fsi/fsi.class.js +0 -685
  771. package/bundle/typescript/src/tools/fsi/fsi.class.js.map +0 -1
  772. package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +0 -190
  773. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +0 -64
  774. package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +0 -1
  775. package/bundle/typescript/src/tools/https/https.class.d.ts +0 -13
  776. package/bundle/typescript/src/tools/https/https.class.js +0 -302
  777. package/bundle/typescript/src/tools/https/https.class.js.map +0 -1
  778. package/bundle/typescript/src/tools/https/https.interface.d.ts +0 -40
  779. package/bundle/typescript/src/tools/https/https.interface.js +0 -2
  780. package/bundle/typescript/src/tools/https/https.interface.js.map +0 -1
  781. package/bundle/typescript/src/tools/log/log.class.d.ts +0 -33
  782. package/bundle/typescript/src/tools/log/log.class.js +0 -206
  783. package/bundle/typescript/src/tools/log/log.class.js.map +0 -1
  784. package/bundle/typescript/src/tools/log/log.interfaces.d.ts +0 -7
  785. package/bundle/typescript/src/tools/log/log.interfaces.js +0 -2
  786. package/bundle/typescript/src/tools/log/log.interfaces.js.map +0 -1
  787. package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +0 -26
  788. package/bundle/typescript/src/tools/mpi/mpi.class.js +0 -523
  789. package/bundle/typescript/src/tools/mpi/mpi.class.js.map +0 -1
  790. package/bundle/typescript/src/tools/options/options.class.d.ts +0 -11
  791. package/bundle/typescript/src/tools/options/options.class.js +0 -64
  792. package/bundle/typescript/src/tools/options/options.class.js.map +0 -1
  793. package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +0 -31
  794. package/bundle/typescript/src/tools/pkg/pkg.class.js +0 -314
  795. package/bundle/typescript/src/tools/pkg/pkg.class.js.map +0 -1
  796. package/bundle/typescript/src/tools/progress/progress.class.d.ts +0 -12
  797. package/bundle/typescript/src/tools/progress/progress.class.js +0 -42
  798. package/bundle/typescript/src/tools/progress/progress.class.js.map +0 -1
  799. package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +0 -198
  800. package/bundle/typescript/src/tools/scaffold/scaffold.class.js +0 -868
  801. package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +0 -1
  802. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +0 -4
  803. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +0 -42
  804. package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +0 -1
  805. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +0 -6
  806. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +0 -2
  807. package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +0 -1
  808. package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +0 -11
  809. package/bundle/typescript/src/tools/ssh/ssh.class.js +0 -120
  810. package/bundle/typescript/src/tools/ssh/ssh.class.js.map +0 -1
  811. package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +0 -21
  812. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +0 -2
  813. package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +0 -1
  814. package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +0 -17
  815. package/bundle/typescript/src/tools/ssl/ssl.class.js +0 -54
  816. package/bundle/typescript/src/tools/ssl/ssl.class.js.map +0 -1
  817. package/bundle/typescript/src/tools/ssl/ssl.interfaces.d.ts +0 -0
  818. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +0 -1
  819. package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +0 -1
@@ -1,895 +0,0 @@
1
- import path from 'path';
2
- import fs from 'fs';
3
- import { Generator } from '../../../generator.js';
4
- import { Log } from '../../../tools/log/log.class.js';
5
- import AuthGen from './auth.generator.js';
6
- import MakaGen from '../../../generators/maka.gen.js';
7
- import { ClientEngines, } from '../../../tools/fsi/fsi.interfaces.js';
8
- Generator.create({
9
- name: 'auth0',
10
- aliases: ['a0'],
11
- usage: 'maka {generate, g}:{kit, k}:{auth, a}:{auth0, a0}',
12
- shortDesc: 'Generate Auth0 authentication integration with Meteor accounts',
13
- validOpts: [{
14
- name: 'force',
15
- boolFlag: true,
16
- description: 'Overwrite existing files'
17
- }],
18
- isPro: true,
19
- resourceNameRequired: false,
20
- mustBeInMakaProject: true,
21
- requiredEngines: {
22
- client: ClientEngines.REACT,
23
- },
24
- description: `
25
- This kit generates an Auth0 authentication integration for your Meteor application.
26
-
27
- It includes:
28
- - Auth0 client SDK configuration
29
- - Server-side JWT token validation with JWKS
30
- - Account linking between Auth0 and Meteor
31
- - Seamless integration with existing authentication provider
32
- `
33
- }, async function (args, opts) {
34
- const { fsi, pkg, scaffold, projectConfig } = this;
35
- try {
36
- const shouldForce = opts.force || false;
37
- const projectDirectory = fsi.findProjectDirectory();
38
- const appPath = fsi.findAppDirectory();
39
- const isSsr = projectConfig.engines.ssr === 'meteor';
40
- const jsEngine = projectConfig.engines.js;
41
- Log.info('Setting up Auth0 authentication...');
42
- // Install required npm packages
43
- Log.info('Installing Auth0 dependencies...');
44
- await pkg.checkNpmPackage(['@auth0/auth0-spa-js', 'jsonwebtoken', 'jwks-rsa'], { shouldInstall: true });
45
- // Ensure auth provider exists
46
- await MakaGen.processAndRunGenerator('kit:auth:provider', [], { force: shouldForce, cwd: projectDirectory, config: projectConfig });
47
- // Ensure auth/roles publish exists
48
- await MakaGen.processAndRunGenerator('publish', ['auth/roles'], { force: shouldForce, globalPublish: true, cwd: projectDirectory, config: projectConfig });
49
- const resourceTopLevelPathLib = '/imports/startup/lib';
50
- const resourceTopLevelPathClient = isSsr ? '/imports/startup/lib' : '/imports/startup/client';
51
- const resourceTopLevelPathServer = '/imports/startup/server';
52
- // ===================================================================================
53
- // 1. Generate Auth0 Configuration (Shared)
54
- // ===================================================================================
55
- const pathToAuth0Config = scaffold.pathFromApp({
56
- pathParts: [
57
- resourceTopLevelPathLib,
58
- '',
59
- '',
60
- 'auth0-config'
61
- ]
62
- });
63
- await scaffold.template({
64
- srcPath: `kit/auth/service/auth0-config.js`,
65
- destPath: `${pathToAuth0Config}.${jsEngine}`,
66
- framework: 'react',
67
- context: {},
68
- config: projectConfig,
69
- force: shouldForce,
70
- ignore: false
71
- });
72
- // ===================================================================================
73
- // 2. Generate Auth0 Client (Client-side)
74
- // ===================================================================================
75
- const pathToAuth0Client = scaffold.pathFromApp({
76
- pathParts: [
77
- resourceTopLevelPathClient,
78
- '',
79
- '',
80
- 'auth0-client'
81
- ]
82
- });
83
- await scaffold.template({
84
- srcPath: `kit/auth/service/auth0-client.js`,
85
- destPath: `${pathToAuth0Client}.${jsEngine}`,
86
- framework: 'react',
87
- context: {},
88
- config: projectConfig,
89
- force: shouldForce,
90
- ignore: false
91
- });
92
- // ===================================================================================
93
- // 3. Generate Auth0 Validator (Server-side)
94
- // ===================================================================================
95
- const pathToAuth0Validator = scaffold.pathFromApp({
96
- pathParts: [
97
- resourceTopLevelPathServer,
98
- '',
99
- '',
100
- 'auth0-validator'
101
- ]
102
- });
103
- await scaffold.template({
104
- srcPath: `kit/auth/service/auth0-validator.js`,
105
- destPath: `${pathToAuth0Validator}.${jsEngine}`,
106
- framework: 'react',
107
- context: {},
108
- config: projectConfig,
109
- force: shouldForce,
110
- ignore: false
111
- });
112
- // ===================================================================================
113
- // 4. Generate Auth0 Methods (Server-side)
114
- // ===================================================================================
115
- const pathToAuth0Methods = scaffold.pathFromApp({
116
- pathParts: [
117
- resourceTopLevelPathServer,
118
- 'methods',
119
- '',
120
- 'auth0-methods'
121
- ]
122
- });
123
- await scaffold.template({
124
- srcPath: `kit/auth/service/auth0-methods.js`,
125
- destPath: `${pathToAuth0Methods}.${jsEngine}`,
126
- framework: 'react',
127
- context: {},
128
- config: projectConfig,
129
- force: shouldForce,
130
- ignore: false
131
- });
132
- // ===================================================================================
133
- // 5. Update authentication-service with Auth0 methods
134
- // ===================================================================================
135
- const pathToAuthService = scaffold.pathFromApp({
136
- pathParts: [
137
- resourceTopLevelPathClient,
138
- '',
139
- '',
140
- 'authentication-service'
141
- ]
142
- });
143
- // Import Auth0 client functions
144
- await scaffold.injectAtBeginningOfFile({
145
- filePath: `${pathToAuthService}.${jsEngine}`,
146
- content: `import {
147
- loginWithAuth0Redirect,
148
- loginWithAuth0Popup,
149
- handleAuth0Callback,
150
- logoutAuth0,
151
- getAuth0IdToken,
152
- getAuth0AccessToken,
153
- refreshAuth0Token,
154
- } from './auth0-client';
155
- `
156
- });
157
- // Add Auth0 methods to AuthService class
158
- const auth0Methods = `
159
- // ============================================================================
160
- // Auth0 Authentication Methods
161
- // ============================================================================
162
-
163
- /**
164
- * Login with Auth0 using redirect flow
165
- * User will be redirected to Auth0 login page
166
- */
167
- static async loginWithAuth0Redirect() {
168
- try {
169
- await loginWithAuth0Redirect();
170
- } catch (error) {
171
- console.error('Auth0 redirect login failed:', error);
172
- throw error;
173
- }
174
- }
175
-
176
- /**
177
- * Login with Auth0 using popup flow
178
- * Returns the authenticated Meteor user
179
- */
180
- static async loginWithAuth0Popup() {
181
- try {
182
- // Open Auth0 login popup and get tokens
183
- const { idToken, accessToken } = await loginWithAuth0Popup();
184
-
185
- // Call Meteor method to validate token and create/link user
186
- const result = await Meteor.callAsync('auth0.login', idToken, accessToken);
187
-
188
- // Login to Meteor with the generated token
189
- return new Promise((resolve, reject) => {
190
- Meteor.loginWithToken(result.token, (error) => {
191
- if (error) {
192
- reject(error);
193
- } else {
194
- resolve(Meteor.user());
195
- }
196
- });
197
- });
198
- } catch (error) {
199
- console.error('Auth0 popup login failed:', error);
200
- throw error;
201
- }
202
- }
203
-
204
- /**
205
- * Handle Auth0 callback after redirect
206
- * Call this method on your callback page
207
- */
208
- static async handleAuth0Callback() {
209
- try {
210
- // Handle the redirect and get tokens
211
- const { idToken, accessToken } = await handleAuth0Callback();
212
-
213
- // Call Meteor method to validate token and create/link user
214
- const result = await Meteor.callAsync('auth0.login', idToken, accessToken);
215
-
216
- // Login to Meteor with the generated token
217
- return new Promise((resolve, reject) => {
218
- Meteor.loginWithToken(result.token, (error) => {
219
- if (error) {
220
- reject(error);
221
- } else {
222
- resolve(Meteor.user());
223
- }
224
- });
225
- });
226
- } catch (error) {
227
- console.error('Auth0 callback handling failed:', error);
228
- throw error;
229
- }
230
- }
231
-
232
- /**
233
- * Link Auth0 account to currently logged in Meteor user
234
- */
235
- static async linkAuth0Account() {
236
- try {
237
- // Get current Auth0 tokens
238
- const idToken = await getAuth0IdToken();
239
- const accessToken = await getAuth0AccessToken();
240
-
241
- // Call Meteor method to link accounts
242
- await Meteor.callAsync('auth0.linkAccount', idToken, accessToken);
243
-
244
- return true;
245
- } catch (error) {
246
- console.error('Auth0 account linking failed:', error);
247
- throw error;
248
- }
249
- }
250
-
251
- /**
252
- * Unlink Auth0 account from current user
253
- */
254
- static async unlinkAuth0Account() {
255
- try {
256
- await Meteor.callAsync('auth0.unlinkAccount');
257
- return true;
258
- } catch (error) {
259
- console.error('Auth0 account unlinking failed:', error);
260
- throw error;
261
- }
262
- }
263
-
264
- /**
265
- * Logout from both Auth0 and Meteor
266
- */
267
- static async logoutAuth0() {
268
- try {
269
- // Logout from Meteor first
270
- await this.deauthenticateUser();
271
-
272
- // Then logout from Auth0
273
- await logoutAuth0();
274
- } catch (error) {
275
- console.error('Auth0 logout failed:', error);
276
- throw error;
277
- }
278
- }
279
-
280
- /**
281
- * Silently refresh the Auth0 token and update Meteor session
282
- * This is called automatically when the token is about to expire
283
- * Returns the updated expiry time
284
- */
285
- static async refreshAuth0Token() {
286
- try {
287
- // Get fresh tokens from Auth0 silently (using refresh token)
288
- const { idToken, accessToken } = await refreshAuth0Token();
289
-
290
- // Call Meteor method to validate and update tokens
291
- const result = await Meteor.callAsync('auth0.refreshToken', idToken, accessToken);
292
-
293
- return result;
294
- } catch (error) {
295
- console.error('Auth0 token refresh failed:', error);
296
- throw error;
297
- }
298
- }
299
- `;
300
- await scaffold.injectIntoFile({
301
- filePath: `${pathToAuthService}.${jsEngine}`,
302
- content: auth0Methods,
303
- begin: 'static async resetPasswordWithToken',
304
- end: '}\n\nexport default AuthService',
305
- replace: false
306
- });
307
- // ===================================================================================
308
- // 6. Update authentication-provider with Auth0 context methods
309
- // ===================================================================================
310
- const pathToAuthProvider = scaffold.pathFromApp({
311
- pathParts: [
312
- resourceTopLevelPathClient,
313
- '',
314
- '',
315
- 'authentication-provider'
316
- ]
317
- });
318
- // Import AuthService if not already imported
319
- await scaffold.injectAtBeginningOfFile({
320
- filePath: `${pathToAuthProvider}.${jsEngine}`,
321
- content: `import AuthService from './authentication-service';
322
- `
323
- });
324
- // Add Auth0 methods to context value
325
- const auth0ProviderMethods = ` loginWithAuth0Redirect: AuthService.loginWithAuth0Redirect,
326
- loginWithAuth0Popup: AuthService.loginWithAuth0Popup,
327
- linkAuth0Account: AuthService.linkAuth0Account,
328
- unlinkAuth0Account: AuthService.unlinkAuth0Account,
329
- `;
330
- await scaffold.injectIntoFile({
331
- filePath: `${pathToAuthProvider}.${jsEngine}`,
332
- content: auth0ProviderMethods,
333
- begin: 'const contextValue = useMemo\\(\\(\\) => \\(\\{',
334
- end: '\\}\\), \\[',
335
- replace: false
336
- });
337
- // Update the authentication-provider to delegate to AuthService
338
- const authProviderFilePath = `${pathToAuthProvider}.${jsEngine}`;
339
- let authProviderContent = fs.readFileSync(authProviderFilePath, 'utf8');
340
- // Replace placeholder auth functions with AuthService delegations
341
- authProviderContent = authProviderContent
342
- // Replace authenticateUser function
343
- .replace(/const authenticateUser = async \(username[^}]*\{[\s\S]*?throw new Error\('Invalid credentials'\);[\s\S]*?\};/, `const authenticateUser = async (username, password) => {
344
- return AuthService.authenticateUser(username, password);
345
- };`)
346
- // Replace authenticateToken function
347
- .replace(/const authenticateToken = async \(\)[^}]*\{[\s\S]*?throw new Error\('Invalid token'\);[\s\S]*?\};/, `const authenticateToken = async () => {
348
- return AuthService.authenticateToken();
349
- };`)
350
- // Replace getUserAuthorizations function
351
- .replace(/const getUserAuthorizations = async \(user[^}]*\{[\s\S]*?return \[\];[\s\S]*?\};/, `const getUserAuthorizations = async (user) => {
352
- return AuthService.getUserAuthorizations(user?._id);
353
- };`)
354
- // Replace deauthenticateUser function
355
- .replace(/const deauthenticateUser = async \(\)[^}]*\{[\s\S]*?return true;[\s\S]*?\};/, `const deauthenticateUser = async () => {
356
- return AuthService.deauthenticateUser();
357
- };`)
358
- // Replace sendForgotPasswordEmail function
359
- .replace(/const sendForgotPasswordEmail = async \(email[^}]*\{[\s\S]*?return true;[\s\S]*?\};/, `const sendForgotPasswordEmail = async (email) => {
360
- return AuthService.sendForgotPasswordEmail(email);
361
- };`)
362
- // Replace registerNewUser function
363
- .replace(/const registerNewUser = async \(email, password[^}]*\{[\s\S]*?return true;[\s\S]*?\};/, `const registerNewUser = async (email, password) => {
364
- return AuthService.registerNewUser(email, password);
365
- };`)
366
- // Replace resetPasswordWithToken function
367
- .replace(/const resetPasswordWithToken = async \(token, password[^}]*\{[\s\S]*?return true;[\s\S]*?\};/, `const resetPasswordWithToken = async (token, password) => {
368
- return AuthService.resetPasswordWithToken(token, password);
369
- };`);
370
- fs.writeFileSync(authProviderFilePath, authProviderContent, 'utf8');
371
- // Add automatic Auth0 token refresh monitoring
372
- const auth0TokenRefreshHook = jsEngine === 'tsx' ? `
373
- // Auth0 automatic token refresh
374
- // This hook monitors the Auth0 token expiration and refreshes it 15 seconds before expiry
375
- useEffect(() => {
376
- if (!currentUser) return;
377
-
378
- let refreshTimer: NodeJS.Timeout;
379
-
380
- const scheduleTokenRefresh = async () => {
381
- try {
382
- // Check if user has Auth0 account linked
383
- const user = Meteor.user();
384
- if (!user?.services?.auth0) return;
385
-
386
- // Get token expiry from server
387
- const tokenInfo = await Meteor.callAsync('auth0.checkTokenValidity');
388
-
389
- if (!tokenInfo.isValid) {
390
- // Token already expired, refresh immediately
391
- await AuthService.refreshAuth0Token();
392
- scheduleTokenRefresh(); // Schedule next refresh
393
- } else if (tokenInfo.expiresAt) {
394
- // Calculate time until 15 seconds before expiry
395
- const expiresAt = new Date(tokenInfo.expiresAt).getTime();
396
- const now = Date.now();
397
- const refreshIn = expiresAt - now - 15000; // Refresh 15 seconds before expiry
398
-
399
- if (refreshIn > 0) {
400
- // Schedule refresh
401
- refreshTimer = setTimeout(async () => {
402
- try {
403
- await AuthService.refreshAuth0Token();
404
- scheduleTokenRefresh(); // Schedule next refresh after successful refresh
405
- } catch (error) {
406
- console.error('Failed to refresh Auth0 token:', error);
407
- // If refresh fails, user will be logged out when token expires
408
- }
409
- }, refreshIn);
410
- } else {
411
- // Less than 15 seconds until expiry, refresh now
412
- await AuthService.refreshAuth0Token();
413
- scheduleTokenRefresh();
414
- }
415
- }
416
- } catch (error) {
417
- console.error('Error scheduling token refresh:', error);
418
- }
419
- };
420
-
421
- scheduleTokenRefresh();
422
-
423
- return () => {
424
- if (refreshTimer) {
425
- clearTimeout(refreshTimer);
426
- }
427
- };
428
- }, [currentUser]);
429
- ` : `
430
- // Auth0 automatic token refresh
431
- // This hook monitors the Auth0 token expiration and refreshes it 15 seconds before expiry
432
- useEffect(() => {
433
- if (!currentUser) return;
434
-
435
- let refreshTimer;
436
-
437
- const scheduleTokenRefresh = async () => {
438
- try {
439
- // Check if user has Auth0 account linked
440
- const user = Meteor.user();
441
- if (!user?.services?.auth0) return;
442
-
443
- // Get token expiry from server
444
- const tokenInfo = await Meteor.callAsync('auth0.checkTokenValidity');
445
-
446
- if (!tokenInfo.isValid) {
447
- // Token already expired, refresh immediately
448
- await AuthService.refreshAuth0Token();
449
- scheduleTokenRefresh(); // Schedule next refresh
450
- } else if (tokenInfo.expiresAt) {
451
- // Calculate time until 15 seconds before expiry
452
- const expiresAt = new Date(tokenInfo.expiresAt).getTime();
453
- const now = Date.now();
454
- const refreshIn = expiresAt - now - 15000; // Refresh 15 seconds before expiry
455
-
456
- if (refreshIn > 0) {
457
- // Schedule refresh
458
- refreshTimer = setTimeout(async () => {
459
- try {
460
- await AuthService.refreshAuth0Token();
461
- scheduleTokenRefresh(); // Schedule next refresh after successful refresh
462
- } catch (error) {
463
- console.error('Failed to refresh Auth0 token:', error);
464
- // If refresh fails, user will be logged out when token expires
465
- }
466
- }, refreshIn);
467
- } else {
468
- // Less than 15 seconds until expiry, refresh now
469
- await AuthService.refreshAuth0Token();
470
- scheduleTokenRefresh();
471
- }
472
- }
473
- } catch (error) {
474
- console.error('Error scheduling token refresh:', error);
475
- }
476
- };
477
-
478
- scheduleTokenRefresh();
479
-
480
- return () => {
481
- if (refreshTimer) {
482
- clearTimeout(refreshTimer);
483
- }
484
- };
485
- }, [currentUser]);
486
- `;
487
- await scaffold.injectIntoFile({
488
- filePath: authProviderFilePath,
489
- content: auth0TokenRefreshHook,
490
- begin: 'useEffect\\(\\(\\) => \\{[\\s\\S]*?clearTimeout\\(logoutTimer\\);[\\s\\S]*?\\};[\\s\\S]*?\\}, \\[currentUser, timeoutDuration\\]\\);',
491
- end: 'const contextValue = useMemo',
492
- replace: false
493
- });
494
- // ===================================================================================
495
- // 7. Import auth0-methods on server startup
496
- // ===================================================================================
497
- const serverIndexFilePath = scaffold.pathFromApp({
498
- pathParts: [
499
- 'imports',
500
- 'startup',
501
- 'server',
502
- 'index'
503
- ]
504
- });
505
- await scaffold.injectAtEndOfFile({
506
- filePath: `${serverIndexFilePath}.${jsEngine}`,
507
- content: `import './methods/auth0-methods';
508
- `
509
- });
510
- // ===================================================================================
511
- // 8. Create settings.json example file
512
- // ===================================================================================
513
- const settingsExamplePath = path.join(projectDirectory, 'settings.auth0.json');
514
- const settingsExample = {
515
- public: {
516
- auth0: {
517
- domain: 'YOUR_AUTH0_DOMAIN.auth0.com',
518
- clientId: 'YOUR_AUTH0_CLIENT_ID',
519
- audience: 'https://YOUR_AUTH0_DOMAIN.auth0.com/api/v2/',
520
- redirectUri: 'http://localhost:3000/auth/callback',
521
- scope: 'openid profile email'
522
- }
523
- },
524
- auth0: {
525
- domain: 'YOUR_AUTH0_DOMAIN.auth0.com',
526
- clientId: 'YOUR_AUTH0_CLIENT_ID',
527
- clientSecret: 'YOUR_AUTH0_CLIENT_SECRET',
528
- audience: 'https://YOUR_AUTH0_DOMAIN.auth0.com/api/v2/',
529
- redirectUri: 'http://localhost:3000/auth/callback',
530
- scope: 'openid profile email'
531
- }
532
- };
533
- if (!fsi.isFile(settingsExamplePath) || shouldForce) {
534
- fsi.writeToFile({
535
- filePath: settingsExamplePath,
536
- data: JSON.stringify(settingsExample, null, 2)
537
- });
538
- }
539
- // ===================================================================================
540
- // 9. Create .env.example file
541
- // ===================================================================================
542
- const envExamplePath = path.join(projectDirectory, '.env.auth0.example');
543
- const envExample = `# Auth0 Configuration
544
- # Copy this to your settings.json or .env file and fill in your Auth0 credentials
545
-
546
- AUTH0_DOMAIN=your-domain.auth0.com
547
- AUTH0_CLIENT_ID=your_client_id
548
- AUTH0_CLIENT_SECRET=your_client_secret
549
- AUTH0_AUDIENCE=https://your-domain.auth0.com/api/v2/
550
- AUTH0_REDIRECT_URI=http://localhost:3000/auth/callback
551
- AUTH0_SCOPE=openid profile email
552
- `;
553
- if (!fsi.isFile(envExamplePath) || shouldForce) {
554
- fsi.writeToFile({
555
- filePath: envExamplePath,
556
- data: envExample
557
- });
558
- }
559
- // ===================================================================================
560
- // 10. Create README documentation
561
- // ===================================================================================
562
- const readmePath = path.join(projectDirectory, 'README.auth0.md');
563
- const readmeContent = `# Auth0 Authentication Integration
564
-
565
- This document explains how Auth0 authentication has been integrated into your Meteor application.
566
-
567
- ## Overview
568
-
569
- This integration provides a complete Auth0 authentication solution that:
570
-
571
- - ✅ Supports both redirect and popup login flows
572
- - ✅ Validates JWT tokens server-side using JWKS
573
- - ✅ Automatically creates or links Meteor user accounts
574
- - ✅ Allows account linking for existing users
575
- - ✅ Provides seamless integration with your existing AuthContext
576
-
577
- ## Architecture
578
-
579
- ### Client-Side Components
580
-
581
- **\`${resourceTopLevelPathLib}/auth0-config.${jsEngine}\`**
582
- - Centralized Auth0 configuration
583
- - Reads settings from \`Meteor.settings.public.auth0\`
584
- - Provides configuration for both client and server
585
-
586
- **\`${resourceTopLevelPathClient}/auth0-client.${jsEngine}\`**
587
- - Auth0 SDK wrapper functions
588
- - Handles login redirects and popups
589
- - Manages Auth0 client instance
590
- - Retrieves ID tokens
591
-
592
- **\`${resourceTopLevelPathClient}/authentication-service.${jsEngine}\`**
593
- - Extended with Auth0 authentication methods
594
- - Bridges Auth0 with Meteor accounts
595
- - Provides static methods for all Auth0 operations
596
-
597
- **\`${resourceTopLevelPathClient}/authentication-provider.${jsEngine}\`**
598
- - Context updated with Auth0 methods
599
- - Makes Auth0 functions available throughout your app
600
-
601
- ### Server-Side Components
602
-
603
- **\`${resourceTopLevelPathServer}/auth0-validator.${jsEngine}\`**
604
- - JWT token validation using JWKS
605
- - Verifies token signature and claims
606
- - Creates/updates user accounts from Auth0 data
607
-
608
- **\`${resourceTopLevelPathServer}/methods/auth0-methods.${jsEngine}\`**
609
- - Meteor methods for Auth0 operations
610
- - \`auth0.login\` - Authenticates with ID token
611
- - \`auth0.linkAccount\` - Links Auth0 to existing user
612
- - \`auth0.unlinkAccount\` - Removes Auth0 link
613
-
614
- ## Setup Instructions
615
-
616
- ### 1. Configure Auth0 Application
617
-
618
- 1. Go to [Auth0 Dashboard](https://manage.auth0.com/)
619
- 2. Create a new application (Single Page Application)
620
- 3. Configure the following settings:
621
- - **Allowed Callback URLs**: \`http://localhost:3000/auth/callback\`
622
- - **Allowed Logout URLs**: \`http://localhost:3000\`
623
- - **Allowed Web Origins**: \`http://localhost:3000\`
624
- - **Allowed Origins (CORS)**: \`http://localhost:3000\`
625
-
626
- ### 2. Update Configuration
627
-
628
- Edit \`settings.auth0.json\` with your Auth0 credentials:
629
-
630
- \`\`\`json
631
- {
632
- "public": {
633
- "auth0": {
634
- "domain": "your-domain.auth0.com",
635
- "clientId": "your_client_id",
636
- "audience": "https://your-domain.auth0.com/api/v2/",
637
- "redirectUri": "http://localhost:3000/auth/callback",
638
- "scope": "openid profile email"
639
- }
640
- },
641
- "auth0": {
642
- "domain": "your-domain.auth0.com",
643
- "clientId": "your_client_id",
644
- "clientSecret": "your_client_secret",
645
- "audience": "https://your-domain.auth0.com/api/v2/",
646
- "redirectUri": "http://localhost:3000/auth/callback",
647
- "scope": "openid profile email"
648
- }
649
- }
650
- \`\`\`
651
-
652
- ### 3. Start Your Application
653
-
654
- \`\`\`bash
655
- cd app
656
- meteor --settings ../settings.auth0.json
657
- \`\`\`
658
-
659
- ## Usage
660
-
661
- ### Using Auth0 in Components
662
-
663
- The Auth0 methods are available through the AuthContext:
664
-
665
- \`\`\`${jsEngine === 'tsx' ? 'typescript' : 'javascript'}
666
- import React, { useContext } from 'react';
667
- import { AuthContext } from '${resourceTopLevelPathClient}/authentication-provider';
668
-
669
- function LoginButton() {
670
- const auth = useContext(AuthContext);
671
-
672
- const handleLogin = async () => {
673
- try {
674
- // Option 1: Redirect flow (recommended)
675
- await auth.loginWithAuth0Redirect?.();
676
-
677
- // Option 2: Popup flow
678
- // const user = await auth.loginWithAuth0Popup?.();
679
- // console.log('Logged in user:', user);
680
- } catch (error) {
681
- console.error('Login failed:', error);
682
- }
683
- };
684
-
685
- return <button onClick={handleLogin}>Login with Auth0</button>;
686
- }
687
- \`\`\`
688
-
689
- ### Using AuthService Directly
690
-
691
- You can also use the AuthService static methods:
692
-
693
- \`\`\`${jsEngine === 'tsx' ? 'typescript' : 'javascript'}
694
- import AuthService from '${resourceTopLevelPathClient}/authentication-service';
695
-
696
- // Redirect login
697
- await AuthService.loginWithAuth0Redirect();
698
-
699
- // Popup login
700
- const user = await AuthService.loginWithAuth0Popup();
701
-
702
- // Handle callback (use in callback page)
703
- const user = await AuthService.handleAuth0Callback();
704
-
705
- // Link Auth0 to logged-in user
706
- await AuthService.linkAuth0Account();
707
-
708
- // Unlink Auth0 account
709
- await AuthService.unlinkAuth0Account();
710
-
711
- // Logout from both Auth0 and Meteor
712
- await AuthService.logoutAuth0();
713
- \`\`\`
714
-
715
- ## Authentication Flow
716
-
717
- ### Redirect Flow
718
-
719
- 1. User clicks login button
720
- 2. \`loginWithAuth0Redirect()\` redirects to Auth0 login page
721
- 3. User authenticates with Auth0
722
- 4. Auth0 redirects back to \`/auth/callback\`
723
- 5. Callback page calls \`handleAuth0Callback()\`
724
- 6. Server validates JWT and creates/links Meteor user
725
- 7. User is logged into Meteor and redirected to home page
726
-
727
- ### Popup Flow
728
-
729
- 1. User clicks login button
730
- 2. \`loginWithAuth0Popup()\` opens Auth0 login in popup
731
- 3. User authenticates with Auth0
732
- 4. Popup closes and ID token is returned
733
- 5. Server validates JWT and creates/links Meteor user
734
- 6. User is logged into Meteor
735
- 7. Component receives user object
736
-
737
- ## Account Linking
738
-
739
- Users can link their Auth0 account to an existing Meteor account:
740
-
741
- \`\`\`${jsEngine === 'tsx' ? 'typescript' : 'javascript'}
742
- // User must be logged in first
743
- const auth = useContext(AuthContext);
744
- await auth.linkAuth0Account?.();
745
- \`\`\`
746
-
747
- This allows users to:
748
- - Login with either Meteor credentials or Auth0
749
- - Maintain a single user account with multiple login methods
750
- - Unlink Auth0 if they no longer want to use it
751
-
752
- ## User Data Structure
753
-
754
- When a user logs in with Auth0, their Meteor user document includes:
755
-
756
- \`\`\`javascript
757
- {
758
- _id: "userId",
759
- emails: [{ address: "user@example.com", verified: true }],
760
- profile: { name: "John Doe" },
761
- services: {
762
- auth0: {
763
- id: "auth0|123456789",
764
- email: "user@example.com",
765
- name: "John Doe",
766
- picture: "https://...",
767
- email_verified: true
768
- }
769
- }
770
- }
771
- \`\`\`
772
-
773
- ## Security Features
774
-
775
- - **JWT Validation**: Tokens are verified using Auth0's JWKS endpoint
776
- - **Token Expiration**: Tokens are checked for expiration
777
- - **Issuer Verification**: Ensures tokens come from your Auth0 domain
778
- - **Audience Verification**: Validates tokens are for your application
779
- - **Account Linking Protection**: Prevents duplicate account linking
780
-
781
- ## Troubleshooting
782
-
783
- ### "Login failed: Invalid token" Error After Successful Login
784
-
785
- If you see this error message even though you're logged in, it's because the placeholder token validation code is still running. The Auth0 kit automatically comments out this code, but if you see this error:
786
-
787
- 1. Check your \`authentication-provider.${jsEngine}\` file
788
- 2. Look for the \`loginUserWithToken\` call in the \`useEffect\` hook
789
- 3. Ensure it's commented out (the generator does this automatically)
790
- 4. Meteor's authentication system handles token validation automatically
791
-
792
- ### "Invalid token" Error During Login
793
-
794
- - Check that your Auth0 domain and clientId are correct
795
- - Verify the token hasn't expired
796
- - Ensure your Auth0 application settings are configured correctly
797
- - Make sure the domain in settings.json doesn't include \`https://\` (the kit handles this automatically)
798
-
799
- ### "Auth0 configuration missing" Error
800
-
801
- - Make sure you're starting Meteor with \`--settings ../settings.auth0.json\`
802
- - Verify the settings file contains all required Auth0 configuration
803
-
804
- ### Callback URL Mismatch
805
-
806
- - Ensure the callback URL in Auth0 dashboard matches your \`redirectUri\`
807
- - For production, update the callback URL to your production domain
808
-
809
- ### CORS Errors
810
-
811
- - Add your domain to "Allowed Web Origins" in Auth0 dashboard
812
- - Ensure "Allowed Origins (CORS)" includes your domain
813
-
814
- ## API Reference
815
-
816
- ### AuthService Methods
817
-
818
- #### \`loginWithAuth0Redirect()\`
819
- Redirects user to Auth0 login page. User will leave your application.
820
-
821
- **Returns**: Promise<void>
822
-
823
- #### \`loginWithAuth0Popup()\`
824
- Opens Auth0 login in a popup window. User stays on your application.
825
-
826
- **Returns**: Promise<User>
827
-
828
- #### \`handleAuth0Callback()\`
829
- Handles the OAuth callback after redirect. Call this on your callback page.
830
-
831
- **Returns**: Promise<User>
832
-
833
- #### \`linkAuth0Account()\`
834
- Links Auth0 account to currently logged-in Meteor user.
835
-
836
- **Returns**: Promise<boolean>
837
-
838
- **Throws**: Error if user not logged in or account already linked
839
-
840
- #### \`unlinkAuth0Account()\`
841
- Removes Auth0 link from current user.
842
-
843
- **Returns**: Promise<boolean>
844
-
845
- **Throws**: Error if Auth0 is the only login method
846
-
847
- #### \`logoutAuth0()\`
848
- Logs out from both Meteor and Auth0.
849
-
850
- **Returns**: Promise<void>
851
-
852
- ## Next Steps
853
-
854
- 1. **Generate UI Components**: Run \`maka g:k:m:auth0\` to generate MUI login components
855
- 2. **Customize User Profile**: Add additional user fields from Auth0 token
856
- 3. **Add Roles**: Integrate with \`alanning:roles\` for authorization
857
- 4. **Production Setup**: Update callback URLs for production domain
858
- 5. **Social Connections**: Enable social login providers in Auth0 dashboard
859
-
860
- ## Additional Resources
861
-
862
- - [Auth0 Documentation](https://auth0.com/docs)
863
- - [Auth0 SPA SDK](https://auth0.com/docs/libraries/auth0-spa-js)
864
- - [Meteor Accounts](https://docs.meteor.com/api/accounts.html)
865
- - [JWT.io](https://jwt.io/) - Debug JWT tokens
866
-
867
- ## Support
868
-
869
- For issues specific to this integration, please check:
870
- - Auth0 dashboard for application configuration
871
- - Browser console for client-side errors
872
- - Meteor server logs for server-side errors
873
- - Network tab to inspect Auth0 API calls
874
- `;
875
- if (!fsi.isFile(readmePath) || shouldForce) {
876
- fsi.writeToFile({
877
- filePath: readmePath,
878
- data: readmeContent
879
- });
880
- Log.success('✓ Created README.auth0.md documentation');
881
- }
882
- Log.success('\n✓ Auth0 authentication integration generated successfully!');
883
- Log.info('\nNext steps:');
884
- Log.info('1. Configure your Auth0 application at https://manage.auth0.com/');
885
- Log.info('2. Update settings.auth0.json with your Auth0 credentials');
886
- Log.info('3. Start your app with: meteor --settings ../settings.auth0.json');
887
- Log.info('4. Use AuthService.loginWithAuth0Redirect() or AuthService.loginWithAuth0Popup() in your components');
888
- Log.info('\n📖 For detailed documentation, see README.auth0.md');
889
- }
890
- catch (e) {
891
- Log.error(e);
892
- process.exit(1);
893
- }
894
- }, async function () { }, AuthGen);
895
- //# sourceMappingURL=auth0-meteor.auth.gen.js.map