@maka/maka-cli 5.1.10 → 5.1.14

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 (183) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -0
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -0
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -0
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -0
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version/_index.js +1 -0
  105. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -0
  106. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -0
  107. package/bundle/obf/src/commands/version/version.js +1 -0
  108. package/bundle/obf/src/error.js +1 -1
  109. package/bundle/obf/src/exec.js +1 -1
  110. package/bundle/obf/src/generator.js +1 -1
  111. package/bundle/obf/src/generators/_index.js +1 -1
  112. package/bundle/obf/src/generators/api.js +1 -1
  113. package/bundle/obf/src/generators/aws/_index.js +1 -1
  114. package/bundle/obf/src/generators/aws/aws.js +1 -1
  115. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  118. package/bundle/obf/src/generators/collection.js +1 -1
  119. package/bundle/obf/src/generators/component.js +1 -1
  120. package/bundle/obf/src/generators/config.js +1 -1
  121. package/bundle/obf/src/generators/dbc.js +1 -1
  122. package/bundle/obf/src/generators/dockerfile.js +1 -1
  123. package/bundle/obf/src/generators/hook.js +1 -1
  124. package/bundle/obf/src/generators/kits/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/kit.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  137. package/bundle/obf/src/generators/layout.js +1 -1
  138. package/bundle/obf/src/generators/maka.gen.js +1 -1
  139. package/bundle/obf/src/generators/methods.js +1 -1
  140. package/bundle/obf/src/generators/package.js +1 -1
  141. package/bundle/obf/src/generators/page.js +1 -1
  142. package/bundle/obf/src/generators/publish.js +1 -1
  143. package/bundle/obf/src/generators/route.js +1 -1
  144. package/bundle/obf/src/generators/service.js +1 -1
  145. package/bundle/obf/src/generators/services/_index.js +1 -1
  146. package/bundle/obf/src/generators/services/openssl.js +1 -1
  147. package/bundle/obf/src/generators/services/translation.js +1 -1
  148. package/bundle/obf/src/maka.js +1 -1
  149. package/bundle/obf/src/tool.js +1 -1
  150. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  151. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  154. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/https/https.class.js +1 -1
  159. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  160. package/bundle/obf/src/tools/log/log.class.js +1 -1
  161. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  163. package/bundle/obf/src/tools/options/options.class.js +1 -1
  164. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  165. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  166. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  167. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  171. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  172. package/package.json +1 -1
  173. package/bundle/obf/src/commands/test/_index.js +0 -1
  174. package/bundle/obf/src/commands/test/jest.sub.cmd.js +0 -1
  175. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +0 -1
  176. package/bundle/obf/src/commands/test/test.command.js +0 -1
  177. package/bundle/obf/src/commands/version.js +0 -1
  178. package/bundle/obf/src/templates/react/test/test.js +0 -1
  179. package/bundle/obf/src/templates/react/test/test.js.jsx +0 -38
  180. package/bundle/obf/src/templates/react/test/test.js.ts +0 -1
  181. package/bundle/obf/src/templates/react/test/test.js.tsx +0 -38
  182. package/bundle/obf/src/templates/service/test/jest/jest.config.js +0 -6
  183. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +0 -7
@@ -1 +1 @@
1
- const a165p=a165d;(function(a,b){const m=a165d,c=a();while(!![]){try{const d=parseInt(m(0x12b))/0x1+parseInt(m(0x132))/0x2*(parseInt(m(0x124))/0x3)+-parseInt(m(0x127))/0x4*(parseInt(m(0x12a))/0x5)+-parseInt(m(0x11d))/0x6*(-parseInt(m(0x134))/0x7)+-parseInt(m(0x136))/0x8*(parseInt(m(0x115))/0x9)+parseInt(m(0x13d))/0xa+-parseInt(m(0x135))/0xb*(parseInt(m(0x13c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0xb0875));function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x111;let f=c[d];return f;},a165d(a,b);}const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a165d;if(c){const e=c[n(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const o=a165d;return a165a['toString']()[o(0x11a)](o(0x12c))[o(0x11c)]()['constructor'](a165a)[o(0x11a)](o(0x12c));});a165a();import a165e from'path';function a165c(){const x=['inherit','join','disconnect','stderr','silentOutput','1906836AKTvSu','9036300wJsGeI','sshSync','host','concat','ConnectTimeout=2','36Kfsehk','pipe','utf-8','tty','ssh','search','status','toString','1955244GjmWEk','push','port','source','error','close','user','27OtoypF','scp','success','1806452drMJfA','verbose','failure','5XgRJbI','251365EqroXz','(((.+)+)+)+$','ssh\x20','pem','sshVerbose','apply','env','270786tBPAOp','message','7UnDMXS','88qxHSwv','507016vNNnlD'];a165c=function(){return x;};return a165c();}import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';export class SSH{static [a165p(0x119)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a165d,f=b[q(0x123)]+'@'+b[q(0x112)],g=a165e[q(0x138)](b[q(0x131)],b[q(0x12e)]),h=c?.['tty']||![],i=c?.['sshVerbose']||![];let j=[];h&&j['push']('-t');i&&j[q(0x11e)]('-v');j=j[q(0x113)](['-o',q(0x114),'-i',g,'-p',b['port'],f,a]);const k=Log['withSpinner']();c?.[q(0x133)]&&k['start'](c?.['message']);const l=spawn(q(0x119),j,{'stdio':c?.[q(0x128)]?q(0x137):'ignore'});l['on'](q(0x139),()=>{const r=q;c?.[r(0x133)]&&k['success'](),d();}),l['on'](q(0x122),()=>{const s=q;c?.[s(0x133)]&&k[s(0x126)](),d();}),l['on'](q(0x121),()=>{const t=q;c?.[t(0x133)]&&k[t(0x129)](),e();});});};static [a165p(0x111)]=(a,b,c)=>{const u=a165p,d=b[u(0x123)]+'@'+b[u(0x112)],e=a165e[u(0x138)](b['env'],b[u(0x12e)]),f=c?.[u(0x118)]||![],g=c?.[u(0x12f)]||![],h=c?.[u(0x13b)]||![];let i=[];f&&i[u(0x11e)]('-t');g&&i[u(0x11e)]('-v');i=i[u(0x113)](['-o','ConnectTimeout=2','-i',e,'-p',b[u(0x11f)][u(0x11c)](),d,a]);const j=h?u(0x116):u(0x137),k=spawnSync(u(0x119),i,{'encoding':u(0x117),'stdio':[j,u(0x116),u(0x116)]});if(h)return{'stdout':k['stdout']||'','stderr':k[u(0x13a)]||'','status':k[u(0x11b)]};};static['ping'](a,b,c){const v=a165p,d=b['user']+'@'+b['host'],e=a165e[v(0x138)](b[v(0x131)],b[v(0x12e)]),f=c?.[v(0x118)]||![];let g=[];f&&g[v(0x11e)]('-t');g=g[v(0x113)](['-o',v(0x114),'-i',e,'-p',b[v(0x11f)],d,a,'2>&1']);const h=v(0x12d)+g[v(0x138)]('\x20');return execSync(h)[v(0x11c)]();}static[a165p(0x125)](a,b){const w=a165p,c=b[w(0x123)]+'@'+b[w(0x112)]+':'+a['dest'],d=a165e[w(0x138)](b['env'],b[w(0x12e)]),e=['-i',d,'-P',b[w(0x11f)],a[w(0x120)],c];spawnSync(w(0x125),e,{'stdio':a['verbose']?w(0x137):'ignore'});}}
1
+ const a168p=a168d;function a168d(a,b){const c=a168c();return a168d=function(d,e){d=d-0x108;let f=c[d];return f;},a168d(a,b);}(function(a,b){const m=a168d,c=a();while(!![]){try{const d=-parseInt(m(0x111))/0x1*(parseInt(m(0x119))/0x2)+parseInt(m(0x129))/0x3+parseInt(m(0x12c))/0x4+parseInt(m(0x120))/0x5*(parseInt(m(0x11d))/0x6)+-parseInt(m(0x12d))/0x7*(parseInt(m(0x118))/0x8)+-parseInt(m(0x130))/0x9+parseInt(m(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a168c,0x429f0));const a168b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a168d;if(c){const e=c[n(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a168a=a168b(this,function(){const o=a168d;return a168a[o(0x128)]()['search'](o(0x133))['toString']()[o(0x122)](a168a)[o(0x110)]('(((.+)+)+)+$');});a168a();import a168e from'path';import{execSync,spawnSync,spawn}from'child_process';import{Log}from'../log/log.class.js';function a168c(){const w=['pem','message','dest','search','412219pLhTwY','ssh','close','ping','port','stdout','ConnectTimeout=2','80kxQMdW','2Pnzfmi','stderr','scp','apply','143370IWvhEW','sshSync','user','95JdALtG','verbose','constructor','withSpinner','concat','sshVerbose','error','inherit','toString','1445499lPGIpj','3376260hKtqSn','source','1298144kxOdtl','325927TsLOqe','2>&1','ignore','4025619EqiEwL','tty','push','(((.+)+)+)+$','env','pipe','success','ssh\x20','join','host'];a168c=function(){return w;};return a168c();}export class SSH{static [a168p(0x112)]=(a,b,c)=>{return new Promise((d,e)=>{const q=a168d,f=b['user']+'@'+b[q(0x10c)],g=a168e['join'](b[q(0x134)],b[q(0x10d)]),h=c?.[q(0x131)]||![],i=c?.[q(0x125)]||![];let j=[];h&&j[q(0x132)]('-t');i&&j[q(0x132)]('-v');j=j['concat'](['-o',q(0x117),'-i',g,'-p',b[q(0x115)],f,a]);const k=Log[q(0x123)]();c?.[q(0x10e)]&&k['start'](c?.[q(0x10e)]);const l=spawn(q(0x112),j,{'stdio':c?.[q(0x121)]?q(0x127):q(0x12f)});l['on']('disconnect',()=>{c?.['message']&&k['success'](),d();}),l['on'](q(0x113),()=>{const r=q;c?.[r(0x10e)]&&k[r(0x109)](),d();}),l['on'](q(0x126),()=>{const s=q;c?.[s(0x10e)]&&k['failure'](),e();});});};static [a168p(0x11e)]=(a,b,c)=>{const t=a168p,d=b[t(0x11f)]+'@'+b['host'],e=a168e[t(0x10b)](b[t(0x134)],b['pem']),f=c?.[t(0x131)]||![],g=c?.[t(0x125)]||![],h=c?.['silentOutput']||![];let i=[];f&&i['push']('-t');g&&i[t(0x132)]('-v');i=i['concat'](['-o',t(0x117),'-i',e,'-p',b[t(0x115)][t(0x128)](),d,a]);const j=h?t(0x108):'inherit',k=spawnSync('ssh',i,{'encoding':'utf-8','stdio':[j,t(0x108),'pipe']});if(h)return{'stdout':k[t(0x116)]||'','stderr':k[t(0x11a)]||'','status':k['status']};};static[a168p(0x114)](a,b,c){const u=a168p,d=b['user']+'@'+b['host'],e=a168e['join'](b[u(0x134)],b[u(0x10d)]),f=c?.['tty']||![];let g=[];f&&g['push']('-t');g=g[u(0x124)](['-o',u(0x117),'-i',e,'-p',b[u(0x115)],d,a,u(0x12e)]);const h=u(0x10a)+g[u(0x10b)]('\x20');return execSync(h)[u(0x128)]();}static[a168p(0x11b)](a,b){const v=a168p,c=b['user']+'@'+b[v(0x10c)]+':'+a[v(0x10f)],d=a168e['join'](b[v(0x134)],b[v(0x10d)]),e=['-i',d,'-P',b['port'],a[v(0x12b)],c];spawnSync(v(0x11b),e,{'stdio':a[v(0x121)]?v(0x127):'ignore'});}}
@@ -1 +1 @@
1
- (function(a,b){var f=a166d,c=a();while(!![]){try{var d=-parseInt(f(0x112))/0x1+parseInt(f(0x10d))/0x2+parseInt(f(0x10f))/0x3+-parseInt(f(0x114))/0x4+parseInt(f(0x113))/0x5+parseInt(f(0x116))/0x6+-parseInt(f(0x115))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0x59f27));var a166b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){var g=a166d;return a166a[g(0x110)]()[g(0x10c)]('(((.+)+)+)+$')[g(0x110)]()[g(0x111)](a166a)[g(0x10c)](g(0x10e));});a166a();function a166c(){var h=['2455550JlazAz','1350564WEpQkG','3122644TpdNEe','3444318MIBzGv','search','531370XvQfOW','(((.+)+)+)+$','1116750yLyylW','toString','constructor','550942rfIOGg'];a166c=function(){return h;};return a166c();}function a166d(a,b){var c=a166c();return a166d=function(d,e){d=d-0x10c;var f=c[d];return f;},a166d(a,b);}export{};
1
+ function a169c(){var i=['10467930GcNWNd','apply','5988954xnAaNl','13180QNjYQp','12169926FRHgld','405ZXNrwZ','6538735Vbpeeo','3602EvMhTg','constructor','410527MZrgNb','search','148apQnst','8dJDPXa'];a169c=function(){return i;};return a169c();}function a169d(a,b){var c=a169c();return a169d=function(d,e){d=d-0x103;var f=c[d];return f;},a169d(a,b);}(function(a,b){var f=a169d,c=a();while(!![]){try{var d=parseInt(f(0x10a))/0x1+parseInt(f(0x108))/0x2*(-parseInt(f(0x106))/0x3)+-parseInt(f(0x10c))/0x4*(-parseInt(f(0x104))/0x5)+-parseInt(f(0x103))/0x6+-parseInt(f(0x107))/0x7*(parseInt(f(0x10d))/0x8)+parseInt(f(0x105))/0x9+parseInt(f(0x10e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a169c,0xb2a13));var a169b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a169d;if(c){var e=c[g(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a169a=a169b(this,function(){var h=a169d;return a169a['toString']()[h(0x10b)]('(((.+)+)+)+$')['toString']()[h(0x109)](a169a)[h(0x10b)]('(((.+)+)+)+$');});a169a();export{};
@@ -1 +1 @@
1
- function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a167d(a,b);}function a167c(){const l=['cwd','openssl','push','useConfig','genCSR','-new','openssl.conf','32068kfOfRJ','-nodes','837735nxYvda','89888ZlZlqG','-key','keyName','2189qfePvH','search','4Svbmau','crtName','csrName','constructor','1930059KUmnoS','(((.+)+)+)+$','39xbXJRc','-newkey','116599rjNlAi','toString','apply','1065210QgEASD','7LfFYqZ','-config','req','inherit','-keyout','38570raBnEx'];a167c=function(){return l;};return a167c();}const a167i=a167d;(function(a,b){const f=a167d,c=a();while(!![]){try{const d=-parseInt(f(0x1dd))/0x1*(-parseInt(f(0x1d5))/0x2)+-parseInt(f(0x1db))/0x3*(-parseInt(f(0x1ee))/0x4)+parseInt(f(0x1f0))/0x5+parseInt(f(0x1e0))/0x6*(parseInt(f(0x1e1))/0x7)+-parseInt(f(0x1f1))/0x8+parseInt(f(0x1d9))/0x9+-parseInt(f(0x1e6))/0xa*(parseInt(f(0x1f4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0x1cd9d));const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a167d;if(c){const e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const h=a167d;return a167a[h(0x1de)]()['search'](h(0x1da))[h(0x1de)]()[h(0x1d8)](a167a)[h(0x1d4)]('(((.+)+)+)+$');});a167a();import{spawnSync}from'child_process';export class SSL{static[a167i(0x1eb)](a){const j=a167i,b=a[j(0x1e7)]?a['cwd']:process[j(0x1e7)](),c=[j(0x1e3),j(0x1ec),j(0x1dc),'rsa:2048',j(0x1ef),j(0x1e5),a['keyName'],'-out',a[j(0x1d7)]];a[j(0x1ea)]&&(c[j(0x1e9)](j(0x1e2)),c[j(0x1e9)](j(0x1ed))),a['useConfig']?spawnSync(j(0x1e8),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':j(0x1e4),'cwd':b});}static['genSSC'](a){const k=a167i,b=a[k(0x1e7)]?a['cwd']:process['cwd'](),c=['req','-x509','-new',k(0x1f2),a[k(0x1f3)],'-out',a[k(0x1d6)]];a[k(0x1ea)]&&(c[k(0x1e9)](k(0x1e2)),c[k(0x1e9)]('openssl.conf')),a['useConfig']?spawnSync('openssl',c,{'cwd':b}):spawnSync(k(0x1e8),c,{'stdio':k(0x1e4),'cwd':b});}}
1
+ const a170i=a170d;(function(a,b){const f=a170d,c=a();while(!![]){try{const d=-parseInt(f(0x6e))/0x1*(-parseInt(f(0x7a))/0x2)+-parseInt(f(0x6f))/0x3*(-parseInt(f(0x84))/0x4)+-parseInt(f(0x7d))/0x5*(-parseInt(f(0x6b))/0x6)+-parseInt(f(0x79))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x69))/0x9)+parseInt(f(0x88))/0xa*(parseInt(f(0x7c))/0xb)+-parseInt(f(0x7b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a170c,0xcb311));const a170b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a170d;if(c){const e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a170a=a170b(this,function(){const h=a170d;return a170a[h(0x70)]()['search'](h(0x83))[h(0x70)]()[h(0x6c)](a170a)[h(0x89)](h(0x83));});function a170c(){const l=['20qAQrIv','search','cwd','-new','useConfig','2169mklXtR','-nodes','18quOnyt','constructor','-config','1irvPUd','3PeYRZM','toString','openssl.conf','csrName','-keyout','apply','43160CEkvPW','-newkey','genSSC','req','10851575WJsQdW','276278VuaAiq','16698528yKAlfA','935385PCfKox','1910775wfRXTa','openssl','keyName','-out','push','rsa:2048','(((.+)+)+)+$','4076692jxxuBq','genCSR','inherit','-key'];a170c=function(){return l;};return a170c();}function a170d(a,b){const c=a170c();return a170d=function(d,e){d=d-0x68;let f=c[d];return f;},a170d(a,b);}a170a();import{spawnSync}from'child_process';export class SSL{static[a170i(0x85)](a){const j=a170i,b=a['cwd']?a[j(0x8a)]:process[j(0x8a)](),c=[j(0x78),j(0x8b),j(0x76),j(0x82),j(0x6a),j(0x73),a[j(0x7f)],j(0x80),a[j(0x72)]];a[j(0x68)]&&(c[j(0x81)](j(0x6d)),c[j(0x81)](j(0x71))),a['useConfig']?spawnSync(j(0x7e),c,{'cwd':b}):spawnSync(j(0x7e),c,{'stdio':'inherit','cwd':b});}static[a170i(0x77)](a){const k=a170i,b=a[k(0x8a)]?a[k(0x8a)]:process[k(0x8a)](),c=['req','-x509','-new',k(0x87),a['keyName'],k(0x80),a['crtName']];a[k(0x68)]&&(c[k(0x81)](k(0x6d)),c['push'](k(0x71))),a['useConfig']?spawnSync(k(0x7e),c,{'cwd':b}):spawnSync('openssl',c,{'stdio':k(0x86),'cwd':b});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "5.1.10",
3
+ "version": "5.1.14",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +0,0 @@
1
- (function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0xb0))/0x1*(parseInt(f(0xad))/0x2)+parseInt(f(0xb1))/0x3+-parseInt(f(0xa3))/0x4*(parseInt(f(0xa7))/0x5)+parseInt(f(0xa6))/0x6+parseInt(f(0xaf))/0x7*(-parseInt(f(0xac))/0x8)+-parseInt(f(0xa4))/0x9*(parseInt(f(0xa9))/0xa)+parseInt(f(0xaa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x85fdd));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0xa2)]()[h(0xa5)]('(((.+)+)+)+$')[h(0xa2)]()[h(0xa8)](a98a)[h(0xa5)](h(0xae));});function a98c(){var i=['3726cjKAQv','search','4105482hNupri','65Hqltoj','constructor','8410xRRYXB','10666898rrVEMU','apply','8rzRKeC','883112UOMTau','(((.+)+)+)+$','7082677ApVTMr','1rYTGew','2635254VcziIh','toString','56004ocCyRH'];a98c=function(){return i;};return a98c();}a98a();import'./test.command.js';import'./mocha.sub.cmd.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xa2;var f=c[d];return f;},a98d(a,b);}import'./jest.sub.cmd.js';
@@ -1 +0,0 @@
1
- const a99q=a99d;(function(a,b){const o=a99d,c=a();while(!![]){try{const d=parseInt(o(0x8b))/0x1*(parseInt(o(0xb2))/0x2)+-parseInt(o(0xab))/0x3+-parseInt(o(0xb4))/0x4*(-parseInt(o(0x8f))/0x5)+-parseInt(o(0x97))/0x6+-parseInt(o(0x9a))/0x7+parseInt(o(0x9b))/0x8*(-parseInt(o(0xb8))/0x9)+parseInt(o(0xa0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x60ef3));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const p=a99d;return a99a['toString']()[p(0xbf)](p(0xb3))[p(0xb7)]()[p(0x94)](a99a)[p(0xbf)](p(0xb3));});a99a();import{Command}from'../../command.js';import a99e from'./test.command.js';function a99c(){const s=['Specify\x20a\x20custom\x20Jest\x20config\x20file','babel-jest','7522090wjacpU','/node_modules','getMakaProjectConfig','Runs\x20Jest\x20tests\x20in\x20the\x20specified\x20file\x20or\x20directory\x20with\x20optional\x20Jest\x20configurations,\x20including\x20coverage\x20reports.','coverage','template','join','babel.config.js','jest-css-modules-transform','Error\x20running\x20Jest:\x20','cfg','674466Ehtadl','success','**/?(*.)+(app-tests).[tj]s?(x)','@testing-library/react','Generate\x20test\x20coverage\x20report','jest-environment-jsdom','Update\x20Jest\x20snapshots','18ZBOmet','(((.+)+)+)+$','2648nmFxLG','graphql','jest','toString','7105599dnubMR','exit','runCLI','error','jsdom','Coverage\x20report\x20generated\x20in\x20the\x20\x22coverage\x22\x20directory.','fsi','search','<rootDir>/$1','scaffold','Run\x20only\x20failed\x20tests\x20from\x20the\x20last\x20run','config','eslint/babel.config.js','<rootDir>/packages','watch','pkg','engines','jest.config.js','onlyFailures','log','checkNpmPackage','test/jest/jest.setup.js','Run\x20tests\x20sequentially\x20in\x20the\x20same\x20process','84131rfFnLg','^.+\x5c.module\x5c.(css|sass|scss)$','updateSnapshot','@apollo/react-testing','1675vPgjNr','isFile','service','runInBand','clearCache','constructor','Clear\x20Jest\x20cache\x20before\x20running\x20tests','test/jest/jest.config.js','68130wbZfVG','create','findAppDirectory','2158989mQLiAK','8gfXyYs','identity-obj-proxy','Run\x20a\x20Jest\x20test\x20suite\x20with\x20custom\x20options'];a99c=function(){return s;};return a99c();}import a99f from'jest';import a99g from'path';function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x83;let f=c[d];return f;},a99d(a,b);}Command[a99q(0x98)]({'name':'jest','usage':'maka\x20test:jest\x20<file|directory>\x20[--options]','shortDesc':a99q(0x9d),'description':a99q(0xa3),'mustBeInMakaProject':!![],'validOpts':[{'name':a99q(0xc6),'boolFlag':!![],'description':'Run\x20Jest\x20in\x20watch\x20mode'},{'name':'coverage','boolFlag':!![],'description':a99q(0xaf)},{'name':a99q(0x8d),'boolFlag':!![],'description':a99q(0xb1)},{'name':a99q(0x92),'boolFlag':!![],'description':a99q(0x8a)},{'name':a99q(0x86),'boolFlag':!![],'description':a99q(0xc2)},{'name':a99q(0xc3),'description':a99q(0x9e),'regex':/^.+\.js$/},{'name':a99q(0x93),'boolFlag':!![],'description':a99q(0x95)}]},async function(a,b){const r=a99q,c=this[r(0xbe)][r(0x99)](),d=this[r(0xbe)]['findProjectDirectory']();await this[r(0x83)][r(0x88)]([r(0xae),'@babel/plugin-syntax-jsx',r(0xa8),'identity-obj-proxy',r(0xb0)],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});const e=this[r(0xaa)][r(0xa2)]();e[r(0x84)][r(0xb5)]==='apollo'&&await this[r(0x83)][r(0x88)]([r(0x8e)],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});if(b[r(0x93)]){await a99f[r(0xba)]({'_':[],'$0':r(0xb6),'clearCache':!![]},[c]);return;}const f=a99g[r(0xa6)](d,r(0xc3),'jest.setup.js'),g=this[r(0xbe)][r(0x90)](f);!g&&await this[r(0xc1)][r(0xa5)]({'srcPath':r(0x89),'destPath':f,'framework':r(0x91),'context':{'noRename':!![]}});const h=a99g[r(0xa6)](c,r(0x85)),i=this[r(0xbe)][r(0x90)](h);!i&&await this[r(0xc1)][r(0xa5)]({'srcPath':r(0x96),'destPath':h,'framework':r(0x91),'context':{'noRename':!![]}});const j=a99g[r(0xa6)](c,r(0xa7)),k=this[r(0xbe)][r(0x90)](j);!k&&await this[r(0xc1)]['template']({'srcPath':r(0xc4),'destPath':j,'framework':r(0x91),'context':{'noRename':!![]}});const l={'_':a,'$0':r(0xb6),'testEnvironment':r(0xbc),'watch':b['watch']||![],'coverage':b['coverage']||![],'updateSnapshot':b[r(0x8d)]||![],'runInBand':b[r(0x92)]||![],'onlyFailures':b['onlyFailures']||![],'config':b[r(0xc3)]||undefined,'rootDir':c,'coverageDirectory':a99g['join'](d,r(0xa4)),'testPathIgnorePatterns':[r(0xa1),r(0xc5),'<rootDir>/public','<rootDir>/private'],'testMatch':[r(0xad)],'transform':{'^.+\x5c.(js|jsx|ts|tsx)$':r(0x9f),'.+\x5c.(css|styl|less|sass|scss)$':r(0xa8)},'transformIgnorePatterns':['/node_modules/',r(0x8c)],'setupFiles':[f],'moduleNameMapper':{'\x5c.(css|less|scss)$':r(0x9c),'^/(.*)$':r(0xc0)}};try{const {results:m}=await a99f[r(0xba)](l,[c]);m[r(0xac)]?(console[r(0x87)]('Tests\x20completed\x20successfully.'),b[r(0xa4)]&&console[r(0x87)](r(0xbd))):(console[r(0xbb)]('Some\x20tests\x20failed.'),process[r(0xb9)](0x1));}catch(n){console[r(0xbb)](r(0xa9)+n['message']),process[r(0xb9)](0x1);}},a99e);
@@ -1 +0,0 @@
1
- const a100w=a100d;(function(a,b){const t=a100d,c=a();while(!![]){try{const d=-parseInt(t(0x1ea))/0x1+-parseInt(t(0x1e4))/0x2*(-parseInt(t(0x1f5))/0x3)+parseInt(t(0x200))/0x4+-parseInt(t(0x1e9))/0x5+-parseInt(t(0x1ff))/0x6+parseInt(t(0x1f2))/0x7*(-parseInt(t(0x213))/0x8)+parseInt(t(0x1e5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x52503));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const u=a100d;return a100a['toString']()['search'](u(0x21f))[u(0x226)]()[u(0x217)](a100a)[u(0x20c)](u(0x21f));});a100a();import a100e from'fs';import a100f from'path';import a100g from'dotenv';import{execSync}from'child_process';import a100h from'./test.command.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1da;let f=c[d];return f;},a100d(a,b);}import a100i from'../../generators/maka.gen.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a100c(){const z=['--env','toString','concat','This\x20project\x20does\x20not\x20have\x20a\x20mocha\x20test\x20driver','slice','fsi','mocha','notice','driverPackage','meteortesting:mocha','unit','Meteor\x20is\x20installed.','join','relative','8tNIWLZ','11391471MLMPny','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','config','--packages','1471425CpJesw','425157AZWlQi','once','inspect','jasmine','driver-package','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','maka\x20install\x20meteor\x20--force','test','2121322roGbPv','engines','rawLogs','469821QlcysQ','createFile','test-packages','--full-app','.maka','invokeMeteorCommand','checkConfigExists','port','Your\x20local\x20config\x20has\x20gone\x20missing,\x20remaking\x20it...','settings','3126924gpWTyV','1166784IJgqWY','warn','testAppPath','config.json','forEach','findProjectDirectory','splice','isFile','isMeteorInstalled','processAndRunGenerator','cwd','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','search','openSync','filter','maka\x20test:mocha','cfg','local','readFileSync','16VrkuGH','pkg','mpi','@testing-library/dom\x20meteor-node-stubs\x20chai','constructor','inherit','--settings','create','getEnvFromShorthand','none','parse','env','(((.+)+)+)+$','--driver','driver','Node\x20Env\x20Config:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','sanjo:jasmine'];a100c=function(){return z;};return a100c();}const syncSource=function(a){const v=a100d;a100e[v(0x20d)](a,'r'),a100g[v(0x1e7)]({'path':a});};Command[a100w(0x21a)]({'name':a100w(0x1dc),'mustBeInMakaProject':!![],'validOpts':[a100w(0x1eb),'packages',a100w(0x221),a100w(0x1de),'unit',a100w(0x21e),a100w(0x1f4),a100w(0x1fc),a100w(0x1ec),a100w(0x202)],'usage':a100w(0x20f),'aliases':['m'],'shortDesc':a100w(0x223),'examples':[]},async function(a,b){const x=a100w;try{this['mpi'][x(0x208)]()?Log['notice'](x(0x1e1)):(Log[x(0x201)](x(0x1ef)),execSync(x(0x1f0),{'stdio':x(0x218)}));this[x(0x214)]['checkNpmPackage'](x(0x216),{'shouldInstall':!![]});const c=b['env']?this[x(0x210)][x(0x21b)](b[x(0x21e)]):x(0x211);(!b[x(0x1e0)]||!!b[x(0x1eb)])&&(a=a['concat']([x(0x1f8)]));b['unit']&&delete b[x(0x1e0)];let d=b[x(0x1ee)]||b[x(0x221)]||'none';if(d===x(0x21c)){const l=JSON[x(0x21d)](a100e[x(0x212)](a100f['join'](this[x(0x1db)][x(0x205)](),x(0x1f9),x(0x203)),'utf8'));if(l[x(0x1f3)]['test']===x(0x1ed))d=x(0x224);else l[x(0x1f3)][x(0x1f1)]===x(0x1dc)&&(d=x(0x1df));}if(d==='none')throw x(0x228);(!b[x(0x1ee)]||!b[x(0x221)])&&(a=a[x(0x227)](['--driver-package',d]));const f=this[x(0x210)][x(0x1fb)](x(0x211));if(!f){Log[x(0x201)](x(0x1fd));const m=this[x(0x1db)][x(0x205)]();await a100i[x(0x209)](x(0x1e7),[x(0x211)],{'cwd':m,'root':!![]});}const g=this['cfg']['getAppConfigPath'](c),h=a100f[x(0x1e2)](g,'process.env');let i=a100f[x(0x1e2)](g,'settings.json');b['settings']?i=b[x(0x1fe)]:i=a100f['join'](g,'settings.json');if(this[x(0x1db)]['isFile'](h)){const n=a100f[x(0x1e3)](process['cwd'](),h);Log[x(0x1dd)](x(0x222)+n),syncSource(h);}else{const o=a100f[x(0x1e3)](process['cwd'](),h);Log['info'](x(0x1e6)+o),this['fsi'][x(0x1f6)]({'filePath':h,'data':''});}if(this[x(0x1db)][x(0x207)](i)){const p=a100f[x(0x1e3)](process[x(0x20a)](),i);Log[x(0x1dd)]('Meteor\x20Settings:\x20'+p),a=a[x(0x227)]([x(0x219),i]);}else{const q=a100f[x(0x1e3)](process[x(0x20a)](),i);Log['warn'](x(0x20b)+q);}const j=process['argv'][x(0x1da)](0x2)[x(0x20e)](r=>r!=='--env')[x(0x20e)](r=>r!==x(0x1f1))[x(0x20e)](r=>r!==a[0x0]);j[x(0x204)]((r,s)=>{const y=x;(r===y(0x225)||r===y(0x220))&&j['splice'](s,0x2),r===y(0x1e8)&&j[y(0x206)](s,0x1);});const k=b['packages']?x(0x1f7):x(0x1f1);await this[x(0x215)][x(0x1fa)](k,a[x(0x227)](j));}catch(r){console['error'](r),process['exit'](0x0);}},a100h);
@@ -1 +0,0 @@
1
- function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a101d(a,b);}const a101h=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=-parseInt(f(0x1d0))/0x1+parseInt(f(0x1bf))/0x2*(-parseInt(f(0x1c5))/0x3)+-parseInt(f(0x1c1))/0x4+-parseInt(f(0x1cd))/0x5+parseInt(f(0x1cf))/0x6*(-parseInt(f(0x1cc))/0x7)+parseInt(f(0x1d1))/0x8*(parseInt(f(0x1c3))/0x9)+parseInt(f(0x1c9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x9c6de));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const g=a101d;return a101a[g(0x1ce)]()[g(0x1cb)](g(0x1c0))[g(0x1ce)]()[g(0x1c6)](a101a)['search'](g(0x1c0));});a101a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a101c(){const i=['constructor','Run\x20a\x20Meteor\x20Test\x20Driver','create','20085800nHkVkz','test','search','63bPSaQe','2905645ohGlCx','toString','297054pqTxxB','325239NrdSDh','24ToooBw','62ekifnB','(((.+)+)+)+$','4175008aWSedP','\x0a\x20\x20\x20\x20Run\x20a\x20meteor\x20test\x20driver,\x20or\x20utilize\x20a\x20headless\x20test\x20suite.\x0a\x20\x20','3269007ZxAZuM','maka\x20test:<sub-command>','5982DTeDXw'];a101c=function(){return i;};return a101c();}const TestCommand=Command[a101h(0x1c8)]({'name':a101h(0x1ca),'usage':a101h(0x1c4),'shortDesc':a101h(0x1c7),'description':a101h(0x1c2),'validOpts':[]},async function(){throw UsageError;});export default TestCommand;
@@ -1 +0,0 @@
1
- const a103k=a103d;(function(a,b){const h=a103d,c=a();while(!![]){try{const d=-parseInt(h(0xdd))/0x1*(parseInt(h(0xe6))/0x2)+-parseInt(h(0xee))/0x3+parseInt(h(0xef))/0x4*(-parseInt(h(0xe9))/0x5)+-parseInt(h(0xd1))/0x6*(-parseInt(h(0xce))/0x7)+parseInt(h(0xdf))/0x8+parseInt(h(0xe7))/0x9+parseInt(h(0xe8))/0xa*(-parseInt(h(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xe72b6));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a103d;if(c){const e=c[i(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const j=a103d;return a103a[j(0xd3)]()['search'](j(0xea))[j(0xd3)]()[j(0xe1)](a103a)[j(0xed)](j(0xea));});function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xce;let f=c[d];return f;},a103d(a,b);}a103a();import a103e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a103k(0xd2)};function a103c(){const m=['35mdFwnk','apply','----------------------System----------------------------','647418OXovNM','5.1.10','toString','version','warn','2320373ttQaFb','Maka\x20','error','Project\x27s\x20Meteor\x20Version\x20','This\x20often\x20happens\x20when\x20Meteor\x20doesn\x27t\x20use\x20SemVer','replace','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','1varFXK','exit','9928624reEhmb','maka\x20version','constructor','mpi','An\x20error\x20occurred\x20while\x20processing\x20the\x20Meteor\x20version:\x20','maka\x20v','bright','26284CmsYHV','13115664EKfdcQ','20CgjFhJ','5EcCWJD','(((.+)+)+)+$','\x0a\x20\x20***\x20VERBOSE\x20FLAG\x20DISABLED\x20DUE\x20TO\x20METEOR\x20CHECK\x20ON\x20VERSION\x20<\x203.0\x20***\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','System\x27s\x20Meteor\x20Version\x20','search','1375086ejCdFK','5590516XnCqOk','fsi','getProjectMeteorVersion','verbose','majestic','compareMakaToLatest','notice','getGlobalMeteorVersion','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','----------------------Project----------------------------'];a103c=function(){return m;};return a103c();}Command['create']({'name':a103k(0xd4),'aliases':['v'],'usage':a103k(0xe0),'maxArgLength':0x1,'validOpts':[a103k(0xf2)],'shortDesc':a103k(0xdc),'examples':[a103k(0xe4),a103k(0xe0)],'description':a103k(0xeb)},async function(a,b){const l=a103k;try{Log[l(0xf3)](l(0xd7)+pjson['version']),await this[l(0xf0)]['compareMakaToLatest']();if(b['verbose']){await this['fsi'][l(0xf4)](),Log[l(0xe5)](l(0xd0));const c=this[l(0xe2)][l(0xf6)]();Log[l(0xe5)]((l(0xec)+c)['replace']('\x0a',''));if(this[l(0xf0)]['isMakaProject']()){Log[l(0xe5)](l(0xf8));const d=this[l(0xf0)][l(0xf1)]();try{!a103e['valid'](d)?Log[l(0xd5)](l(0xd9)+d[l(0xdb)]('\x0a','')):Log[l(0xf5)](l(0xd9)+d['replace']('\x0a',''));}catch(f){Log[l(0xd8)](l(0xe3)+f),Log[l(0xd8)](l(0xda));}Log[l(0xe5)](l(0xf7));}}}catch(g){console['error'](g),process[l(0xde)](0x0);}});
@@ -1,38 +0,0 @@
1
- import { render } from '@testing-library/react';
2
- <% if (test === 'mocha') { %>import { expect } from 'chai';<% } %>
3
-
4
- <% if(graphql === 'apollo') { %>
5
- import { MockedProvider } from '@apollo/react-testing';
6
- import gql from 'graphql-tag';
7
- const mocks = [
8
- {
9
- request: {
10
- query: gql`query { trucks }`, // consider importing the query from the actual component
11
- variables: {
12
- sample: 'variable'
13
- },
14
- },
15
- result: {
16
- data: {
17
- trucks: 'hello trucks'
18
- }
19
- }
20
- }
21
- ];
22
- <% } %>
23
- const { <%=className%>%> } = require('./<%= fileName %>');
24
- describe('<<%= className %>/>', function() {
25
-
26
- it('did render', () => {
27
- <%if(graphql === 'apollo') { %>
28
- const <%=camelCaseName%> = render(
29
- <MockedProvider mocks={mocks} addTypename={false}>
30
- <<%= className %>/>
31
- </MockedProvider>
32
- );<% } else { %>
33
- const <%=camelCaseName%> = render(<<%= className %>/>);<% } %>
34
- const testMessage = <% if (isLayout) { %>''<% } else { %>'<h2>Find me in <%= myPath %></h2>'<% } %>
35
- const node = <%=camelCaseName%>.container.querySelector('#<%=cssCaseName%>');
36
- <% if (test === 'mocha') { %>expect(node.innerHTML).equals(testMessage);<% } else { %>expect(node.innerHTML).toBe(testMessage);<% } %>
37
- });
38
- });
@@ -1,38 +0,0 @@
1
- import { render } from '@testing-library/react';
2
- <% if (test === 'mocha') { %>import { expect } from 'chai';<% } %>
3
-
4
- <% if(graphql === 'apollo') { %>
5
- import { MockedProvider } from '@apollo/react-testing';
6
- import gql from 'graphql-tag';
7
- const mocks = [
8
- {
9
- request: {
10
- query: gql`query { trucks }`, // consider importing the query from the actual component
11
- variables: {
12
- sample: 'variable'
13
- },
14
- },
15
- result: {
16
- data: {
17
- trucks: 'hello trucks'
18
- }
19
- }
20
- }
21
- ];
22
- <% } %>
23
- const { <%=className%>%> } = require('./<%= fileName %>');
24
- describe('<<%= className %>/>', function() {
25
-
26
- it('did render', () => {
27
- <%if(graphql === 'apollo') { %>
28
- const <%=camelCaseName%> = render(
29
- <MockedProvider mocks={mocks} addTypename={false}>
30
- <<%= className %>/>
31
- </MockedProvider>
32
- );<% } else { %>
33
- const <%=camelCaseName%> = render(<<%= className %>/>);<% } %>
34
- const testMessage = <% if (isLayout) { %>''<% } else { %>'<h2>Find me in <%= myPath %></h2>'<% } %>
35
- const node = <%=camelCaseName%>.container.querySelector('#<%=cssCaseName%>');
36
- <% if (test === 'mocha') { %>expect(node.innerHTML).equals(testMessage);<% } else { %>expect(node.innerHTML).toBe(testMessage);<% } %>
37
- });
38
- });
@@ -1,6 +0,0 @@
1
- module.exports = {
2
- "moduleNameMapper": {
3
- "\\.(css|less|scss)$": "identity-obj-proxy",
4
- '^/(.*)$': '<rootDir>/$1', // Map absolute paths to <rootDir>
5
- }
6
- }
@@ -1,7 +0,0 @@
1
- // jest.setup.js
2
-
3
- global.Meteor = {
4
- isClient: true,
5
- isServer: false,
6
- };
7
-