@maka/maka-cli 4.5.24 → 4.5.26
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 +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.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/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/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/rbi.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.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/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/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.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/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/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/kit.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/templates/react/hook/hook.js.jsx +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +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/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/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76q=a76d;(function(a,b){const n=a76d,c=a();while(!![]){try{const d=-parseInt(n(0xef))/0x1*(-parseInt(n(0x108))/0x2)+-parseInt(n(0xff))/0x3*(parseInt(n(0xed))/0x4)+parseInt(n(0x106))/0x5*(parseInt(n(0xf0))/0x6)+parseInt(n(0x10a))/0x7+parseInt(n(0x107))/0x8*(parseInt(n(0xfc))/0x9)+-parseInt(n(0x111))/0xa+-parseInt(n(0x10d))/0xb*(parseInt(n(0x113))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x40462));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a76d;if(c){const e=c[o(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const p=a76d;return a76a['toString']()['search'](p(0x110))['toString']()[p(0xf4)](a76a)[p(0xfd)](p(0x110));});function a76c(){const s=['constructor','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','fsi','scp','readFileSync','maka\x20reconfig\x20--env\x20prod','create','notice','92241ALwyUE','search','env','1170tcAvVw','error','pm2\x20delete\x20all','join','ping','parse','reconfig','1191350mpRmdm','176aQdiuz','255524FTqdXQ','Checking\x20remote\x20host\x20availability','966133YnsWlq','existsSync','success','22utXcOm','_keys','~/settings.json','(((.+)+)+)+$','2484490LFbpcR','~/pm2.config.js','2021028COhNNV','pm2.config.js','getConfigPath','toString','Reconfigure\x20your\x20deployed\x20applications','exit','Remote\x20host\x20connection\x20successful','1400WLjfZi','apply','3rFVxff','6UppYpy','maka\x20reconfig','sshSync','assign'];a76c=function(){return s;};return a76c();}a76a();import a76e from'fs';import a76f from'path';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xe8;let f=c[d];return f;},a76d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a76q(0xfa)]({'name':a76q(0x105),'validOpts':[''],'requiredOpts':[a76q(0xfe)],'mustBeInMakaProject':!![],'usage':a76q(0xf1),'shortDesc':a76q(0xea),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a76q(0xf9)]},async function(a,b){const r=a76q;try{const c=this[r(0xf6)][r(0xe8)](b[r(0xfe)]),d=a76f['join'](c,'ssh.json'),f=a76e[r(0xf8)](d)[r(0xe9)](),g=JSON[r(0x104)](f);Object[r(0xf3)](g,{'env':c}),Log[r(0xfb)](r(0x109));const h=SSH[r(0x103)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x10c)](r(0xec));const i=a76f[r(0x102)](c,r(0x10e),'ses.json');if(a76e[r(0x10b)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0xf7)](l,{...g});}const j=a76f['join'](c,r(0x114));SSH[r(0xf7)]({'source':j,'dest':r(0x112),'verbose':!![]},{...g});const k=a76f[r(0x102)](c,'settings.json');SSH[r(0xf7)]({'source':k,'dest':r(0x10f),'verbose':!![]},{...g}),SSH[r(0xf2)](r(0x101),g),await SSH['ssh'](r(0xf5),{...g},{'verbose':!![]});}catch(m){console[r(0x100)](m),process[r(0xeb)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(-parseInt(f(0x1f0))/0x2)+-parseInt(f(0x1ea))/0x3+-parseInt(f(0x1ec))/0x4*(parseInt(f(0x1f2))/0x5)+parseInt(f(0x1e8))/0x6+-parseInt(f(0x1f1))/0x7+parseInt(f(0x1eb))/0x8+parseInt(f(0x1ed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x27564));var a77b=(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;};}()),a77a=a77b(this,function(){var g=a77d;return a77a['toString']()['search'](g(0x1ee))[g(0x1e7)]()[g(0x1ef)](a77a)[g(0x1f3)](g(0x1ee));});a77a();import'./run.command.js';import'./docker.sub.cmd.js';function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1e7;var f=c[d];return f;},a77d(a,b);}function a77c(){var h=['5102VOBegc','663523rGJAYM','1047745BRWZDd','search','toString','1528608RwUrLK','49ScMiXB','76983xReLfc','21936knvvlk','4gAXyfk','3227508CaTPpl','(((.+)+)+)+$','constructor'];a77c=function(){return h;};return a77c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a78l=a78d;(function(a,b){const i=a78d,c=a();while(!![]){try{const d=parseInt(i(0x19f))/0x1+parseInt(i(0x1a5))/0x2+parseInt(i(0x1ae))/0x3*(parseInt(i(0x1a6))/0x4)+parseInt(i(0x1ab))/0x5*(-parseInt(i(0x19a))/0x6)+-parseInt(i(0x1aa))/0x7*(parseInt(i(0x197))/0x8)+parseInt(i(0x1ad))/0x9+-parseInt(i(0x198))/0xa*(parseInt(i(0x191))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x49070));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x18c;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a78d;if(c){const e=c[j(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const k=a78d;return a78a[k(0x19e)]()['search']('(((.+)+)+)+$')['toString']()[k(0x1a1)](a78a)[k(0x1a3)](k(0x19b));});a78a();function a78c(){const n=['756333WjDfTB','3dCMatk','docker','appName','getProjectConfig','\x20up\x20--remove-orphans','templateContent','join','36146SdqNIc','config/docker-compose.yaml','create','PM2\x20Config\x20File:\x20','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','createFile','40NMgqSY','640hyftQc','pm2.config.js','2378202ovDVwI','(((.+)+)+)+$','Docker\x20Compose\x20Path:\x20','apply','toString','446981hmXwJA','inherit','constructor','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','search','getConfigPath','633602uKAkhc','1956168pesTbX','exit','notice','fsi','603498LwKTsj','5fqMsUo','maka\x20run\x20docker'];a78c=function(){return n;};return a78c();}import a78e from'./run.command.js';import{execSync}from'child_process';import a78f from'path';import a78g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a78l(0x193)]({'name':a78l(0x1af),'aliases':['d'],'shortDesc':a78l(0x1a2),'description':a78l(0x195),'usage':a78l(0x1ac),'validOpts':['']},async function(){const m=a78l;try{const a=this[m(0x1a9)][m(0x18d)](),b=this['fsi'][m(0x1a4)]('docker'),c=a78f[m(0x190)](b,'docker-compose.yaml'),d=a78f['join'](b,m(0x199));Log[m(0x1a8)](m(0x194)+d),Log[m(0x1a8)](m(0x19c)+c);if(!a78g['existsSync'](c)){const f={'app':a[m(0x18c)],'appFileCase':paramCase(a[m(0x18c)])},g=this[m(0x1a9)][m(0x18f)]({'srcPath':m(0x192),'context':f})+'\x0a';this['fsi'][m(0x196)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x18e),{'stdio':m(0x1a0)});}catch(h){process[m(0x1a7)](0x1);}},a78e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a79u=a79d;(function(a,b){const q=a79d,c=a();while(!![]){try{const d=parseInt(q(0x8e))/0x1+-parseInt(q(0x7d))/0x2+-parseInt(q(0xa3))/0x3+-parseInt(q(0x6f))/0x4*(parseInt(q(0x89))/0x5)+parseInt(q(0x93))/0x6*(parseInt(q(0x90))/0x7)+-parseInt(q(0xa4))/0x8+parseInt(q(0x94))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x9cab4));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a79d;if(c){const e=c[r(0x6e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const s=a79d;return a79a['toString']()[s(0x9c)](s(0x8b))[s(0x72)]()[s(0x96)](a79a)[s(0x9c)](s(0x8b));});a79a();import a79e from'path';import a79f from'fs';import a79g from'dotenv';import{rimraf}from'rimraf';function a79c(){const x=['mobileServer','(((.+)+)+)+$','Meteor\x20Settings:\x20','Run\x20your\x20Meteor\x20application','62625xylIID','allowIncompatibleUpdate','7KVKnQf','exclude-archs','local','3101742KCtWrn','27396405YyqYDk','compareMakaToLatest','constructor','isDirectory','invokeMeteorCommand','mobile-server','config','runSubCommand','search','Cannot\x20find\x20Node\x20Environment\x20File:\x20','error','exit','findSubCommand','--production','app','3385050wdDKlg','2216744NsSxkl','warn','join','filter','settings','.meteor','apply','1084veHLEG','process.env','forEach','toString','fsi','sep','isFile','split','settings.json','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','slice','env','concat','--settings','1951322TVqFzE','inspect','splice','create','Node\x20Env\x20Config:\x20','cordova-build','production','docker','notice','port','development','length','11085voJmSf'];a79c=function(){return x;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x6e;let f=c[d];return f;},a79d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a79d;a79f['openSync'](a,'r'),a79g[t(0x9a)]({'path':a});},Run=Command[a79u(0x80)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a79u(0x8d),'description':a79u(0x78),'validOpts':[a79u(0x7a),'docker','r','rawLogs','p',a79u(0x86),'i',a79u(0x7e),'m',a79u(0x8a),'v','verbose',a79u(0x8f),'extraPackages','x',a79u(0x91),a79u(0x83)]},async function(a,b){const v=a79u;try{const c=a[0x0],d=this[v(0xa0)](c);d&&this[v(0x9b)](c,a,b);if(c==='ios'){const m=this[v(0x73)]['findProjectDirectory'](),n=a79e[v(0xa6)](m,v(0xa2),v(0xa9),v(0x92),v(0x82));this[v(0x73)][v(0x97)](n)&&await rimraf(n);}if(b[v(0x99)]&&b[v(0x99)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0x73)][v(0x95)]();const f=b[v(0x7a)]?b[v(0x7a)]:v(0x87),g=this[v(0x73)]['getConfigPath'](f),h=a79e[v(0xa6)](g,v(0x70));let i=a79e['join'](g,v(0x77));b['settings']?i=b[v(0xa8)]:i=a79e[v(0xa6)](g,v(0x77));if(this[v(0x73)][v(0x75)](h)&&!b[v(0x84)])Log[v(0x85)](v(0x81)+h),syncSource(h);else!b[v(0x84)]&&Log[v(0xa5)](v(0x9d)+h);this['fsi'][v(0x75)](i)?(Log[v(0x85)](v(0x8c)+i),a=a[v(0x7b)]([v(0x7c),i])):Log[v(0xa5)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0x76)](a79e[v(0x74)]),k=j[j[v(0x88)]-0x1];k==='production'&&a['push'](v(0xa1));const l=process['argv'][v(0x79)](0x2)['filter'](o=>o!=='run')[v(0xa7)](o=>o!==a[0x0]);l[v(0x71)]((o,p)=>{const w=v;o==='--env'&&l[w(0x7f)](p,0x2),o==='-e'&&l[w(0x7f)](p,0x2);}),this[v(0x73)][v(0x98)]('run',a[v(0x7b)](l));}catch(o){console[v(0x9e)](o),process[v(0x9f)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a80d,c=a();while(!![]){try{var d
|
|
1
|
+
function a80c(){var i=['1748235QjYgQL','4652gchDvw','6312FEicZy','87469XeFgtR','1015GCfoVK','toString','search','142119xELqzd','8965kGZYES','8JpYVfU','constructor','589544VGkKgo','apply','318FapHNh','4510lsjYTL'];a80c=function(){return i;};return a80c();}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x11d))/0x1+parseInt(f(0x116))/0x2+-parseInt(f(0x118))/0x3*(-parseInt(f(0x11b))/0x4)+-parseInt(f(0x11a))/0x5+-parseInt(f(0x11c))/0x6*(parseInt(f(0x11e))/0x7)+parseInt(f(0x114))/0x8*(parseInt(f(0x112))/0x9)+-parseInt(f(0x119))/0xa*(-parseInt(f(0x113))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x33b26));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x11f)]()[h(0x111)]('(((.+)+)+)+$')['toString']()[h(0x115)](a80a)['search']('(((.+)+)+)+$');});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x111;var f=c[d];return f;},a80d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a81j=a81d;(function(a,b){const h=a81d,c=a();while(!![]){try{const d=-parseInt(h(0x155))/0x1+-parseInt(h(0x159))/0x2*(-parseInt(h(0x15d))/0x3)+parseInt(h(0x15a))/0x4*(parseInt(h(0x143))/0x5)+parseInt(h(0x15e))/0x6+-parseInt(h(0x144))/0x7+-parseInt(h(0x147))/0x8+parseInt(h(0x153))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x64207));const a81b=(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;};}()),a81a=a81b(this,function(){const i=a81d;return a81a[i(0x14c)]()['search'](i(0x148))['toString']()[i(0x13e)](a81a)[i(0x158)](i(0x148));});a81a();import a81e from'path';import a81f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a81j(0x149)]({'name':a81j(0x15c),'usage':a81j(0x161),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a81j(0x14a),a81j(0x140),a81j(0x14d),a81j(0x156),a81j(0x15b)],'shortDesc':a81j(0x142),'description':a81j(0x141),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a81j(0x13d),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a81j;try{if(b[k(0x14a)]){if(this['fsi'][k(0x151)](b['cacert']))this[k(0x146)][k(0x145)]({'cert':b[k(0x14a)]}),Log[k(0x13c)]('Set\x20CA\x20Cert\x20Path:\x20'+b[k(0x14a)]);else{const c=typeof b[k(0x14a)]===k(0x13f)?k(0x14b):k(0x154)+b[k(0x14a)];throw Log[k(0x15f)](c);}}if(b[k(0x156)]){const d=this[k(0x146)][k(0x152)](b['workspace']);if(d)this[k(0x146)]['setGlobalConfig']({'workspace':a81e[k(0x157)](b['workspace'])}),Log[k(0x13c)](k(0x14f)+a81e[k(0x157)](b[k(0x156)]));else throw Log[k(0x15f)](k(0x14e));}if(b['allowInsecure']){if(b[k(0x140)]&&b[k(0x14d)])throw Log[k(0x15f)](k(0x160));let f=b[k(0x140)];b[k(0x14d)]&&(f=![]),this[k(0x146)][k(0x145)]({'allowInsecure':f}),Log[k(0x13c)](k(0x150)+f);}}catch(g){console[k(0x15f)](g),process['exit'](0x0);}},a81f);function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x13c;let f=c[d];return f;},a81d(a,b);}function a81c(){const l=['boolean','allowInsecure','\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\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20global\x20Maka-CLI\x20settings','43595tNSyyt','2819173tipOow','setGlobalConfig','fsi','1881936Nnzwzt','(((.+)+)+)+$','create','cacert','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','toString','disallowInsecure','Could\x20not\x20find\x20directory','Set\x20workspace:\x20','Set\x20allowInsecure:\x20','isFile','isDirectory','1112022jlfOVU','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','195840GDgLNi','workspace','resolve','search','165238mqMeje','12eFFKiJ','help','global-config','27knmXsk','2103924vjLaRi','error','One\x20or\x20the\x20other\x20buddy','maka\x20set:global-config\x20<args>','success','maka\x20set:gc\x20--insecure\x20<path>','constructor'];a81c=function(){return l;};return a81c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a82i=a82d;(function(a,b){var f=a82d,c=a();while(!![]){try{var d
|
|
1
|
+
var a82i=a82d;(function(a,b){var f=a82d,c=a();while(!![]){try{var d=parseInt(f(0x1e4))/0x1+-parseInt(f(0x1d4))/0x2*(-parseInt(f(0x1e2))/0x3)+parseInt(f(0x1dc))/0x4*(parseInt(f(0x1d9))/0x5)+parseInt(f(0x1e6))/0x6+parseInt(f(0x1da))/0x7+-parseInt(f(0x1d6))/0x8*(-parseInt(f(0x1de))/0x9)+-parseInt(f(0x1e0))/0xa*(parseInt(f(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x4d425));var a82b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a82d;if(c){var e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){var h=a82d;return a82a[h(0x1d5)]()[h(0x1df)]('(((.+)+)+)+$')[h(0x1d5)]()[h(0x1db)](a82a)[h(0x1df)](h(0x1d2));});function a82c(){var k=['3454vHLayo','919647csyjoh','search','34780WGdvLp','notice','1479CoSwTz','local-config','301445BkkBKs','apply','843294esOZHZ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','(((.+)+)+)+$','maka\x20set:local-config\x20<opts>','2164FzIadr','toString','8rrkKEh','Sorry,\x20not\x20implemented\x20yet','Set\x20local\x20maka\x20app\x20settings','5TDZzBc','2155839nlknaC','constructor','91860aGgowe'];a82c=function(){return k;};return a82c();}a82a();function a82d(a,b){var c=a82c();return a82d=function(d,e){d=d-0x1d2;var f=c[d];return f;},a82d(a,b);}import a82e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a82i(0x1e3),'usage':a82i(0x1d3),'examples':['maka\x20set:lc\x20<opts>','maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a82i(0x1d8),'validOpts':[],'description':a82i(0x1e7)},async function(){var j=a82i;Log[j(0x1e1)](j(0x1d7));},a82e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83h=a83d;(function(a,b){const f=a83d,c=a();while(!![]){try{const d=-parseInt(f(0x1fd))/0x1+parseInt(f(0x1f4))/0x2*(parseInt(f(0x1f1))/0x3)+-parseInt(f(0x1ff))/0x4*(-parseInt(f(0x1fc))/0x5)+parseInt(f(0x1ef))/0x6+-parseInt(f(0x1f7))/0x7*(parseInt(f(0x202))/0x8)+-parseInt(f(0x201))/0x9*(parseInt(f(0x1ed))/0xa)+parseInt(f(0x1f6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x19e8e));function a83c(){const j=['\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','toString','21094DcIuEj','create','2725899MZDXUG','7oxMybl','maka\x20set:<sub-command>\x20<opts>','search','help','(((.+)+)+)+$','25sNzJas','84180dGjtCZ','runSubCommand','90148sqQwEw','findSubCommand','317484xYxwkb','742928fbOlhI','set','50UqiNXF','constructor','531066NGXWeN','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','3eOpDty'];a83c=function(){return j;};return a83c();}const a83b=(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;};}()),a83a=a83b(this,function(){const g=a83d;return a83a[g(0x1f3)]()[g(0x1f9)](g(0x1fb))[g(0x1f3)]()[g(0x1ee)](a83a)[g(0x1f9)](g(0x1fb));});a83a();function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a83d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a83h(0x1f5)]({'name':a83h(0x203),'usage':a83h(0x1f8),'minArgLength':0x1,'shortDesc':a83h(0x1f0),'description':a83h(0x1f2),'validOpts':[]},async function(a,b){const i=a83h,c=a[0x0];if(b[i(0x1fa)])throw new UsageError();const d=this[i(0x200)](c);d&&this[i(0x1fe)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a84m=a84d;(function(a,b){const j=a84d,c=a();while(!![]){try{const d=parseInt(j(0x1e3))/0x1+parseInt(j(0x1d9))/0x2*(-parseInt(j(0x1d4))/0x3)+-parseInt(j(0x1e4))/0x4+-parseInt(j(0x1ef))/0x5+-parseInt(j(0x1dd))/0x6+-parseInt(j(0x1d5))/0x7*(-parseInt(j(0x1de))/0x8)+parseInt(j(0x1f3))/0x9*(parseInt(j(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3446d));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a84d;if(c){const e=c[k(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const l=a84d;return a84a[l(0x1ee)]()['search'](l(0x1e8))['toString']()[l(0x1e0)](a84a)[l(0x1df)](l(0x1e8));});a84a();import a84e from'fs';import a84f from'path';import{Command}from'../command.js';function a84c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','error','153UmtlYQ','length','21xNBxEg','46459icluZH','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod','43172LhyKhz','sshSync','create','assign','478944OednMe','312RztRqj','search','constructor','join','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','148724dvMvik','1058132CgFDaj','ssh.json','apply','parse','(((.+)+)+)+$','307730KBsaOA','maka\x20ssh\x20<command>','env','getConfigPath','maka\x20ssh\x20--env\x20staging','toString','1105620KZuzFr','ssh'];a84c=function(){return o;};return a84c();}import{SSH}from'../tools/ssh/ssh.class.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a84d(a,b);}Command[a84m(0x1db)]({'name':a84m(0x1f0),'usage':a84m(0x1ea),'mustBeInMakaProject':!![],'requiredOpts':[a84m(0x1eb)],'validOpts':[a84m(0x1eb),'v'],'shortDesc':a84m(0x1f1),'examples':['maka\x20ssh\x20--env\x20dev',a84m(0x1ed),a84m(0x1d8),a84m(0x1d6),a84m(0x1d7),a84m(0x1e2)]},async function(a,b){const n=a84m;try{const c=this['fsi'][n(0x1ec)](b[n(0x1eb)]);let d='';a[n(0x1d3)]>0x0&&(d=a[0x0]);const f=a84f[n(0x1e1)](c,n(0x1e5)),g=a84e['readFileSync'](f)['toString'](),h=JSON[n(0x1e7)](g);Object[n(0x1dc)](h,{'env':c}),SSH[n(0x1da)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x1f2)](i),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a85y=a85d;(function(a,b){const v=a85d,c=a();while(!![]){try{const d
|
|
1
|
+
const a85y=a85d;(function(a,b){const v=a85d,c=a();while(!![]){try{const d=parseInt(v(0x19a))/0x1+-parseInt(v(0x197))/0x2*(parseInt(v(0x18e))/0x3)+-parseInt(v(0x190))/0x4+-parseInt(v(0x1a3))/0x5+parseInt(v(0x1a5))/0x6+-parseInt(v(0x16e))/0x7*(parseInt(v(0x177))/0x8)+-parseInt(v(0x196))/0x9*(-parseInt(v(0x189))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x1e3cd));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a85d;if(c){const e=c[w(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const x=a85d;return a85a[x(0x1a0)]()[x(0x170)](x(0x182))[x(0x1a0)]()['constructor'](a85a)[x(0x170)](x(0x182));});a85a();function a85c(){const A=['join','871992MRXqAr','/ssh.json','generate-csr','Checking\x20remote\x20host\x20availability','ask','success','9tsBMSU','322aitLUX','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','exit','18703xryoUs','generate-ssc','uname\x20-a','appName','Using\x20saved\x20letsencrypt\x20config','.csr','toString','maka\x20ssl\x20[command]','readFileSync','910485sizomz','genCSR','500028abimzS','start','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','getConfigPath','getProjectConfig','letsencrypt.json','Create\x20and\x20manage\x20your\x20SSL\x20operations.','withSpinner','Remote\x20host\x20connection\x20successful','1491350UrsVQD','parse','search','error','env','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','apply','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','8yHPWkR','\x20--email\x20','maka\x20ssl\x20--env\x20dev\x20generate-csr','Verifying\x20Letsencrypt\x20configuration','.crt','ssl','domainNames','ssh','New\x20CSR\x20written\x20to\x20','Please\x20provide\x20a\x20command.','fsi','(((.+)+)+)+$','mkKeysDir','email','notice','assign','domains','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','8460280ezUNYY','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','existsSync','.key','genSSC','3933czXnyF'];a85c=function(){return A;};return a85c();}import a85e from'fs';import a85f from'path';import{Actions}from'../tools/actions/actions.class.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x168;let f=c[d];return f;},a85d(a,b);}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['create']({'name':a85y(0x17c),'usage':a85y(0x1a1),'validOpts':[a85y(0x187),a85y(0x184)],'requiredOpts':[a85y(0x172)],'shortDesc':a85y(0x16b),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a85y(0x179),a85y(0x176),a85y(0x18a)]},async function(a,b){const z=a85y,c=this[z(0x181)][z(0x169)](),d=this['fsi'][z(0x168)](b[z(0x172)]),f=this[z(0x181)][z(0x183)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x192))SSL[z(0x1a4)]({'keyName':c[z(0x19d)]+z(0x18c),'csrName':c[z(0x19d)]+z(0x19f),'cwd':f});else{if(g===z(0x19b)){if(!a85e[z(0x18b)](a85f['join'](f,c[z(0x19d)]+z(0x18c))))throw z(0x188)+a85f[z(0x18f)](f,c[z(0x19d)]+z(0x18c));if(!a85e[z(0x18b)](a85f['join'](f,c['appName']+z(0x19f))))throw z(0x173)+a85f['join'](f,c[z(0x19d)]+z(0x19f));SSL[z(0x18d)]({'keyName':c[z(0x19d)]+z(0x18c),'crtName':c[z(0x19d)]+z(0x17b),'cwd':f}),Log['notice'](z(0x17f)+f);}else{if(g==='letsencrypt'){let h=b[z(0x187)],i=b['email'];try{const p=a85e[z(0x1a2)](a85f[z(0x18f)](d,z(0x16a)))[z(0x1a0)](),q=JSON['parse'](p);h=b[z(0x187)]?b['domains']:q[z(0x17d)],i=b['email']?b[z(0x184)]:q['emailUpdate'],(!b[z(0x184)]||!b[z(0x187)])&&Log[z(0x185)](z(0x19e));}catch(r){}const j=JSON[z(0x16f)](a85e[z(0x1a2)](d+z(0x191))[z(0x1a0)]());Object[z(0x186)](j,{'env':d}),Log['notice'](z(0x193));try{const s=SSH['ping'](z(0x19c),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x195)](z(0x16d));}catch(t){Log[z(0x171)](t);return;}const k=Log[z(0x16c)]();k[z(0x1a6)](z(0x17a)),SSH[z(0x17e)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0x17e)](z(0x175),{...j}),SSH[z(0x17e)](z(0x1a7),{...j}),k[z(0x195)]();const l=h?h:await Actions[z(0x194)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x17e)](z(0x198)+l+z(0x178)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a85e['writeFileSync'](a85f[z(0x18f)](d,z(0x16a)),o);}else throw z(0x180);}}}catch(u){console[z(0x171)](u),process[z(0x199)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a86q=a86d;(function(a,b){const m=a86d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a86q=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x104;let f=c[d];return f;},a86d(a,b);}(function(a,b){const m=a86d,c=a();while(!![]){try{const d=parseInt(m(0x10f))/0x1*(parseInt(m(0x11d))/0x2)+parseInt(m(0x133))/0x3*(-parseInt(m(0x117))/0x4)+-parseInt(m(0x131))/0x5*(parseInt(m(0x143))/0x6)+parseInt(m(0x121))/0x7+-parseInt(m(0x116))/0x8+parseInt(m(0x12b))/0x9*(-parseInt(m(0x109))/0xa)+parseInt(m(0x11c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x45edd));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a86d;if(c){const e=c[n(0x124)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const o=a86d;return a86a[o(0x110)]()[o(0x12a)](o(0x106))[o(0x110)]()[o(0x113)](a86a)[o(0x12a)](o(0x106));});a86a();function a86c(){const t=['--env','parse','rawLogs','isFile','none','config','process.env','once','argv','warn','529866MLVZLe','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','maka\x20test\x20<opts>','(((.+)+)+)+$','readFileSync','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','1268670OPPYzG','fsi','create','notice','inspect','testAppPath','30xxsbpp','toString','getConfigPath','settings.json','constructor','test','--packages','1877760NdJsHM','788MzzzaH','port','forEach','Node\x20Env\x20Config:\x20','jasmine','6019948aqYXeL','23404vrUGek','engines','error','packages','1921234vBLSFI','concat','--settings','apply','filter','exit','driver','.maka','meteortesting:mocha','search','27iSTqHW','env','Meteor\x20Settings:\x20','slice','--full-app','--driver','15hVKRRu','join','93AzbgMj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','unit','--driver-package','driverPackage','driver-package'];a86c=function(){return t;};return a86c();}import a86e from'fs';import a86f from'path';import a86g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a86d;a86e['openSync'](a,'r'),a86g[p(0x13e)]({'path':a});};Command[a86q(0x10b)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a86q(0x120),'driver',a86q(0x137),a86q(0x135),a86q(0x12c),a86q(0x13b),a86q(0x118),a86q(0x10d),a86q(0x10e)],'usage':a86q(0x105),'shortDesc':a86q(0x108),'examples':[]},function(a,b){const r=a86q;try{let c=this[r(0x10a)][r(0x111)]('development');b['env']&&(c=this[r(0x10a)][r(0x111)](b['env']));(!b[r(0x135)]||!!b[r(0x140)])&&(a=a['concat']([r(0x12f)]));b[r(0x135)]&&delete b[r(0x135)];let d=b[r(0x138)]||b[r(0x127)]||r(0x13d);if(d==='none'){const j=JSON[r(0x13a)](a86e[r(0x107)](a86f[r(0x132)](this['fsi']['findProjectDirectory'](),r(0x128),'config.json'),'utf8'));if(j[r(0x11e)][r(0x114)]===r(0x11b))d='sanjo:jasmine';else j[r(0x11e)]['test']==='mocha'&&(d=r(0x129));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x138)]||!b[r(0x127)])&&(a=a[r(0x122)]([r(0x136),d]));const f=a86f['join'](c,r(0x112));this[r(0x10a)][r(0x13c)](f)?(Log[r(0x10c)](r(0x12d)+f),a=a[r(0x122)]([r(0x123),f])):Log['warn'](r(0x104)+f);const g=a86f[r(0x132)](c,r(0x13f));this[r(0x10a)][r(0x13c)](g)?(Log[r(0x10c)](r(0x11a)+g),syncSource(g)):Log[r(0x142)](r(0x134)+g);const h=process[r(0x141)][r(0x12e)](0x2)[r(0x125)](k=>k!==r(0x139))['filter'](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0x119)]((k,l)=>{const s=r;(k==='--env'||k===s(0x130))&&h['splice'](l,0x2),k===s(0x115)&&h['splice'](l,0x1);});const i=b['packages']?'test-packages':r(0x114);this[r(0x10a)]['invokeMeteorCommand'](i,a['concat'](h));}catch(k){console[r(0x11f)](k),process[r(0x126)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a87k=a87d;(function(a,b){const i=a87d,c=a();while(!![]){try{const d=parseInt(i(0x1e1))/0x1*(parseInt(i(0x1dc))/0x2)+-parseInt(i(0x1e7))/0x3+-parseInt(i(0x1e3))/0x4*(-parseInt(i(0x1ce))/0x5)+-parseInt(i(0x1d7))/0x6+-parseInt(i(0x1dd))/0x7+parseInt(i(0x1c9))/0x8*(parseInt(i(0x1e8))/0x9)+-parseInt(i(0x1e4))/0xa*(-parseInt(i(0x1c6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xb9b08));const a87b=(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;};}()),a87a=a87b(this,function(){const j=a87d;return a87a[j(0x1d3)]()[j(0x1c7)](j(0x1cc))['toString']()[j(0x1c0)](a87a)[j(0x1c7)](j(0x1cc));});a87a();function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a87d(a,b);}function a87c(){const m=['\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','Maka\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','System\x27s\x20Meteor\x20Version\x20','1630211kecQXg','search','N/A','6704xbFFKZ','meteor','bright','(((.+)+)+)+$','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','5mGllrc','getProjectMeteorVersion','version','meteor.bat',')\x20to\x20at\x20least\x20meteor\x27s\x20(','toString','notice','warn','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','2631576duptOS','\x20node\x20-v','Project\x27s\x20Meteor\x20Node\x20Version\x20','\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','node\x20-v','21844eUSBGw','7393519LjyOOO','create','System\x27s\x20Node\x20Version\x20','win32','97kWDswR','fsi','2991320povzph','10nQLUkz','----------------------System----------------------------','Project\x27s\x20Meteor\x20Version\x20','3386574yHgkrK','15345DjyawG','replace','exit','compareMakaToLatest','maka\x20version','constructor','error'];a87c=function(){return m;};return a87c();}import{execSync}from'child_process';import a87e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.26'};Command[a87k(0x1de)]({'name':a87k(0x1d0),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a87k(0x1c4),'examples':['maka\x20v',a87k(0x1ec)]},async function(){const l=a87k;try{const a=process['platform']===l(0x1e0)?l(0x1d1):l(0x1ca);Log['majestic'](l(0x1c3)+pjson[l(0x1d0)]),await this['fsi'][l(0x1eb)](),Log[l(0x1cb)](l(0x1e5));const b=this[l(0x1e2)]['getGlobalMeteorVersion']();Log[l(0x1cb)]((l(0x1c5)+b)[l(0x1e9)]('\x0a',''));const c=execSync(a+l(0x1d8))[l(0x1d3)]()[l(0x1e9)](/\r?\n|\r/,'')[l(0x1e9)]('v','');Log[l(0x1cb)](l(0x1cd)+c);const d=execSync(l(0x1db))[l(0x1d3)]()[l(0x1e9)](/\r?\n|\r/,'')[l(0x1e9)]('v','');a87e['gt'](c,d)?(Log[l(0x1d5)](l(0x1df)+d),Log['warn'](l(0x1d6)+d+l(0x1d2)+c+')')):Log[l(0x1cb)](l(0x1df)+d);if(this[l(0x1e2)]['isMakaProject']()){Log[l(0x1cb)]('----------------------Project----------------------------');const f=this[l(0x1e2)][l(0x1cf)]();a87e['gt'](b,f)?(Log[l(0x1d5)](l(0x1e6)+f[l(0x1e9)]('\x0a','')),Log[l(0x1d5)](l(0x1c2)+b+'\x22')):Log[l(0x1d4)]((l(0x1e6)+f)[l(0x1e9)]('\x0a',''));const g=await this[l(0x1e2)]['getProjectsMeteorNodeVersion']();g===l(0x1c8)?(Log[l(0x1d5)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log['bright'](l(0x1d9)+g),Log[l(0x1cb)](l(0x1da));}}catch(h){console[l(0x1c1)](h),process[l(0x1ea)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a88d,c=a();while(!![]){try{var d
|
|
1
|
+
function a88c(){var i=['5158248aiAWPQ','73826SvcAab','toString','constructor','86550YpbadG','5UDpZjM','693963LwIiWQ','apply','713382JbRYmA','324670YkKBrJ','search','55PBrXfs','(((.+)+)+)+$','8cDnZkz','49bQbCGE','821144WATjTr','5JBMICQ'];a88c=function(){return i;};return a88c();}(function(a,b){var f=a88d,c=a();while(!![]){try{var d=parseInt(f(0x1c5))/0x1*(-parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1c8))/0x3+parseInt(f(0x1cf))/0x4*(-parseInt(f(0x1d0))/0x5)+parseInt(f(0x1c4))/0x6*(parseInt(f(0x1ce))/0x7)+-parseInt(f(0x1cd))/0x8*(-parseInt(f(0x1c6))/0x9)+-parseInt(f(0x1c9))/0xa*(-parseInt(f(0x1cb))/0xb)+parseInt(f(0x1c0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x22d22));var a88b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a88d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){var h=a88d;return a88a[h(0x1c2)]()[h(0x1ca)](h(0x1cc))[h(0x1c2)]()[h(0x1c3)](a88a)['search'](h(0x1cc));});function a88d(a,b){var c=a88c();return a88d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a88d(a,b);}a88a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0xc5))/0x1*(-parseInt(f(0xb6))/0x2)+-parseInt(f(0xb9))/0x3+parseInt(f(0xc0))/0x4+parseInt(f(0xbd))/0x5+-parseInt(f(0xb7))/0x6+parseInt(f(0xc4))/0x7*(parseInt(f(0xbb))/0x8)+-parseInt(f(0xc7))/0x9*(-parseInt(f(0xc6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x2878b));function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0xb6;var f=c[d];return f;},a89d(a,b);}function a89c(){var j=['constructor','478615dSXyIF','(((.+)+)+)+$','env','1046520sjuoAk','apply','NODE_OPTIONS','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','371uRzcim','157NdGQrg','10BiasOc','1297179WKtwCG','3346ZLQrXj','711672grukzm','search','129486TVRmZK','toString','13392VjGLKA'];a89c=function(){return j;};return a89c();}var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0xba)]()[h(0xb8)](h(0xbe))['toString']()[h(0xbc)](a89a)[h(0xb8)]('(((.+)+)+)+$');});a89a(),process[a89i(0xbf)][a89i(0xc2)]=a89i(0xc3);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90u=a90d;(function(a,b){const q=a90d,c=a();while(!![]){try{const d=parseInt(q(
|
|
1
|
+
const a90u=a90d;(function(a,b){const q=a90d,c=a();while(!![]){try{const d=parseInt(q(0x1cf))/0x1+-parseInt(q(0x1ca))/0x2+parseInt(q(0x17a))/0x3+-parseInt(q(0x1d2))/0x4+parseInt(q(0x1a0))/0x5+-parseInt(q(0x190))/0x6*(-parseInt(q(0x180))/0x7)+parseInt(q(0x1a6))/0x8*(-parseInt(q(0x1b8))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x94cc5));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a90d;if(c){const e=c[r(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const s=a90d;return a90a[s(0x1cc)]()[s(0x183)](s(0x17e))[s(0x1cc)]()['constructor'](a90a)[s(0x183)](s(0x17e));});a90a();import a90e from'path';function a90c(){const G=['990747ivgOxz','where','pop','2819564gCVXAl','roles','length','Too\x20few\x20options','includes','keys','validateMakaSubscription','server','3098559nHvFCN','push','colLocAnswer','_generators','(((.+)+)+)+$','function','35DGmzfK','Generator.create\x20requires\x20a\x20handler\x20function!','getPro','search','cwd','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','maxOptsLength','Location','join','Generator\x20requires\x20a\x20handler\x20function','Generators:','parent','options','proFlags','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Description','831822Pywnsc','bright','slice','_handler','both','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','call','forEach','create','find','addGenerator','maxArgLength','There\x20is\x20no\x20Meteor\x20application\x20here','mustHaveMeteorInstalled','Name','minOptsLength','5989695rDPwpY','resourceName','findProjectDirectory','match','Generator\x20requires\x20a\x20name','filter','8TSLQTD','exit','No\x20resource\x20name\x20specified','client','findGenerator','mustBeInMakaProject','tableList','domainLicense','notice','appPathPrefix','assign','dir','validateMakaProject','Server','usage','validateParams','sort','Alias','22899897wkqXYS','error','singleLicense','To\x20use\x20this\x20generator,\x20\x22','proGenerators','shortDesc','number','name','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Client','list','minArgLength','fsi','help','apply','Generator.create\x20requires\x20some\x20options!','chdir','replace','111846ZFHCPc','addGenerator\x20requires\x20a\x20Generator\x20instance','toString','root','split'];a90c=function(){return G;};return a90c();}import a90f from'cli-table';import{paramCase}from'change-case';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x178;let f=c[d];return f;},a90d(a,b);}import a90g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a90d,c=process[t(0x184)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x1c8)](c);}return d;}export class Generator extends Tool{[a90u(0x18c)];[a90u(0x17d)];constructor(a,b){const v=a90u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x1bf)])throw new Error(v(0x1a4));if(typeof b!==v(0x17f))throw new Error(v(0x189));this[v(0x17d)]=[],this[v(0x18c)]=Object[v(0x1b0)]({},a),this['name']=this['options'][v(0x1bf)],this[v(0x193)]=b['bind'](this);}static[a90u(0x198)](a,b,c){const w=a90u;if(!a)throw new Error(w(0x1c7));if(typeof b!==w(0x17f))throw new Error(w(0x181));const d=new Generator(a,b);return c=c||a90g,Object[w(0x1b0)](d,{'parent':c?.[w(0x18c)]?.[w(0x1bf)]}),c[w(0x19a)](d),d;}[a90u(0x19a)](a){const x=a90u;if(!(a instanceof Generator))throw new Error(x(0x1cb));this[x(0x17d)][x(0x17b)](a);}[a90u(0x1aa)](a){const y=a90u,b=this[y(0x17d)][y(0x199)](c=>c[y(0x1a3)](a));return b;}async[a90u(0x178)](a,b){const z=a90u,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[z(0x1bf)]||a[0x0],e=c?.[z(0x18b)]||'',f=Object[z(0x1d7)](b),g=await this['fsi'][z(0x182)]();!g&&(Log['error'](z(0x18e)),process['exit'](0x1));const h=!g?.[z(0x1d3)][z(0x1d6)](z(0x1ba))&&!g?.[z(0x1d3)][z(0x1d6)](z(0x1ad)),i=g?.[z(0x1bc)]['includes'](d)||g?.[z(0x1bc)][z(0x1d6)](e);if(i&&h)throw z(0x1bb)+d+z(0x195);if(f[z(0x1d4)]>0x0){const j=g?.[z(0x18d)][z(0x1a5)](k=>f[z(0x1d6)](k));if(j&&j[z(0x1d4)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[z(0x188)](',\x20')+z(0x195);}}}async['invoke'](a,b){const A=a90u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x18c)];try{await this[A(0x178)](a,b);}catch(g){Log[A(0x1b9)](g),process[A(0x1a7)](0x1);}const f=a[A(0x192)]();b[A(0x1a1)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x1c5)])throw new UsageError();if(this[A(0x18c)][A(0x1ab)]){const h=this[A(0x1b2)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x18c)][A(0x19d)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a[A(0x1d4)]<this['options'][A(0x1c3)]){Log[A(0x1b9)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[A(0x18c)][A(0x19b)]===A(0x1be)){if(a[A(0x1d4)]>this[A(0x18c)][A(0x19b)]){Log[A(0x1b9)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[A(0x18c)][A(0x19f)]==='number'){if(Object[A(0x1d7)](b)['length']<this[A(0x18c)][A(0x19f)]){Log[A(0x1b9)](A(0x1d5));throw new UsageError();}}if(typeof this[A(0x18c)][A(0x186)]==='number'){if(Object[A(0x1d7)](b)[A(0x1d4)]>=this[A(0x18c)][A(0x186)]){Log[A(0x1b9)]('Too\x20many\x20options');throw new UsageError();}}this[A(0x1b5)](a,b,this[A(0x18c)]);if(!b[A(0x1a1)]&&!this['options']['noResource']){Log[A(0x1b9)](A(0x1a8));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x1b4)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x17d)]['length']>0x0&&b['help']&&(Log[A(0x1ae)](A(0x18a)),this[A(0x1ac)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[A(0x1b9)](A(0x185)),Log[A(0x1ae)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log['error'](A(0x19c));else throw j;}}}process[A(0x1a7)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x184)],async()=>{const C=B;try{if(!b[C(0x1cd)]&&!this[C(0x1c4)][C(0x1a2)]())throw new MustBeInProjectError();const l=b[C(0x1a1)]?.[C(0x1c9)](/\\/g,'/')[C(0x1ce)]('/');!b['dir']&&(l?.[C(0x1d4)]>0x1?(b[C(0x1a1)]=l[C(0x1d1)](),f[0x0]=b[C(0x1a1)],b[C(0x1b1)]=l['map'](m=>{return paramCase(m);})[C(0x188)](a90e['sep'])):b[C(0x1b1)]='');if(this['options']['checkWhere']){if(!b[C(0x1d0)]){const n={'type':C(0x1c2),'name':C(0x17c),'message':C(0x187),'choices':[{'name':C(0x1c1),'value':C(0x1a9)},{'name':C(0x1b3),'value':C(0x179)},{'name':'Both','value':C(0x194)}]},{colLocAnswer:o}=await Actions[C(0x18c)](n);o?b['where']=o:b[C(0x1d0)]=C(0x194);}const m=[C(0x194),'client','server'];if(!m[C(0x1d6)](b['where'])){Log[C(0x1b9)](C(0x1c0));throw new UsageError();}switch(b['where']){case C(0x194):b[C(0x1af)]='lib';break;case C(0x179):b[C(0x1af)]=C(0x179);break;case C(0x1a9):b[C(0x1af)]=C(0x1a9);break;default:b[C(0x1af)]='';}}k(this[C(0x193)][C(0x196)](this,f,b));}catch(p){console[C(0x1b9)](p);}});});}['listGenerators'](){const D=a90u;this['tableList'](this[D(0x17d)]);}[a90u(0x1ac)](a){const E=a90u,b=new a90f({});b[E(0x17b)]([E(0x19e),E(0x1b7),E(0x18f)]),a[E(0x1b6)]()[E(0x197)](c=>{const F=E;b[F(0x17b)]([c[F(0x1bf)],c['aliases'](),c[F(0x1bd)]()]);}),Log[E(0x191)](b[E(0x1cc)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a91d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x1f1))/0x1+-parseInt(f(0x1f2))/0x2+-parseInt(f(0x1f4))/0x3+parseInt(f(0x1fb))/0x4+-parseInt(f(0x1f8))/0x5*(-parseInt(f(0x1f9))/0x6)+parseInt(f(0x1fc))/0x7*(parseInt(f(0x1f7))/0x8)+parseInt(f(0x1fa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x6c488));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x1f0)]()[h(0x1f6)](h(0x1f5))[h(0x1f0)]()['constructor'](a91a)['search'](h(0x1f5));});a91a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';function a91c(){var i=['3139448pczGXz','42fqrwte','toString','184907pdBdYB','1239058gitqUW','apply','2171070ardqAy','(((.+)+)+)+$','search','1904IToKri','82835sxdTpe','42kLwPIq','6296229yWnVgY'];a91c=function(){return i;};return a91c();}import'./route.js';import'./service.js';import'./page.js';function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a91d(a,b);}import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a92z=a92d;
|
|
1
|
+
const a92z=a92d;(function(a,b){const w=a92d,c=a();while(!![]){try{const d=-parseInt(w(0x107))/0x1+-parseInt(w(0x12d))/0x2+parseInt(w(0xd2))/0x3+-parseInt(w(0x12c))/0x4*(-parseInt(w(0xdb))/0x5)+parseInt(w(0xd9))/0x6*(parseInt(w(0x120))/0x7)+-parseInt(w(0xe0))/0x8+-parseInt(w(0x118))/0x9*(-parseInt(w(0xfe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xb49f0));function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd1;let f=c[d];return f;},a92d(a,b);}const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a92d;if(c){const e=c[x(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const y=a92d;return a92a['toString']()[y(0x119)](y(0x10c))[y(0x115)]()[y(0x10b)](a92a)[y(0x119)]('(((.+)+)+)+$');});a92a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a92e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a92z(0x104)]({'name':a92z(0x11c),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a92z(0x10d),'validOpts':[a92z(0x12e)],'examples':[a92z(0xec)]},async function(a,b){const A=a92z;try{const c=this[A(0x10f)][A(0x103)](),d=[{'name':A(0x102),'value':A(0x10e)},{'name':'Fixtures','value':A(0x11b)},{'name':A(0xf0),'value':A(0x125)}];c[A(0x130)][A(0x11c)]===A(0x106)&&d[A(0xdd)]({'name':A(0xe5),'value':A(0xd6)});c[A(0x130)]['graphql']===A(0x101)&&d[A(0xdd)]({'name':A(0xd4),'value':A(0x11a)});const f={'type':'checkbox','name':A(0xde),'message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0xe7)](f);g['length']===0x0&&(Log[A(0xf1)](A(0xe2)),process[A(0xea)](0x1)),this['fsi'][A(0xf7)](c,async()=>{const B=A,h=this[B(0x10f)][B(0x108)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b['dir']?'/'+b[B(0x12e)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x130)][B(0x11c)],'graphql':c['engines'][B(0x114)],'test':c[B(0x130)][B(0x12f)],'noRename':!![],'withPubs':g[B(0xd3)](B(0x125)),'withFixtures':g[B(0xd3)]('withFixtures'),'withMethods':g[B(0xd3)](B(0x10e)),'withRest':g[B(0xd3)](B(0xd6))};let n='js';c[B(0x130)]['js']==='tsx'&&(n='ts');(!this[B(0x10f)][B(0x127)]('maka:rest')||!this[B(0x10f)][B(0x127)](B(0xe1))||!this[B(0x10f)][B(0x127)](B(0xf3))||!this['fsi'][B(0x127)](B(0xe8))||!this[B(0x10f)][B(0x127)](B(0x126)))&&(Log[B(0xfc)](B(0xe6)),await this[B(0x10f)][B(0xd1)](B(0x124),{'cwd':h}));const o=a92e[B(0xee)](B(0xe3));o&&await o[B(0x112)]([j],{'config':c,'where':B(0x113)});c[B(0x130)][B(0x11c)]==='rest'&&(m[B(0xd6)]&&this[B(0x10f)]['template']({'srcPath':B(0xe9),'destPath':this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0x11c),b[B(0x12e)],j,B(0xef)+n]}),'context':m,'config':c}));m['withMethods']&&this['fsi'][B(0xdc)]({'srcPath':B(0xda),'destPath':this[B(0x10f)]['pathFromApp']({'pathParts':[B(0x11d),B(0x11c),b['dir'],j,B(0x129)+n]}),'context':m,'config':c});m['withFixtures']&&this[B(0x10f)][B(0xdc)]({'srcPath':B(0xf9),'destPath':this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0x11c),b[B(0x12e)],j,B(0x116)+n]}),'context':m,'config':c});c[B(0x130)][B(0x12f)]!==B(0xfb)&&this[B(0x10f)]['template']({'srcPath':'api/tests.js','destPath':this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0x11c),b['dir'],j,j+B(0x105)+n]}),'context':m,'config':c});m['withPubs']&&this[B(0x10f)][B(0xdc)]({'srcPath':B(0xf4),'destPath':this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0x11c),b[B(0x12e)],j,B(0x100)+n]}),'context':m,'config':c});if(c[B(0x130)][B(0x114)]===B(0x101)){if(g[B(0xd3)](B(0x11a))){const q=this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0xeb),B(0x113),B(0x11e)+c['engines']['js']]}),r=this[B(0x10f)][B(0xf6)]({'pathParts':[q],'config':c}),s=this['fsi']['pathFromApp']({'pathParts':[B(0x11d),B(0x11c),b['dir'],j,'graphql',B(0xf8)+n]}),t=B(0xf2)+l+j+B(0xfa);this['fsi'][B(0xdc)]({'srcPath':B(0xdf),'destPath':s,'context':m,'config':c}),this['fsi'][B(0xe4)]({'filePath':r,'content':B(0xd8)+k+B(0xd7)+t+B(0x12b)}),this[B(0x10f)][B(0x121)]({'filePath':r,'content':B(0xfd)+k+B(0x12a),'begin':B(0x123),'end':B(0xff)});const u=this[B(0x10f)][B(0x108)]({'pathParts':[B(0x11d),B(0x11c),b[B(0x12e)],j,'graphql',B(0x122)+n]}),v='/imports/api'+l+j+'/graphql/resolvers';this['fsi'][B(0xdc)]({'srcPath':B(0xed),'destPath':u,'context':m,'config':c}),this[B(0x10f)][B(0xe4)]({'filePath':r,'content':B(0xd5)+k+B(0x111)+v+'\x27;'}),this[B(0x10f)][B(0x121)]({'filePath':r,'content':B(0xf5)+k+'Resolvers);\x0a\x0a','begin':B(0x123),'end':B(0xff)});}}this[B(0x10f)][B(0xdc)]({'srcPath':'api/register-api.js','destPath':this['fsi'][B(0x108)]({'pathParts':[B(0x11d),B(0xeb),B(0x113),B(0x109)+j+B(0x11f)+n]}),'context':m,'config':c,'force':!![]});const p=this['fsi'][B(0x108)]({'pathParts':[B(0x11d),B(0xeb),B(0x113),B(0x11e)+c[B(0x130)]['js']]});this[B(0x10f)][B(0x117)]({'filePath':p,'content':B(0x110)+j+'-api\x27;'});});}catch(h){console[A(0x128)](h),process['exit'](0x0);}});function a92c(){const C=['options','mdg:validated-method','api/api.js','exit','startup','maka\x20g:api\x20todos','api/resolvers.js','findGenerator','rest-api.','Publications','error','/imports/api','ddp-rate-limiter','api/publications.js','resolverList.push(','rewriteDestinationPathForEngine','withValue','typeDefs.','api/fixtures.js','/graphql/typeDefs','none','notice','typeList.push(','10RetVLl','if\x20\x5c(typeList','publications.','apollo','RPC\x20(Methods)','getProjectConfig','create','.app-tests.','rest','615322XSIjBh','pathFromApp','register-','apply','constructor','(((.+)+)+)+$','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','withMethods','fsi','import\x20\x27./register-','Resolvers\x20}\x20from\x20\x27','invoke','server','graphql','toString','fixtures.','injectAtEndOfFile','12199671FanVPR','search','withGql','withFixtures','api','imports','index.','-api.','109046MAHBTI','injectIntoFile','resolvers.','const','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','withPubs','mongo','checkMeteorPackage','log','rpc-methods.','TypeDefs);\x0a','\x27;\x0a','8AvdOsl','2312096KeCgEV','dir','test','engines','installMeteorPackage','214347QJHZwc','includes','GraphQL','\x0aimport\x20{\x20resolvers\x20as\x20','withRest','TypeDefs\x20}\x20from\x20\x27','import\x20{\x20typeDefs\x20as\x20','282tOagwM','api/methods.js','1589095zUNAIP','template','push','apiAnswers','api/typeDefs.js','2268624dGPwwT','maka:check','No\x20API\x20boundaries\x20selected','collection','injectAtBeginningOfFile','REST\x20API','Verifying\x20meteor\x20package\x20requirements\x20...'];a92c=function(){return C;};return a92c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a93m=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d=-parseInt(k(0x176))/0x1+-parseInt(k(0x17b))/0x2+-parseInt(k(0x167))/0x3+parseInt(k(0x186))/0x4*(-parseInt(k(0x17e))/0x5)+parseInt(k(0x16b))/0x6+-parseInt(k(0x185))/0x7+parseInt(k(0x178))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x7e590));const a93b=(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;};}()),a93a=a93b(this,function(){const l=a93d;return a93a[l(0x162)]()[l(0x166)]('(((.+)+)+)+$')[l(0x162)]()['constructor'](a93a)['search']('(((.+)+)+)+$');});a93a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a93m(0x188)]({'name':a93m(0x168),'aliases':[a93m(0x173)],'usage':a93m(0x17c),'checkWhere':!![],'shortDesc':a93m(0x16e),'validOpts':[a93m(0x169),a93m(0x179)],'description':a93m(0x187),'examples':[a93m(0x172)]},async function(a,b){const n=a93m;try{const c=this[n(0x171)][n(0x177)]({}),d=this[n(0x171)]['getProjectConfig']();this[n(0x171)]['withValue'](d,async()=>{const o=n,f=paramCase(b[o(0x180)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[o(0x180)]),'fileName':f,'where':b[o(0x179)],'test':d[o(0x17d)]['test'],'noRename':!![]};let h='js';d['engines']['js']===o(0x182)&&(h='ts');!this[o(0x171)]['checkMeteorPackage'](o(0x16a))&&(Log[o(0x17a)](o(0x183)),await this[o(0x171)]['installMeteorPackage'](o(0x16a),{'cwd':c}));!this['fsi'][o(0x163)](o(0x184))&&(Log[o(0x17a)](o(0x17f)),await this[o(0x171)]['installMeteorPackage']('maka:check',{'cwd':c}));this[o(0x171)][o(0x175)]({'srcPath':o(0x16c),'destPath':this[o(0x171)][o(0x177)]({'pathParts':['imports','startup',b[o(0x161)],o(0x160),b[o(0x169)],f+'.'+h]}),'context':g,'config':d});d[o(0x17d)][o(0x16f)]!=='none'&&this[o(0x171)][o(0x175)]({'srcPath':o(0x170),'destPath':this[o(0x171)][o(0x177)]({'pathParts':[o(0x181),o(0x165),b['appPathPrefix'],o(0x160),b[o(0x169)],f+'.app-tests.'+h]}),'context':g,'config':d});const i=b[o(0x169)]?'/'+b[o(0x169)]+'/':'/',j=this['fsi']['pathFromApp']({'pathParts':[o(0x181),o(0x165),b[o(0x161)],o(0x164)+d['engines']['js']]});this['fsi'][o(0x189)]({'filePath':j,'content':o(0x16d)+i+f+'\x27;'});});}catch(f){Log[n(0x174)](f);}});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x160;let f=c[d];return f;},a93d(a,b);}function a93c(){const p=['collection/tests.js','fsi','maka\x20g:collection\x20todos','col','error','template','101458bAPewJ','pathFromApp','19612912RmYktS','where','notice','1355948KovbWp','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','engines','15855utaLTL','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','resourceName','imports','tsx','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','maka:check','5197717xPqUWO','676VzxWZf','\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','create','injectAtEndOfFile','collections','appPathPrefix','toString','checkMeteorPackage','index.','startup','search','342795opEmgI','collection','dir','mongo','1428198oTdMNY','collection/collection.js','import\x20\x27./collections','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','test'];a93c=function(){return p;};return a93c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94q=a94d;(function(a,b){const n=a94d,c=a();while(!![]){try{const d=-parseInt(n(0xcb))/0x1+parseInt(n(0xbf))/0x2+-parseInt(n(0xd8))/0x3*(-parseInt(n(0xad))/0x4)+-parseInt(n(0xc6))/0x5*(-parseInt(n(0xaf))/0x6)+parseInt(n(0xe1))/0x7+-parseInt(n(0xb5))/0x8+parseInt(n(0xcc))/0x9*(parseInt(n(0xa9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x855a5));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a94d;if(c){const e=c[o(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const p=a94d;return a94a[p(0xb4)]()[p(0xd3)]('(((.+)+)+)+$')['toString']()[p(0xd1)](a94a)[p(0xd3)]('(((.+)+)+)+$');});a94a();function a94c(){const t=['client','findAppDirectory','tsx','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','comp','template/template.css','setTemplate','template','1713574cWYkyx','checkNpmPackage','ssr','pathFromApp','test','lib','css','1532440bHUNyl','withValue','startup','/imports/ui/components','getProjectConfig','960334KZYKeL','225JRSSbV','injectAtBeginningOfFile','resourceName','templates.js','pathFromProject','constructor','true','search','\x27;\x0a','.css','component/component.js','none','45gULkys','api','error','import\x20\x27./','\x20};\x0a','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','react','fileName','apply','1996449coWtyd','import\x20{\x20','reflux','fsi','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','cssCaseName','engines','.tests.js','installNpmPackage','graphql','\x20}\x20from\x20\x27','string','ramda','11090nOhSZd','className','rewriteDestinationPathForEngine','features','249684plgUKI','theme','6IJoKzg','dir','root','component','assign','toString','7247800zPhvMl','injectAtEndOfFile'];a94c=function(){return t;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x9d;let f=c[d];return f;},a94d(a,b);}import a94e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a94q(0xbb)];Generator['create']({'name':a94q(0xb2),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a94q(0xdd),'validOpts':['dir'],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a94q;try{const c=this['fsi'][r(0xb8)](),d=r(0xc9),f=this['fsi'][r(0xc2)]({'pathParts':[d,b[r(0xb0)],paramCase(b['resourceName']),paramCase(b[r(0xce)])]}),g=await this[r(0x9f)][r(0xca)]();this[r(0x9f)][r(0xc7)](g,async()=>{const s=r;typeof g[s(0xbe)]['test']===s(0xa7)&&(g[s(0xbe)][s(0xc3)]=g[s(0xbe)][s(0xc3)]==='true'?!![]:![],this[s(0x9f)][s(0xbd)]('test',g[s(0xbe)][s(0xc3)]));typeof g[s(0xbe)][s(0xc5)]===s(0xa7)&&(g[s(0xbe)][s(0xc5)]=g['template'][s(0xc5)]==='true'?!![]:![],this[s(0x9f)][s(0xbd)]('css',g[s(0xbe)]['css']));typeof g[s(0xbe)]['js']===s(0xa7)&&(g[s(0xbe)]['js']=g[s(0xbe)]['js']===s(0xd2)?!![]:![],this[s(0x9f)][s(0xbd)]('js',g[s(0xbe)]['js']));!g[s(0xac)]&&(g['features']={});!b[s(0xb1)]&&!this[s(0x9f)][s(0xc0)](s(0xa8))&&(Log['warn'](s(0xba)),await this['fsi'][s(0xa4)]('ramda',{'cwd':c}));if(!b['root']&&!this[s(0x9f)][s(0xc0)](s(0xde))){Log[s(0xda)](s(0xa0));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a94e['relative'](this[s(0x9f)][s(0xd0)]({}),f),'cssCaseName':paramCase(b[s(0xce)]),'className':pascalCase(b[s(0xce)]),'camelCaseName':camelCase(b[s(0xce)]),'fileName':paramCase(b['resourceName']),'graphql':g[s(0xa2)][s(0xa5)],'features':g[s(0xac)],'client':g['engines']['client'],'api':g['engines'][s(0xd9)],'ssr':g['engines'][s(0xc1)],'test':g['engines'][s(0xc3)],'theme':g[s(0xa2)][s(0xae)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0xac)]['withTranslations']};this[s(0x9f)]['template']({'srcPath':s(0xd6),'destPath':f+'.js','context':h,'framework':s(0xde),'config':g});g[s(0xa2)]['test']!==s(0xd7)&&this[s(0x9f)]['template']({'srcPath':'test/test.js','destPath':f+s(0xa3),'context':h,'framework':s(0xde),'config':g});g['template'][s(0xc5)]&&(this[s(0x9f)][s(0xbe)]({'srcPath':s(0xbc),'destPath':f+s(0xd5),'context':Object[s(0xb3)]({},h,{'className':paramCase(b[s(0xce)])}),'config':g}),this[s(0x9f)][s(0xcd)]({'filePath':f+'.'+g['engines']['js'],'content':s(0xdb)+h[s(0xa1)]+'.'+g[s(0xa2)][s(0xc5)]+'\x27;'}));const i=b[s(0xb0)]?'/'+b[s(0xb0)]+'/':'/',j=''+d+i+h[s(0xdf)]+'/'+h[s(0xdf)];let k;if(g[s(0xa2)]['ssr']===s(0xd2)){const l=this[s(0x9f)][s(0xc2)]({'pathParts':['imports','startup',s(0xc4),s(0xcf)]});k=this[s(0x9f)][s(0xab)]({'pathParts':[l],'config':g});}else{const m=this[s(0x9f)][s(0xc2)]({'pathParts':['imports',s(0xc8),s(0xb7),s(0xcf)]});k=this[s(0x9f)][s(0xab)]({'pathParts':[m],'config':g});}g['engines']['client']===s(0xde)||g[s(0xa2)][s(0xb7)]===s(0x9e)?(g['engines']['js']===s(0xb9)?this[s(0x9f)][s(0xcd)]({'filePath':k,'content':s(0x9d)+h[s(0xaa)]+s(0xa6)+j+'\x27;\x0a'}):this['fsi'][s(0xcd)]({'filePath':k,'content':s(0x9d)+h[s(0xaa)]+'\x20}\x20from\x20\x27'+j+'.'+g['engines']['js']+s(0xd4)}),this['fsi'][s(0xb6)]({'filePath':k,'content':'export\x20{\x20'+h[s(0xaa)]+s(0xdc)})):this['fsi']['injectAtEndOfFile']({'filePath':k,'content':'import\x20\x27'+j+'.'+g[s(0xa2)]['js']+'\x27;\x0a'});});}catch(h){Log['error'](h);}});
|