@maka/maka-cli 4.9.7 → 4.9.10
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/README.md +1 -1
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/README.md +1 -1
- 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/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/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/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/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/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/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/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/templates/meteor/api/api.js +1 -1
- package/bundle/obf/src/templates/meteor/api/api.js.ts +0 -1
- package/bundle/obf/src/templates/meteor/collection/collection.js +15 -49
- package/bundle/obf/src/templates/meteor/collection/collection.js.ts +19 -61
- package/bundle/obf/src/templates/meteor/project/package.json +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/package.json +1 -1
- package/bundle/obf/src/templates/meteor/api/collection.js +0 -86
- package/bundle/obf/src/templates/meteor/api/collection.js.ts +0 -94
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112s=a112d;(function(a,b){const p=a112d,c=a();while(!![]){try{const d=-parseInt(p(0x214))/0x1+-parseInt(p(0x217))/0x2*(parseInt(p(0x212))/0x3)+parseInt(p(0x204))/0x4+parseInt(p(0x20c))/0x5*(-parseInt(p(0x219))/0x6)+-parseInt(p(0x1f5))/0x7+-parseInt(p(0x210))/0x8*(parseInt(p(0x206))/0x9)+parseInt(p(0x1f0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x8cb29));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a112d;if(c){const e=c[q(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const r=a112d;return a112a[r(0x213)]()[r(0x1fc)](r(0x1fd))[r(0x213)]()['constructor'](a112a)[r(0x1fc)](r(0x1fd));});function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a112d(a,b);}a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a112e from'./esri.generator.js';import a112f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a112c(){const v=['FALSE','6595470hfxCrF','dir','react','replaceAll','esri-loader','getMakaProjectConfig','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','search','(((.+)+)+)+$','true','REACT','/imports/ui/hooks','kit/esri/map/','<div\x20id=\x22map-hook\x22>','@esri/react-arcgis','3685920OEwqqd','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','36AXkghe','fsi','bright','.js','withValue','ssr','29695UhycVL','error','Generating\x20a\x20map\x20component','findProjectDirectory','49848fgZMry','/imports/startup/client/templates','24891KoVMzb','toString','813730QEIrwy','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','injectImport','2lvRMJs','Generate\x20an\x20Esri\x20map\x20component','1068BmIRnN','template','map','apply','page','25011200sGzZUs','baseDir','/imports/ui/','/imports/startup/lib/templates'];a112c=function(){return v;};return a112c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a112s(0x1ed),'aliases':['m'],'usage':a112s(0x215),'shortDesc':a112s(0x218),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a112s(0x1ff)],'ssr':SsrEngines[a112s(0x1f4)]},'description':a112s(0x205)},async function(a,b){const t=a112s;try{Log[t(0x208)](t(0x20e));const c='basic-map';await this[t(0x207)]['checkNpmPackage']([t(0x203),t(0x1f9)],{'shouldInstall':!![]});const d=this[t(0x207)][t(0x20f)](),f=this['fsi'][t(0x1fa)](),g=f['engines'][t(0x20b)]===t(0x1fe),h=await a112f['processAndRunGenerator'](t(0x1ef),[t(0x1ed)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1f8)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1f1)]?t(0x1f2)+b[t(0x1f1)]:t(0x200),k=this[t(0x207)]['pathFromApp']({'pathParts':[j,b[t(0x1f6)],paramCase(c),paramCase(c)]});this[t(0x207)][t(0x20a)](f,async()=>{const u=t;this[u(0x207)][u(0x21a)]({'srcPath':u(0x201)+c+u(0x209),'destPath':k+u(0x209),'framework':u(0x1f7),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1f6)]+'/'+c+'/'+c;await this[t(0x207)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x207)]['pathFromApp']({'pathParts':m});await this[t(0x207)][t(0x216)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1f3):t(0x211),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1fb),'begin':[t(0x202),'<div\x20id=\x22map-component\x22>'],'end':['</div>'],'replace':!![]});}catch(o){Log[t(0x20d)](o),process['exit'](0x1);}},async function(){},a112e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113i=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x1c5;let f=c[d];return f;},a113d(a,b);}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1+-parseInt(f(0x1ca))/0x2*(parseInt(f(0x1d5))/0x3)+parseInt(f(0x1c8))/0x4*(parseInt(f(0x1d7))/0x5)+-parseInt(f(0x1ce))/0x6*(parseInt(f(0x1cf))/0x7)+-parseInt(f(0x1cd))/0x8+-parseInt(f(0x1c5))/0x9*(-parseInt(f(0x1d8))/0xa)+parseInt(f(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xcf5a6));function a113c(){const j=['(((.+)+)+)+$','create','18797372vrZYic','1249497khswsN','kit','7260tBPVMR','50700fyuCXX','toString','18qfhzYz','constructor','apply','4456ornzDG','712955nmvLTa','4EextkK','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','408656cxiRZP','5341002aaXeBP','7LQveQz','maka\x20{generate,\x20g}:{kit}\x20<name>','search'];a113c=function(){return j;};return a113c();}const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0x1d9)]()[h(0x1d1)](h(0x1d2))['toString']()[h(0x1c6)](a113a)[h(0x1d1)](h(0x1d2));});a113a();import{Generator}from'../../generator.js';const KitGen=Generator[a113i(0x1d3)]({'name':a113i(0x1d6),'aliases':['k'],'usage':a113i(0x1d0),'shortDesc':a113i(0x1cb),'minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a113i(0x1cc),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a114d,c=a();while(!![]){try{var d
|
|
1
|
+
function a114c(){var i=['212718ymRDsk','toString','15dNfsOF','apply','1156ZVWCwE','27DburUO','613572RAFcxb','constructor','57SSsMwe','7cHbXBb','3704921Tvgdtm','1610eLmheL','(((.+)+)+)+$','1930864dbMqNX','1213482BRidAz','search'];a114c=function(){return i;};return a114c();}(function(a,b){var f=a114d,c=a();while(!![]){try{var d=parseInt(f(0x161))/0x1*(-parseInt(f(0x15d))/0x2)+parseInt(f(0x167))/0x3+-parseInt(f(0x15f))/0x4+-parseInt(f(0x15b))/0x5*(parseInt(f(0x159))/0x6)+-parseInt(f(0x162))/0x7*(parseInt(f(0x166))/0x8)+-parseInt(f(0x15e))/0x9*(-parseInt(f(0x164))/0xa)+parseInt(f(0x163))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x32b74));var a114b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a114d;if(c){var e=c[g(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){var h=a114d;return a114a[h(0x15a)]()[h(0x158)]('(((.+)+)+)+$')[h(0x15a)]()[h(0x160)](a114a)['search'](h(0x165));});a114a();import'./mui.generator.js';function a114d(a,b){var c=a114c();return a114d=function(d,e){d=d-0x158;var f=c[d];return f;},a114d(a,b);}import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x8c))/0x1*(parseInt(x(0x72))/0x2)+-parseInt(x(0x99))/0x3*(-parseInt(x(0x7f))/0x4)+-parseInt(x(0x90))/0x5*(-parseInt(x(0x9d))/0x6)+-parseInt(x(0x8f))/0x7+-parseInt(x(0x8d))/0x8+-parseInt(x(0x94))/0x9+-parseInt(x(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xca11f));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 y=a115d;return a115a[y(0x9c)]()[y(0x8e)](y(0x83))['toString']()[y(0x73)](a115a)[y(0x8e)]('(((.+)+)+)+$');});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x6f;let f=c[d];return f;},a115d(a,b);}a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a115c(){const D=['/imports/startup/lib/templates','basic-app-bar','create','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{\x20this.props.children\x20}','options','session','dir','appName','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','findAppDirectory','layouts','withValue','test','2tkUwpU','constructor','-hook\x22>','template','No\x20layouts\x20selected','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','maka\x20g:k:m:f','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','.js','join','{this.props.children}','error','418828bBbJcX','basic-drawer','12487750gXkHkJ','{\x20props.children\x20}','(((.+)+)+)+$','fsi','kit/mui/frame/drawers/','true','app-tests','Cleaning\x20up...','baseDir','injectImport','{props.children}','1528759iikfuM','1483736OVFSxr','search','2686390enZSTv','15BOWnUJ','getDirectories','react','length','4878882pITnPQ','\x20/>\x0a','<div\x20id=\x22','checkMeteorPackage','/imports/startup/client/templates','9NQHCMp','ssr','maka\x20generate:kit:mui:frame','toString','2689818dgUSbd','injectTemplateModule','kit/mui/frame/app-bars/','getMakaProjectConfig','/imports/ui/hooks','checkbox','MATERIAL','injectIntoFile'];a115c=function(){return D;};return a115c();}Generator[a115z(0xa7)]({'name':'frame','aliases':['f'],'usage':a115z(0x78),'shortDesc':a115z(0xae),'validOpts':[a115z(0x6f)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115z(0xa3)],'client':ClientEngines['REACT']},'examples':[a115z(0x9b),a115z(0x79)],'description':a115z(0x7a)},async function(a,b){const A=a115z;try{const c=A(0xa6),d=A(0x80),f=this[A(0x84)][A(0xa0)](),g=f['engines'][A(0x9a)]===A(0x86);await this['fsi'][A(0x97)](A(0xab),{'shouldInstall':!![]});const h=this[A(0x84)][A(0xaf)](),i=a115e[A(0x7c)](h,'imports','ui',A(0x6f)),j=this[A(0x84)][A(0x91)](i),k=await Actions[A(0xaa)]({'type':A(0xa2),'name':'layouts','message':A(0xa8),'choices':j});if(k['layouts'][A(0x93)]===0x0){Log[A(0x7e)](A(0x76));return;}const l=b[A(0x89)]?'/imports/ui/'+b[A(0x89)]:A(0xa1),m=this[A(0x84)][A(0x77)]({'pathParts':[l,b[A(0xac)],paramCase(c),paramCase(c)]}),n=this[A(0x84)][A(0x77)]({'pathParts':[l,b['dir'],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0xad)])['replaceAll']('-','\x20')};await this[A(0x84)][A(0x70)](f,async()=>{const B=A;await this[B(0x84)]['template']({'srcPath':B(0x9f)+c+B(0x7b),'destPath':m+B(0x7b),'framework':B(0x92),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi'][B(0x75)]({'srcPath':B(0x85)+d+B(0x7b),'destPath':n+B(0x7b),'framework':B(0x92),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0xac)]+'/'+c+'/'+c;await this[A(0x84)][A(0x9e)](c,f,p);const q=''+l+b[A(0xac)]+'/'+d+'/'+d;await this['fsi'][A(0x9e)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi']['getFiles'](a115e[A(0x7c)](i,s),{'extensions':['jsx','tsx'],'omit':[A(0x87),'tests',A(0x71)]});for(const u of t){const v=a115e[A(0x7c)](i,s,u);await this[A(0x84)][A(0x8a)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?A(0xa5):'/imports/startup/client/templates','isNamedExport':!![]}),await this[A(0x84)][A(0xa4)]({'filePath':v,'content':'<'+pascalCase(c)+A(0x95),'begin':['<div\x20id=\x22'+s+'\x22>',A(0x96)+s+A(0x74)],'end':['{this.props.children}',A(0xa9),A(0x8b),A(0x82)]}),await this['fsi'][A(0x8a)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0xa5):A(0x98),'isNamedExport':!![]}),await this[A(0x84)][A(0xa4)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'\x22>',A(0x96)+s+A(0x74)],'end':[A(0x7d),A(0xa9),A(0x8b),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[A(0x7e)](w);}},async function(){const C=a115z;console['log'](C(0x88));},a115f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1*(parseInt(f(0x11e))/0x2)+-parseInt(f(0x11c))/0x3+parseInt(f(0x10d))/0x4*(parseInt(f(0x11b))/0x5)+-parseInt(f(0x115))/0x6*(-parseInt(f(0x110))/0x7)+parseInt(f(0x113))/0x8+-parseInt(f(0x118))/0x9+-parseInt(f(0x114))/0xa*(parseInt(f(0x119))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x94579));const a116b=(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;};}()),a116a=a116b(this,function(){const g=a116d;return a116a['toString']()[g(0x10e)](g(0x11a))['toString']()[g(0x112)](a116a)[g(0x10e)](g(0x11a));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x10d;let f=c[d];return f;},a116d(a,b);}const MuiGen=Generator[a116h(0x10f)]({'name':a116h(0x116),'aliases':['m'],'usage':a116h(0x117),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116h(0x11d)]},async function(){throw'NIE';},async function(){},a116e);export default MuiGen;function a116c(){const i=['(((.+)+)+)+$','8455dyQwtL','2723988sFuSxB','maka\x20g:kit:m','2118526yNXtRJ','1632EalRag','search','create','119tbwdDj','1inVeIO','constructor','4463272ycJjXy','110gadLLM','290148svIHEi','mui','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','4307211VLuiEU','1135002hSwIzZ'];a116c=function(){return i;};return a116c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x132))/0x1+parseInt(l(0x143))/0x2+-parseInt(l(0x13a))/0x3*(parseInt(l(0x13f))/0x4)+parseInt(l(0x130))/0x5+-parseInt(l(0x14a))/0x6*(-parseInt(l(0x15c))/0x7)+-parseInt(l(0x131))/0x8+parseInt(l(0x15a))/0x9*(-parseInt(l(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xc8370));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0x138)](n(0x153))['toString']()['constructor'](a117a)['search']('(((.+)+)+)+$');});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const r=['withValue','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','none','Scaffolding\x20for\x20a\x20React\x20Layout.','setTemplate','ramda','99DtNcze','warn','1138585tyYPXy','className','engines','import\x20\x27./','injectAtBeginningOfFile','.js','checkNpmPackage','features','string','hook/hook.js','dir','react','5711615SuTANl','8234536vpkevA','751069uCEUtZ','api','template','apply','resourceName','true','search','css','484683FoQDzO','fileName','create','layout','test','24fdGfwE','524180chthUt','.css','injectTemplateModule','1377388eXZvbQ','/imports/ui/layouts','client','getMakaProjectConfig','template/template.css','fsi','installNpmPackage','30XmTIyK','relative','component/component.js','pathFromProject','maka\x20g:l\x20web/safari','test/test.js','theme','split','pathFromApp','(((.+)+)+)+$'];a117c=function(){return r;};return a117c();}import{camelCase,paramCase,pascalCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x12f;let f=c[d];return f;},a117d(a,b);}const aliases=['l'];Generator[a117o(0x13c)]({'name':a117o(0x13d),'aliases':aliases,'usage':a117o(0x155),'shortDesc':a117o(0x157),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8',a117o(0x14e)]},async function(a,b){const p=a117o,c=p(0x144),d=this['fsi']['findAppDirectory'](),e=this['fsi'][p(0x152)]({'pathParts':[c,b[p(0x166)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this['fsi'][p(0x146)]();await this[p(0x148)][p(0x154)](f,async()=>{const q=p;typeof f[q(0x134)][q(0x13e)]===q(0x164)&&(f[q(0x134)][q(0x13e)]=f['template'][q(0x13e)]===q(0x137)?!![]:![],this[q(0x148)][q(0x158)](q(0x13e),f[q(0x134)][q(0x13e)]));typeof f[q(0x134)]['css']==='string'&&(f[q(0x134)][q(0x139)]=f[q(0x134)][q(0x139)]===q(0x137)?!![]:![],this['fsi']['setTemplate'](q(0x139),f[q(0x134)][q(0x139)]));typeof f[q(0x134)]['js']==='string'&&(f[q(0x134)]['js']=f['template']['js']===q(0x137)?!![]:![],this[q(0x148)]['setTemplate']('js',f[q(0x134)]['js']));!f[q(0x163)]&&(f[q(0x163)]={});const g=b['_']?b['_'][0x0][q(0x151)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x162)]('ramda')&&(Log[q(0x15b)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x148)][q(0x149)](q(0x159),{'cwd':d}));if(h&&!this[q(0x162)]('react')){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[q(0x136)]),'myPath':a117e[q(0x14b)](this[q(0x148)][q(0x14d)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x136)]),'fileName':paramCase(b[q(0x136)]),'graphql':f[q(0x15e)]['graphql'],'features':f[q(0x163)],'client':f[q(0x15e)][q(0x145)],'api':f['engines'][q(0x133)],'ssr':f[q(0x15e)]['ssr'],'test':f[q(0x15e)][q(0x13e)],'theme':f[q(0x15e)][q(0x150)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0x163)]?.['withHooks']||b['withHook']?await this[q(0x148)][q(0x134)]({'srcPath':q(0x165),'destPath':e+q(0x161),'framework':q(0x12f),'context':i,'config':f}):await this[q(0x148)]['template']({'srcPath':q(0x14c),'destPath':e+q(0x161),'framework':q(0x12f),'context':i,'config':f});f[q(0x15e)][q(0x13e)]!==q(0x156)&&await this['fsi'][q(0x134)]({'srcPath':q(0x14f),'destPath':e+'.app-tests.js','framework':'react','context':i,'config':f});f[q(0x134)]['css']&&(await this[q(0x148)]['template']({'srcPath':q(0x147),'destPath':e+q(0x141),'context':Object['assign']({},i,{'className':paramCase(b[q(0x136)])}),'config':f}),await this[q(0x148)][q(0x160)]({'filePath':e+'.'+f[q(0x15e)]['js'],'content':q(0x15f)+i[q(0x13b)]+'.'+f[q(0x15e)][q(0x139)]+'\x27;'}));const j=b[q(0x166)]?'/'+b[q(0x166)]+'/':'/',k=''+c+j+i[q(0x13b)]+'/'+i[q(0x13b)];await this['fsi'][q(0x142)](i[q(0x15d)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
function a118c(){const j=['maka\x20g:package\x20package:name','maka\x20g:scaffold\x20todos','(((.+)+)+)+$','138630nPzrnv','generate','maka\x20g:template\x20todos/todo_item','171geGHsh','2796431FOPPcb','1567296yMtofF','463476FPCmJG','6wjLxzU','search','655275ZAhOhi','2tcgdhU','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','6VUHgza','maka\x20g:route\x20todos/edit','maka\x20g:api\x20trucks','177998BGomeJ','maka\x20{generate,\x20g}:<generator>\x20<name>','1711752YDqeIo','apply','constructor','toString'];a118c=function(){return j;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb8;let f=c[d];return f;},a118d(a,b);}const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xcd))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xca))/0x3*(-parseInt(f(0xc3))/0x4)+-parseInt(f(0xc6))/0x5*(-parseInt(f(0xc4))/0x6)+-parseInt(f(0xcf))/0x7+-parseInt(f(0xc2))/0x8+parseInt(f(0xc0))/0x9*(parseInt(f(0xbd))/0xa)+parseInt(f(0xc1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x25b75));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0xb9)]()[h(0xc5)](h(0xbc))[h(0xb9)]()[h(0xb8)](a118a)['search'](h(0xbc));});a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0xbe),'aliases':['g'],'usage':a118i(0xce),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0xc8),'examples':['maka\x20generate:scaffold\x20todos',a118i(0xbb),a118i(0xbf),a118i(0xba),a118i(0xcb),a118i(0xcc),a118i(0xc9)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=-parseInt(j(0x11d))/0x1+-parseInt(j(0x122))/0x2+parseInt(j(0x139))/0x3*(parseInt(j(0x12a))/0x4)+-parseInt(j(0x11f))/0x5*(-parseInt(j(0x133))/0x6)+parseInt(j(0x125))/0x7+-parseInt(j(0x12b))/0x8*(parseInt(j(0x128))/0x9)+parseInt(j(0x13a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x47905));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x131)]()[l(0x138)](l(0x13d))[l(0x131)]()[l(0x11e)](a119a)[l(0x138)](l(0x13d));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x11d;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a119c(){const p=['maka:check','296kHvEjz','192uVWzcU','template','imports','withValue','checkMeteorPackage','dir','toString','method/method.js','6IyGwrz','-rpc-method\x27;','injectAtEndOfFile','mdg:validated-method','engines','search','7713JxTGZI','6423130jfziwP','appPathPrefix','pathFromApp','(((.+)+)+)+$','startup','maka\x20g:method\x20todos','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','69787MNPkYS','constructor','592820QqBSRc','-rpc-method.','ddp-rate-limiter','1072496JNvknL','apply','fsi','2341507qwxnst','resourceName','index.','144927uagmQA'];a119c=function(){return p;};return a119c();}Generator['create']({'name':'method','aliases':['m'],'usage':a119m(0x141),'checkWhere':!![],'shortDesc':a119m(0x140),'validOpts':[a119m(0x130)],'examples':[a119m(0x13f)]},async function(a,b){const n=a119m;try{const c=this[n(0x124)]['getMakaProjectConfig']();await this[n(0x124)][n(0x12e)](c,async()=>{const o=n,d=paramCase(b[o(0x126)]),f={'name':b[o(0x126)],'fileName':d,'className':pascalCase(b[o(0x126)]),'camelCase':camelCase(b[o(0x126)]),'noRename':!![]};let g='js';c[o(0x137)]['js']==='tsx'&&(g='ts');await this[o(0x124)][o(0x12f)]([o(0x129),o(0x121),o(0x136)],{'shouldInstall':!![]}),await this[o(0x124)][o(0x12c)]({'srcPath':o(0x132),'destPath':this[o(0x124)][o(0x13c)]({'pathParts':[o(0x12d),o(0x13e),b[o(0x13b)],'methods',b[o(0x130)],d+o(0x120)+g]}),'context':f,'config':c});const h=b[o(0x130)]?'/'+b[o(0x130)]+'/':'/',i=this[o(0x124)]['pathFromApp']({'pathParts':[o(0x12d),'startup',b[o(0x13b)],o(0x127)+c[o(0x137)]['js']]});await this[o(0x124)][o(0x135)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x134)});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0x85))/0x1+-parseInt(l(0xa5))/0x2*(parseInt(l(0x93))/0x3)+parseInt(l(0x7a))/0x4+parseInt(l(0x9e))/0x5+-parseInt(l(0x9d))/0x6+parseInt(l(0x7e))/0x7+-parseInt(l(0x9b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x33740));function a120c(){const r=['222479plJsYh','component','tests/client','graphql','template','constructor','search','client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','packages','relative','pathFromApp','features','ssr','117MBKpMk','hasOwnProperty','lib','dir','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','fsi','apply','(((.+)+)+)+$','740680PnEaGh','pathFromProject','166092rhOnTd','776235LWOtts','/client/','package.js','noRename','withValue','pathFromAppWithNoReWrite','template/template.js','18178TSxzhu','store','package/package.js','.js','463168MqntfH','/package.js','theme','package','1343804UhCQRN','package/','toString','maka\x20g:package\x20todos:package','resourceName','tests/server','engines'];a120c=function(){return r;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()[n(0x8b)]('(((.+)+)+)+$')[n(0x80)]()[n(0x8a)](a120a)['search'](n(0x9a));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x78;let f=c[d];return f;},a120d(a,b);}import a120e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a120o(0x7d),'aliases':['p'],'usage':a120o(0x8d),'shortDesc':a120o(0x97),'validOpts':[a120o(0x96)],'examples':[a120o(0x81)]},async function(a,b){const p=a120o,c=paramCase(b[p(0x82)]),d=this['fsi'][p(0x90)]({'pathParts':[p(0x8e),b[p(0x96)],c]}),e=this[p(0x98)][p(0xa3)]({'pathParts':[p(0x8e),b['dir'],c,p(0xa0)]}),f=this[p(0x98)]['getMakaProjectConfig']();await this[p(0x98)][p(0xa2)](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0x8f)](this[q(0x98)][q(0x9c)]({}),d),'cssCaseName':paramCase(b[q(0x82)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x82)]),'fileName':c,'client':f[q(0x84)][q(0x8c)],'graphql':f[q(0x84)][q(0x88)],'ssr':f[q(0x84)][q(0x92)],'isComponent':b['hasOwnProperty'](q(0x86)),'isLayout':b[q(0x94)]('layout'),'isStore':b[q(0x94)](q(0xa6)),'features':f[q(0x91)],'noRename':!![],'theme':f[q(0x84)][q(0x7c)]};await this[q(0x98)][q(0x89)]({'srcPath':q(0x78),'destPath':e,'context':g,'config':f}),g[q(0xa1)]=![];const h=d+q(0x9f)+c+q(0x79);await this['fsi'][q(0x89)]({'srcPath':q(0xa4),'destPath':h,'context':g,'config':f});const i=[q(0x95),'server',q(0x87),q(0x83)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x79);await this[q(0x98)][q(0x89)]({'srcPath':q(0x7f)+j+q(0x7b),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121m=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d
|
|
1
|
+
const a121m=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x1ce))/0x1*(-parseInt(j(0x1cd))/0x2)+parseInt(j(0x1e2))/0x3*(parseInt(j(0x1c8))/0x4)+parseInt(j(0x1b8))/0x5*(parseInt(j(0x1e9))/0x6)+-parseInt(j(0x1ca))/0x7*(parseInt(j(0x1eb))/0x8)+parseInt(j(0x1b4))/0x9*(-parseInt(j(0x1dc))/0xa)+-parseInt(j(0x1d9))/0xb+parseInt(j(0x1dd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x6e153));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a121d;if(c){const e=c[k(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const l=a121d;return a121a[l(0x1bd)]()[l(0x1c2)](l(0x1e0))['toString']()[l(0x1e8)](a121a)[l(0x1c2)](l(0x1e0));});a121a();import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a121c(){const p=['create','layouts','4580972jvUKII','checkNpmPackage','root','104830AAKMfW','15109416vFKXQX','pathFromApp','route','(((.+)+)+)+$','import\x20\x27./','3ttcMMi','withHook','pages','baseDir','page','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','constructor','256074ROFnzx','template','494392WQFTgQ','className','graphql','test','template/template.css','Updating\x20npm\x20packages\x20...','layout','dir','injectAtBeginningOfFile','withHooks','\x27;\x0a','react','vanilla','assign','string','api','injectTemplateModule','/imports/ui/pages','true','html','pathFromProject','fileName','711thRcgq','components','theme','client','60Lpaece','warn','.app-tests.js','withValue','hooks','toString','store','processAndRunGenerator','engines','hasOwnProperty','search','component/component.js','component','setTemplate','none','installNpmPackage','1815464lcwlcI','.js','28YKPdYG','resourceName','css','564856CRcNtY','1mVmsRZ','features','template/template.html','Generate\x20a\x20page.','apply','.html','fsi','ramda','test/test.js'];a121c=function(){return p;};return a121c();}const aliases=['p'];function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a121d(a,b);}Generator[a121m(0x1d7)]({'name':a121m(0x1e6),'aliases':aliases,'usage':a121m(0x1e7),'shortDesc':a121m(0x1d1),'validOpts':[{'name':a121m(0x1e5),'values':[a121m(0x1bc),a121m(0x1b5),a121m(0x1e4),a121m(0x1d8)]},{'name':a121m(0x1e3),'boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a121m,c=b[n(0x1e5)]?'/imports/ui/'+b[n(0x1e5)]:n(0x1af),d=this[n(0x1d4)][n(0x1de)](b),e=this[n(0x1d4)][n(0x1de)]({'pathParts':[c,b['dir'],paramCase(b[n(0x1cb)]),paramCase(b['resourceName'])]}),f=this[n(0x1d4)]['getMakaProjectConfig']();let g='';return await this[n(0x1d4)][n(0x1bb)](f,async()=>{const o=n;typeof f[o(0x1ea)][o(0x1b1)]===o(0x1ac)&&(f[o(0x1ea)]['html']=f[o(0x1ea)][o(0x1b1)]==='true'?!![]:![],this[o(0x1d4)][o(0x1c5)](o(0x1b1),f[o(0x1ea)][o(0x1b1)]));typeof f[o(0x1ea)][o(0x1ee)]===o(0x1ac)&&(f[o(0x1ea)][o(0x1ee)]=f[o(0x1ea)][o(0x1ee)]==='true'?!![]:![],this[o(0x1d4)]['setTemplate']('test',f[o(0x1ea)][o(0x1ee)]));typeof f[o(0x1ea)]['css']===o(0x1ac)&&(f['template'][o(0x1cc)]=f[o(0x1ea)][o(0x1cc)]===o(0x1b0)?!![]:![],this[o(0x1d4)][o(0x1c5)](o(0x1cc),f[o(0x1ea)]['css']));typeof f['template']['js']==='string'&&(f[o(0x1ea)]['js']=f[o(0x1ea)]['js']===o(0x1b0)?!![]:![],this[o(0x1d4)][o(0x1c5)]('js',f[o(0x1ea)]['js']));!f['features']&&(f['features']={});!b['root']&&!this[o(0x1d4)][o(0x1da)](o(0x1d5))&&(Log[o(0x1b9)](o(0x1a3)),this[o(0x1d4)][o(0x1c7)](o(0x1d5),{'cwd':d}));const h={'name':pascalCase(b[o(0x1cb)]),'myPath':a121e['relative'](this[o(0x1d4)][o(0x1b2)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x1cb)]),'camelCaseName':camelCase(b[o(0x1cb)]),'fileName':paramCase(b[o(0x1cb)]),'graphql':f['engines'][o(0x1ed)],'features':f['features'],'client':f[o(0x1c0)][o(0x1b7)],'api':f[o(0x1c0)][o(0x1ad)],'ssr':f[o(0x1c0)]['ssr'],'isStore':b[o(0x1c1)](o(0x1be)),'isComponent':b[o(0x1c1)](o(0x1c4)),'isLayout':b[o(0x1c1)](o(0x1a4)),'withTranslations':f[o(0x1cf)]['withTranslations'],'test':f['engines']['test'],'theme':f[o(0x1c0)][o(0x1b6)]};f['template']['html']&&await this[o(0x1d4)]['template']({'srcPath':o(0x1d0),'destPath':e+o(0x1d3),'context':h,'config':f});f['features']?.[o(0x1a7)]||b[o(0x1e3)]?await this[o(0x1d4)]['template']({'srcPath':'hook/hook.js','destPath':e+o(0x1c9),'framework':o(0x1a9),'context':h,'config':f}):await this[o(0x1d4)][o(0x1ea)]({'srcPath':o(0x1c3),'destPath':e+o(0x1c9),'framework':'react','context':h,'config':f});f['engines'][o(0x1ee)]!==o(0x1c6)&&await this['fsi'][o(0x1ea)]({'srcPath':o(0x1d6),'destPath':e+o(0x1ba),'framework':o(0x1a9),'context':h,'config':f});f[o(0x1ea)]['css']&&await this[o(0x1d4)][o(0x1ea)]({'srcPath':o(0x1a2),'destPath':e+'.css','context':Object[o(0x1ab)]({},h,{'className':paramCase(b[o(0x1cb)])}),'config':f});f[o(0x1c0)][o(0x1b7)]!==o(0x1a9)&&f[o(0x1c0)][o(0x1b7)]!==o(0x1aa)?(f[o(0x1ea)][o(0x1cc)]&&await this[o(0x1d4)][o(0x1a6)]({'filePath':e+'.'+f[o(0x1c0)]['js'],'content':o(0x1e1)+h[o(0x1b3)]+'.'+f[o(0x1c0)][o(0x1b1)]+o(0x1a8)+o(0x1e1)+h['fileName']+'.'+f[o(0x1c0)][o(0x1cc)]+'\x27;'}),!f[o(0x1ea)][o(0x1cc)]&&await this[o(0x1d4)][o(0x1a6)]({'filePath':e+'.'+f[o(0x1c0)]['js'],'content':o(0x1e1)+h['fileName']+'.'+f[o(0x1c0)][o(0x1b1)]+'\x27;'})):f[o(0x1ea)][o(0x1cc)]&&await this['fsi'][o(0x1a6)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x1e1)+h[o(0x1b3)]+'.'+f[o(0x1c0)]['css']+'\x27;'});const i=b[o(0x1a5)]?'/'+b[o(0x1a5)]+'/':'/';g=''+c+i+h[o(0x1b3)]+'/'+h['fileName'],await this[o(0x1d4)][o(0x1ae)](h[o(0x1ec)],f,g),!b[o(0x1db)]&&await a121f[o(0x1bf)](o(0x1df),[i+b['resourceName']],b);}),g+'.'+f[n(0x1c0)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122j=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=parseInt(h(0x1aa))/0x1+-parseInt(h(0x19d))/0x2+-parseInt(h(0x1b0))/0x3*(-parseInt(h(0x1ab))/0x4)+-parseInt(h(0x1a4))/0x5+-parseInt(h(0x1a5))/0x6*(-parseInt(h(0x1ac))/0x7)+parseInt(h(0x19a))/0x8*(-parseInt(h(0x1a9))/0x9)+parseInt(h(0x1a8))/0xa*(parseInt(h(0x19e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x4fb67));const a122b=(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;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x1b1)]()[i(0x19f)](i(0x1a2))[i(0x1b1)]()[i(0x1ad)](a122a)[i(0x19f)](i(0x1a2));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator['create']({'name':a122j(0x19c),'aliases':['p'],'usage':a122j(0x1ae),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const k=a122j,c=this[k(0x1a0)][k(0x1af)]();await this['fsi'][k(0x1a7)](c,async()=>{const l=k,d={'name':b['resourceName'],'collection':paramCase(b[l(0x1a1)]),'noRename':!![]};let e='js';c['engines']['js']===l(0x199)&&(e='ts');const f=this[l(0x1a0)][l(0x19b)]({'pathParts':['server/publish.'+c[l(0x1a6)]['js']]}),g=this[l(0x1a0)][l(0x1a3)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});await this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x199;let f=c[d];return f;},a122d(a,b);}function a122c(){const m=['getMakaProjectConfig','66MLaKkU','toString','tsx','344kOCYCT','rewriteDestinationPathForEngine','publish','181444oLPWXt','6083WkBNiQ','search','fsi','resourceName','(((.+)+)+)+$','templateContent','1148285tNUdJH','3605418bddbeU','engines','withValue','5220oCcLJY','114435qIwzRb','202594BJMIPu','18448iJLQbe','7YFRWcf','constructor','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>'];a122c=function(){return m;};return a122c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0x21e))/0x1*(parseInt(y(0x1fc))/0x2)+-parseInt(y(0x243))/0x3+-parseInt(y(0x1f9))/0x4*(-parseInt(y(0x239))/0x5)+-parseInt(y(0x20f))/0x6+parseInt(y(0x1f6))/0x7+-parseInt(y(0x246))/0x8+parseInt(y(0x1f5))/0x9*(parseInt(y(0x23f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xaff55));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a['toString']()[A(0x214)](A(0x209))[A(0x224)]()['constructor'](a123a)['search'](A(0x209));});a123a();import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a123d(a,b);}function a123c(){const K=['6630775KJtCDX','ssr','error','engines','features','filter','8983540JxJbqB','hooks','startup','pathFromProject','2786709RYfvfX','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','info','8967464pcksLf','templateName','injectIntoFile','withValue','9OJmlOr','1091587smhcJT','route/route.js','maka\x20g:route\x20todosEdit\x20todos/:id/edit','4IVpily','\x0a\x09\x09','const\x20publicRoutes\x20=\x20(<>','2790896Coykil','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','\x20to\x20','url','resourceName','Adding\x20route\x20','apply','/imports/ui/pages','withTranslations','pages','join','lib','</Router>','(((.+)+)+)+$','private','const\x20privateRoutes\x20=\x20(<>','replace','readFileLines','Route\x20','6032022srlEIX','cwd','layout','\x22*\x22','create','search','length','split','baseDir','routes.js','maka\x20g:route\x20todosIndex\x20todos','warn','withHook','newForm','injectAtEndOfFile','1dtQUwu','Invalid\x20directory\x20option\x20\x22','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','rewriteDestinationPathForEngine','pathFromApp','injectAfterLineNumber','toString','<Router','components','route','getMakaProjectConfig','\x20already\x20exists.\x20\x20Skipping.','indexOf','client','map','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','Valid\x20options\x20are:\x20','<Route','templateContent','fsi','react','Scaffolding\x20for\x20a\x20Route.','/imports/ui/','imports','includes','root','pop'];a123c=function(){return K;};return a123c();}Generator[a123B(0x213)]({'name':a123B(0x227),'aliases':aliases,'validOpts':[a123B(0x20a),a123B(0x211),'only',a123B(0x210),'config',a123B(0x237),a123B(0x21b),a123B(0x1ff),'baseDir'],'usage':a123B(0x244),'shortDesc':a123B(0x233),'examples':[a123B(0x219),a123B(0x1f8),a123B(0x22d),'maka\x20g:route\x20pages/lists/listIndex\x20lists','maka\x20g:route\x20pages/about']},async function(a,b){const C=a123B;try{const c=[C(0x240),C(0x226),C(0x205),'layouts'];if(b[C(0x217)]&&!c[C(0x236)](b[C(0x217)])){Log['error'](C(0x21f)+b[C(0x217)]+'\x22'),Log[C(0x23b)](C(0x22e)+c[C(0x206)](',\x20'));throw new UsageError();}const d=this[C(0x231)][C(0x228)]();await this[C(0x231)][C(0x1f4)](d,async()=>{const D=C,f=b['private']??![];let g=b[D(0x200)][D(0x216)]('/')[D(0x238)]();if(!g){Log[D(0x23b)]('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}g=pascalCase(g);let h='/'+b['resourceName'];a[D(0x215)]>0x1&&(h='/'+a['filter'](function(n){return n!=='/';})[D(0x206)]('/')['toLowerCase']());h=h[D(0x20c)](/\/\//g,'/');b[D(0x211)]&&(b['layout']=camelCase(b[D(0x211)]));const i=b[D(0x217)]?D(0x234)+b['baseDir']:D(0x203),j=a123e[D(0x206)](i,b['dir'],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0x211)]||'MasterLayout','templatePath':j,'templateName':pascalCase(g),'client':d[D(0x23c)][D(0x22b)],'newForm':![],'withTranslations':d[D(0x23d)][D(0x204)]};f&&(k['layout']='PrivateLayout');let l,m;if(d[D(0x23c)][D(0x22b)]==='react'){if(d['engines'][D(0x23a)]==='true'){const r=this[D(0x231)]['pathFromApp']({'pathParts':['imports','startup',D(0x207),D(0x218)]});l=this['fsi'][D(0x221)]({'pathParts':[r],'config':d});}else{const s=this[D(0x231)][D(0x222)]({'pathParts':[D(0x235),D(0x241),D(0x22b),D(0x218)]});l=this[D(0x231)][D(0x221)]({'pathParts':[s],'config':d});}const n=await this[D(0x231)]['fileContainsString'](l,g);if(n){Log[D(0x21a)](D(0x20e)+g+D(0x229));return;}else{const t=this[D(0x231)][D(0x242)](l);Log[D(0x245)](D(0x201)+g+D(0x1fe)+l[D(0x20c)](t,''));}const o=this[D(0x231)][D(0x20d)](l)[D(0x22c)]((u,v)=>{const E=D;return u[E(0x236)](E(0x1fd))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0x231)][D(0x20d)](l)[D(0x22c)]((u,v)=>{const F=D;return u['includes'](F(0x1fb))?v+0x1:null;})[D(0x23e)](u=>u!==null),q=this[D(0x231)]['readFileLines'](l)['map']((u,v)=>{const G=D;return u['includes'](G(0x20b))?v+0x1:null;})[D(0x23e)](u=>u!==null);p[D(0x215)]>0x0&&q[D(0x215)]>0x0&&(k[D(0x21c)]=!![]);m=this['fsi']['templateContent']({'srcPath':D(0x1f7),'framework':D(0x232),'context':k,'config':d});if(p[D(0x215)]>0x0||q[D(0x215)]>0x0){this['fsi'][D(0x223)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this['fsi']['readFileLines'](l)[D(0x22c)]((u,v)=>{const H=D;return u[H(0x236)](H(0x20b))?v+0x1:null;})[D(0x23e)](u=>u!==null),this[D(0x231)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k[D(0x247)]+'}','lineNumber':q[0x0]});else p[D(0x215)]>0x0?(p=this[D(0x231)]['readFileLines'](l)['map']((u,v)=>{const I=D;return u[I(0x236)](I(0x1fb))?v+0x1:null;})[D(0x23e)](u=>u!==null),this[D(0x231)][D(0x223)]({'filePath':l,'content':'\x09{'+k[D(0x247)]+'}','lineNumber':p[0x0]})):Log['warn'](D(0x220)+l);}else{const u=this[D(0x231)][D(0x20d)](l)[D(0x22c)](x=>{const J=D;return x[J(0x236)](J(0x212));}),v=u[D(0x22a)](!![])>-0x1,w=v?D(0x22f):D(0x208);await this[D(0x231)][D(0x1f3)]({'filePath':l,'content':'\x0a\x09\x09'+m+D(0x1fa),'begin':D(0x225),'end':w});}}else{if(d[D(0x23c)][D(0x22b)]==='vanilla'){const x=this['fsi'][D(0x222)]({'pathParts':[D(0x235),'startup','client',D(0x218)]});l=this[D(0x231)][D(0x221)]({'pathParts':[x],'config':d}),m=this['fsi'][D(0x230)]({'srcPath':D(0x1f7),'context':k}),await this['fsi'][D(0x21d)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x23b)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-
|
|
1
|
+
const a124m=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a124d(a,b);}(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x1dc))/0x1*(parseInt(j(0x1e0))/0x2)+parseInt(j(0x1de))/0x3+-parseInt(j(0x1d8))/0x4*(-parseInt(j(0x1d9))/0x5)+-parseInt(j(0x1dd))/0x6*(-parseInt(j(0x1ed))/0x7)+-parseInt(j(0x1f3))/0x8*(parseInt(j(0x1ea))/0x9)+-parseInt(j(0x1da))/0xa*(-parseInt(j(0x1e1))/0xb)+-parseInt(j(0x1d6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xcf3fb));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a['toString']()['search'](l(0x1ec))['toString']()[l(0x1f4)](a124a)[l(0x1e2)](l(0x1ec));});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124m(0x1e9)]({'name':a124m(0x1db),'aliases':[a124m(0x1f9)],'usage':a124m(0x1eb),'shortDesc':a124m(0x1f1),'requiredOpts':[{'name':'type','values':['logger']}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a124m;try{const c=this[n(0x1fa)]['getMakaProjectConfig']();await this[n(0x1fa)][n(0x1f7)](c,async()=>{const o=n,d=this['fsi'][o(0x1f5)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x1fb)]),'fileName':f,'camelCase':camelCase(b[o(0x1fb)]),'type':b[o(0x1e7)],'engine':c[o(0x1f6)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x1e5)&&(h='ts');if(b[o(0x1e7)]==='logger'){!this[o(0x1fa)]['checkNpmPackage'](o(0x1f8))&&await this['fsi'][o(0x1e3)](o(0x1f0),{'cwd':d,'msg':o(0x1f2)});const i=this[o(0x1fa)][o(0x1f5)]({'pathParts':[o(0x1fc),o(0x1d7),o(0x1e8),o(0x1ef),f+'.'+h]});await this[o(0x1fa)][o(0x1ee)]({'srcPath':o(0x1e6),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x1df)](d);}});function a124c(){const p=['error','44822eKxiSS','371635rJCjvI','search','installNpmPackage','apply','tsx','service/logger/logger.js','type','lib','create','9AWLGVN','maka\x20{generate,\x20g}:{service}\x20<resource-name>','(((.+)+)+)+$','397264RHOIbC','template','services','winston\x20setimmediate','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','Installing\x20winston','5925592xEXQZI','constructor','pathFromApp','engines','withValue','winston','svc','fsi','resourceName','imports','6300264iIfAEa','startup','412yLFqWf','19655sqisEf','190uCSHNq','service','41geaCvp','114aptNGn','2725101LrWjfy'];a124c=function(){return p;};return a124c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1+-parseInt(f(0xa0))/0x2*(parseInt(f(0x9f))/0x3)+parseInt(f(0x94))/0x4+-parseInt(f(0x9c))/0x5+parseInt(f(0x98))/0x6*(parseInt(f(0x9a))/0x7)+parseInt(f(0x93))/0x8*(parseInt(f(0x9e))/0x9)+parseInt(f(0x9b))/0xa*(parseInt(f(0x9d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x6a9bf));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a[g(0x96)]()[g(0x95)](g(0x99))[g(0x96)]()['constructor'](a125a)[g(0x95)](g(0x99));});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x93;var f=c[d];return f;},a125d(a,b);}import'./translation.js';import'./openssl.js';function a125c(){var h=['6520293uJnKBQ','1121751QwGzxT','4grcQTa','8lMaiOc','1853652HyhMAD','search','toString','856558GiPYuc','6WndtSC','(((.+)+)+)+$','5766551pFDIIt','13700BvCOKy','3963100HlqCfn','6600hnlPXS'];a125c=function(){return h;};return a125c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d
|
|
1
|
+
const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0xa9))/0x1*(parseInt(i(0xbc))/0x2)+parseInt(i(0xc0))/0x3+parseInt(i(0xaf))/0x4+-parseInt(i(0xb5))/0x5+parseInt(i(0xa4))/0x6*(-parseInt(i(0xb9))/0x7)+parseInt(i(0xb3))/0x8*(parseInt(i(0xc1))/0x9)+parseInt(i(0xb7))/0xa*(parseInt(i(0xb1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2b404));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xa3;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a['toString']()[k(0xc2)]('(((.+)+)+)+$')[k(0xb6)]()['constructor'](a126a)[k(0xc2)](k(0xbb));});a126a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0xa5)]({'name':a126l(0xc3),'usage':a126l(0xba),'shortDesc':a126l(0xbd),'noNeedResource':!![],'requiredOpts':[a126l(0xa8)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0xae)][m(0xa3)](),d=await this[m(0xae)][m(0xb8)](),f=this['fsi'][m(0xb0)](b[m(0xa8)]),g=a126e[m(0xbf)](f,m(0xb4),m(0xac));await this[m(0xae)][m(0xab)](c,async()=>{const n=m,h={'app':d[n(0xa7)],'noRename':!![]};await this[n(0xae)][n(0xbe)]({'srcPath':n(0xb2),'destPath':g,'framework':n(0xaa),'context':h,'config':c});});}catch(h){Log[m(0xa6)](h);}});function a126c(){const o=['getAppConfigPath','11XUfnHC','openssl/openssl.conf','16CeZhzw','_keys','1596940rWbwpS','toString','1562950ffBowP','getGlobalConfig','91jzpcHI','maka\x20{generate,\x20g}:sslconfig','(((.+)+)+)+$','65050jgqZiU','Generate\x20a\x20new\x20openssl\x20config\x20file','template','join','984159mpxbos','179469aFsILB','search','sslconfig','getMakaProjectConfig','108744RsruJu','create','error','appName','env','1MaUWfw','service','withValue','openssl.conf','apply','fsi','961804ZKUVHN'];a126c=function(){return o;};return a126c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(
|
|
1
|
+
const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0x1e5))/0x1*(-parseInt(x(0x1e3))/0x2)+parseInt(x(0x1f0))/0x3*(parseInt(x(0x1da))/0x4)+parseInt(x(0x1e4))/0x5+parseInt(x(0x1d4))/0x6+-parseInt(x(0x206))/0x7+parseInt(x(0x1f4))/0x8+-parseInt(x(0x1ff))/0x9*(parseInt(x(0x1e8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x8757f));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a['toString']()[z(0x1db)](z(0x1cc))[z(0x1e1)]()[z(0x1fe)](a127a)[z(0x1db)](z(0x1cc));});a127a();import{Generator}from'../../generator.js';function a127c(){const D=['constructor','7893HapuUn','import\x20\x27../lib/services/translations/i18n\x27;\x0a','template','withValue','lang','apply','server','4344851jMveTm','grep','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','services','translations','i18next\x20i18next-browser-languagedetector\x20react-i18next','(((.+)+)+)+$','index.js','imports','create','i18n/i18n.js','lib','i18next','i18n/index.js','3096474xwVlvq','maka\x20g:translation\x20--lang=de','true','client','readFileSync','i18n/locales.js','8jwxMoI','search','engines','rewriteDestinationPathForEngine','locales','Locale\x20already\x20exported:\x20','translation','toString','fsi','1604PuNRLB','1471000AdnqPR','803bhPEyA','exit','getGlobalConfig','13810Szhnaa','\x20}\x20from\x20\x27./','Locale\x20already\x20defined:\x20','ssr','checkNpmPackage','warn','index.','import\x20\x27../lib/services/translations/i18n\x27;','479337SNyJmj','findAppDirectory','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','export\x20{\x20default\x20as\x20','4898832rdZXcL','pathFromApp','getMakaProjectConfig','injectAtBeginningOfFile','installNpmPackage','isFile','service','startup','error','maka\x20g:translation\x20--lang=fr'];a127c=function(){return D;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0x1cf)]({'name':a127A(0x1e0),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0x203),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':'Generate\x20a\x20new\x20locale\x20translation','description':a127A(0x1f2),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a127A(0x1fd),a127A(0x1d5)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x1e2)][B(0x1f6)](),d=this[B(0x1e2)][B(0x1e7)](),f=this['fsi'][B(0x1f1)]();await this[B(0x1e2)][B(0x202)](c,async()=>{const C=B;try{!b['lang']&&(b[C(0x203)]='en');!b['root']&&!this[C(0x1e2)][C(0x1ec)](C(0x1d2))&&(Log[C(0x1ed)](C(0x1c8)),this[C(0x1e2)][C(0x1f8)](C(0x1cb),{'cwd':f}),this[C(0x1e2)]['setProjectConfig']('features.withTranslations',!![]));const g=this['fsi'][C(0x1f5)]({'pathParts':[C(0x1ce),C(0x1fb),C(0x1d7),C(0x1cd)]}),h=this[C(0x1e2)][C(0x1dd)]({'pathParts':[g],'config':c}),i=this[C(0x1e2)][C(0x1c7)](a127e[C(0x1d8)](h)[C(0x1e1)](),C(0x1ef))[0x0]&&!![];if(c[C(0x1dc)][C(0x1eb)]===C(0x1d6)){!i&&this[C(0x1e2)][C(0x1f7)]({'filePath':h,'content':C(0x200)});const t=this['fsi']['pathFromApp']({'pathParts':[C(0x1ce),'startup',C(0x205),'index.js']}),u=this['fsi'][C(0x1dd)]({'pathParts':[t],'config':c}),v=this['fsi'][C(0x1c7)](a127e[C(0x1d8)](u)[C(0x1e1)](),C(0x1ef))[0x0]&&!![];!v&&this[C(0x1e2)]['injectAtBeginningOfFile']({'filePath':u,'content':C(0x200)});}else!i&&this[C(0x1e2)][C(0x1f7)]({'filePath':h,'content':C(0x200)});const j={'app':d['appName'],'config':c},k=this[C(0x1e2)]['pathFromApp']({'pathParts':[C(0x1ce),C(0x1fb),'lib',C(0x1c9),'translations','i18n.js']}),l=this[C(0x1e2)][C(0x1f9)](this[C(0x1e2)][C(0x1dd)]({'pathParts':[k],'config':c}));!l&&await this[C(0x1e2)][C(0x201)]({'srcPath':C(0x1d0),'destPath':k,'framework':C(0x1fa),'context':j,'config':c});const m=this[C(0x1e2)]['pathFromApp']({'pathParts':[C(0x1ce),C(0x1fb),'lib','services','translations',C(0x1de),b['lang']+'.js']}),n=this[C(0x1e2)][C(0x1dd)]({'pathParts':[m],'config':c}),o=this['fsi']['isFile'](n);!o?await this[C(0x1e2)][C(0x201)]({'srcPath':C(0x1d9),'destPath':m,'framework':C(0x1fa),'context':j,'config':c}):Log[C(0x1ed)](C(0x1ea)+n);const p=this[C(0x1e2)][C(0x1f5)]({'pathParts':[C(0x1ce),'startup',C(0x1d1),C(0x1c9),C(0x1ca),C(0x1de),C(0x1ee)+c[C(0x1dc)]['js']]}),q=this[C(0x1e2)][C(0x1dd)]({'pathParts':[p],'config':c}),r=this[C(0x1e2)]['isFile'](q);!r&&await this[C(0x1e2)][C(0x201)]({'srcPath':C(0x1d3),'destPath':p,'framework':C(0x1fa),'context':j,'config':c});const s=this[C(0x1e2)][C(0x1c7)](a127e[C(0x1d8)](p)[C(0x1e1)](),'default\x20as\x20'+b[C(0x203)])[0x0]&&!![];!s?await this[C(0x1e2)]['injectAtEndOfFile']({'filePath':p,'content':C(0x1f3)+b['lang']+C(0x1e9)+b[C(0x203)]+'\x27;'}):Log[C(0x1ed)](C(0x1df)+p);}catch(w){Log[C(0x1fc)](w),process[C(0x1e6)](0x1);}});}catch(g){Log['error'](g),process['exit'](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x114))/0x1+-parseInt(j(0x111))/0x2+-parseInt(j(0x11b))/0x3+parseInt(j(0x11c))/0x4+parseInt(j(0x11d))/0x5+-parseInt(j(0x112))/0x6+-parseInt(j(0x109))/0x7*(-parseInt(j(0x11a))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x88562));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x119)]()['search'](l(0x10f))[l(0x119)]()[l(0x117)](a128a)[l(0x10c)](l(0x10f));});a128a();import a128e from'minimist';function a128c(){const n=['(((.+)+)+)+$','floor','482286ZoclHp','4676292HUAlxh','camelizeKeys','109260LnxvJB','url','dirname','constructor','TOOL_NODE_FLAGS','toString','16jNKKHM','2185470naOjBR','1655028FrnYCH','2657390YgVCjP','env','argv','totalmem','4385339LNMUlT','apply','slice','search','MAKA_COMMAND_PATH','parse'];a128c=function(){return n;};return a128c();}import a128f from'os';import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0x115)]),__dirname=a128g[a128m(0x116)](__filename);global[a128m(0x10d)]=__dirname;const total_memory=a128f[a128m(0x108)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x108;let f=c[d];return f;},a128d(a,b);}total_mem_in_mb=Math[a128m(0x110)](total_mem_in_mb),process['env'][a128m(0x118)]='--max-old-space-size='+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a128m(0x11e)]['NODE_NO_WARNINGS']='1';const argv=a128e(process[a128m(0x11f)][a128m(0x10b)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x10e)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x113)](deepCopyArgv);a128i['run'](args,opts);
|
|
@@ -3,11 +3,11 @@ import MakaRest, { Codes } from 'meteor/maka:rest';
|
|
|
3
3
|
|
|
4
4
|
const <%= name %>ApiV1 = new MakaRest({
|
|
5
5
|
version: 'v1',
|
|
6
|
-
useDefaultAuth: false,
|
|
7
6
|
apiPath: '<%= fileName %>',
|
|
8
7
|
prettyJson: Meteor.isDevelopment
|
|
9
8
|
});
|
|
10
9
|
|
|
10
|
+
|
|
11
11
|
<%= name %>ApiV1.addRoute('status', {
|
|
12
12
|
get() {
|
|
13
13
|
return Codes.success200({ message: 'OK' });
|