@maka/maka-cli 4.13.17 → 4.13.20
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.
- package/bundle/obf/package.json +3 -2
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/maka-tar-6.2.1.tgz +0 -0
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a95i=a95d;(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x161))/0x1*(parseInt(f(0x15d))/0x2)+parseInt(f(0x164))/0x3+-parseInt(f(0x16b))/0x4+parseInt(f(0x166))/0x5+parseInt(f(0x169))/0x6+-parseInt(f(0x159))/0x7*(-parseInt(f(0x167))/0x8)+-parseInt(f(0x163))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6767b));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x16a)]()[h(0x15e)](h(0x160))[h(0x16a)]()[h(0x168)](a95a)['search'](h(0x160));});a95a();import a95e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x159;var f=c[d];return f;},a95d(a,b);}Command[a95i(0x15b)]({'name':a95i(0x16c),'usage':a95i(0x162),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a95i(0x15c)},async function(){var j=a95i;Log[j(0x165)](j(0x15a));},a95e);function a95c(){var k=['apply','(((.+)+)+)+$','23hILXFH','maka\x20set:local-config','5015169NVgOLC','2379270rZwrLF','notice','3021915lDJhIs','5624LeuIWC','constructor','1293876gmSBTk','toString','1870648UkfoRb','local-config','3969wwZYLK','Sorry,\x20not\x20implemented\x20yet','create','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','48980EVBusm','search'];a95c=function(){return k;};return a95c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96i=a96d;(function(a,b){const f=a96d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a96i=a96d;(function(a,b){const f=a96d,c=a();while(!![]){try{const d=parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1d9))/0x2)+parseInt(f(0x1de))/0x3+parseInt(f(0x1e4))/0x4+parseInt(f(0x1e0))/0x5*(-parseInt(f(0x1da))/0x6)+parseInt(f(0x1e3))/0x7*(parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1e1))/0x9+parseInt(f(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x97181));const a96b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a96d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){const h=a96d;return a96a[h(0x1e2)]()[h(0x1e5)](h(0x1d4))[h(0x1e2)]()[h(0x1dc)](a96a)[h(0x1e5)](h(0x1d4));});a96a();import{Command}from'../../command.js';function a96d(a,b){const c=a96c();return a96d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a96d(a,b);}const SetCommand=Command[a96i(0x1e6)]({'name':a96i(0x1d3),'usage':a96i(0x1d7),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a96i,c=a[0x0],d=this[j(0x1d8)](c);d&&this[j(0x1dd)](c,a,b);});function a96c(){const k=['toString','291893Tdfwbq','2233264fiLohr','search','create','set','(((.+)+)+)+$','136PheowZ','296407KFLKqc','maka\x20set:<sub-command>','findSubCommand','2YmBhac','18eeualB','apply','constructor','runSubCommand','1593129XcsVMM','165760BDPSDa','1031455yEYVny','2525913FvGoce'];a96c=function(){return k;};return a96c();}export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d
|
|
1
|
+
const a97n=a97d;(function(a,b){const k=a97d,c=a();while(!![]){try{const d=-parseInt(k(0x208))/0x1*(-parseInt(k(0x203))/0x2)+-parseInt(k(0x1f2))/0x3+parseInt(k(0x1f5))/0x4+-parseInt(k(0x1fe))/0x5+-parseInt(k(0x202))/0x6+parseInt(k(0x1f1))/0x7+parseInt(k(0x1f6))/0x8*(-parseInt(k(0x206))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xc84b2));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a97d;if(c){const e=c[l(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const m=a97d;return a97a['toString']()['search'](m(0x20b))[m(0x20a)]()[m(0x1fb)](a97a)[m(0x204)](m(0x20b));});function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a97d(a,b);}a97a();function a97c(){const p=['create','constructor','assign','maka\x20ssh\x20--env\x20staging','7276295CmlXGf','env','maka\x20ssh\x20<command>','verbose','4098762ZMehsc','6442lPLBke','search','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','36ICFHwH','length','244ALFMBJ','readFileSync','toString','(((.+)+)+)+$','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','error','10292492RQBXPs','690462xhdKXz','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','3941416AiHJRU','105384suvZnD','fsi','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20dev'];a97c=function(){return p;};return a97c();}import a97e from'fs';import a97f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a97n(0x1fa)]({'name':'ssh','usage':a97n(0x200),'mustBeInMakaProject':!![],'requiredOpts':[a97n(0x1ff)],'validOpts':['env',a97n(0x201)],'shortDesc':a97n(0x20d),'examples':[a97n(0x1f9),a97n(0x1fd),a97n(0x1f8),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a97n(0x205),a97n(0x1f4)]},async function(a,b){const o=a97n;try{const c=this['fsi']['getEnvFromShorthand'](b[o(0x1ff)]),d=this[o(0x1f7)]['getAppConfigPath'](c);let f='';a[o(0x207)]>0x0&&(f=a[0x0]);const g=a97f['join'](c,'ssh.json'),h=a97e[o(0x209)](g)[o(0x20a)](),i=JSON[o(0x20c)](h);Object[o(0x1fc)](i,{'env':d}),SSH['sshSync'](f,i,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(j){Log[o(0x1f0)](j),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a98z=a98d;(function(a,b){const w=a98d,c=a();while(!![]){try{const d
|
|
1
|
+
function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x8a;let f=c[d];return f;},a98d(a,b);}const a98z=a98d;(function(a,b){const w=a98d,c=a();while(!![]){try{const d=-parseInt(w(0x9e))/0x1*(-parseInt(w(0xc1))/0x2)+-parseInt(w(0xb1))/0x3+-parseInt(w(0xa5))/0x4+-parseInt(w(0xb5))/0x5+parseInt(w(0x8a))/0x6+-parseInt(w(0xbb))/0x7+parseInt(w(0xc2))/0x8*(parseInt(w(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xe3f6c));function a98c(){const B=['3612798qEbQyN','emailUpdate','email','toString','8463160uYbaMX','.crt','create','withSpinner','readFileSync','generate-csr','10306170QJOkKm','Using\x20saved\x20letsencrypt\x20config','ssh','maka\x20ssl\x20[command]','[?]\x20Domains\x20to\x20register:\x20','genSSC','4CBdgNZ','42424400gIrNri','success','letsencrypt.json','Create\x20and\x20manage\x20your\x20SSL\x20operations.','notice','3450930OTyhHD','exit','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','Verifying\x20Letsencrypt\x20configuration','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','join','maka\x20ssl\x20--env\x20dev\x20generate-csr','existsSync','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','domains','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','9IknTmZ','sudo\x20snap\x20install\x20--classic\x20certbot','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','start','apply','env','ask','322781KznEoY','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','fsi','\x20--email\x20','/ssh.json','New\x20CSR\x20written\x20to\x20','assign','4883276xGymJX','getAppConfigPath','.key','getEnvFromShorthand','generate-ssc','Checking\x20remote\x20host\x20availability','search','letsencrypt','appName','.csr','parse','error'];a98c=function(){return B;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a98d;if(c){const e=c[x(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const y=a98d;return a98a[y(0xb4)]()[y(0xab)](y(0x96))[y(0xb4)]()['constructor'](a98a)['search']('(((.+)+)+)+$');});a98a();import a98e from'fs';import a98f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a98z(0xb7)]({'name':'ssl','usage':a98z(0xbe),'validOpts':[a98z(0x94),'email'],'requiredOpts':[a98z(0x9c)],'shortDesc':a98z(0xc5),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a98z(0x91),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a98z(0x9f)]},async function(a,b){const A=a98z,c=this[A(0xa0)]['getMakaProjectConfig'](),d=this[A(0xa0)][A(0xa8)](b['env']),f=this[A(0xa0)][A(0xa6)](d),g=this[A(0xa0)]['mkKeysDir']({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h===A(0xba))SSL['genCSR']({'keyName':c[A(0xad)]+'.key','csrName':c[A(0xad)]+A(0xae),'cwd':g});else{if(h===A(0xa9)){if(!a98e[A(0x92)](a98f[A(0x90)](g,c[A(0xad)]+A(0xa7))))throw A(0x99)+a98f[A(0x90)](g,c[A(0xad)]+A(0xa7));if(!a98e[A(0x92)](a98f[A(0x90)](g,c[A(0xad)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a98f['join'](g,c[A(0xad)]+A(0xae));SSL[A(0xc0)]({'keyName':c['appName']+'.key','crtName':c['appName']+A(0xb6),'cwd':g}),Log[A(0xc6)](A(0xa3)+g);}else{if(h===A(0xac)){let i=b['domains'],j=b[A(0xb3)];try{const q=a98e[A(0xb9)](a98f[A(0x90)](f,'letsencrypt.json'))[A(0xb4)](),r=JSON['parse'](q);i=b['domains']?b[A(0x94)]:r['domainNames'],j=b['email']?b[A(0xb3)]:r[A(0xb2)],(!b['email']||!b[A(0x94)])&&Log[A(0xc6)](A(0xbc));}catch(s){}const k=JSON[A(0xaf)](a98e[A(0xb9)](f+A(0xa2))[A(0xb4)]());Object[A(0xa4)](k,{'env':f}),Log['notice'](A(0xaa));try{const t=SSH[A(0x8e)]('uname\x20-a',k);if(!t)throw A(0x95);if(t)Log[A(0xc3)]('Remote\x20host\x20connection\x20successful');}catch(u){Log[A(0xb0)](u);return;}const l=Log[A(0xb8)]();l[A(0x9a)](A(0x8d)),SSH['ssh'](A(0x93),{...k}),SSH[A(0xbd)](A(0x98),{...k}),SSH[A(0xbd)](A(0x8f),{...k}),l[A(0xc3)]();const m=i?i:await Actions[A(0x9d)](A(0xbf)),n=j?j:await Actions[A(0x9d)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[A(0xbd)](A(0x8c)+m+A(0xa1)+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON['stringify'](o,null,0x2);a98e['writeFileSync'](a98f[A(0x90)](f,A(0xc4)),p);}else throw'Please\x20provide\x20a\x20command.';}}}catch(v){console[A(0xb0)](v),process[A(0x8b)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99r=a99d;(function(a,b){const n=a99d,c=a();while(!![]){try{const d=parseInt(n(0x1e5))/0x1+parseInt(n(0x201))/0x2+parseInt(n(0x1c8))/0x3+-parseInt(n(0x1de))/0x4*(parseInt(n(0x1f7))/0x5)+parseInt(n(0x1f8))/0x6*(-parseInt(n(0x1f1))/0x7)+-parseInt(n(0x1fa))/0x8*(-parseInt(n(0x1db))/0x9)+parseInt(n(0x202))/0xa*(-parseInt(n(0x1cf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x68502));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a99d;if(c){const e=c[o(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const p=a99d;return a99a['toString']()[p(0x1ca)](p(0x1ec))[p(0x206)]()['constructor'](a99a)[p(0x1ca)]('(((.+)+)+)+$');});function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a99d(a,b);}a99a();import a99e from'fs';import a99f from'path';import a99g from'dotenv';import{execSync}from'child_process';function a99c(){const u=['tests','2191368tueKYz','config.json','search','warn','once','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','exit','386859dOqTJZ','error','filter','maka\x20install\x20--force','env','forEach','Meteor\x20is\x20installed.','driverPackage','splice','jasmine','argv','isMeteorInstalled','1775205Sufwnd','findProjectDirectory','concat','1736sihUMH','Meteor\x20Settings:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--env','sanjo:jasmine','utf8','--full-app','263131nVbtJW','apply','meteortesting:mocha','join','slice','config','openSync','(((.+)+)+)+$','packages','rawLogs','driver-package','Node\x20Env\x20Config:\x20','994217tgWHHt','driver','notice','inherit','engines','local','2995FRRzsw','6pPcbDq','process.env','8uXYQzp','fsi','.maka','parse','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','isFile','test','1105650ooSiVT','260ZHiUoP','getEnvFromShorthand','settings.json','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','toString','--driver','maka\x20test','none','test-packages','--settings','invokeMeteorCommand','--driver-package','--packages','Cannot\x20find\x20Node\x20Environment\x20File:\x20','mocha','unit'];a99c=function(){return u;};return a99c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const q=a99d;a99e[q(0x1eb)](a,'r'),a99g[q(0x1ea)]({'path':a});};Command['create']({'name':a99r(0x200),'mustBeInMakaProject':!![],'validOpts':['once',a99r(0x1ed),'driver',a99r(0x1d6),a99r(0x1c6),'env',a99r(0x1ee),'port','inspect','testAppPath'],'usage':a99r(0x208),'aliases':['t',a99r(0x1c7)],'shortDesc':a99r(0x1fe),'examples':[]},async function(a,b){const s=a99r;try{this[s(0x1fb)][s(0x1da)]()?Log[s(0x1f3)](s(0x1d5)):(Log[s(0x1cb)](s(0x1cd)),execSync(s(0x1d2),{'stdio':s(0x1f4)}));const c=b[s(0x1d3)]?this[s(0x1fb)][s(0x203)](b[s(0x1d3)]):s(0x1f6),d=this[s(0x1fb)]['getAppConfigPath'](c);(!b[s(0x1c6)]||!!b[s(0x1cc)])&&(a=a[s(0x1dd)]([s(0x1e4)]));b[s(0x1c6)]&&delete b[s(0x1c6)];let f=b[s(0x1ef)]||b[s(0x1f2)]||s(0x209);if(f==='none'){const k=JSON[s(0x1fd)](a99e['readFileSync'](a99f[s(0x1e8)](this[s(0x1fb)][s(0x1dc)](),s(0x1fc),s(0x1c9)),s(0x1e3)));if(k[s(0x1f5)]['test']===s(0x1d8))f=s(0x1e2);else k[s(0x1f5)][s(0x200)]===s(0x1c5)&&(f=s(0x1e7));}if(f===s(0x209))throw s(0x205);(!b['driver-package']||!b['driver'])&&(a=a[s(0x1dd)]([s(0x1c2),f]));const g=a99f[s(0x1e8)](d,s(0x204));this[s(0x1fb)]['isFile'](g)?(Log[s(0x1f3)](s(0x1df)+g),a=a[s(0x1dd)]([s(0x1c0),g])):Log[s(0x1cb)](s(0x1e0)+g);const h=a99f[s(0x1e8)](d,s(0x1f9));this[s(0x1fb)][s(0x1ff)](d)?(Log[s(0x1f3)](s(0x1f0)+h),syncSource(h)):Log[s(0x1cb)](s(0x1c4)+h);const i=process[s(0x1d9)][s(0x1e9)](0x2)[s(0x1d1)](l=>l!==s(0x1e1))[s(0x1d1)](l=>l!=='test')[s(0x1d1)](l=>l!==a[0x0]);i[s(0x1d4)]((l,m)=>{const t=s;(l===t(0x1e1)||l===t(0x207))&&i[t(0x1d7)](m,0x2),l===t(0x1c3)&&i[t(0x1d7)](m,0x1);});const j=b['packages']?s(0x1bf):s(0x200);this['fsi'][s(0x1c1)](j,a['concat'](i));}catch(l){console[s(0x1d0)](l),process[s(0x1ce)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a100c(){var j=['561xJWvjx','21856bhkgjH','undo','4204102LKEFgJ','3123lyLFLd','toString','33ptLcyx','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','39180mTyJEk','365aegsaF','6008vDPaCP','523338vpbZHE','9602wmnZJi','(((.+)+)+)+$','create','3357702GGbpKf'];a100c=function(){return j;};return a100c();}var a100h=a100d;(function(a,b){var f=a100d,c=a();while(!![]){try{var d=parseInt(f(0x1df))/0x1+-parseInt(f(0x1e0))/0x2*(-parseInt(f(0x1da))/0x3)+parseInt(f(0x1d5))/0x4*(parseInt(f(0x1dd))/0x5)+parseInt(f(0x1d3))/0x6+-parseInt(f(0x1d7))/0x7+-parseInt(f(0x1de))/0x8*(parseInt(f(0x1d8))/0x9)+-parseInt(f(0x1dc))/0xa*(parseInt(f(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x73a25));var a100b=(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;};}()),a100a=a100b(this,function(){var g=a100d;return a100a[g(0x1d9)]()['search'](g(0x1e1))[g(0x1d9)]()['constructor'](a100a)['search'](g(0x1e1));});a100a();import{Command}from'../command.js';import a100e from'../generators/maka.gen.js';function a100d(a,b){var c=a100c();return a100d=function(d,e){d=d-0x1d3;var f=c[d];return f;},a100d(a,b);}Command[a100h(0x1e2)]({'name':a100h(0x1d6),'aliases':['u'],'validOpts':[],'shortDesc':a100h(0x1db),'experimental':!![]},async function(){var i=a100h;a100e[i(0x1d6)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101n=a101d;
|
|
1
|
+
const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=-parseInt(k(0xcc))/0x1+-parseInt(k(0xd0))/0x2*(-parseInt(k(0xd1))/0x3)+parseInt(k(0xda))/0x4+parseInt(k(0xd9))/0x5+-parseInt(k(0xc6))/0x6+-parseInt(k(0xd7))/0x7+-parseInt(k(0xec))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x787ab));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0xca)]()[m(0xe6)](m(0xeb))[m(0xca)]()['constructor'](a101a)[m(0xe6)](m(0xeb));});a101a();import{execSync}from'child_process';import a101e from'semver';function a101c(){const p=['replace','4454115UaNRQP','3230032YNyuIT','node\x20-v','error','compareMakaToLatest','Project\x27s\x20Meteor\x20Version\x20','maka\x20version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','create','isMakaProject','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','verbose','\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','search','warn','Maka\x20','----------------------System----------------------------','getMeteorExePath','(((.+)+)+)+$','7093952ebgbpN','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','System\x27s\x20Meteor\x20Version\x20','notice','fsi','875946ZsbKki',')\x20to\x20at\x20least\x20meteor\x27s\x20(','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','exit','toString','version','4896HCHHzn','\x20node\x20-v','majestic','getProjectsMeteorNodeVersion','2JoptlF','1465911RvguZC','maka\x20v','4.13.20','apply','bright','System\x27s\x20Node\x20Version\x20','4590978SpgiRp'];a101c=function(){return p;};return a101c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0xc6;let f=c[d];return f;},a101d(a,b);}const pjson={'version':a101n(0xd3)};Command[a101n(0xe1)]({'name':a101n(0xcb),'aliases':['v'],'usage':a101n(0xdf),'maxArgLength':0x1,'validOpts':[a101n(0xe4)],'shortDesc':a101n(0xe0),'examples':[a101n(0xd2),'maka\x20version','maka\x20version\x20--verbose'],'description':'\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'},async function(a,b){const o=a101n;try{const c=this[o(0xf0)][o(0xea)]();Log[o(0xce)](o(0xe8)+pjson[o(0xcb)]),await this[o(0xf0)][o(0xdd)]();if(b['verbose']){await this[o(0xf0)]['compareMakaToLatest'](),Log[o(0xd5)](o(0xe9));const d=this[o(0xf0)]['getGlobalMeteorVersion']();Log[o(0xd5)]((o(0xee)+d)[o(0xd8)]('\x0a',''));const f=execSync(c+o(0xcd))['toString']()[o(0xd8)](/\r?\n|\r/,'')[o(0xd8)]('v','');Log['bright'](o(0xc8)+f);const g=execSync(o(0xdb))['toString']()['replace'](/\r?\n|\r/,'')[o(0xd8)]('v','');a101e['gt'](f,g)?(Log[o(0xe7)](o(0xd6)+g),Log[o(0xe7)](o(0xed)+g+o(0xc7)+f+')')):Log[o(0xd5)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0xf0)][o(0xe2)]()){Log[o(0xd5)]('----------------------Project----------------------------');const h=this[o(0xf0)]['getProjectMeteorVersion']();if(!a101e['valid'](h))Log[o(0xe7)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0xd8)]('\x0a',''));else a101e['gt'](d,h)?(Log[o(0xe7)](o(0xde)+h[o(0xd8)]('\x0a','')),Log[o(0xe7)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0xef)]((o(0xde)+h)[o(0xd8)]('\x0a',''));const i=await this[o(0xf0)][o(0xcf)]();i==='N/A'?(Log[o(0xe7)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xe7)](o(0xe3))):Log[o(0xd5)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xd5)](o(0xe5));}}}catch(j){console[o(0xdc)](j),process[o(0xc9)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a102d,c=a();while(!![]){try{var d
|
|
1
|
+
function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0x148;var f=c[d];return f;},a102d(a,b);}(function(a,b){var f=a102d,c=a();while(!![]){try{var d=parseInt(f(0x14f))/0x1*(parseInt(f(0x14c))/0x2)+-parseInt(f(0x151))/0x3*(parseInt(f(0x14a))/0x4)+parseInt(f(0x14b))/0x5+-parseInt(f(0x14e))/0x6+parseInt(f(0x149))/0x7*(parseInt(f(0x148))/0x8)+-parseInt(f(0x154))/0x9*(parseInt(f(0x14d))/0xa)+parseInt(f(0x157))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x884f4));var a102b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a102d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){var h=a102d;return a102a[h(0x156)]()['search'](h(0x150))[h(0x156)]()[h(0x153)](a102a)[h(0x155)]('(((.+)+)+)+$');});a102a();function a102c(){var i=['1755219FGAhzq','apply','constructor','9709713TJDdCj','search','toString','1922800brdtkq','2964536uGnVQI','21UQjoVx','4zcNoGX','3316880zXDNTy','830hJCeHf','10pWEEEv','1423458AFivjR','1228jgpgqt','(((.+)+)+)+$'];a102c=function(){return i;};return a102c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}export class MustBeLoggedIn{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var
|
|
2
|
+
var a103i=a103d;(function(a,b){var f=a103d,c=a();while(!![]){try{var d=-parseInt(f(0x173))/0x1+parseInt(f(0x178))/0x2+-parseInt(f(0x177))/0x3*(parseInt(f(0x175))/0x4)+-parseInt(f(0x181))/0x5*(parseInt(f(0x180))/0x6)+-parseInt(f(0x17f))/0x7*(-parseInt(f(0x174))/0x8)+-parseInt(f(0x176))/0x9+parseInt(f(0x17b))/0xa*(parseInt(f(0x17a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x4b047));function a103d(a,b){var c=a103c();return a103d=function(d,e){d=d-0x173;var f=c[d];return f;},a103d(a,b);}var a103b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a103d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){var h=a103d;return a103a['toString']()[h(0x17e)](h(0x17d))['toString']()['constructor'](a103a)[h(0x17e)](h(0x17d));});a103a(),process[a103i(0x182)]['NODE_OPTIONS']=a103i(0x179);import'./maka.js';function a103c(){var j=['3083139JwjjzO','5421nKMyhd','386322jWlAvX','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','682hSRhXW','171760XFRPqb','apply','(((.+)+)+)+$','search','7DJeMml','6KhRGkz','2979085Pdjext','env','5928vjoUxm','627544ozpvTo','188QQLWqZ'];a103c=function(){return j;};return a103c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a104u=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=-parseInt(r(0xee))/0x1*(-parseInt(r(0xc4))/0x2)+parseInt(r(0x97))/0x3+-parseInt(r(0xae))/0x4+parseInt(r(0xdf))/0x5+-parseInt(r(0xaf))/0x6+parseInt(r(0xf1))/0x7*(parseInt(r(0x11c))/0x8)+-parseInt(r(0xba))/0x9*(-parseInt(r(0xa8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xdc82c));const a104b=(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;};}()),a104a=a104b(this,function(){const s=a104d;return a104a[s(0xc9)]()['search'](s(0xec))['toString']()[s(0xe6)](a104a)[s(0xa9)](s(0xec));});function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x95;let f=c[d];return f;},a104d(a,b);}a104a();import a104e from'path';import a104f from'fs';import a104g from'cli-table';import{v4 as a104h}from'uuid';import{paramCase}from'change-case';import a104i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';function a104c(){const M=['replace','success','existsSync','generatorName','1626apaEMC','both','_generators','validateMakaProject','pallet','toString','Too\x20few\x20arguments','Generator\x20not\x20found','maxArgLength','utf-8','stringify','number','opts','create','_undoHandler','There\x20is\x20no\x20Meteor\x20application\x20here','forEach','Generators:','filter','bright','history.json','deepen','Generator\x20requires\x20a\x20handler\x20function','from','findProjectDirectory','length','where','3280635oYNmet','find','reverse','shortDesc','validateMakaSubscription','transactionId','aliases','constructor','(expermiental)\x20','undo','push','dir','pop','(((.+)+)+)+$','handleGenerateError','46cexWzf','slice','_historyFilePath','14NRFLXj','No\x20undo\x20handler\x20defined\x20for\x20','mustBeInMakaProject','params','tableList','DARK','Generator.create\x20requires\x20a\x20handler\x20function!','resourceName','Description','shift','join','_handler','colLocAnswer','details','invoke','maxOptsLength','\x20not\x20found','addGenerator','Both','Please\x20run\x20\x22maka\x20install\x20meteor\x22','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','writeHistory','Generator\x20format\x20is\x20incorrect','assign','options','pathFromProject','statSync','error','requiredEngines','setColorMode','appPathPrefix','fsi','Nothing\x20to\x20undo.','match','message','Server','server','LIGHT','mustHaveMeteorInstalled','listGenerators','config','usage','map','1526152tOVkNq','getHistoryFileSize','addToHistory','findGeneratorByName','list','writeFileSync','Name','_genTransactionId','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','parse','2075457hoWgtY','minArgLength','chdir','Generator.create\x20requires\x20some\x20options!','noNeedResource','call','name','bind','size','.maka','sep','addGenerator\x20requires\x20a\x20Generator\x20instance','warn','Too\x20many\x20options','split','checkWhere','keys','10gneKij','search','Generator\x20requires\x20a\x20name','validateParams','readHistory','notice','3363760VcaElG','8554722lbxoDf','client','lib','minOptsLength','validateMeteorInstall','Client','cwd','processAndRunGenerator','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','localeCompare','Too\x20many\x20arguments','12627513eOTGZJ','Generator\x20','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','exit','\x20generator.\x20Skipping\x20undo.','fullNameChain'];a104c=function(){return M;};return a104c();}let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a104h();async function inside(a='.',b){const t=a104d,c=process[t(0xb5)]();let d=null;try{process[t(0x99)](a),d=await b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a104u(0x109)];['fullNameChain'];['_generators'];[a104u(0xf0)];[a104u(0xd2)];[a104u(0x123)];constructor(a,b,c){const v=a104u;super();if(!a)throw new Error(v(0x95));if(!a[v(0x9d)])throw new Error(v(0xaa));if(typeof b!=='function')throw new Error(v(0xda));this[v(0xc6)]=[],this[v(0x109)]=Object[v(0x108)]({},a),this['name']=this[v(0x109)][v(0x9d)],this['_handler']=b[v(0x9e)](this);try{this['_historyFilePath']=this[v(0x110)][v(0x10a)]({'pathParts':[v(0xa0),v(0xd8)]})||a104e[v(0xfb)]('.',v(0xa0),v(0xd8));}catch(d){Log['error'](d);}c&&(this[v(0xd2)]=c['bind'](this));}[a104u(0x11d)](){const w=a104u;if(a104f['existsSync'](this['_historyFilePath'])){const a=a104f[w(0x10b)](this[w(0xf0)]);return a[w(0x9f)];}return 0x0;}[a104u(0xac)](){const x=a104u;if(!a104f[x(0xc2)](this[x(0xf0)]))return[];return JSON[x(0x96)](a104f['readFileSync'](this[x(0xf0)],x(0xcd)));}[a104u(0x106)](a){const y=a104u;this[y(0xf0)]&&!a104f[y(0xc2)](this[y(0xf0)])&&a104f[y(0x121)](this[y(0xf0)],JSON[y(0xce)]([])),a104f[y(0x121)](this[y(0xf0)],JSON[y(0xce)](a,null,0x2));}[a104u(0x11e)](a){const z=a104u;try{a?.[z(0xf4)]?.[z(0xd0)][z(0x119)]&&delete a[z(0xf4)][z(0xd0)][z(0x119)];const b=this[z(0xac)](),c={'generatorName':this[z(0xbf)],'transactionId':TRANSACTION_ID,'details':a};b[z(0xe9)](c);const d=Buffer[z(0xdb)](JSON['stringify'](b))['length'];while(d>MAX_HISTORY_SIZE&&b[z(0xdd)]>0x0){b[z(0xfa)]();}this[z(0x106)](b);}catch(f){Log[z(0x10c)](f);}}async[a104u(0xe8)](){const A=a104u,a=this[A(0xac)]();if(a['length']===0x0){Log[A(0xa3)](A(0x111));return;}const b=a[A(0xeb)](),c=b['transactionId'],d=a[A(0xd6)](e=>e[A(0xe4)]===c);d[A(0xe9)](b),d[A(0xe1)]();for(const e of d){const f=this[A(0x11f)](e['generatorName']);if(!f){Log[A(0x10c)](A(0xbb)+e[A(0xc3)]+'\x20not\x20found.\x20Cannot\x20undo.');continue;}f[A(0xd2)]?await f[A(0xd2)](e[A(0xfe)]):Log[A(0xa3)](A(0xf2)+e[A(0xc3)]+A(0xbe));}this[A(0x106)](a[A(0xd6)](g=>g[A(0xe4)]!==c));}static[a104u(0xd1)](a,b,c,d){const B=a104u;if(!a)throw new Error(B(0x9a));if(typeof b!=='function')throw new Error(B(0xf7));const e=new Generator(a,b);c&&(e[B(0xd2)]=c[B(0x9e)](e));d=d||a104i;const f=d?d['fullNameChain']:'';return e['fullNameChain']=f?f+':'+a[B(0x9d)]:a[B(0x9d)],Object[B(0x108)](e,{'parent':d?.[B(0x109)]?.[B(0x9d)]}),d['addGenerator'](e),e;}[a104u(0x102)](a){const C=a104u;if(!(a instanceof Generator))throw new Error(C(0xa2));this[C(0xc6)][C(0xe9)](a);}async[a104u(0xb6)](a,b=[],c={}){const D=a104u;let d;try{const f=a?.['split'](':');if(!f||f['length']===0x0)throw D(0x107);let g=this[D(0xc6)],h;for(const i of f){h=g[D(0xe0)](j=>j['match'](i));if(!h)throw D(0xbb)+i+D(0x101);await this[D(0xe3)](h),g=h[D(0xc6)];}if(h)d=await h[D(0xff)](b,c);else throw D(0xcb);}catch(j){Log['error'](j);}return d;}[a104u(0x11f)](a){const E=a104u,b=a?.['split'](':');if(!b||b[E(0xdd)]===0x0)return Log[E(0x10c)](E(0x107)),null;let c=this[E(0xc6)],d;for(const e of b){d=c[E(0xe0)](f=>f[E(0x112)](e));if(!d)return Log[E(0x10c)](E(0xbb)+e+E(0x101)),null;c=d[E(0xc6)];}return d||null;}async[a104u(0xff)](a,b){const F=a104u,c=a[F(0xef)]();b['resourceName']=c[0x0];try{const d=await this['fsi']['getGlobalConfig'](),f=d[F(0xc8)]==='light'?ColorMode[F(0x116)]:ColorMode[F(0xf6)];Log[F(0x10e)](f),await this[F(0xe3)](this);const g=a[0x0]===_prevGen||a[F(0xdd)]===0x0&&this[F(0xc6)]['length']>=0x0,h=b['help']||b['h'];if(g&&h){if(this[F(0xc6)][F(0xdd)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[F(0x109)][F(0xf3)]){const i=this[F(0xc7)]();if(!i)throw new MustBeInProjectError();}if(this[F(0x109)][F(0x117)]){const j=this[F(0xb3)]();if(!j)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a['length']<this[F(0x109)][F(0x98)]){Log[F(0x10c)](F(0xca));throw new UsageError();}}if(typeof this[F(0x109)][F(0xcc)]===F(0xcf)){if(a[F(0xdd)]>this['options'][F(0xcc)]){Log[F(0x10c)](F(0xb9));throw new UsageError();}}if(typeof this[F(0x109)][F(0xb2)]===F(0xcf)){if(Object[F(0xa7)](b)[F(0xdd)]<this[F(0x109)][F(0xb2)]){Log[F(0x10c)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[F(0x109)][F(0x100)]===F(0xcf)){if(Object['keys'](b)[F(0xdd)]>=this[F(0x109)]['maxOptsLength']){Log[F(0x10c)](F(0xa4));throw new UsageError();}}}this[F(0x109)][F(0x10d)]&&this['validateEngines'](this[F(0x109)][F(0x10d)]);await this[F(0xab)](a,b,this[F(0x109)]);if(!b[F(0xf8)]&&!this[F(0x109)][F(0x9b)]){Log[F(0x10c)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(k){this[F(0xed)](k),process[F(0xbd)](0x1);}return await inside(b[F(0xb5)],async()=>{const G=F;try{if(!b['root']&&!this[G(0x110)][G(0xdc)]())throw new MustBeInProjectError();const l=b[G(0xf8)]?.[G(0xc0)](/\\/g,'/')[G(0xa5)]('/');!b['dir']&&(l?.[G(0xdd)]>0x1?(b[G(0xf8)]=l['pop'](),c[0x0]=b[G(0xf8)],b['dir']=l[G(0x11b)](n=>{return paramCase(n);})[G(0xfb)](a104e[G(0xa1)])):b[G(0xea)]='');if(this['options'][G(0xa6)]){if(!b[G(0xde)]){const o={'type':G(0x120),'name':G(0xfd),'message':'Location','choices':[{'name':G(0xb4),'value':G(0xb0)},{'name':G(0x114),'value':G(0x115)},{'name':G(0x103),'value':G(0xc5)}]},{colLocAnswer:p}=await Actions[G(0x109)](o);p?b[G(0xde)]=p:b['where']='both';}const n=[G(0xc5),G(0xb0),G(0x115)];if(!n['includes'](b[G(0xde)])){Log[G(0x10c)](G(0x105));throw new UsageError();}switch(b[G(0xde)]){case G(0xc5):b['appPathPrefix']=G(0xb1);break;case'server':b['appPathPrefix']='server';break;case G(0xb0):b['appPathPrefix']=G(0xb0);break;default:b[G(0x10f)]='';}}const m=await this[G(0xfc)][G(0x9c)](this,c,b);return m&&this[G(0x11e)]({'params':{'args':c,'opts':this[G(0x110)][G(0xd9)](b)},'success':m?.[G(0xc1)],'message':m?.[G(0x113)],'details':m?.[G(0xfe)]}),m;}catch(q){this[G(0xed)](q);}});}[a104u(0x118)](){const H=a104u;this[H(0xf5)](this[H(0xc6)]);}[a104u(0xed)](a){const I=a104u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[I(0x109)];Log[I(0x11a)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[I(0xad)](I(0xd5)),this[I(0xf5)](this[I(0xc6)]);else{if(a instanceof MustBeInProjectError)Log[I(0x10c)](I(0xbc));else{if(a instanceof NoMeteorFoundError)Log['error'](I(0xb7)),Log[I(0xad)](I(0x104));else a instanceof NoMeteorAppFoundError&&Log['error'](I(0xd3));}}}[a104u(0xf5)](a){const J=a104u,b=new a104g({});b[J(0xe9)]([J(0x122),'Alias',J(0xf9)]),a['sort']((c,d)=>{const K=J;return c[K(0x9d)][K(0xb8)](d[K(0x9d)]);})[J(0xd4)](c=>{const L=J,d=c['experimental'](),e=d?L(0xe7)+c[L(0xe2)]():c[L(0xe2)]();b[L(0xe9)]([c[L(0x9d)],c[L(0xe5)](),e]);}),Log[J(0xd7)](b[J(0xc9)]());}}
|
|
1
|
+
const a104u=a104d;(function(a,b){const r=a104d,c=a();while(!![]){try{const d=-parseInt(r(0x1b9))/0x1+parseInt(r(0x1d5))/0x2*(-parseInt(r(0x18f))/0x3)+parseInt(r(0x179))/0x4*(-parseInt(r(0x180))/0x5)+parseInt(r(0x1af))/0x6*(parseInt(r(0x1bc))/0x7)+-parseInt(r(0x1b2))/0x8*(-parseInt(r(0x1d6))/0x9)+-parseInt(r(0x167))/0xa+-parseInt(r(0x1a0))/0xb*(-parseInt(r(0x1e8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x36854));function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x167;let f=c[d];return f;},a104d(a,b);}const a104b=(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;};}()),a104a=a104b(this,function(){const s=a104d;return a104a['toString']()['search']('(((.+)+)+)+$')['toString']()[s(0x1c1)](a104a)['search'](s(0x1e9));});a104a();import a104e from'path';import a104f from'fs';import a104g from'cli-table';import{v4 as a104h}from'uuid';import{paramCase}from'change-case';import a104i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a104h();function a104c(){const M=['minOptsLength','error','deepen','slice','reverse','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','processAndRunGenerator','fullNameChain','shortDesc','dir','includes','54piPcfE','cwd','config','19480VCVYDB','validateMakaProject','notice','_generators','handleGenerateError','appPathPrefix','function','122392LhqUrY','Both','keys','249571MFTcbd','Please\x20run\x20\x22maka\x20install\x20meteor\x22','help','\x20not\x20found.\x20Cannot\x20undo.','usage','constructor','toString','list','existsSync','validateMeteorInstall','Nothing\x20to\x20undo.','aliases','stringify','pallet','from','addToHistory','getGlobalConfig','.maka','Generator\x20not\x20found','LIGHT','maxArgLength','writeHistory','experimental','Client','undo','8SXhRgY','477oAolsP','map','writeFileSync','both','split','push','create','Generator\x20','readFileSync','Too\x20many\x20arguments','_historyFilePath','Generator\x20requires\x20a\x20handler\x20function','readHistory','Generator.create\x20requires\x20a\x20handler\x20function!','fsi','pop','call','match','10248TXuZVp','(((.+)+)+)+$','tableList','filter','There\x20is\x20no\x20Meteor\x20application\x20here','transactionId','2202600BPbXFw','join','message','generatorName','invoke','_handler','No\x20resource\x20name\x20specified','assign','\x20not\x20found','options','resourceName','Too\x20few\x20options','minArgLength','params','chdir','root','setColorMode','client','156668juIcsU','Location','checkWhere','opts','shift','details','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','50VvqOfC','length','warn','Generator\x20format\x20is\x20incorrect','No\x20undo\x20handler\x20defined\x20for\x20','light','localeCompare','findGeneratorByName','Alias','mustHaveMeteorInstalled','validateMakaSubscription','Server','\x20generator.\x20Skipping\x20undo.','colLocAnswer','find','180939bjZkZS','where','number','forEach','mustBeInMakaProject','maxOptsLength','noNeedResource','Name','parse','bind','requiredEngines','Too\x20many\x20options','Too\x20few\x20arguments','name','_undoHandler','server','history.json','9647zNEpOL','getHistoryFileSize','size','success'];a104c=function(){return M;};return a104c();}async function inside(a='.',b){const t=a104d,c=process[t(0x1b0)]();let d=null;try{process[t(0x175)](a),d=await b();}finally{process[t(0x175)](c);}return d;}export class Generator extends Tool{['options'];['fullNameChain'];[a104u(0x1b5)];['_historyFilePath'];[a104u(0x19d)];['_genTransactionId'];constructor(a,b,c){const v=a104u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x19c)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==v(0x1b8))throw new Error(v(0x1e1));this['_generators']=[],this[v(0x170)]=Object[v(0x16e)]({},a),this[v(0x19c)]=this[v(0x170)][v(0x19c)],this[v(0x16c)]=b['bind'](this);try{this[v(0x1e0)]=this['fsi']['pathFromProject']({'pathParts':[v(0x1cd),v(0x19f)]})||a104e[v(0x168)]('.','.maka',v(0x19f));}catch(d){Log[v(0x1a5)](d);}c&&(this[v(0x19d)]=c['bind'](this));}[a104u(0x1a1)](){const w=a104u;if(a104f[w(0x1c4)](this['_historyFilePath'])){const a=a104f['statSync'](this['_historyFilePath']);return a[w(0x1a2)];}return 0x0;}[a104u(0x1e2)](){const x=a104u;if(!a104f[x(0x1c4)](this['_historyFilePath']))return[];return JSON[x(0x197)](a104f[x(0x1de)](this['_historyFilePath'],'utf-8'));}['writeHistory'](a){const y=a104u;this[y(0x1e0)]&&!a104f[y(0x1c4)](this['_historyFilePath'])&&a104f[y(0x1d8)](this[y(0x1e0)],JSON[y(0x1c8)]([])),a104f[y(0x1d8)](this[y(0x1e0)],JSON['stringify'](a,null,0x2));}[a104u(0x1cb)](a){const z=a104u;try{a?.[z(0x174)]?.[z(0x17c)][z(0x1b1)]&&delete a['params'][z(0x17c)][z(0x1b1)];const b=this[z(0x1e2)](),c={'generatorName':this[z(0x1ab)],'transactionId':TRANSACTION_ID,'details':a};b['push'](c);const d=Buffer[z(0x1ca)](JSON[z(0x1c8)](b))[z(0x181)];while(d>MAX_HISTORY_SIZE&&b['length']>0x0){b[z(0x17d)]();}this['writeHistory'](b);}catch(f){Log[z(0x1a5)](f);}}async[a104u(0x1d4)](){const A=a104u,a=this[A(0x1e2)]();if(a[A(0x181)]===0x0){Log[A(0x182)](A(0x1c6));return;}const b=a[A(0x1e5)](),c=b[A(0x1ed)],d=a[A(0x1eb)](e=>e[A(0x1ed)]===c);d[A(0x1db)](b),d[A(0x1a8)]();for(const e of d){const f=this['findGeneratorByName'](e[A(0x16a)]);if(!f){Log['error'](A(0x1dd)+e[A(0x16a)]+A(0x1bf));continue;}f[A(0x19d)]?await f['_undoHandler'](e['details']):Log[A(0x182)](A(0x184)+e[A(0x16a)]+A(0x18c));}this[A(0x1d1)](a[A(0x1eb)](g=>g[A(0x1ed)]!==c));}static[a104u(0x1dc)](a,b,c,d){const B=a104u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(B(0x1e3));const e=new Generator(a,b);c&&(e['_undoHandler']=c[B(0x198)](e));d=d||a104i;const f=d?d['fullNameChain']:'';return e[B(0x1ab)]=f?f+':'+a[B(0x19c)]:a[B(0x19c)],Object[B(0x16e)](e,{'parent':d?.[B(0x170)]?.['name']}),d['addGenerator'](e),e;}['addGenerator'](a){const C=a104u;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[C(0x1b5)][C(0x1db)](a);}async[a104u(0x1aa)](a,b=[],c={}){const D=a104u;let d;try{const f=a?.[D(0x1da)](':');if(!f||f['length']===0x0)throw D(0x183);let g=this[D(0x1b5)],h;for(const i of f){h=g[D(0x18e)](j=>j[D(0x1e7)](i));if(!h)throw D(0x1dd)+i+D(0x16f);await this[D(0x18a)](h),g=h['_generators'];}if(h)d=await h[D(0x16b)](b,c);else throw D(0x1ce);}catch(j){Log[D(0x1a5)](j);}return d;}[a104u(0x187)](a){const E=a104u,b=a?.[E(0x1da)](':');if(!b||b[E(0x181)]===0x0)return Log[E(0x1a5)](E(0x183)),null;let c=this[E(0x1b5)],d;for(const e of b){d=c[E(0x18e)](f=>f['match'](e));if(!d)return Log[E(0x1a5)](E(0x1dd)+e+E(0x16f)),null;c=d[E(0x1b5)];}return d||null;}async[a104u(0x16b)](a,b){const F=a104u,c=a[F(0x1a7)]();b[F(0x171)]=c[0x0];try{const d=await this[F(0x1e4)][F(0x1cc)](),f=d[F(0x1c9)]===F(0x185)?ColorMode[F(0x1cf)]:ColorMode['DARK'];Log[F(0x177)](f),await this[F(0x18a)](this);const g=a[0x0]===_prevGen||a[F(0x181)]===0x0&&this[F(0x1b5)][F(0x181)]>=0x0,h=b[F(0x1be)]||b['h'];if(g&&h){if(this[F(0x1b5)][F(0x181)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][F(0x193)]){const i=this[F(0x1b3)]();if(!i)throw new MustBeInProjectError();}if(this['options'][F(0x189)]){const j=this[F(0x1c5)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[F(0x170)]['minArgLength']===F(0x191)){if(a[F(0x181)]<this[F(0x170)][F(0x173)]){Log[F(0x1a5)](F(0x19b));throw new UsageError();}}if(typeof this[F(0x170)][F(0x1d0)]===F(0x191)){if(a[F(0x181)]>this['options'][F(0x1d0)]){Log['error'](F(0x1df));throw new UsageError();}}if(typeof this['options'][F(0x1a4)]==='number'){if(Object[F(0x1bb)](b)[F(0x181)]<this[F(0x170)][F(0x1a4)]){Log[F(0x1a5)](F(0x172));throw new UsageError();}}if(typeof this['options'][F(0x194)]===F(0x191)){if(Object['keys'](b)['length']>=this['options']['maxOptsLength']){Log[F(0x1a5)](F(0x19a));throw new UsageError();}}}this[F(0x170)][F(0x199)]&&this['validateEngines'](this['options'][F(0x199)]);await this['validateParams'](a,b,this[F(0x170)]);if(!b['resourceName']&&!this['options'][F(0x195)]){Log[F(0x1a5)](F(0x16d));throw new UsageError();}_prevGen=a[0x0];}catch(k){this['handleGenerateError'](k),process['exit'](0x1);}return await inside(b[F(0x1b0)],async()=>{const G=F;try{if(!b[G(0x176)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const l=b[G(0x171)]?.['replace'](/\\/g,'/')[G(0x1da)]('/');!b['dir']&&(l?.['length']>0x1?(b['resourceName']=l[G(0x1e5)](),c[0x0]=b[G(0x171)],b['dir']=l[G(0x1d7)](n=>{return paramCase(n);})[G(0x168)](a104e['sep'])):b[G(0x1ad)]='');if(this[G(0x170)][G(0x17b)]){if(!b['where']){const o={'type':G(0x1c3),'name':G(0x18d),'message':G(0x17a),'choices':[{'name':G(0x1d3),'value':G(0x178)},{'name':G(0x18b),'value':G(0x19e)},{'name':G(0x1ba),'value':G(0x1d9)}]},{colLocAnswer:p}=await Actions[G(0x170)](o);p?b[G(0x190)]=p:b[G(0x190)]=G(0x1d9);}const n=[G(0x1d9),G(0x178),'server'];if(!n[G(0x1ae)](b[G(0x190)])){Log[G(0x1a5)](G(0x1a9));throw new UsageError();}switch(b[G(0x190)]){case G(0x1d9):b[G(0x1b7)]='lib';break;case'server':b['appPathPrefix']='server';break;case G(0x178):b[G(0x1b7)]=G(0x178);break;default:b[G(0x1b7)]='';}}const m=await this[G(0x16c)][G(0x1e6)](this,c,b);return m&&this[G(0x1cb)]({'params':{'args':c,'opts':this[G(0x1e4)][G(0x1a6)](b)},'success':m?.[G(0x1a3)],'message':m?.[G(0x169)],'details':m?.[G(0x17e)]}),m;}catch(q){this[G(0x1b6)](q);}});}['listGenerators'](){const H=a104u;this['tableList'](this[H(0x1b5)]);}[a104u(0x1b6)](a){const I=a104u,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[I(0x170)];Log[I(0x1c0)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[I(0x1b4)]('Generators:'),this[I(0x1ea)](this[I(0x1b5)]);else{if(a instanceof MustBeInProjectError)Log[I(0x1a5)](I(0x17f));else{if(a instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[I(0x1b4)](I(0x1bd));else a instanceof NoMeteorAppFoundError&&Log[I(0x1a5)](I(0x1ec));}}}[a104u(0x1ea)](a){const J=a104u,b=new a104g({});b[J(0x1db)]([J(0x196),J(0x188),'Description']),a['sort']((c,d)=>{const K=J;return c[K(0x19c)][K(0x186)](d[K(0x19c)]);})[J(0x192)](c=>{const L=J,d=c[L(0x1d2)](),e=d?'(expermiental)\x20'+c[L(0x1ac)]():c[L(0x1ac)]();b['push']([c[L(0x19c)],c[L(0x1c7)](),e]);}),Log['bright'](b[J(0x1c2)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a105d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a105d,c=a();while(!![]){try{var d=parseInt(f(0x18d))/0x1+parseInt(f(0x19a))/0x2+parseInt(f(0x194))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x199))/0x5+-parseInt(f(0x18e))/0x6*(parseInt(f(0x198))/0x7)+parseInt(f(0x197))/0x8*(parseInt(f(0x19b))/0x9)+parseInt(f(0x196))/0xa*(-parseInt(f(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0xcd465));var a105b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a105d;if(c){var e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){var h=a105d;return a105a[h(0x195)]()[h(0x190)](h(0x18f))[h(0x195)]()[h(0x19c)](a105a)[h(0x190)](h(0x18f));});a105a();import'./services/_index.js';import'./api.js';import'./collection.js';function a105c(){var i=['search','apply','1067sAscyI','24VEvYxG','656790lYZTBL','toString','234970KVsteu','336eQtiFf','5138JlMIpZ','6841910RLUdHd','1186760qfMsbx','294174upadsz','constructor','22802kSkfiH','12678zTsLDW','(((.+)+)+)+$'];a105c=function(){return i;};return a105c();}import'./component.js';import'./config.js';import'./dbc.js';function a105d(a,b){var c=a105c();return a105d=function(d,e){d=d-0x18d;var f=c[d];return f;},a105d(a,b);}import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';import'./aws/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=-parseInt(v(
|
|
1
|
+
const a106y=a106d;(function(a,b){const v=a106d,c=a();while(!![]){try{const d=-parseInt(v(0x1cb))/0x1+parseInt(v(0x19f))/0x2*(-parseInt(v(0x1c9))/0x3)+-parseInt(v(0x1d1))/0x4+-parseInt(v(0x1b7))/0x5*(parseInt(v(0x19b))/0x6)+parseInt(v(0x198))/0x7+-parseInt(v(0x1bd))/0x8+-parseInt(v(0x196))/0x9*(-parseInt(v(0x1a4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xcca2f));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a106d;if(c){const e=c[w(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const x=a106d;return a106a[x(0x192)]()[x(0x1a1)](x(0x1b8))['toString']()[x(0x18d)](a106a)['search'](x(0x1b8));});a106a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a106c(){const B=['withMethods','test','template','api/api.js','withValue','/imports/api/','api/resolvers.js','-rest-api.','256235xnGelC','(((.+)+)+)+$','apollo','rest','error','exit','11360232rIYOaY','ddp-rate-limiter','RPC\x20(Methods)','push','if\x20\x5c(typeList','api/methods.js','checkbox','api/register-api.js','API\x20boundaries\x20to\x20create','injectIntoFile','setProjectConfig','api/typeDefs.js','3SzdAqH','resourceName','179627XNhuCl','api','mdg:validated-method','rewriteDestinationPathForEngine','-api\x27;','TypeDefs\x20}\x20from\x20\x27','4417972AFggRf','api/tests.js','pathFromApp','server','GraphQL','length','options','maka\x20{generate,\x20g}:{api}\x20<resource-name>','dir','Resolvers);\x0a\x0a','create','injectAtBeginningOfFile','constructor','ask','apply','typeDefs.','import\x20{\x20typeDefs\x20as\x20','toString','/graphql/resolvers','imports','startup','48893175JcnIfz','TypeDefs);\x0a','1966545bAKUCm','/graphql/typeDefs','injectAtEndOfFile','162mgYAgv','fsi','checkMeteorPackage','.app-tests.','1575002llxmwm','index.','search','const','resolverList.push(','10FyeoUN','resolvers.','engines','\x27;\x0a','API\x20Version?\x20[v1]','maka:rest','withRest','graphql','apiAnswers','includes','getMakaProjectConfig'];a106c=function(){return B;};return a106c();}function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x183;let f=c[d];return f;},a106d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a106y(0x18b)]({'name':'api','aliases':['a'],'usage':a106y(0x188),'shortDesc':'Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','validOpts':[a106y(0x189)],'examples':['maka\x20g:api\x20Todos'],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20create\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const z=a106y;try{const c=this[z(0x19c)][z(0x1ae)](),d=[{'name':z(0x1bf),'value':z(0x1af)}];d['push']({'name':'REST\x20API','value':z(0x1aa)});c['engines'][z(0x1ab)]===z(0x1b9)&&d[z(0x1c0)]({'name':z(0x185),'value':'withGql'});const f={'type':z(0x1c3),'name':z(0x1ac),'message':z(0x1c5),'pageSize':0x64,'choices':d},g=await Actions[z(0x18e)](z(0x1a8))||'v1',{apiAnswers:h}=await Actions[z(0x187)](f);h[z(0x186)]===0x0&&(Log['error']('No\x20API\x20boundaries\x20selected'),process[z(0x1bc)](0x1)),await this[z(0x19c)][z(0x1b3)](c,async()=>{const A=z,i=b[A(0x1ca)],j=paramCase(i),k=camelCase(i),l=b['dir']?'/'+b['dir']+'/':'/',m={'name':pascalCase(i),'apiVersion':g,'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x1a6)][A(0x1cc)],'graphql':c[A(0x1a6)]['graphql'],'test':c['engines'][A(0x1b0)],'noRename':!![],'withMethods':h['includes']('withMethods'),'withRest':h[A(0x1ad)](A(0x1aa))};let n='js';c[A(0x1a6)]['js']==='tsx'&&(n='ts');m[A(0x1aa)]&&(this['fsi'][A(0x1c7)]({'engines':{'api':A(0x1ba)}}),await this[A(0x19c)][A(0x19d)]([A(0x1a9),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[A(0x19c)][A(0x1b1)]({'srcPath':A(0x1b2),'destPath':this[A(0x19c)][A(0x183)]({'pathParts':[A(0x194),'api',g,b[A(0x189)],j,j+'-'+g+A(0x1b6)+n]}),'context':m,'config':c}));m[A(0x1af)]&&(await this[A(0x19c)][A(0x19d)]([A(0x1be),A(0x1cd)],{'shouldInstall':!![]}),await this[A(0x19c)]['template']({'srcPath':A(0x1c2),'destPath':this['fsi']['pathFromApp']({'pathParts':[A(0x194),A(0x1cc),g,b[A(0x189)],j,j+'-'+g+'-rpc-methods.'+n]}),'context':m,'config':c}));c[A(0x1a6)][A(0x1b0)]!=='none'&&await this[A(0x19c)][A(0x1b1)]({'srcPath':A(0x1d2),'destPath':this[A(0x19c)][A(0x183)]({'pathParts':[A(0x194),A(0x1cc),g,b['dir'],j,j+'-'+g+A(0x19e)+n]}),'context':m,'config':c});if(c[A(0x1a6)][A(0x1ab)]===A(0x1b9)){if(h['includes']('withGql')){const p=this[A(0x19c)]['pathFromApp']({'pathParts':[A(0x194),A(0x195),A(0x184),A(0x1a0)+c[A(0x1a6)]['js']]}),q=this[A(0x19c)][A(0x1ce)]({'pathParts':[p],'config':c}),r=this[A(0x19c)]['pathFromApp']({'pathParts':['imports',A(0x1cc),g,b[A(0x189)],j,A(0x1ab),A(0x190)+n]}),s=A(0x1b4)+g+l+j+A(0x199);await this['fsi'][A(0x1b1)]({'srcPath':A(0x1c8),'destPath':r,'context':m,'config':c}),await this[A(0x19c)][A(0x18c)]({'filePath':q,'content':A(0x191)+k+A(0x1d0)+s+A(0x1a7)}),await this[A(0x19c)][A(0x1c6)]({'filePath':q,'content':'typeList.push('+k+A(0x197),'begin':A(0x1a2),'end':A(0x1c1)});const t=this[A(0x19c)][A(0x183)]({'pathParts':[A(0x194),A(0x1cc),g,b[A(0x189)],j,A(0x1ab),A(0x1a5)+n]}),u=A(0x1b4)+g+l+j+A(0x193);await this[A(0x19c)][A(0x1b1)]({'srcPath':A(0x1b5),'destPath':t,'context':m,'config':c}),await this[A(0x19c)]['injectAtBeginningOfFile']({'filePath':q,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+k+'Resolvers\x20}\x20from\x20\x27'+u+'\x27;'}),await this[A(0x19c)][A(0x1c6)]({'filePath':q,'content':A(0x1a3)+k+A(0x18a),'begin':A(0x1a2),'end':A(0x1c1)});}}await this[A(0x19c)][A(0x1b1)]({'srcPath':A(0x1c4),'destPath':this[A(0x19c)][A(0x183)]({'pathParts':[A(0x194),A(0x195),A(0x184),'register-'+j+'-api.'+n]}),'context':m,'config':c,'force':!![]});const o=this[A(0x19c)][A(0x183)]({'pathParts':[A(0x194),A(0x195),A(0x184),A(0x1a0)+c['engines']['js']]});await this[A(0x19c)][A(0x19a)]({'filePath':o,'content':'import\x20\x27./register-'+j+A(0x1cf)});});}catch(i){console[z(0x1bb)](i),process[z(0x1bc)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d
|
|
1
|
+
function a107c(){var i=['26vipFEa','search','192HYxJfM','11tyfqmE','83412dPqZsd','155wacsMo','1953hMLAsp','toString','constructor','3853260mYJpZJ','360456LfeUYf','13470002wxHqby','54546DVTMBv','9PLVKdx','(((.+)+)+)+$','16200SosWoZ','9173heUdFk','apply'];a107c=function(){return i;};return a107c();}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x19d))/0x1*(parseInt(f(0x18d))/0x2)+-parseInt(f(0x19a))/0x3*(-parseInt(f(0x197))/0x4)+-parseInt(f(0x192))/0x5*(parseInt(f(0x199))/0x6)+parseInt(f(0x191))/0x7*(-parseInt(f(0x18f))/0x8)+-parseInt(f(0x193))/0x9*(parseInt(f(0x19c))/0xa)+parseInt(f(0x190))/0xb*(-parseInt(f(0x196))/0xc)+parseInt(f(0x198))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x2d3cf));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x194)]()[h(0x18e)](h(0x19b))['toString']()[h(0x195)](a107a)['search']('(((.+)+)+)+$');});a107a();import'./aws.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x18c;var f=c[d];return f;},a107d(a,b);}import'./cloudformation/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a108i=a108d;
|
|
1
|
+
const a108i=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0xbf))/0x1+-parseInt(f(0xc5))/0x2+-parseInt(f(0xc3))/0x3+-parseInt(f(0xb7))/0x4*(parseInt(f(0xb8))/0x5)+-parseInt(f(0xc6))/0x6+parseInt(f(0xc0))/0x7+-parseInt(f(0xbe))/0x8*(-parseInt(f(0xbb))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x9adae));const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a[h(0xb9)]()[h(0xbd)](h(0xc4))['toString']()['constructor'](a108a)[h(0xbd)](h(0xc4));});a108a();import{Generator}from'../../generator.js';function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xb7;let f=c[d];return f;},a108d(a,b);}const AWSGen=Generator['create']({'name':a108i(0xc1),'usage':a108i(0xba),'shortDesc':'Generate\x20AWS\x20templates','minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a108i(0xbc)],'experimental':!![]},async function(){});function a108c(){const j=['72PwQVxY','104075WIRxre','8552656bbFmSP','aws','apply','878043zMfpkB','(((.+)+)+)+$','1622876lVkvhs','350100FMoSMv','1204PDVrXu','17675FvSTOP','toString','maka\x20{generate,\x20g}:{aws}:<name>','1743057gkfULr','maka\x20g:aws','search'];a108c=function(){return j;};return a108c();}export default AWSGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a109d,c=a();while(!![]){try{var d=parseInt(f(0x1eb))/0x1*(-parseInt(f(0x1e2))/0x2)+-parseInt(f(0x1e8))/0x3+-parseInt(f(0x1ec))/0x4+parseInt(f(0x1e6))/0x5*(-parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1ea))/0x7*(parseInt(f(0x1e4))/0x8)+parseInt(f(0x1ed))/0x9+parseInt(f(0x1e5))/0xa*(parseInt(f(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x5c0b6));var a109b=(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;};}()),a109a=a109b(this,function(){var g=a109d;return a109a['toString']()['search'](g(0x1ee))[g(0x1e1)]()[g(0x1e3)](a109a)['search'](g(0x1ee));});a109a();function a109d(a,b){var c=a109c();return a109d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a109d(a,b);}import'./cloudformation.js';import'./create-ec2-instance.cf.gen.js';function a109c(){var h=['2084829TzlUQU','7458GEPsAO','477533hQkamO','50317QdbTlc','1610124wtefzp','5337819SKWNCG','(((.+)+)+)+$','toString','18MHvRlf','constructor','80YaOeRm','30oJlBvh','65RSRLkg','7452863OhOHIx'];a109c=function(){return h;};return a109c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0xa8))/0x1+parseInt(f(0xb5))/0x2*(-parseInt(f(0xb1))/0x3)+-parseInt(f(0xaa))/0x4+-parseInt(f(0xa7))/0x5*(parseInt(f(0xac))/0x6)+-parseInt(f(0xb9))/0x7+parseInt(f(0xb6))/0x8+-parseInt(f(0xb8))/0x9*(-parseInt(f(0xb2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0xb0243));function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0xa7;let f=c[d];return f;},a110d(a,b);}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0xb3)]()['search'](h(0xab))[h(0xb3)]()[h(0xae)](a110a)[h(0xaf)]('(((.+)+)+)+$');});a110a();import{Generator}from'../../../generator.js';import a110e from'../aws.js';const CFGen=Generator[a110i(0xa9)]({'name':a110i(0xb4),'aliases':['cf'],'usage':a110i(0xba),'noNeedResource':!![],'shortDesc':a110i(0xad),'validOpts':[''],'isPro':![],'examples':[a110i(0xb0)],'experimental':!![]},async function(){},async function(){},a110e);export default CFGen;function a110c(){const j=['7550KsKbEi','toString','cloudformation','298jWxzAH','9425296HXHzsy','apply','58788yNJqRZ','4528125AEwMKC','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','35020EDtXZM','1181231LaYxBD','create','5173528TOaTCN','(((.+)+)+)+$','732eIFEzM','AWS\x20Cloudformation\x20templates','constructor','search','maka\x20g:aws:cf','28437PvgsrV'];a110c=function(){return j;};return a110c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a111d(a,b){const c=a111c();return a111d=function(d,e){d=d-0x10a;let f=c[d];return f;},a111d(a,b);}const a111p=a111d;(function(a,b){const m=a111d,c=a();while(!![]){try{const d=-parseInt(m(0x128))/0x1+parseInt(m(0x119))/0x2*(-parseInt(m(0x10c))/0x3)+-parseInt(m(0x117))/0x4+parseInt(m(0x11d))/0x5*(parseInt(m(0x10e))/0x6)+parseInt(m(0x129))/0x7+parseInt(m(0x11e))/0x8+-parseInt(m(0x10d))/0x9*(-parseInt(m(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x92c8b));const a111b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a111d;if(c){const e=c[n(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a111a=a111b(this,function(){const o=a111d;return a111a['toString']()[o(0x11c)](o(0x12d))[o(0x110)]()[o(0x123)](a111a)[o(0x11c)](o(0x12d));});a111a();import a111e from'path';function a111c(){const s=['ec2describeKeys','22lzGHZn','create','success','search','11455OTFvIc','8211368yekDQK','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','join','getMakaProjectConfig','190OWXMEu','constructor','replaceAll','exit','error','cloudformation','650415QBaxrI','6530629RHgpVb','cloudformation/create-ec2-instance.template','withValue','findProjectDirectory','(((.+)+)+)+$','notice','fsi','create-ec2-instance','282171CQLFZY','28899BWabLG','1098hQUulc','maka\x20g:aws:cf:cec2i','toString','cec2i','apply','aws','create-ec2-instance.template','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','appName','613444maXHqA'];a111c=function(){return s;};return a111c();}import{AWS}from'../../../tools/aws/aws.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import{headerCase}from'change-case';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a111f from'./cloudformation.js';const CEC2Gen=Generator[a111p(0x11a)]({'name':a111p(0x10b),'aliases':[a111p(0x111)],'usage':'maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','noNeedResource':!![],'shortDesc':a111p(0x11f),'validOpts':[''],'isPro':![],'examples':[a111p(0x10f)],'experimental':!![]},async function(){const q=a111p,a=new AWS();try{const b=this['fsi'][q(0x121)](),c=this[q(0x10a)][q(0x12c)](),d=a111e[q(0x120)](c,q(0x127)),f=await a[q(0x118)](),g=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(g)<0x0){Log['error'](q(0x115)),Log[q(0x12e)]('No\x20instance\x20has\x20been\x20created.');return;}let h='';if(f)for(const k of f){if(parseInt(g)===k['id']){h=k['name'],Log[q(0x11b)]('Setting\x20the\x20key-pair\x20to:\x20'+h);break;}}const i=await a['chooseSecurityGroup'](),j={'amiId':'ami-055744c75048d8296','keyPair':h,'sgId':i,'instanceName':headerCase(b[q(0x116)])[q(0x124)]('-','\x20')};await this[q(0x10a)][q(0x12b)](b,async()=>{const r=q;await this[r(0x10a)]['template']({'srcPath':r(0x12a),'destPath':a111e[r(0x120)](d,r(0x114)),'framework':r(0x113),'context':j,'config':b,'ignore':![]});});}catch(l){Log[q(0x126)](l),process[q(0x125)](0x1);}},async function(){},a111f);export default CEC2Gen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xd3;let f=c[d];return f;},a112d(a,b);}const a112m=a112d;(function(a,b){const j=a112d,c=a();while(!![]){try{const d=-parseInt(j(0xd9))/0x1*(parseInt(j(0xe3))/0x2)+parseInt(j(0xd4))/0x3*(-parseInt(j(0xf4))/0x4)+-parseInt(j(0xd6))/0x5*(-parseInt(j(0xda))/0x6)+-parseInt(j(0xdb))/0x7+-parseInt(j(0xe0))/0x8+-parseInt(j(0xe1))/0x9+parseInt(j(0xde))/0xa*(parseInt(j(0xfb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0xf01a5));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a112d;if(c){const e=c[k(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const l=a112d;return a112a[l(0xd5)]()['search'](l(0xef))[l(0xd5)]()[l(0xf3)](a112a)[l(0xf2)](l(0xef));});a112a();import{paramCase,pascalCase}from'change-case';function a112c(){const p=['imports','none','checkMeteorPackage','withValue','col','dir','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','collection','collection/collection.js','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','(((.+)+)+)+$','apply','fsi','search','constructor','16516CxmXfB','collections','mongo','maka\x20g:collection\x20todos','startup','where','injectAtEndOfFile','11328339LxRKbo','index.','create','75BXHLxr','toString','115840djJSSV','test','engines','82oYZcwa','366RsgvyI','9011758VYuaoh','import\x20\x27./collections','resourceName','30EWtSZd','getMakaProjectConfig','2026792nVLkrr','16819992bNfrcd','pathFromApp','158bLrgmn','template'];a112c=function(){return p;};return a112c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a112m(0xd3)]({'name':a112m(0xec),'aliases':[a112m(0xe9)],'usage':a112m(0xee),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':[a112m(0xea),'where'],'description':a112m(0xeb),'examples':[a112m(0xf7)]},async function(a,b){const n=a112m;try{const c=this[n(0xf1)][n(0xdf)]();await this[n(0xf1)][n(0xe8)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0xdd)]),'collectionName':pascalCase(b[o(0xdd)]),'fileName':d,'where':b[o(0xf9)],'test':c[o(0xd8)][o(0xd7)],'noRename':!![]};let g='js';c[o(0xd8)]['js']==='tsx'&&(g='ts');await this[o(0xf1)][o(0xe7)]([o(0xf6)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':o(0xed),'destPath':this[o(0xf1)][o(0xe2)]({'pathParts':[o(0xe5),o(0xf8),b['appPathPrefix'],o(0xf5),b[o(0xea)],d+'.'+g]}),'context':f,'config':c});c[o(0xd8)][o(0xd7)]!==o(0xe6)&&await this['fsi'][o(0xe4)]({'srcPath':'collection/tests.js','destPath':this[o(0xf1)][o(0xe2)]({'pathParts':[o(0xe5),o(0xf8),b['appPathPrefix'],o(0xf5),b[o(0xea)],d+'.app-tests.'+g]}),'context':f,'config':c});const h=b[o(0xea)]?'/'+b[o(0xea)]+'/':'/',i=this[o(0xf1)][o(0xe2)]({'pathParts':[o(0xe5),o(0xf8),b['appPathPrefix'],o(0xfc)+c[o(0xd8)]['js']]});await this[o(0xf1)][o(0xfa)]({'filePath':i,'content':o(0xdc)+h+d+'\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113n=a113d;(function(a,b){const k=a113d,c=a();while(!![]){try{const d=parseInt(k(0x1e2))/0x1+-parseInt(k(0x1d8))/0x2+-parseInt(k(0x1d9))/0x3*(-parseInt(k(0x1af))/0x4)+-parseInt(k(0x1da))/0x5*(-parseInt(k(0x1ce))/0x6)+-parseInt(k(0x1d2))/0x7*(-parseInt(k(0x1b8))/0x8)+-parseInt(k(0x1bd))/0x9+parseInt(k(0x1e0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x6281d));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a113d;if(c){const e=c[l(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const m=a113d;return a113a['toString']()[m(0x1d3)](m(0x1c1))[m(0x1d1)]()[m(0x1bf)](a113a)[m(0x1d3)](m(0x1c1));});a113a();import a113e from'path';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a113d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a113n(0x1d7)];Generator[a113n(0x1ac)]({'name':'component','aliases':aliases,'usage':a113n(0x1aa),'shortDesc':a113n(0x1ad),'validOpts':[{'name':a113n(0x1d6)}],'examples':[a113n(0x1d5)]},async function(a,b){const o=a113n;try{const c=this['fsi'][o(0x1db)](),d=b[o(0x1d6)]?o(0x1ab)+b['baseDir']:o(0x1c5),f=this[o(0x1b0)][o(0x1d4)]({'pathParts':[d,b[o(0x1b5)],paramCase(b[o(0x1df)]),paramCase(b[o(0x1df)])]}),g=await this[o(0x1b0)]['getMakaProjectConfig']();await this[o(0x1b0)][o(0x1b9)](g,async()=>{const p=o;typeof g[p(0x1e4)][p(0x1c3)]===p(0x1bb)&&(g[p(0x1e4)][p(0x1c3)]=g[p(0x1e4)][p(0x1c3)]===p(0x1c6)?!![]:![],this[p(0x1b0)][p(0x1bc)]('test',g['template']['test']));typeof g[p(0x1e4)][p(0x1a7)]==='string'&&(g[p(0x1e4)][p(0x1a7)]=g['template']['css']===p(0x1c6)?!![]:![],this[p(0x1b0)][p(0x1bc)](p(0x1a7),g[p(0x1e4)]['css']));typeof g['template']['js']===p(0x1bb)&&(g[p(0x1e4)]['js']=g[p(0x1e4)]['js']===p(0x1c6)?!![]:![],this['fsi'][p(0x1bc)]('js',g[p(0x1e4)]['js']));!g[p(0x1c8)]&&(g[p(0x1c8)]={});!b[p(0x1c0)]&&!this[p(0x1b0)]['checkNpmPackage'](p(0x1c2))&&(Log[p(0x1ba)](p(0x1e6)),await this[p(0x1b0)][p(0x1e8)](p(0x1c2),{'cwd':c}));if(!b['root']&&!this['fsi'][p(0x1de)]('react')){Log[p(0x1cb)](p(0x1e3));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a113e[p(0x1ae)](this[p(0x1b0)][p(0x1cd)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x1df)]),'camelCaseName':camelCase(b[p(0x1df)]),'fileName':paramCase(b[p(0x1df)]),'graphql':g['engines'][p(0x1cc)],'features':g[p(0x1c8)],'client':g[p(0x1e5)][p(0x1b2)],'api':g[p(0x1e5)]['api'],'ssr':g[p(0x1e5)][p(0x1a9)],'test':g[p(0x1e5)][p(0x1c3)],'theme':g[p(0x1e5)][p(0x1b1)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x1c8)][p(0x1b3)]};await this[p(0x1b0)]['template']({'srcPath':'component/component.js','destPath':f+p(0x1c9),'context':h,'framework':p(0x1e1),'config':g});g[p(0x1e5)][p(0x1c3)]!==p(0x1dc)&&await this[p(0x1b0)][p(0x1e4)]({'srcPath':p(0x1be),'destPath':f+p(0x1c7),'context':h,'framework':p(0x1e1),'config':g});g['template'][p(0x1a7)]&&(await this[p(0x1b0)]['template']({'srcPath':p(0x1b6),'destPath':f+p(0x1b4),'context':Object[p(0x1cf)]({},h,{'className':paramCase(b[p(0x1df)])}),'config':g}),await this[p(0x1b0)][p(0x1a8)]({'filePath':f+'.'+g[p(0x1e5)]['js'],'content':p(0x1dd)+h[p(0x1e7)]+'.'+g[p(0x1e5)][p(0x1a7)]+'\x27;'}));const i=b[p(0x1b5)]?'/'+b[p(0x1b5)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x1c4)];await this[p(0x1b0)][p(0x1ca)](h[p(0x1d0)],g,j);});}catch(h){Log['error'](h);}});function a113c(){const q=['Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','cssCaseName','installNpmPackage','css','injectAtBeginningOfFile','ssr','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','/imports/ui/','create','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','relative','1801836qhvQHd','fsi','theme','client','withTranslations','.css','dir','template/template.css','apply','8lUaTmQ','withValue','warn','string','setTemplate','5489712bOmjdq','test/test.js','constructor','root','(((.+)+)+)+$','ramda','test','fileName','/imports/ui/components','true','.tests.js','features','.js','injectTemplateModule','error','graphql','pathFromProject','77430UTNvxp','assign','className','toString','1269191fatZmI','search','pathFromApp','maka\x20g:comp\x20todos/todos-item','baseDir','comp','1169066PAXlGD','3ZkUULL','100yoixxt','findAppDirectory','none','import\x20\x27./','checkNpmPackage','resourceName','5848300vOfUlW','react','123284AtalVU','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template','engines'];a113c=function(){return q;};return a113c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a114k=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=parseInt(i(0x15f))/0x1*(-parseInt(i(0x153))/0x2)+parseInt(i(0x15e))/0x3*(parseInt(i(0x146))/0x4)+parseInt(i(0x165))/0x5*(-parseInt(i(0x15d))/0x6)+parseInt(i(0x14f))/0x7+parseInt(i(0x15b))/0x8+-parseInt(i(0x143))/0x9+parseInt(i(0x163))/0xa*(parseInt(i(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x9e1fa));const a114b=(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;};}()),a114a=a114b(this,function(){const j=a114d;return a114a[j(0x160)]()['search'](j(0x149))['toString']()[j(0x155)](a114a)[j(0x158)]('(((.+)+)+)+$');});function a114c(){const n=['template','getMakaProjectConfig','2251480AYGVdc','pm2.config.js','44394mHJrLw','3TGmOdx','160543chzIvH','toString','config','maka\x20g:config\x20production','150ToKeEr','settings.json','545HAZeZD','9019224HfVmAx','1132714DiThKn','process.env','1193204WfCuNr','fsi','ubuntu','(((.+)+)+)+$','config/process.env','development','resourceName','config/pm2.config.js','pathFromProject','3447486uCcLXe','local','Generate\x20configuration\x20settings.','appName','2yRNBKU','prod','constructor','config/settings.json','isDocker','search'];a114c=function(){return n;};return a114c();}a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x143;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a114k(0x161),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a114k(0x151),'validOpts':[a114k(0x157)],'examples':[a114k(0x162)]},async function(a,b){const l=a114k;try{const c=this[l(0x147)][l(0x15a)]();await this[l(0x147)]['withValue'](c,async()=>{const m=l,d={'app':c['appName'],'appFileCase':paramCase(c[m(0x152)]),'name':pascalCase(b[m(0x14c)]),'fileName':paramCase(b[m(0x14c)]),'camelCase':camelCase(b[m(0x14c)]),'userName':m(0x148),'isDocker':b['isDocker']};let e=b[m(0x14c)];if(e==='dev')e=m(0x14b);else e===m(0x154)&&(e='production');const f=this['fsi'][m(0x14e)]({'pathParts':[m(0x161),e,m(0x164)]});await this[m(0x147)][m(0x159)]({'srcPath':m(0x156),'destPath':f,'context':d,'config':c});if(e!==m(0x150)){const g=this[m(0x147)][m(0x14e)]({'pathParts':[m(0x161),e,m(0x15c)]});await this[m(0x147)]['template']({'srcPath':m(0x14d),'destPath':g,'context':{'app':c[m(0x152)],'isDocker':!![]},'config':c});}if(e===m(0x150)){const h=this[m(0x147)][m(0x14e)]({'pathParts':[m(0x161),e,m(0x145)]});await this[m(0x147)][m(0x159)]({'srcPath':m(0x14a),'destPath':h,'context':d,'config':c});}});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115k=a115d;function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x143;let f=c[d];return f;},a115d(a,b);}(function(a,b){const i=a115d,c=a();while(!![]){try{const d=-parseInt(i(0x16b))/0x1+-parseInt(i(0x144))/0x2+parseInt(i(0x15f))/0x3*(-parseInt(i(0x163))/0x4)+-parseInt(i(0x160))/0x5+-parseInt(i(0x14a))/0x6+-parseInt(i(0x15b))/0x7+parseInt(i(0x168))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x46b78));const a115b=(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;};}()),a115a=a115b(this,function(){const j=a115d;return a115a['toString']()['search'](j(0x15c))['toString']()[j(0x162)](a115a)['search']('(((.+)+)+)+$');});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a115c(){const n=['template','dbc/register-dbc.js','14895664pgTewD','error','sqlite','440692TwjzrZ','engines','pgsql','import\x20\x27./register-','834954wRuMcN','imports','maka\x20g:dbc\x20todos\x20--type=sqlite','-dbc\x27;','injectAtEndOfFile','pathFromApp','471840LWwYob','resourceName','dbc/config.js','tsx','config.','better-sqlite3','server','type','-dbc.','dir','dbc/conn.js','create','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','withValue','maka\x20g:dbc\x20geoserver\x20--type=pgsql','mssql','getMakaProjectConfig','467208VlcBxf','(((.+)+)+)+$','dbc','startup','1144911gYdiLC','935560AtKAQG','conn.','constructor','4VpxsuG','fsi','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.'];a115c=function(){return n;};return a115c();}Generator[a115k(0x155)]({'name':'dbc','usage':a115k(0x156),'shortDesc':a115k(0x165),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115k(0x151),'values':[a115k(0x16d),a115k(0x159),'sqlite']}],'examples':[a115k(0x158),'maka\x20g:dbc\x20azure\x20--type=mssql',a115k(0x146)]},async function(a,b){const l=a115k;try{const c=await this[l(0x164)][l(0x15a)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[l(0x14b)]),'fileName':paramCase(b[l(0x14b)]),'camelCase':camelCase(b[l(0x14b)]),'type':b[l(0x151)],'engine':c[l(0x16c)]['js'],'noRename':!![]};await this['fsi'][l(0x157)](c,async()=>{const m=l;let g='js';c[m(0x16c)]['js']===m(0x14d)&&(g='ts');b[m(0x151)]==='pgsql'&&await this[m(0x164)]['checkNpmPackage']('pg',{'shouldInstall':!![]});b['type']===m(0x159)&&await this[m(0x164)]['checkNpmPackage'](m(0x159),{'shouldInstall':!![]});b[m(0x151)]===m(0x16a)&&await this[m(0x164)]['checkNpmPackage'](m(0x14f),{'shouldInstall':!![]});await this[m(0x164)][m(0x166)]({'srcPath':m(0x14c),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',m(0x15e),m(0x150),'dbc',b[m(0x153)],d,m(0x14e)+g]}),'context':f,'config':c}),await this[m(0x164)]['template']({'srcPath':m(0x154),'destPath':this[m(0x164)]['pathFromApp']({'pathParts':[m(0x145),m(0x15e),'server',m(0x15d),b[m(0x153)],d,m(0x161)+g]}),'context':f,'config':c}),await this['fsi']['template']({'srcPath':m(0x167),'destPath':this[m(0x164)]['pathFromApp']({'pathParts':['imports','startup','server','register-'+d+m(0x152)+g]}),'context':f,'config':c});const h=this['fsi'][m(0x149)]({'pathParts':[m(0x145),m(0x15e),m(0x150),'index.'+c[m(0x16c)]['js']]});await this['fsi'][m(0x148)]({'filePath':h,'content':m(0x143)+d+m(0x147)});});}catch(g){Log[l(0x169)](g);}});
|