@maka/maka-cli 5.0.22 → 5.0.24
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 +53 -55
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +56 -56
- package/bundle/obf/src/templates/meteor/service/logger/logger.js +2 -2
- package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +2 -2
- 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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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/delete-1.1.0.tgz +0 -0
- package/eslint.config.js +19 -0
- package/maka-maka-cli-5.0.23.tgz +0 -0
- package/matched-5.0.1.tgz +0 -0
- package/package.json +53 -55
- package/maka-tar-6.2.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132m=a132d;function a132c(){const o=['-rpc-method.','toString','import\x20\x27./methods','2182869KKcgzX','injectAtEndOfFile','92958heQkuS','267288iPdZFC','-rpc-method\x27;','checkMeteorPackage','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','constructor','610599RrZjQw','4igKPSc','scaffold','search','create','maka\x20g:method\x20todos','8ZzJXvC','imports','pkg','appPathPrefix','462682ZkBGCQ','error','maka:check','engines','methods','template','resourceName','3933tAFiQz','1CgXOsx','ddp-rate-limiter','index.','(((.+)+)+)+$','maka\x20{generate,\x20g}:{method,\x20m}\x20name','projectConfig','dir','55gkSIsP','pathFromApp','110hCHchV','startup','989156ofCivA','6070siVfZU'];a132c=function(){return o;};return a132c();}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1ca))/0x1*(-parseInt(k(0x1c2))/0x2)+-parseInt(k(0x1b8))/0x3*(-parseInt(k(0x1b9))/0x4)+-parseInt(k(0x1a7))/0x5*(-parseInt(k(0x1b2))/0x6)+-parseInt(k(0x1ab))/0x7*(parseInt(k(0x1be))/0x8)+-parseInt(k(0x1c9))/0x9*(parseInt(k(0x1ac))/0xa)+parseInt(k(0x1a9))/0xb*(-parseInt(k(0x1b3))/0xc)+parseInt(k(0x1b0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x2321f));const a132b=(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;};}()),a132a=a132b(this,function(){const l=a132d;return a132a[l(0x1ae)]()['search'](l(0x1a3))[l(0x1ae)]()[l(0x1b7)](a132a)[l(0x1bb)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a132d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132m(0x1bc)]({'name':'method','aliases':['m'],'usage':a132m(0x1a4),'checkWhere':!![],'shortDesc':a132m(0x1b6),'validOpts':['dir'],'examples':[a132m(0x1bd)]},async function(a,b){const n=a132m;try{const c=this[n(0x1a5)],d=b[n(0x1a6)]?'/'+b['dir']+'/':'/',f=kebabCase(b[n(0x1c8)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b[n(0x1c8)]),'camelCase':camelCase(b[n(0x1c8)]),'noRename':!![]};let h='js';c[n(0x1c5)]['js']==='tsx'&&(h='ts');await this[n(0x1c0)][n(0x1b5)]([n(0x1c4),n(0x1cb),'mdg:validated-method'],{'shouldInstall':!![]}),await this[n(0x1ba)][n(0x1c7)]({'srcPath':'method/method.js','destPath':this[n(0x1ba)]['pathFromApp']({'pathParts':['imports',n(0x1aa),b[n(0x1c1)],n(0x1c6),d,f+n(0x1ad)+h]}),'context':g,'config':c});const i=this[n(0x1ba)][n(0x1a8)]({'pathParts':[n(0x1bf),'startup',b[n(0x1c1)],n(0x1cc)+c['engines']['js']]});await this[n(0x1ba)][n(0x1b1)]({'filePath':i,'content':n(0x1af)+d+f+n(0x1b4)});}catch(j){Log[n(0x1c3)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133p=a133d;
|
|
1
|
+
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xc7))/0x1*(-parseInt(m(0xa8))/0x2)+-parseInt(m(0xbe))/0x3+parseInt(m(0xa2))/0x4+-parseInt(m(0xbc))/0x5*(-parseInt(m(0xca))/0x6)+parseInt(m(0xbb))/0x7+-parseInt(m(0xc4))/0x8+parseInt(m(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x274db));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xb5)]()[o(0xc8)](o(0xc0))['toString']()['constructor'](a133a)[o(0xc8)](o(0xc0));});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xa2;let f=c[d];return f;},a133d(a,b);}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xb0)]({'name':a133p(0xa6),'aliases':['p'],'usage':a133p(0xc5),'shortDesc':a133p(0xcb),'validOpts':['dir'],'examples':[a133p(0xbd)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0xb1)]),d=b[q(0xac)]?'/'+b['dir']+'/':'/',e=this[q(0xb4)]['pathFromApp']({'pathParts':[q(0xaf),d,c]}),f=this[q(0xb4)][q(0xb2)]({'pathParts':[q(0xaf),d,c,'package.js']}),g=this[q(0xc6)],h={'name':kebabCase(b[q(0xb1)]),'myPath':a133e[q(0xb6)](this['fsi'][q(0xa4)](),e),'cssCaseName':kebabCase(b[q(0xb1)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xb1)]),'fileName':c,'client':g['engines']['client'],'graphql':g['engines'][q(0xc3)],'ssr':g[q(0xa3)][q(0xa9)],'isComponent':b[q(0xab)](q(0xb9)),'isLayout':b[q(0xab)](q(0xb7)),'isStore':b[q(0xab)](q(0xb8)),'features':g[q(0xbf)],'noRename':!![],'theme':g['engines']['theme']};await this[q(0xb4)][q(0xba)]({'srcPath':q(0xc2),'destPath':f,'context':h,'config':g}),h[q(0xae)]=![];const i=e+q(0xb3)+c+'.js';await this['scaffold']['template']({'srcPath':q(0xc1),'destPath':i,'context':h,'config':g});const j=[q(0xcd),q(0xad),q(0xaa),q(0xcc)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xa5);await this[q(0xb4)][q(0xba)]({'srcPath':q(0xa7)+k+'/package.js','destPath':l,'context':h,'config':g});}});function a133c(){const r=['server','noRename','packages','create','resourceName','pathFromAppWithNoReWrite','/client/','scaffold','toString','relative','layout','store','component','template','320670DFMVkp','254455vHZBEH','maka\x20g:package\x20todos:package','810345QxqSSb','features','(((.+)+)+)+$','template/template.js','package/package.js','graphql','630776jwfoqz','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','projectConfig','9mXyKPg','search','apply','6VcXaSo','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','tests/server','lib','2165814BoELGB','890820oxUGpp','engines','findProjectDirectory','.js','package','package/','11134JSZOCl','ssr','tests/client','hasOwnProperty','dir'];a133c=function(){return r;};return a133c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=-parseInt(r(0x1ce))/0x1*(parseInt(r(0x1c1))/0x2)+-parseInt(r(0x1ec))/0x3+parseInt(r(0x1eb))/0x4*(-parseInt(r(0x1ba))/0x5)+-parseInt(r(0x1c7))/0x6*(parseInt(r(0x1e8))/0x7)+-parseInt(r(0x1f5))/0x8+parseInt(r(0x1fe))/0x9*(parseInt(r(0x1a3))/0xa)+parseInt(r(0x1f0))/0xb*(parseInt(r(0x1f2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xef8cc));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a[t(0x1d6)]()[t(0x1f7)](t(0x1b7))[t(0x1d6)]()[t(0x1fb)](a134a)['search'](t(0x1b7));});a134a();function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a134d(a,b);}import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';function a134c(){const w=['join','component/component.js','withHooks','findAppDirectory','</Route>','.css','injectTemplateModule','Updating\x20npm\x20packages\x20...','ramda','error','template/template.html','test','graphql','<Route\x20path=\x22*\x22','(((.+)+)+)+$','apply','includes','74245LEPjkm','<Route\x20path=\x22','\x27;\x0a','resourceName','none','<Route\x20index','store','88VHgZsd','/>}/>\x0a','split','template','checkNpmPackage','replace','24mCqGlT','lib','slice','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','root','fsi','css','4133cnTwPO','injectIntoFile','vanilla','projectConfig','routes.','client','indexOf','import\x20\x27./','toString','maka\x20g:page\x20todos/todos-item','url','html','engines','pathFromApp','react','setTemplate','template/template.css','Generate\x20a\x20page.','pkg','<Route\x20element={<PrivateRoute\x20/>}>','api','fileName','.js','.html','withTranslations','substring','3010427ZfBSSs','trim','features','276qEihws','135267CLQjRf','hasOwnProperty','injectAtBeginningOfFile','hook/hook.js','11DbzGtx','.app-tests.js','50860044biXbtx','string','findProjectDirectory','11864816fYmmKt','private','search','cfg','toLowerCase','ssr','constructor','page','startup','9kPUsbU','warn','replaceAll','scaffold','relative','11977270JquqfL','endsWith','imports','dir','test/test.js','/imports/ui/pages'];a134c=function(){return w;};return a134c();}const aliases=['p'];Generator['create']({'name':a134u(0x1fc),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a134u(0x1df),'mustBeInMakaProject':!![],'validOpts':[{'name':a134u(0x1f6),'boolFlag':!![]},{'name':a134u(0x1d8)}],'examples':[a134u(0x1d7)]},async function(a,b){const v=a134u,c=v(0x1a8),d=this[v(0x1cc)][v(0x1ac)](),e=b[v(0x1bd)][v(0x1b9)](':')?b[v(0x1bd)][v(0x1c3)](':')[0x0][v(0x1e9)]():b[v(0x1bd)][v(0x1e9)](),f=b['dir'][v(0x200)]('/','_')+'_'+e[v(0x200)]('/','_'),g=this[v(0x201)][v(0x1db)]({'pathParts':[c,b[v(0x1a6)],kebabCase(f),kebabCase(f)]}),h=this[v(0x1d1)];let i='';typeof h['template'][v(0x1d9)]==='string'&&this[v(0x1f8)][v(0x1dd)](v(0x1d9),h['template'][v(0x1d9)]);typeof h[v(0x1c4)][v(0x1b4)]===v(0x1f3)&&this[v(0x1f8)][v(0x1dd)]('test',h['template'][v(0x1b4)]);typeof h[v(0x1c4)][v(0x1cd)]===v(0x1f3)&&this['cfg']['setTemplate'](v(0x1cd),h[v(0x1c4)][v(0x1cd)]);typeof h[v(0x1c4)]['js']===v(0x1f3)&&this[v(0x1f8)][v(0x1dd)]('js',h[v(0x1c4)]['js']);!b[v(0x1cb)]&&!this['pkg'][v(0x1c5)](v(0x1b1))&&(Log[v(0x1ff)](v(0x1b0)),this[v(0x1e0)]['installNpmPackage'](v(0x1b1),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x1a2)](this[v(0x1cc)][v(0x1f4)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1da)][v(0x1b5)],'features':h[v(0x1ea)],'client':h[v(0x1da)][v(0x1d3)],'api':h['engines'][v(0x1e2)],'ssr':h[v(0x1da)]['ssr'],'isStore':b[v(0x1ed)](v(0x1c0)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b[v(0x1ed)]('layout'),'withTranslations':h[v(0x1ea)][v(0x1e6)],'test':h[v(0x1da)][v(0x1b4)],'theme':h[v(0x1da)]['theme']};h[v(0x1c4)][v(0x1d9)]&&await this['scaffold'][v(0x1c4)]({'srcPath':v(0x1b3),'destPath':g+v(0x1e5),'context':j,'config':h});h[v(0x1ea)]?.[v(0x1ab)]?await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1ef),'destPath':g+v(0x1e4),'framework':v(0x1dc),'context':j,'config':h}):await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1aa),'destPath':g+v(0x1e4),'framework':v(0x1dc),'context':j,'config':h});h[v(0x1da)][v(0x1b4)]!==v(0x1be)&&await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1a7),'destPath':g+v(0x1f1),'framework':v(0x1dc),'context':j,'config':h});h['template'][v(0x1cd)]&&await this[v(0x201)][v(0x1c4)]({'srcPath':v(0x1de),'destPath':g+v(0x1ae),'context':Object['assign']({},j,{'className':kebabCase(b[v(0x1bd)])}),'config':h});h[v(0x1da)]['client']!==v(0x1dc)&&h[v(0x1da)][v(0x1d3)]!==v(0x1d0)?(h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h[v(0x1da)][v(0x1d9)]+v(0x1bc)+'import\x20\x27./'+j[v(0x1e3)]+'.'+h[v(0x1da)][v(0x1cd)]+'\x27;'}),!h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h[v(0x1da)]['html']+'\x27;'})):h[v(0x1c4)][v(0x1cd)]&&await this['scaffold'][v(0x1ee)]({'filePath':g+'.'+h[v(0x1da)]['js'],'content':v(0x1d5)+j[v(0x1e3)]+'.'+h['engines'][v(0x1cd)]+'\x27;'});const k=b[v(0x1a6)]?'/'+b[v(0x1a6)]+'/':'/';i=''+c+k+j[v(0x1e3)]+'/'+j[v(0x1e3)],await this[v(0x201)][v(0x1af)](j['className'],h,i);if(!b[v(0x1cb)]){const l=b[v(0x1f6)]??![];if(!f){Log[v(0x1b2)](v(0x1ca));throw new UsageError();}let m=b[v(0x1d8)]?b['url']:'/'+b[v(0x1a6)][v(0x1e9)]()+'/'+b[v(0x1bd)][v(0x1e9)]()[v(0x1c6)](/\\/g,'/')[v(0x1c6)](/\/+$/,'')[v(0x1f9)]();const n=b[v(0x1bd)][v(0x1d4)](':');n!==-0x1&&(m+='/'+b['resourceName'][v(0x1e7)](0x0,n)[v(0x1e9)]());m[v(0x1a4)]('/')&&(m=m[v(0x1c9)](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h[v(0x1da)]['js'],p=h[v(0x1da)][v(0x1fa)]==='meteor'?v(0x1c8):v(0x1d3),q=a134e[v(0x1a9)](d,v(0x1a5),v(0x1fd),p,v(0x1d2)+o);l?await this[v(0x201)]['injectIntoFile']({'filePath':q,'content':v(0x1bb)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1c2),'begin':[v(0x1e1)],'end':[v(0x1ad)]}):await this[v(0x201)][v(0x1cf)]({'filePath':q,'content':v(0x1bb)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1c2),'begin':[v(0x1bf)],'end':[v(0x1b6)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a135r=a135d;(function(a,b){const o=a135d,c=a();while(!![]){try{const d=parseInt(o(0x179))/0x1*(parseInt(o(0x177))/0x2)+-parseInt(o(0x172))/0x3*(-parseInt(o(0x173))/0x4)+parseInt(o(0x166))/0x5+-parseInt(o(0x17a))/0x6*(parseInt(o(0x164))/0x7)+-parseInt(o(0x16d))/0x8+-parseInt(o(0x17d))/0x9*(parseInt(o(0x16c))/0xa)+-parseInt(o(0x163))/0xb*(parseInt(o(0x17c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x530fe));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a135d;if(c){const e=c[p(0x161)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const q=a135d;return a135a[q(0x15e)]()['search']('(((.+)+)+)+$')[q(0x15e)]()['constructor'](a135a)['search'](q(0x176));});a135a();import{kebabCase,pascalCase}from'change-case';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x15d;let f=c[d];return f;},a135d(a,b);}import{Generator}from'../generator.js';function a135c(){const t=['template','(((.+)+)+)+$','110444PRBlhi','error','10tRnSSW','6thpdYV','imports','12dKXjTX','9EnLrgT','resourceName','/imports/startup/server/publications','force','toString','globalPublish','publish','apply','exit','1785080ZQNizL','656341ymEHVr','dir','3358310yIufJL','injectAtEndOfFile','server','maka\x20g:publish\x20todos','import\x20\x27./publications','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','6734870bAwrmu','1486664GWoLBI','pathFromApp','publish/publish.js','appPathPrefix','create','3nrBlkQ','926812EvcnoM','startup'];a135c=function(){return t;};return a135c();}import{Log}from'../tools/log/log.class.js';Generator[a135r(0x171)]({'name':a135r(0x160),'aliases':['p'],'usage':a135r(0x16b),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a135r(0x15d)],'requiredOpts':[a135r(0x15f)],'examples':[a135r(0x169)]},async function(a,b){const s=a135r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0x15d)]||![],g=s(0x17f),h=kebabCase(b[s(0x17e)]),i=d['pathFromApp']({'pathParts':[g,b[s(0x165)],'',h]});let j='js';c['engines']['js']==='tsx'&&(j='ts');const k={'name':b[s(0x17e)],'collection':pascalCase(b[s(0x17e)]),'noRename':!![],'globalPublish':b[s(0x15f)]};await d[s(0x175)]({'srcPath':s(0x16f),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x16e)]({'pathParts':[s(0x17b),s(0x174),s(0x168),b[s(0x170)],'index.'+c['engines']['js']]}),m=b[s(0x165)]?'/'+b[s(0x165)]+'/':'/';await d[s(0x167)]({'filePath':l,'content':s(0x16a)+m+h+'\x27;'});}catch(n){Log[s(0x178)](n),process[s(0x162)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a136r=a136d;(function(a,b){const o=a136d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a136r=a136d;function a136c(){const t=['search','/>}/>\x0a','<Route\x20index','private','6597aESwsO','</Route>','none','engines','6IVdLmu','Scaffolding\x20for\x20a\x20Route.','routes.','length','<Route\x20path=\x22*\x22','108Zodnrn','46820vameHj','(((.+)+)+)+$','toString','apply','7175316WHvRWj','lib','2618658ZomfPI','exit','<Route\x20path=\x22','findAppDirectory','<Route\x20element={<PrivateRoute\x20/>}>','\x22\x20element={<Component.','5UlPLqL','pop','3406669DzTTAk','replace','resourceName','injectIntoFile','ssr','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','route','split','8CcHLsf','toLowerCase','error','join','maka\x20{generate,\x20g}:{route,\x20r}','924RvdIsK','client','imports','7874046veIxoe','filter','2349392aoyIkN','startup','constructor'];a136c=function(){return t;};return a136c();}(function(a,b){const o=a136d,c=a();while(!![]){try{const d=-parseInt(o(0x107))/0x1*(parseInt(o(0x110))/0x2)+parseInt(o(0x117))/0x3+parseInt(o(0x100))/0x4*(-parseInt(o(0x11d))/0x5)+-parseInt(o(0x10b))/0x6*(parseInt(o(0x11f))/0x7)+parseInt(o(0xf6))/0x8*(parseInt(o(0xfe))/0x9)+parseInt(o(0x111))/0xa*(-parseInt(o(0xfb))/0xb)+parseInt(o(0x115))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x7f7c6));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a136d;if(c){const e=c[p(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const q=a136d;return a136a[q(0x113)]()['search'](q(0x112))['toString']()[q(0x102)](a136a)[q(0x103)](q(0x112));});a136a();function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0xf2;let f=c[d];return f;},a136d(a,b);}import a136e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':'route','mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a136r(0x106),'boolFlag':!![]},{'name':a136r(0xf4)}],'usage':a136r(0xfa),'shortDesc':a136r(0x10c),'examples':[]},async function(a,b){const s=a136r,{fsi:c,scaffold:d,projectConfig:f}=this;try{const g=c[s(0x11a)](),h=b[s(0x106)]??![];let i=b[s(0x121)][s(0xf5)]('/')[s(0x11e)]();if(!i){Log[s(0xf8)](s(0xf3));throw new UsageError();}i=pascalCase(i);let j=b[s(0xf4)]?'/'+b[s(0xf4)]:'/'+b['resourceName'][s(0x120)](/\\/g,'/')[s(0xf7)]();a[s(0x10e)]>0x1&&(j='/'+a[s(0xff)](function(n){return n!=='/';})[s(0xf9)]('/')['toLowerCase']());j=j[s(0x120)](/\/\//g,'/');const k=f['engines']['js'],l=f[s(0x10a)][s(0xf2)]!==s(0x109)?s(0x116):s(0xfc),m=a136e[s(0xf9)](g,s(0xfd),s(0x101),l,s(0x10d)+k);h?await d[s(0x122)]({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x11c)+i+s(0x104),'begin':[s(0x11b)],'end':[s(0x108)]}):await d['injectIntoFile']({'filePath':m,'content':s(0x119)+j+s(0x11c)+i+s(0x104),'begin':[s(0x105)],'end':[s(0x10f)]});}catch(n){Log[s(0xf8)](n),process[s(0x118)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a137r=a137d;(function(a,b){const o=a137d,c=a();while(!![]){try{const d=-parseInt(o(0x13d))/0x1*(-parseInt(o(0x12d))/0x2)+-parseInt(o(0x136))/0x3*(-parseInt(o(0x140))/0x4)+parseInt(o(0x128))/0x5*(parseInt(o(0x134))/0x6)+parseInt(o(0x137))/0x7+-parseInt(o(0x141))/0x8+parseInt(o(0x132))/0x9+parseInt(o(0x13a))/0xa*(-parseInt(o(0x13e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xeb60a));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a137d;if(c){const e=c[p(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const q=a137d;return a137a[q(0x131)]()[q(0x13b)](q(0x13c))[q(0x131)]()[q(0x142)](a137a)[q(0x13b)](q(0x13c));});function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x125;let f=c[d];return f;},a137d(a,b);}function a137c(){const t=['2564536JOoQQS','constructor','services','projectConfig','winston\x20setimmediate','imports','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','installNpmPackage','1359095ScqYhZ','logger','pathFromApp','apply','findAppDirectory','2873866APZGEe','engines','svc','winston','toString','6909057BzQvdH','error','12yjubBi','type','2133036seoAJV','2617223hvaiMn','resourceName','template','3185590FiykJd','search','(((.+)+)+)+$','1beZDuf','88eASCLZ','service','4EJDxjr'];a137c=function(){return t;};return a137c();}a137a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a137r(0x13f),'aliases':[a137r(0x12f)],'usage':'maka\x20{generate,\x20g}:{service}\x20<resource-name>','shortDesc':a137r(0x126),'requiredOpts':[{'name':'type','values':['logger']}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const s=a137r,{cfg:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=this[s(0x144)],i=d[s(0x12c)](),j=kebabCase(b[s(0x138)]),k={'name':pascalCase(b[s(0x138)]),'fileName':j,'camelCase':camelCase(b[s(0x138)]),'type':b[s(0x135)],'engine':h['engines']['js'],'noRename':!![]};let l='js';h[s(0x12e)]['js']==='tsx'&&(l='ts');if(b[s(0x135)]===s(0x129)){!f['checkNpmPackage'](s(0x130))&&await f[s(0x127)](s(0x145),{'cwd':i,'msg':'Installing\x20winston'});const m=g[s(0x12a)]({'pathParts':[s(0x125),'startup','lib',s(0x143),j+'.'+l]});await g[s(0x139)]({'srcPath':'service/logger/logger.js','destPath':m,'context':k,'config':h});}}catch(n){Log[s(0x133)](n);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a138d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a138d,c=a();while(!![]){try{var d=-parseInt(f(0xf1))/0x1*(parseInt(f(0xf2))/0x2)+parseInt(f(0xf0))/0x3+parseInt(f(0xf3))/0x4+parseInt(f(0xfb))/0x5*(parseInt(f(0xfa))/0x6)+parseInt(f(0xef))/0x7+parseInt(f(0xf7))/0x8+-parseInt(f(0xf4))/0x9*(parseInt(f(0xee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x4b66e));function a138d(a,b){var c=a138c();return a138d=function(d,e){d=d-0xee;var f=c[d];return f;},a138d(a,b);}var a138b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a138d;if(c){var e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){var h=a138d;return a138a[h(0xf9)]()['search'](h(0xfc))[h(0xf9)]()[h(0xf6)](a138a)[h(0xf8)](h(0xfc));});function a138c(){var i=['4919336yNGXQz','search','toString','6aeUOPT','1985020hqoYyH','(((.+)+)+)+$','13139220FBHVkR','180537VPIELu','1591659dXcjnE','11113WWRsCm','2tAoFmg','262464AdhDhX','9taIhsb','apply','constructor'];a138c=function(){return i;};return a138c();}a138a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a139l=a139d;function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0xe7;let f=c[d];return f;},a139d(a,b);}(function(a,b){const i=a139d,c=a();while(!![]){try{const d=-parseInt(i(0xe7))/0x1*(parseInt(i(0x101))/0x2)+-parseInt(i(0xed))/0x3+parseInt(i(0xf9))/0x4+parseInt(i(0xf0))/0x5*(parseInt(i(0xee))/0x6)+parseInt(i(0xec))/0x7*(-parseInt(i(0xf4))/0x8)+parseInt(i(0xf8))/0x9+parseInt(i(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xc4a10));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a139d;if(c){const e=c[j(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const k=a139d;return a139a[k(0xe8)]()[k(0xfb)](k(0x100))[k(0xe8)]()[k(0xfc)](a139a)[k(0xfb)](k(0x100));});a139a();import{Generator}from'../../generator.js';function a139c(){const n=['openssl/openssl.conf','4645ihJvhp','create','15697930BWaaXo','maka\x20g:sslconfig\x20--env\x20dev','4976IYDgYN','_keys','service','error','7569585AfRMqY','380064kKmXBY','maka\x20{generate,\x20g}:sslconfig','search','constructor','cfg','sslconfig','appName','(((.+)+)+)+$','1969150UKyQCG','1YudHNm','toString','apply','env','join','8659xJXRYZ','399666KlYjvb','1206EteBTU'];a139c=function(){return n;};return a139c();}import{Log}from'../../tools/log/log.class.js';import a139e from'path';Generator[a139l(0xf1)]({'name':a139l(0xfe),'usage':a139l(0xfa),'shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','resourceNameRequired':![],'requiredOpts':[a139l(0xea)],'examples':[a139l(0xf3)],'validOpts':[]},async function(a,b){const m=a139l;try{const c=this[m(0xfd)]['getMakaProjectConfig'](),d=this[m(0xfd)]['getAppConfigPath'](b[m(0xea)]),f=a139e[m(0xeb)](d,m(0xf5),'openssl.conf'),g={'app':c[m(0xff)],'noRename':!![]};await this['scaffold']['template']({'srcPath':m(0xef),'destPath':f,'framework':m(0xf6),'context':g,'config':c});}catch(h){Log[m(0xf7)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a140C=a140d;(function(a,b){const A=a140d,c=a();while(!![]){try{const d=-parseInt(A(0x104))/0x1*(parseInt(A(0x114))/0x2)+-parseInt(A(0x12e))/0x3+-parseInt(A(0x10f))/0x4+-parseInt(A(0x123))/0x5*(-parseInt(A(0x125))/0x6)+-parseInt(A(0x129))/0x7*(parseInt(A(0x122))/0x8)+-parseInt(A(0x115))/0x9+parseInt(A(0x12d))/0xa*(parseInt(A(0x13f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x99472));const a140b=(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;};}()),a140a=a140b(this,function(){const B=a140d;return a140a['toString']()[B(0x124)](B(0x10a))['toString']()[B(0x105)](a140a)[B(0x124)]('(((.+)+)+)+$');});function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x100;let f=c[d];return f;},a140d(a,b);}a140a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a140c(){const E=['Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','injectAtBeginningOfFile','create','findAppDirectory','.js','752ABONUq','45CiqwTk','search','119562PTzjkz','index.js','services','translations','82124vVoqLC','i18next\x20i18next-browser-languagedetector\x20react-i18next','template','ssr','42876630SHtvjZ','2972670SzuvUU','i18n/locales.js','rewriteDestinationPathForEngine','\x20}\x20from\x20\x27./','default\x20as\x20','scaffold','startup','injectAtEndOfFile','exit','i18n/index.js','engines','installNpmPackage','lib','toString','Generate\x20a\x20new\x20locale\x20translation','features.withTranslations','Locale\x20already\x20defined:\x20','11mCiCUf','translation','isFile','warn','\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','533NLCySt','constructor','maka\x20g:translation\x20--lang=fr','readFileSync','i18next','client','(((.+)+)+)+$','i18n.js','setProjectConfig','maka\x20{generate,\x20g}:translation','imports','3797780yvhwxR','grep','pathFromApp','import\x20\x27../lib/services/translations/i18n\x27;','meteor','214WpStQm','6651054RJYTUG','lang','Locale\x20already\x20exported:\x20','service','maka\x20g:translation\x20--lang=de','locales','checkNpmPackage','import\x20\x27../lib/services/translations/i18n\x27;\x0a'];a140c=function(){return E;};return a140c();}import a140e from'fs';Generator[a140C(0x11f)]({'name':a140C(0x100),'usage':a140C(0x10d),'aliases':['t'],'resourceNameRequired':![],'requiredOpts':[{'name':a140C(0x116),'boolFlag':![],'regex':/^[a-z]{2}$/}],'mustBeInMakaProject':!![],'shortDesc':a140C(0x13c),'description':a140C(0x103),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a140C(0x106),a140C(0x119)],'validOpts':[]},async function(a,b){const D=a140C;try{const {fsi:c,scaffold:d,pkg:f,cfg:g,projectConfig:h}=this,i=c[D(0x120)]();!b[D(0x116)]&&(b[D(0x116)]='en');!b['root']&&!f[D(0x11b)](D(0x108))&&(Log[D(0x102)](D(0x11d)),f[D(0x139)](D(0x12a),{'cwd':i}),g[D(0x10c)](D(0x13d),!![]));const j=d['pathFromApp']({'pathParts':[D(0x10e),'startup',D(0x109),'index.js']}),k=d[D(0x130)]({'pathParts':[j],'config':h}),l=c['grep'](a140e[D(0x107)](k)[D(0x13b)](),D(0x112))[0x0]&&!![];if(h[D(0x138)][D(0x12c)]===D(0x113)){!l&&d['injectAtBeginningOfFile']({'filePath':k,'content':D(0x11c)});const w=d[D(0x111)]({'pathParts':[D(0x10e),D(0x134),'server',D(0x126)]}),x=d['rewriteDestinationPathForEngine']({'pathParts':[w],'config':h}),y=c[D(0x110)](a140e['readFileSync'](x)[D(0x13b)](),D(0x112))[0x0]&&!![];!y&&d[D(0x11e)]({'filePath':x,'content':D(0x11c)});}else!l&&d[D(0x11e)]({'filePath':k,'content':D(0x11c)});const m={'app':h['appName'],'config':h},n=d[D(0x111)]({'pathParts':[D(0x10e),D(0x134),D(0x13a),'services','translations',D(0x10b)]}),o=c[D(0x101)](d[D(0x130)]({'pathParts':[n],'config':h}));!o&&await d['template']({'srcPath':'i18n/i18n.js','destPath':n,'framework':D(0x118),'context':m,'config':h});const p=d[D(0x111)]({'pathParts':[D(0x10e),D(0x134),D(0x13a),D(0x127),'translations',D(0x11a),b[D(0x116)]+D(0x121)]}),q=d[D(0x130)]({'pathParts':[p],'config':h}),r=c['isFile'](q);!r?await this[D(0x133)]['template']({'srcPath':D(0x12f),'destPath':p,'framework':D(0x118),'context':m,'config':h}):Log[D(0x102)](D(0x13e)+q);const s=d['pathFromApp']({'pathParts':['imports',D(0x134),D(0x13a),D(0x127),D(0x128),D(0x11a),'index.'+h[D(0x138)]['js']]}),t=d[D(0x130)]({'pathParts':[s],'config':h}),u=c[D(0x101)](t);!u&&await d[D(0x12b)]({'srcPath':D(0x137),'destPath':s,'framework':D(0x118),'context':m,'config':h});const v=c[D(0x110)](a140e['readFileSync'](s)[D(0x13b)](),D(0x132)+b['lang'])[0x0]&&!![];!v?await d[D(0x135)]({'filePath':s,'content':'export\x20{\x20default\x20as\x20'+b['lang']+D(0x131)+b[D(0x116)]+'\x27;'}):Log[D(0x102)](D(0x117)+s);}catch(z){Log['error'](z),process[D(0x136)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a141c(){const n=['floor','--max-old-space-size=','constructor','search','7387744DOtsuX','TOOL_NODE_FLAGS','dirname','env','MAKA_COMMAND_PATH','toString','822210yCoLiq','(((.+)+)+)+$','1965116BKeCRt','apply','968194liRrnM','3339048AKHNWT','slice','1896054PirXBZ','argv','parse','run','camelizeKeys','4508824pspQxg','totalmem'];a141c=function(){return n;};return a141c();}const a141m=a141d;(function(a,b){const j=a141d,c=a();while(!![]){try{const d=parseInt(j(0xcd))/0x1+-parseInt(j(0xcb))/0x2+-parseInt(j(0xce))/0x3+parseInt(j(0xd5))/0x4+-parseInt(j(0xc9))/0x5+-parseInt(j(0xd0))/0x6+parseInt(j(0xc3))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0x8c52f));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a141d;if(c){const e=c[k(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const l=a141d;return a141a[l(0xc8)]()[l(0xc2)](l(0xca))[l(0xc8)]()[l(0xc1)](a141a)[l(0xc2)](l(0xca));});a141a();import a141e from'minimist';import a141f from'os';import a141g from'path';import a141h from'humps';import a141i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a141g[a141m(0xc5)](__filename);global[a141m(0xc7)]=__dirname;const total_memory=a141f[a141m(0xd6)](),total_mem_in_kb=total_memory/0x400;function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0xc0;let f=c[d];return f;},a141d(a,b);}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a141m(0xd7)](total_mem_in_mb),process['env'][a141m(0xc4)]=a141m(0xc0)+total_mem_in_mb,process['env']['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a141m(0xc6)]['NODE_NO_WARNINGS']='1';const argv=a141e(process[a141m(0xd1)][a141m(0xcf)](0x2)),args=argv['_'],deepCopyArgv=JSON[a141m(0xd2)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a141h[a141m(0xd4)](deepCopyArgv);a141i[a141m(0xd3)](args,opts);
|
|
@@ -24,10 +24,10 @@ declare module 'meteor/check';
|
|
|
24
24
|
declare module 'meteor/webapp';
|
|
25
25
|
|
|
26
26
|
interface EJSONable {
|
|
27
|
-
[key: string]: number | string | boolean |
|
|
27
|
+
[key: string]: number | string | boolean | object | number[] | string[] | object[] | Date | Uint8Array | EJSON.CustomType;
|
|
28
28
|
}
|
|
29
29
|
interface JSONable {
|
|
30
|
-
[key: string]: number | string | boolean |
|
|
30
|
+
[key: string]: number | string | boolean | object | number[] | string[] | object[];
|
|
31
31
|
}
|
|
32
32
|
type EJSON = EJSONable
|
|
33
33
|
|
|
@@ -113,7 +113,7 @@ declare module "meteor/mongo" {
|
|
|
113
113
|
interface Selector {
|
|
114
114
|
[key: string]: any;
|
|
115
115
|
}
|
|
116
|
-
type Selector =
|
|
116
|
+
type Selector = object
|
|
117
117
|
interface Modifier { }
|
|
118
118
|
interface SortSpecifier { }
|
|
119
119
|
interface FieldSpecifier {
|
|
@@ -305,7 +305,7 @@ declare module "meteor/meteor" {
|
|
|
305
305
|
close: Function;
|
|
306
306
|
onClose: Function;
|
|
307
307
|
clientAddress: string;
|
|
308
|
-
httpHeaders:
|
|
308
|
+
httpHeaders: object;
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
311
|
}
|
|
@@ -349,14 +349,14 @@ interface ILengthAble {
|
|
|
349
349
|
}
|
|
350
350
|
|
|
351
351
|
interface ITinytestAssertions {
|
|
352
|
-
ok(doc:
|
|
352
|
+
ok(doc: object): void;
|
|
353
353
|
expect_fail(): void;
|
|
354
|
-
fail(doc:
|
|
354
|
+
fail(doc: object): void;
|
|
355
355
|
runId(): string;
|
|
356
356
|
equal<T>(actual: T, expected: T, message?: string, not?: boolean): void;
|
|
357
357
|
notEqual<T>(actual: T, expected: T, message?: string): void;
|
|
358
|
-
instanceOf(obj:
|
|
359
|
-
notInstanceOf(obj:
|
|
358
|
+
instanceOf(obj: object, klass: Function, message?: string): void;
|
|
359
|
+
notInstanceOf(obj: object, klass: Function, message?: string): void;
|
|
360
360
|
matches(actual: any, regexp: RegExp, message?: string): void;
|
|
361
361
|
notMatches(actual: any, regexp: RegExp, message?: string): void;
|
|
362
362
|
throws(f: Function, expected?: string | RegExp): void;
|
|
@@ -368,9 +368,9 @@ interface ITinytestAssertions {
|
|
|
368
368
|
isNotUndefined(v: any, msg?: string): void;
|
|
369
369
|
isNan(v: any, msg?: string): void;
|
|
370
370
|
isNotNan(v: any, msg?: string): void;
|
|
371
|
-
include<T>(s: Array<T> |
|
|
371
|
+
include<T>(s: Array<T> | object | string, value: any, msg?: string, not?: boolean): void;
|
|
372
372
|
|
|
373
|
-
notInclude<T>(s: Array<T> |
|
|
373
|
+
notInclude<T>(s: Array<T> | object | string, value: any, msg?: string, not?: boolean): void;
|
|
374
374
|
length(obj: ILengthAble, expected_length: number, msg?: string): void;
|
|
375
375
|
_stringEqual(actual: string, expected: string, msg?: string): void;
|
|
376
376
|
}
|
|
@@ -403,11 +403,11 @@ declare module "meteor/accounts-base" {
|
|
|
403
403
|
username?: string;
|
|
404
404
|
email?: string;
|
|
405
405
|
password?: string;
|
|
406
|
-
profile?:
|
|
406
|
+
profile?: object;
|
|
407
407
|
}, callback?: Function): string;
|
|
408
408
|
var emailTemplates: Meteor.EmailTemplates;
|
|
409
|
-
function findUserByEmail(email: string):
|
|
410
|
-
function findUserByUsername(username: string):
|
|
409
|
+
function findUserByEmail(email: string): object;
|
|
410
|
+
function findUserByUsername(username: string): object;
|
|
411
411
|
function forgotPassword(options: {
|
|
412
412
|
email?: string;
|
|
413
413
|
}, callback?: Function): void;
|
|
@@ -420,14 +420,14 @@ declare module "meteor/accounts-base" {
|
|
|
420
420
|
function sendResetPasswordEmail(userId: string, email?: string): void;
|
|
421
421
|
function sendVerificationEmail(userId: string, email?: string): void;
|
|
422
422
|
function setPassword(userId: string, newPassword: string, options?: {
|
|
423
|
-
logout?:
|
|
423
|
+
logout?: object;
|
|
424
424
|
}): void;
|
|
425
425
|
function setUsername(userId: string, newUsername: string): void;
|
|
426
426
|
var ui: {
|
|
427
427
|
config(options: {
|
|
428
|
-
requestPermissions?:
|
|
429
|
-
requestOfflineToken?:
|
|
430
|
-
forceApprovalPrompt?:
|
|
428
|
+
requestPermissions?: object;
|
|
429
|
+
requestOfflineToken?: object;
|
|
430
|
+
forceApprovalPrompt?: object;
|
|
431
431
|
passwordSignupFields?: string;
|
|
432
432
|
}): void;
|
|
433
433
|
};
|
|
@@ -456,8 +456,8 @@ declare namespace App {
|
|
|
456
456
|
function accessRule(domainRule: string, options?: {
|
|
457
457
|
launchExternal?: boolean;
|
|
458
458
|
}): void;
|
|
459
|
-
function configurePlugin(id: string, config:
|
|
460
|
-
function icons(icons:
|
|
459
|
+
function configurePlugin(id: string, config: object): void;
|
|
460
|
+
function icons(icons: object): void;
|
|
461
461
|
function info(options: {
|
|
462
462
|
id?: string;
|
|
463
463
|
version?: string;
|
|
@@ -467,7 +467,7 @@ declare namespace App {
|
|
|
467
467
|
email?: string;
|
|
468
468
|
website?: string;
|
|
469
469
|
}): void;
|
|
470
|
-
function launchScreens(launchScreens:
|
|
470
|
+
function launchScreens(launchScreens: object): void;
|
|
471
471
|
function setPreference(name: string, value: string, platform?: string): void;
|
|
472
472
|
}
|
|
473
473
|
|
|
@@ -501,15 +501,15 @@ declare module "meteor/blaze" {
|
|
|
501
501
|
}
|
|
502
502
|
interface TemplateInstance {
|
|
503
503
|
$(selector: string): any;
|
|
504
|
-
autorun(runFunc: Function):
|
|
505
|
-
data:
|
|
504
|
+
autorun(runFunc: Function): object;
|
|
505
|
+
data: object;
|
|
506
506
|
find(selector?: string): Blaze.TemplateInstance;
|
|
507
507
|
findAll(selector: string): Blaze.TemplateInstance[];
|
|
508
|
-
firstNode:
|
|
509
|
-
lastNode:
|
|
508
|
+
firstNode: object;
|
|
509
|
+
lastNode: object;
|
|
510
510
|
subscribe(name: string, ...args: any[]): Meteor.SubscriptionHandle;
|
|
511
511
|
subscriptionsReady(): boolean;
|
|
512
|
-
view:
|
|
512
|
+
view: object;
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
function Unless(conditionFunc: Function, contentFunc: Function, elseFunc?: Function): Blaze.View;
|
|
@@ -520,16 +520,16 @@ declare module "meteor/blaze" {
|
|
|
520
520
|
interface View {
|
|
521
521
|
}
|
|
522
522
|
|
|
523
|
-
function With(data:
|
|
523
|
+
function With(data: object | Function, contentFunc: Function): Blaze.View;
|
|
524
524
|
var currentView: Blaze.View;
|
|
525
|
-
function getData(elementOrView?: HTMLElement | Blaze.View):
|
|
525
|
+
function getData(elementOrView?: HTMLElement | Blaze.View): object;
|
|
526
526
|
function getView(element?: HTMLElement): Blaze.View;
|
|
527
527
|
function isTemplate(value: any): boolean;
|
|
528
528
|
function remove(renderedView: Blaze.View): void;
|
|
529
529
|
function render(templateOrView: Template | Blaze.View, parentNode: Node, nextNode?: Node, parentView?: Blaze.View): Blaze.View;
|
|
530
|
-
function renderWithData(templateOrView: Template | Blaze.View, data:
|
|
530
|
+
function renderWithData(templateOrView: Template | Blaze.View, data: object | Function, parentNode: Node, nextNode?: Node, parentView?: Blaze.View): Blaze.View;
|
|
531
531
|
function toHTML(templateOrView: Template | Blaze.View): string;
|
|
532
|
-
function toHTMLWithData(templateOrView: Template | Blaze.View, data:
|
|
532
|
+
function toHTMLWithData(templateOrView: Template | Blaze.View, data: object | Function): string;
|
|
533
533
|
}
|
|
534
534
|
}
|
|
535
535
|
|
|
@@ -555,7 +555,7 @@ declare namespace EJSON {
|
|
|
555
555
|
}
|
|
556
556
|
interface CustomType {
|
|
557
557
|
clone(): EJSON.CustomType;
|
|
558
|
-
equals(other:
|
|
558
|
+
equals(other: object): boolean;
|
|
559
559
|
toJSONValue(): JSONable;
|
|
560
560
|
typeName(): string;
|
|
561
561
|
}
|
|
@@ -566,7 +566,7 @@ declare namespace EJSON {
|
|
|
566
566
|
keyOrderSensitive?: boolean;
|
|
567
567
|
}): boolean;
|
|
568
568
|
function fromJSONValue(val: JSONable): any;
|
|
569
|
-
function isBinary(x:
|
|
569
|
+
function isBinary(x: object): boolean;
|
|
570
570
|
var newBinary: any;
|
|
571
571
|
function parse(str: string): EJSON;
|
|
572
572
|
function stringify(val: EJSON, options?: {
|
|
@@ -613,15 +613,15 @@ declare module "meteor/meteor" {
|
|
|
613
613
|
function loginWith<ExternalService>(options?: {
|
|
614
614
|
requestPermissions?: string[];
|
|
615
615
|
requestOfflineToken?: boolean;
|
|
616
|
-
loginUrlParameters?:
|
|
616
|
+
loginUrlParameters?: object;
|
|
617
617
|
userEmail?: string;
|
|
618
618
|
loginStyle?: string;
|
|
619
619
|
redirectUrl?: string;
|
|
620
620
|
}, callback?: Function): void;
|
|
621
|
-
function loginWithPassword(user:
|
|
621
|
+
function loginWithPassword(user: object | string, password: string, callback?: Function): void;
|
|
622
622
|
function logout(callback?: Function): void;
|
|
623
623
|
function logoutOtherClients(callback?: Function): void;
|
|
624
|
-
function methods(methods:
|
|
624
|
+
function methods(methods: object): void;
|
|
625
625
|
function onConnection(callback: Function): void;
|
|
626
626
|
function publish(name: string, func: Function): void;
|
|
627
627
|
function reconnect(): void;
|
|
@@ -635,7 +635,7 @@ declare module "meteor/meteor" {
|
|
|
635
635
|
function user(): Meteor.User;
|
|
636
636
|
function userId(): string;
|
|
637
637
|
var users: Mongo.Collection<User>;
|
|
638
|
-
function wrapAsync(func: Function, context?:
|
|
638
|
+
function wrapAsync(func: Function, context?: object): any;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
|
|
@@ -646,7 +646,7 @@ declare module "meteor/mongo" {
|
|
|
646
646
|
var Collection: CollectionStatic;
|
|
647
647
|
interface CollectionStatic {
|
|
648
648
|
new <T>(name: string, options?: {
|
|
649
|
-
connection?:
|
|
649
|
+
connection?: object;
|
|
650
650
|
idGeneration?: string;
|
|
651
651
|
transform?: Function;
|
|
652
652
|
}): Collection<T>;
|
|
@@ -704,8 +704,8 @@ declare module "meteor/mongo" {
|
|
|
704
704
|
fetch(): Array<T>;
|
|
705
705
|
forEach(callback: <T>(doc: T, index: number, cursor: Mongo.Cursor<T>) => void, thisArg?: any): void;
|
|
706
706
|
map<U>(callback: (doc: T, index: number, cursor: Mongo.Cursor<T>) => U, thisArg?: any): Array<U>;
|
|
707
|
-
observe(callbacks:
|
|
708
|
-
observeChanges(callbacks:
|
|
707
|
+
observe(callbacks: object): Meteor.LiveQueryHandle;
|
|
708
|
+
observeChanges(callbacks: object): Meteor.LiveQueryHandle;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
711
|
var ObjectID: ObjectIDStatic;
|
|
@@ -739,7 +739,7 @@ declare namespace Package {
|
|
|
739
739
|
name?: string;
|
|
740
740
|
use?: string | string[];
|
|
741
741
|
sources?: string[];
|
|
742
|
-
npmDependencies?:
|
|
742
|
+
npmDependencies?: object;
|
|
743
743
|
}): void;
|
|
744
744
|
}
|
|
745
745
|
|
|
@@ -791,20 +791,20 @@ declare module "meteor/http" {
|
|
|
791
791
|
|
|
792
792
|
function call(method: string, url: string, options?: {
|
|
793
793
|
content?: string;
|
|
794
|
-
data?:
|
|
794
|
+
data?: object;
|
|
795
795
|
query?: string;
|
|
796
|
-
params?:
|
|
796
|
+
params?: object;
|
|
797
797
|
auth?: string;
|
|
798
|
-
headers?:
|
|
798
|
+
headers?: object;
|
|
799
799
|
timeout?: number;
|
|
800
800
|
followRedirects?: boolean;
|
|
801
|
-
npmRequestOptions?:
|
|
801
|
+
npmRequestOptions?: object;
|
|
802
802
|
beforeSend?: Function;
|
|
803
803
|
}, asyncCallback?: Function): HTTP.HTTPResponse;
|
|
804
|
-
function del(url: string, callOptions?:
|
|
805
|
-
function get(url: string, callOptions?:
|
|
806
|
-
function post(url: string, callOptions?:
|
|
807
|
-
function put(url: string, callOptions?:
|
|
804
|
+
function del(url: string, callOptions?: object, asyncCallback?: Function): HTTP.HTTPResponse;
|
|
805
|
+
function get(url: string, callOptions?: object, asyncCallback?: Function): HTTP.HTTPResponse;
|
|
806
|
+
function post(url: string, callOptions?: object, asyncCallback?: Function): HTTP.HTTPResponse;
|
|
807
|
+
function put(url: string, callOptions?: object, asyncCallback?: Function): HTTP.HTTPResponse;
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
|
|
@@ -819,8 +819,8 @@ declare module "meteor/email" {
|
|
|
819
819
|
subject?: string;
|
|
820
820
|
text?: string;
|
|
821
821
|
html?: string;
|
|
822
|
-
headers?:
|
|
823
|
-
attachments?:
|
|
822
|
+
headers?: object;
|
|
823
|
+
attachments?: object[];
|
|
824
824
|
mailComposer?: MailComposer;
|
|
825
825
|
}): void;
|
|
826
826
|
}
|
|
@@ -867,7 +867,7 @@ interface PackageAPI {
|
|
|
867
867
|
addFiles(filenames: string | string[], architecture?: string | string[], options?: {
|
|
868
868
|
bare?: boolean;
|
|
869
869
|
}): void;
|
|
870
|
-
export(exportedObjects: string | string[], architecture?: string | string[], exportOptions?:
|
|
870
|
+
export(exportedObjects: string | string[], architecture?: string | string[], exportOptions?: object, testOnly?: boolean): void;
|
|
871
871
|
imply(packageNames: string | string[], architecture?: string | string[]): void;
|
|
872
872
|
use(packageNames: string | string[], architecture?: string | string[], options?: {
|
|
873
873
|
weak?: boolean;
|
|
@@ -893,8 +893,8 @@ declare module "meteor/reactive-var" {
|
|
|
893
893
|
new (): Subscription;
|
|
894
894
|
}
|
|
895
895
|
interface Subscription {
|
|
896
|
-
added(collection: string, id: string, fields:
|
|
897
|
-
changed(collection: string, id: string, fields:
|
|
896
|
+
added(collection: string, id: string, fields: object): void;
|
|
897
|
+
changed(collection: string, id: string, fields: object): void;
|
|
898
898
|
connection: Meteor.Connection;
|
|
899
899
|
error(error: Error): void;
|
|
900
900
|
onStop(func: Function): void;
|
|
@@ -937,15 +937,15 @@ declare module "meteor/blaze" {
|
|
|
937
937
|
|
|
938
938
|
declare function check(value: any, pattern: any): void;
|
|
939
939
|
declare function execFileAsync(command: string, args?: any[], options?: {
|
|
940
|
-
cwd?:
|
|
941
|
-
env?:
|
|
940
|
+
cwd?: object;
|
|
941
|
+
env?: object;
|
|
942
942
|
stdio?: any[] | string;
|
|
943
943
|
destination?: any;
|
|
944
944
|
waitForClose?: string;
|
|
945
945
|
}): any;
|
|
946
946
|
declare function execFileSync(command: string, args?: any[], options?: {
|
|
947
|
-
cwd?:
|
|
948
|
-
env?:
|
|
947
|
+
cwd?: object;
|
|
948
|
+
env?: object;
|
|
949
949
|
stdio?: any[] | string;
|
|
950
950
|
destination?: any;
|
|
951
951
|
waitForClose?: string;
|
|
@@ -8,8 +8,8 @@ const {
|
|
|
8
8
|
} = format;
|
|
9
9
|
|
|
10
10
|
const customFormat = printf(({
|
|
11
|
-
level, message, label, timestamp,
|
|
12
|
-
}) => `${timestamp} [${label}] ${level}: ${message}`);
|
|
11
|
+
level, message, label, timestamp,
|
|
12
|
+
}) => `${timestamp} [${label}] ${level}: ${message}`);
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
const Log = createLogger({
|
|
@@ -8,8 +8,8 @@ const {
|
|
|
8
8
|
} = format;
|
|
9
9
|
|
|
10
10
|
const customFormat = printf(({
|
|
11
|
-
level, message, label, timestamp,
|
|
12
|
-
}) => `${timestamp} [${label}] ${level}: ${message}`);
|
|
11
|
+
level, message, label, timestamp,
|
|
12
|
+
}) => `${timestamp} [${label}] ${level}: ${message}`);
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
const Log = createLogger({
|