@maka/maka-cli 5.1.23 → 5.1.25
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/typescript/package.json +112 -0
- package/bundle/typescript/src/command.d.ts +37 -0
- package/bundle/typescript/src/command.js +231 -0
- package/bundle/typescript/src/command.js.map +1 -0
- package/bundle/typescript/src/commands/_index.d.ts +25 -0
- package/bundle/typescript/src/commands/_index.js +28 -0
- package/bundle/typescript/src/commands/_index.js.map +1 -0
- package/bundle/typescript/src/commands/ai.d.ts +1 -0
- package/bundle/typescript/src/commands/ai.js +82 -0
- package/bundle/typescript/src/commands/ai.js.map +1 -0
- package/bundle/typescript/src/commands/aws/_index.d.ts +16 -0
- package/bundle/typescript/src/commands/aws/_index.js +17 -0
- package/bundle/typescript/src/commands/aws/_index.js.map +1 -0
- package/bundle/typescript/src/commands/aws/aws.command.d.ts +3 -0
- package/bundle/typescript/src/commands/aws/aws.command.js +15 -0
- package/bundle/typescript/src/commands/aws/aws.command.js.map +1 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +36 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +41 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +199 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +42 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +43 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +31 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js +35 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +25 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +57 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +30 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +39 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +104 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +52 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +74 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +45 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/build/_index.d.ts +2 -0
- package/bundle/typescript/src/commands/build/_index.js +3 -0
- package/bundle/typescript/src/commands/build/_index.js.map +1 -0
- package/bundle/typescript/src/commands/build/build.d.ts +3 -0
- package/bundle/typescript/src/commands/build/build.js +78 -0
- package/bundle/typescript/src/commands/build/build.js.map +1 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js +138 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/create.d.ts +1 -0
- package/bundle/typescript/src/commands/create.js +475 -0
- package/bundle/typescript/src/commands/create.js.map +1 -0
- package/bundle/typescript/src/commands/debug.d.ts +1 -0
- package/bundle/typescript/src/commands/debug.js +76 -0
- package/bundle/typescript/src/commands/debug.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/deploy/_index.js +4 -0
- package/bundle/typescript/src/commands/deploy/_index.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +3 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.js +24 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +122 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +506 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/_index.d.ts +5 -0
- package/bundle/typescript/src/commands/game/_index.js +7 -0
- package/bundle/typescript/src/commands/game/_index.js.map +1 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/play.command.d.ts +3 -0
- package/bundle/typescript/src/commands/game/play.command.js +18 -0
- package/bundle/typescript/src/commands/game/play.command.js.map +1 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +24 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +29 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +33 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +57 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +37 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +98 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +31 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +19 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +20 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +32 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +38 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +12 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +43 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +33 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js +67 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.d.ts +6 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js +66 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/sceneSynthesizer.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +18 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js +99 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +18 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js +42 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +46 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +97 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +29 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +81 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +34 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +42 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +205 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +23 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +57 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +45 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +168 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +55 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +259 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.d.ts +59 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.js +271 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/puzzles.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/puzzles.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.d.ts +4 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.js +350 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +143 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.d.ts +148 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js +86 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +77 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +86 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.d.ts +192 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.d.ts +53 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.js +242 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +63 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +54 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/generate.d.ts +1 -0
- package/bundle/typescript/src/commands/generate.js +42 -0
- package/bundle/typescript/src/commands/generate.js.map +1 -0
- package/bundle/typescript/src/commands/get/_index.d.ts +4 -0
- package/bundle/typescript/src/commands/get/_index.js +5 -0
- package/bundle/typescript/src/commands/get/_index.js.map +1 -0
- package/bundle/typescript/src/commands/get/get.command.d.ts +3 -0
- package/bundle/typescript/src/commands/get/get.command.js +13 -0
- package/bundle/typescript/src/commands/get/get.command.js.map +1 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.js +20 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.js +14 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +19 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/help.d.ts +1 -0
- package/bundle/typescript/src/commands/help.js +12 -0
- package/bundle/typescript/src/commands/help.js.map +1 -0
- package/bundle/typescript/src/commands/install.d.ts +1 -0
- package/bundle/typescript/src/commands/install.js +269 -0
- package/bundle/typescript/src/commands/install.js.map +1 -0
- package/bundle/typescript/src/commands/jsdoc.d.ts +1 -0
- package/bundle/typescript/src/commands/jsdoc.js +62 -0
- package/bundle/typescript/src/commands/jsdoc.js.map +1 -0
- package/bundle/typescript/src/commands/lint.d.ts +1 -0
- package/bundle/typescript/src/commands/lint.js +124 -0
- package/bundle/typescript/src/commands/lint.js.map +1 -0
- package/bundle/typescript/src/commands/login.d.ts +1 -0
- package/bundle/typescript/src/commands/login.js +160 -0
- package/bundle/typescript/src/commands/login.js.map +1 -0
- package/bundle/typescript/src/commands/logout.d.ts +1 -0
- package/bundle/typescript/src/commands/logout.js +93 -0
- package/bundle/typescript/src/commands/logout.js.map +1 -0
- package/bundle/typescript/src/commands/logs.d.ts +1 -0
- package/bundle/typescript/src/commands/logs.js +33 -0
- package/bundle/typescript/src/commands/logs.js.map +1 -0
- package/bundle/typescript/src/commands/maka.cmd.d.ts +5 -0
- package/bundle/typescript/src/commands/maka.cmd.js +57 -0
- package/bundle/typescript/src/commands/maka.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/murder.d.ts +1 -0
- package/bundle/typescript/src/commands/murder.js +31 -0
- package/bundle/typescript/src/commands/murder.js.map +1 -0
- package/bundle/typescript/src/commands/profile.d.ts +1 -0
- package/bundle/typescript/src/commands/profile.js +277 -0
- package/bundle/typescript/src/commands/profile.js.map +1 -0
- package/bundle/typescript/src/commands/proxy.d.ts +1 -0
- package/bundle/typescript/src/commands/proxy.js +163 -0
- package/bundle/typescript/src/commands/proxy.js.map +1 -0
- package/bundle/typescript/src/commands/reconfig.d.ts +1 -0
- package/bundle/typescript/src/commands/reconfig.js +69 -0
- package/bundle/typescript/src/commands/reconfig.js.map +1 -0
- package/bundle/typescript/src/commands/register.d.ts +1 -0
- package/bundle/typescript/src/commands/register.js +101 -0
- package/bundle/typescript/src/commands/register.js.map +1 -0
- package/bundle/typescript/src/commands/run/_index.d.ts +2 -0
- package/bundle/typescript/src/commands/run/_index.js +3 -0
- package/bundle/typescript/src/commands/run/_index.js.map +1 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js +80 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/run/run.command.d.ts +3 -0
- package/bundle/typescript/src/commands/run/run.command.js +157 -0
- package/bundle/typescript/src/commands/run/run.command.js.map +1 -0
- package/bundle/typescript/src/commands/set/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/set/_index.js +4 -0
- package/bundle/typescript/src/commands/set/_index.js.map +1 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.js +115 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.js +18 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/set/set.command.d.ts +3 -0
- package/bundle/typescript/src/commands/set/set.command.js +16 -0
- package/bundle/typescript/src/commands/set/set.command.js.map +1 -0
- package/bundle/typescript/src/commands/ssh.d.ts +1 -0
- package/bundle/typescript/src/commands/ssh.js +40 -0
- package/bundle/typescript/src/commands/ssh.js.map +1 -0
- package/bundle/typescript/src/commands/ssl.d.ts +1 -0
- package/bundle/typescript/src/commands/ssl.js +106 -0
- package/bundle/typescript/src/commands/ssl.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/testCmd/_index.js +4 -0
- package/bundle/typescript/src/commands/testCmd/_index.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +131 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +133 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/test.command.d.ts +3 -0
- package/bundle/typescript/src/commands/testCmd/test.command.js +15 -0
- package/bundle/typescript/src/commands/testCmd/test.command.js.map +1 -0
- package/bundle/typescript/src/commands/undo.d.ts +1 -0
- package/bundle/typescript/src/commands/undo.js +12 -0
- package/bundle/typescript/src/commands/undo.js.map +1 -0
- package/bundle/typescript/src/commands/uninstall.d.ts +1 -0
- package/bundle/typescript/src/commands/uninstall.js +76 -0
- package/bundle/typescript/src/commands/uninstall.js.map +1 -0
- package/bundle/typescript/src/commands/version/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/version/_index.js +4 -0
- package/bundle/typescript/src/commands/version/_index.js.map +1 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.js +55 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.js +71 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/version/version.d.ts +3 -0
- package/bundle/typescript/src/commands/version/version.js +57 -0
- package/bundle/typescript/src/commands/version/version.js.map +1 -0
- package/bundle/typescript/src/error.d.ts +12 -0
- package/bundle/typescript/src/error.js +13 -0
- package/bundle/typescript/src/error.js.map +1 -0
- package/bundle/typescript/src/exec.d.ts +2 -0
- package/bundle/typescript/src/exec.js +17 -0
- package/bundle/typescript/src/exec.js.map +1 -0
- package/bundle/typescript/src/generator.d.ts +48 -0
- package/bundle/typescript/src/generator.js +380 -0
- package/bundle/typescript/src/generator.js.map +1 -0
- package/bundle/typescript/src/generators/_index.d.ts +18 -0
- package/bundle/typescript/src/generators/_index.js +19 -0
- package/bundle/typescript/src/generators/_index.js.map +1 -0
- package/bundle/typescript/src/generators/api.d.ts +1 -0
- package/bundle/typescript/src/generators/api.js +197 -0
- package/bundle/typescript/src/generators/api.js.map +1 -0
- package/bundle/typescript/src/generators/aws/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/aws/_index.js +3 -0
- package/bundle/typescript/src/generators/aws/_index.js.map +1 -0
- package/bundle/typescript/src/generators/aws/aws.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/aws.js +16 -0
- package/bundle/typescript/src/generators/aws/aws.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +21 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +66 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +1 -0
- package/bundle/typescript/src/generators/collection.d.ts +1 -0
- package/bundle/typescript/src/generators/collection.js +71 -0
- package/bundle/typescript/src/generators/collection.js.map +1 -0
- package/bundle/typescript/src/generators/component.d.ts +1 -0
- package/bundle/typescript/src/generators/component.js +96 -0
- package/bundle/typescript/src/generators/component.js.map +1 -0
- package/bundle/typescript/src/generators/config.d.ts +1 -0
- package/bundle/typescript/src/generators/config.js +71 -0
- package/bundle/typescript/src/generators/config.js.map +1 -0
- package/bundle/typescript/src/generators/dbc.d.ts +1 -0
- package/bundle/typescript/src/generators/dbc.js +82 -0
- package/bundle/typescript/src/generators/dbc.js.map +1 -0
- package/bundle/typescript/src/generators/dockerfile.d.ts +1 -0
- package/bundle/typescript/src/generators/dockerfile.js +42 -0
- package/bundle/typescript/src/generators/dockerfile.js.map +1 -0
- package/bundle/typescript/src/generators/hook.d.ts +1 -0
- package/bundle/typescript/src/generators/hook.js +110 -0
- package/bundle/typescript/src/generators/hook.js.map +1 -0
- package/bundle/typescript/src/generators/kits/_index.d.ts +4 -0
- package/bundle/typescript/src/generators/kits/_index.js +5 -0
- package/bundle/typescript/src/generators/kits/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/_index.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/auth/_index.js +4 -0
- package/bundle/typescript/src/generators/kits/auth/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js +21 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +209 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +134 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/kits/esri/_index.js +3 -0
- package/bundle/typescript/src/generators/kits/esri/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js +31 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +85 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/kit.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/kit.js +17 -0
- package/bundle/typescript/src/generators/kits/kit.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/_index.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/mui/_index.js +4 -0
- package/bundle/typescript/src/generators/kits/mui/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +2 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +209 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +190 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js +70 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +1 -0
- package/bundle/typescript/src/generators/layout.d.ts +1 -0
- package/bundle/typescript/src/generators/layout.js +110 -0
- package/bundle/typescript/src/generators/layout.js.map +1 -0
- package/bundle/typescript/src/generators/maka.gen.d.ts +5 -0
- package/bundle/typescript/src/generators/maka.gen.js +26 -0
- package/bundle/typescript/src/generators/maka.gen.js.map +1 -0
- package/bundle/typescript/src/generators/methods.d.ts +1 -0
- package/bundle/typescript/src/generators/methods.js +62 -0
- package/bundle/typescript/src/generators/methods.js.map +1 -0
- package/bundle/typescript/src/generators/package.d.ts +1 -0
- package/bundle/typescript/src/generators/package.js +66 -0
- package/bundle/typescript/src/generators/package.js.map +1 -0
- package/bundle/typescript/src/generators/page.d.ts +1 -0
- package/bundle/typescript/src/generators/page.js +190 -0
- package/bundle/typescript/src/generators/page.js.map +1 -0
- package/bundle/typescript/src/generators/publish.d.ts +1 -0
- package/bundle/typescript/src/generators/publish.js +75 -0
- package/bundle/typescript/src/generators/publish.js.map +1 -0
- package/bundle/typescript/src/generators/route.d.ts +1 -0
- package/bundle/typescript/src/generators/route.js +66 -0
- package/bundle/typescript/src/generators/route.js.map +1 -0
- package/bundle/typescript/src/generators/services/_index.d.ts +4 -0
- package/bundle/typescript/src/generators/services/_index.js +5 -0
- package/bundle/typescript/src/generators/services/_index.js.map +1 -0
- package/bundle/typescript/src/generators/services/logger.d.ts +1 -0
- package/bundle/typescript/src/generators/services/logger.js +50 -0
- package/bundle/typescript/src/generators/services/logger.js.map +1 -0
- package/bundle/typescript/src/generators/services/openssl.d.ts +1 -0
- package/bundle/typescript/src/generators/services/openssl.js +38 -0
- package/bundle/typescript/src/generators/services/openssl.js.map +1 -0
- package/bundle/typescript/src/generators/services/service.d.ts +3 -0
- package/bundle/typescript/src/generators/services/service.js +16 -0
- package/bundle/typescript/src/generators/services/service.js.map +1 -0
- package/bundle/typescript/src/generators/services/translation.d.ts +1 -0
- package/bundle/typescript/src/generators/services/translation.js +149 -0
- package/bundle/typescript/src/generators/services/translation.js.map +1 -0
- package/bundle/typescript/src/maka.d.ts +2 -0
- package/bundle/typescript/src/maka.js +26 -0
- package/bundle/typescript/src/maka.js.map +1 -0
- package/bundle/typescript/src/templates/meteor/project/README.md +33 -0
- package/bundle/typescript/src/templates/meteor/project/package.json +26 -0
- package/bundle/typescript/src/tool.d.ts +74 -0
- package/bundle/typescript/src/tool.js +217 -0
- package/bundle/typescript/src/tool.js.map +1 -0
- package/bundle/typescript/src/tools/actions/actions.class.d.ts +25 -0
- package/bundle/typescript/src/tools/actions/actions.class.js +20 -0
- package/bundle/typescript/src/tools/actions/actions.class.js.map +1 -0
- package/bundle/typescript/src/tools/aws/aws.class.d.ts +51 -0
- package/bundle/typescript/src/tools/aws/aws.class.js +802 -0
- package/bundle/typescript/src/tools/aws/aws.class.js.map +1 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +364 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.js +255 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +42 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.js +402 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.js.map +1 -0
- package/bundle/typescript/src/tools/docker/docker.class.d.ts +10 -0
- package/bundle/typescript/src/tools/docker/docker.class.js +46 -0
- package/bundle/typescript/src/tools/docker/docker.class.js.map +1 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +18 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.js +2 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +114 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.js +621 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.js.map +1 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +187 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +62 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/https/https.class.d.ts +10 -0
- package/bundle/typescript/src/tools/https/https.class.js +247 -0
- package/bundle/typescript/src/tools/https/https.class.js.map +1 -0
- package/bundle/typescript/src/tools/https/https.interface.d.ts +39 -0
- package/bundle/typescript/src/tools/https/https.interface.js +2 -0
- package/bundle/typescript/src/tools/https/https.interface.js.map +1 -0
- package/bundle/typescript/src/tools/log/log.class.d.ts +33 -0
- package/bundle/typescript/src/tools/log/log.class.js +206 -0
- package/bundle/typescript/src/tools/log/log.class.js.map +1 -0
- package/bundle/typescript/src/tools/log/log.interfaces.d.ts +7 -0
- package/bundle/typescript/src/tools/log/log.interfaces.js +2 -0
- package/bundle/typescript/src/tools/log/log.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +23 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.js +351 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.js.map +1 -0
- package/bundle/typescript/src/tools/options/options.class.d.ts +11 -0
- package/bundle/typescript/src/tools/options/options.class.js +64 -0
- package/bundle/typescript/src/tools/options/options.class.js.map +1 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +31 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.js +314 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.js.map +1 -0
- package/bundle/typescript/src/tools/progress/progress.class.d.ts +12 -0
- package/bundle/typescript/src/tools/progress/progress.class.js +42 -0
- package/bundle/typescript/src/tools/progress/progress.class.js.map +1 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +197 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js +862 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +1 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +4 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +42 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +1 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +6 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +2 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +11 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.js +120 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.js.map +1 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +21 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +2 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +17 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js +54 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js.map +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +1 -0
- package/package.json +7 -9
- package/bundle/obf/package.json +0 -114
- package/bundle/obf/src/command.js +0 -1
- package/bundle/obf/src/commands/_index.js +0 -1
- package/bundle/obf/src/commands/ai.js +0 -1
- package/bundle/obf/src/commands/aws/_index.js +0 -1
- package/bundle/obf/src/commands/aws/aws.command.js +0 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/build/_index.js +0 -1
- package/bundle/obf/src/commands/build/build.js +0 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/create.js +0 -1
- package/bundle/obf/src/commands/debug.js +0 -1
- package/bundle/obf/src/commands/deploy/_index.js +0 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +0 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/_index.js +0 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/play.command.js +0 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/generate.js +0 -1
- package/bundle/obf/src/commands/get/_index.js +0 -1
- package/bundle/obf/src/commands/get/get.command.js +0 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/help.js +0 -1
- package/bundle/obf/src/commands/install.js +0 -1
- package/bundle/obf/src/commands/jsdoc.js +0 -1
- package/bundle/obf/src/commands/lint.js +0 -1
- package/bundle/obf/src/commands/login.js +0 -1
- package/bundle/obf/src/commands/logout.js +0 -1
- package/bundle/obf/src/commands/logs.js +0 -1
- package/bundle/obf/src/commands/maka.cmd.js +0 -1
- package/bundle/obf/src/commands/murder.js +0 -1
- package/bundle/obf/src/commands/profile.js +0 -1
- package/bundle/obf/src/commands/proxy.js +0 -1
- package/bundle/obf/src/commands/reconfig.js +0 -1
- package/bundle/obf/src/commands/register.js +0 -1
- package/bundle/obf/src/commands/run/_index.js +0 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/run/run.command.js +0 -1
- package/bundle/obf/src/commands/set/_index.js +0 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/set/set.command.js +0 -1
- package/bundle/obf/src/commands/ssh.js +0 -1
- package/bundle/obf/src/commands/ssl.js +0 -1
- package/bundle/obf/src/commands/testCmd/_index.js +0 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +0 -1
- package/bundle/obf/src/commands/undo.js +0 -1
- package/bundle/obf/src/commands/uninstall.js +0 -1
- package/bundle/obf/src/commands/version/_index.js +0 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/version/version.js +0 -1
- package/bundle/obf/src/error.js +0 -1
- package/bundle/obf/src/exec.js +0 -2
- package/bundle/obf/src/generator.js +0 -1
- package/bundle/obf/src/generators/_index.js +0 -1
- package/bundle/obf/src/generators/api.js +0 -1
- package/bundle/obf/src/generators/aws/_index.js +0 -1
- package/bundle/obf/src/generators/aws/aws.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -1
- package/bundle/obf/src/generators/collection.js +0 -1
- package/bundle/obf/src/generators/component.js +0 -1
- package/bundle/obf/src/generators/config.js +0 -1
- package/bundle/obf/src/generators/dbc.js +0 -1
- package/bundle/obf/src/generators/dockerfile.js +0 -1
- package/bundle/obf/src/generators/hook.js +0 -1
- package/bundle/obf/src/generators/kits/_index.js +0 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +0 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +0 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +0 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +0 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +0 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +0 -1
- package/bundle/obf/src/generators/kits/kit.js +0 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +0 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +0 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +0 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +0 -1
- package/bundle/obf/src/generators/layout.js +0 -1
- package/bundle/obf/src/generators/maka.gen.js +0 -1
- package/bundle/obf/src/generators/methods.js +0 -1
- package/bundle/obf/src/generators/package.js +0 -1
- package/bundle/obf/src/generators/page.js +0 -1
- package/bundle/obf/src/generators/publish.js +0 -1
- package/bundle/obf/src/generators/route.js +0 -1
- package/bundle/obf/src/generators/services/_index.js +0 -1
- package/bundle/obf/src/generators/services/logger.js +0 -1
- package/bundle/obf/src/generators/services/openssl.js +0 -1
- package/bundle/obf/src/generators/services/service.js +0 -1
- package/bundle/obf/src/generators/services/translation.js +0 -1
- package/bundle/obf/src/maka.js +0 -1
- package/bundle/obf/src/templates/meteor/project/README.md +0 -15
- package/bundle/obf/src/templates/meteor/project/package.json +0 -26
- package/bundle/obf/src/tool.js +0 -1
- package/bundle/obf/src/tools/actions/actions.class.js +0 -1
- package/bundle/obf/src/tools/aws/aws.class.js +0 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +0 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +0 -1
- package/bundle/obf/src/tools/docker/docker.class.js +0 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +0 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +0 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +0 -1
- package/bundle/obf/src/tools/https/https.class.js +0 -1
- package/bundle/obf/src/tools/https/https.interface.js +0 -1
- package/bundle/obf/src/tools/log/log.class.js +0 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +0 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +0 -1
- package/bundle/obf/src/tools/options/options.class.js +0 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +0 -1
- package/bundle/obf/src/tools/progress/progress.class.js +0 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +0 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +0 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +0 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +0 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +0 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +0 -1
- package/obfuscator.json +0 -29
- /package/bundle/{obf → typescript}/src/README.md +0 -0
- /package/bundle/{obf/src/commands/game/sideQuest/scenes/puzzles.js → typescript/src/commands/game/sideQuest/scenes/puzzles.d.ts} +0 -0
- /package/bundle/{obf → typescript}/src/templates/aws/cloudformation/create-ec2-instance.template +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/apollo-gateway.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/apollo-gateway.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/graphql-api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/graphql-api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/methods.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/methods.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/register-api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/register-api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/resolvers.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/resolvers.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/typeDefs.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/typeDefs.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/body.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/head.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/api/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/ui/test-helpers.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/maka.d.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/meteor.d.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/packages/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/private/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/favicon.ico +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-144x144.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-192x192.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-512x512.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/manifest.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/tsconfig.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/collection.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/collection.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/docker-compose.yaml +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/pm2.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/process.env +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/settings.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/ssh.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/config.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/conn.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/conn.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/register-dbc.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/register-dbc.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/method/method.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/method/method.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/.maka/config.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/.maka/history.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/build/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/build/README +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/gitignore +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/publish/publish.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/publish/publish.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/service/logger/logger.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/service/logger/logger.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/stylesheet/stylesheet.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/stylesheet/stylesheet.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/docker/Dockerfile +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/eslint/babel.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/eslint/config.eslint.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/i18n.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/i18n.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/locales.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/locales.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/openssl/openssl.conf +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/test/jest/jest.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/test/jest/jest.setup.js +0 -0
- /package/bundle/{obf/src/tools/ssl/ssl.interfaces.js → typescript/src/tools/ssl/ssl.interfaces.d.ts} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a139n=a139d;(function(a,b){const k=a139d,c=a();while(!![]){try{const d=-parseInt(k(0x1ba))/0x1+parseInt(k(0x1ad))/0x2*(parseInt(k(0x1af))/0x3)+-parseInt(k(0x19d))/0x4*(-parseInt(k(0x1bf))/0x5)+-parseInt(k(0x1b8))/0x6+-parseInt(k(0x1ae))/0x7+parseInt(k(0x19b))/0x8*(-parseInt(k(0x1bc))/0x9)+-parseInt(k(0x19a))/0xa*(-parseInt(k(0x1b5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xa4979));const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a139d;if(c){const e=c[l(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const m=a139d;return a139a[m(0x1aa)]()[m(0x1c0)]('(((.+)+)+)+$')[m(0x1aa)]()[m(0x1b6)](a139a)['search'](m(0x1a7));});a139a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a139c(){const p=['method/method.js','methods','create','startup','mdg:validated-method','(((.+)+)+)+$','pathFromApp','error','toString','engines','import\x20\x27./methods','60094zMeAMI','1317435VTsBBR','87bbxUmu','dir','tsx','method','-rpc-method.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','2088350ICbcqK','constructor','scaffold','4928406hEbNDR','appPathPrefix','56475jcErZA','apply','9BBRqRr','maka\x20{generate,\x20g}:{method,\x20m}\x20name','template','1335NcCAGj','search','index.','projectConfig','injectAtEndOfFile','-rpc-method\x27;','maka\x20g:method\x20todos','50RmnHam','9669640AwxFzE','pkg','16904zvewTs','resourceName','ddp-rate-limiter','imports','maka:check'];a139c=function(){return p;};return a139c();}import{camelCase,kebabCase,pascalCase}from'change-case';function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x196;let f=c[d];return f;},a139d(a,b);}Generator[a139n(0x1a4)]({'name':a139n(0x1b2),'aliases':['m'],'usage':a139n(0x1bd),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a139n(0x1b4),'validOpts':[a139n(0x1b0)],'examples':[a139n(0x199)]},async function(a,b){const o=a139n;try{const c=this[o(0x196)],d=b[o(0x1b0)]?'/'+b[o(0x1b0)]+'/':'/',f=kebabCase(b[o(0x19e)]),g={'name':b[o(0x19e)],'fileName':f,'className':pascalCase(b[o(0x19e)]),'camelCase':camelCase(b[o(0x19e)]),'noRename':!![]};let h='js';c[o(0x1ab)]['js']===o(0x1b1)&&(h='ts');await this[o(0x19c)]['checkMeteorPackage']([o(0x1a1),o(0x19f),o(0x1a6)],{'shouldInstall':!![]}),await this[o(0x1b7)][o(0x1be)]({'srcPath':o(0x1a2),'destPath':this[o(0x1b7)][o(0x1a8)]({'pathParts':['imports','startup',b['appPathPrefix'],o(0x1a3),d,f+o(0x1b3)+h]}),'context':g,'config':c});const i=this[o(0x1b7)][o(0x1a8)]({'pathParts':[o(0x1a0),o(0x1a5),b[o(0x1b9)],o(0x1c1)+c['engines']['js']]});await this[o(0x1b7)][o(0x197)]({'filePath':i,'content':o(0x1ac)+d+f+o(0x198)});}catch(j){Log[o(0x1a9)](j);}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a140p=a140d;(function(a,b){const m=a140d,c=a();while(!![]){try{const d=parseInt(m(0x6f))/0x1*(parseInt(m(0x81))/0x2)+-parseInt(m(0x8b))/0x3*(-parseInt(m(0x86))/0x4)+-parseInt(m(0x99))/0x5*(parseInt(m(0x96))/0x6)+parseInt(m(0x6e))/0x7+-parseInt(m(0x9a))/0x8*(parseInt(m(0x7b))/0x9)+parseInt(m(0x8a))/0xa*(-parseInt(m(0x73))/0xb)+-parseInt(m(0x8e))/0xc*(-parseInt(m(0x7e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x57a94));function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0x6b;let f=c[d];return f;},a140d(a,b);}const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a140d;if(c){const e=c[n(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const o=a140d;return a140a[o(0x71)]()[o(0x77)](o(0x8d))[o(0x71)]()[o(0x76)](a140a)['search'](o(0x8d));});a140a();import a140e from'path';import{Generator}from'../generator.js';function a140c(){const r=['pathFromAppWithNoReWrite','server','resourceName','scaffold','tests/server','noRename','1608YtqytT','package/package.js','relative','5485ZMWNOU','3231152dvsIds','client','component','package.js','graphql','2395344TWpuaQ','15757bfLoen','package','toString','fsi','67606FaWFDZ','engines','.js','constructor','search','template/template.js','projectConfig','template','9AWwens','maka\x20g:package\x20todos:package','dir','481JyfRsv','findProjectDirectory','tests/client','82CChMYy','hasOwnProperty','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','create','apply','244nqDsKm','packages','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','ssr','740NzJnJS','19704EhkJaY','theme','(((.+)+)+)+$','39852MJLeeT','features'];a140c=function(){return r;};return a140c();}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a140p(0x84)]({'name':a140p(0x70),'aliases':['p'],'usage':a140p(0x83),'mustBeInMakaProject':!![],'shortDesc':a140p(0x88),'validOpts':[a140p(0x7d)],'examples':[a140p(0x7c)]},async function(a,b){const q=a140p,c=kebabCase(b[q(0x92)]),d=b[q(0x7d)]?'/'+b[q(0x7d)]+'/':'/',e=this[q(0x93)]['pathFromApp']({'pathParts':[q(0x87),d,c]}),f=this['scaffold'][q(0x90)]({'pathParts':[q(0x87),d,c,q(0x6c)]}),g=this[q(0x79)],h={'name':kebabCase(b[q(0x92)]),'myPath':a140e[q(0x98)](this[q(0x72)][q(0x7f)](),e),'cssCaseName':kebabCase(b[q(0x92)]),'className':pascalCase(b[q(0x92)]),'camelCaseName':camelCase(b[q(0x92)]),'fileName':c,'client':g[q(0x74)][q(0x9b)],'graphql':g[q(0x74)][q(0x6d)],'ssr':g[q(0x74)][q(0x89)],'isComponent':b[q(0x82)](q(0x6b)),'isLayout':b[q(0x82)]('layout'),'isStore':b[q(0x82)]('store'),'features':g[q(0x8f)],'noRename':!![],'theme':g['engines'][q(0x8c)]};await this[q(0x93)][q(0x7a)]({'srcPath':q(0x97),'destPath':f,'context':h,'config':g}),h[q(0x95)]=![];const i=e+'/client/'+c+q(0x75);await this[q(0x93)][q(0x7a)]({'srcPath':q(0x78),'destPath':i,'context':h,'config':g});const j=['lib',q(0x91),q(0x80),q(0x94)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x75);await this[q(0x93)][q(0x7a)]({'srcPath':'package/'+k+'/package.js','destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a141c(){const w=['join','api','ssr','findAppDirectory','lib','ramda','178952DvNYiT','split','projectConfig','string','/>}/>\x0a','none','routes.','vanilla','resourceName','33Ynolmj','4377212UAGCDR','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','checkNpmPackage','93616DdonBf','import\x20\x27./','replace','relative','44054330kafXBH','pathFromApp','6EzMnHj','setTemplate','replaceAll','create','dir','scaffold','test/test.js','includes','component/component.js','slice','injectIntoFile','.js','graphql','fsi','fileName','assign','<Route\x20element={<PrivateRoute\x20/>}>','css','template/template.html','root','url','features','<Route\x20path=\x22*\x22','warn','.html','search','injectTemplateModule','/imports/ui/pages','react','239396GntAlt','.app-tests.js','hook/hook.js','7697275oyjqhF','injectAtBeginningOfFile','constructor','Updating\x20npm\x20packages\x20...','hasOwnProperty','error','component','</Route>','meteor','imports','template','\x22\x20element={<Component.','layout','engines','html','test','client','withHooks','withTranslations','<Route\x20path=\x22','1812540sidJoH','substring','private','apply','.css','585vuHkwT','Generate\x20a\x20page.','trim','className','pkg','cfg','(((.+)+)+)+$'];a141c=function(){return w;};return a141c();}const a141u=a141d;(function(a,b){const r=a141d,c=a();while(!![]){try{const d=-parseInt(r(0x1af))/0x1+-parseInt(r(0x16d))/0x2+parseInt(r(0x188))/0x3*(parseInt(r(0x17f))/0x4)+-parseInt(r(0x1b2))/0x5*(parseInt(r(0x192))/0x6)+-parseInt(r(0x189))/0x7+parseInt(r(0x18c))/0x8*(-parseInt(r(0x172))/0x9)+parseInt(r(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xc9c74));const a141b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a141d;if(c){const e=c[s(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a141a=a141b(this,function(){const t=a141d;return a141a['toString']()[t(0x1ab)]('(((.+)+)+)+$')['toString']()[t(0x1b4)](a141a)[t(0x1ab)](t(0x178));});a141a();import a141e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x16a;let f=c[d];return f;},a141d(a,b);}import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];Generator[a141u(0x195)]({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a141u(0x173),'mustBeInMakaProject':!![],'validOpts':[{'name':a141u(0x16f),'boolFlag':!![]},{'name':a141u(0x1a6)}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const v=a141u,c=v(0x1ad),d=this[v(0x19f)][v(0x17c)](),e=b[v(0x187)][v(0x199)](':')?b[v(0x187)][v(0x180)](':')[0x0][v(0x174)]():b['resourceName']['trim'](),f=b[v(0x196)][v(0x194)]('/','_')+'_'+e[v(0x194)]('/','_'),g=this[v(0x197)][v(0x191)]({'pathParts':[c,b[v(0x196)],kebabCase(f),kebabCase(f)]}),h=this[v(0x181)];let i='';typeof h[v(0x1bc)]['html']===v(0x182)&&this[v(0x177)][v(0x193)](v(0x1c0),h[v(0x1bc)][v(0x1c0)]);typeof h[v(0x1bc)][v(0x1c1)]==='string'&&this['cfg'][v(0x193)](v(0x1c1),h[v(0x1bc)][v(0x1c1)]);typeof h[v(0x1bc)][v(0x1a3)]===v(0x182)&&this[v(0x177)][v(0x193)](v(0x1a3),h[v(0x1bc)]['css']);typeof h[v(0x1bc)]['js']==='string'&&this[v(0x177)][v(0x193)]('js',h[v(0x1bc)]['js']);!b['root']&&!this[v(0x176)][v(0x18b)](v(0x17e))&&(Log[v(0x1a9)](v(0x1b5)),this['pkg']['installNpmPackage'](v(0x17e),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a141e[v(0x18f)](this[v(0x19f)]['findProjectDirectory'](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1bf)][v(0x19e)],'features':h[v(0x1a7)],'client':h[v(0x1bf)]['client'],'api':h[v(0x1bf)][v(0x17a)],'ssr':h['engines'][v(0x17b)],'isStore':b[v(0x1b6)]('store'),'isComponent':b[v(0x1b6)](v(0x1b8)),'isLayout':b[v(0x1b6)](v(0x1be)),'withTranslations':h['features'][v(0x16b)],'test':h[v(0x1bf)][v(0x1c1)],'theme':h[v(0x1bf)]['theme']};h[v(0x1bc)][v(0x1c0)]&&await this[v(0x197)][v(0x1bc)]({'srcPath':v(0x1a4),'destPath':g+v(0x1aa),'context':j,'config':h});h[v(0x1a7)]?.[v(0x16a)]?await this[v(0x197)][v(0x1bc)]({'srcPath':v(0x1b1),'destPath':g+v(0x19d),'framework':'react','context':j,'config':h}):await this[v(0x197)]['template']({'srcPath':v(0x19a),'destPath':g+v(0x19d),'framework':v(0x1ae),'context':j,'config':h});h[v(0x1bf)]['test']!==v(0x184)&&await this[v(0x197)]['template']({'srcPath':v(0x198),'destPath':g+v(0x1b0),'framework':v(0x1ae),'context':j,'config':h});h['template'][v(0x1a3)]&&await this[v(0x197)][v(0x1bc)]({'srcPath':'template/template.css','destPath':g+v(0x171),'context':Object[v(0x1a1)]({},j,{'className':kebabCase(b['resourceName'])}),'config':h});h[v(0x1bf)]['client']!=='react'&&h['engines'][v(0x1c2)]!==v(0x186)?(h['template']['css']&&await this[v(0x197)]['injectAtBeginningOfFile']({'filePath':g+'.'+h['engines']['js'],'content':v(0x18d)+j['fileName']+'.'+h[v(0x1bf)]['html']+'\x27;\x0a'+v(0x18d)+j['fileName']+'.'+h[v(0x1bf)]['css']+'\x27;'}),!h['template'][v(0x1a3)]&&await this['scaffold'][v(0x1b3)]({'filePath':g+'.'+h[v(0x1bf)]['js'],'content':v(0x18d)+j['fileName']+'.'+h[v(0x1bf)][v(0x1c0)]+'\x27;'})):h['template']['css']&&await this[v(0x197)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[v(0x1bf)]['js'],'content':'import\x20\x27./'+j[v(0x1a0)]+'.'+h[v(0x1bf)][v(0x1a3)]+'\x27;'});const k=b[v(0x196)]?'/'+b[v(0x196)]+'/':'/';i=''+c+k+j[v(0x1a0)]+'/'+j['fileName'],await this[v(0x197)][v(0x1ac)](j[v(0x175)],h,i);if(!b[v(0x1a5)]){const l=b[v(0x16f)]??![];if(!f){Log[v(0x1b7)](v(0x18a));throw new UsageError();}let m=b['url']?b['url']:'/'+b['dir'][v(0x174)]()+'/'+b[v(0x187)][v(0x174)]()[v(0x18e)](/\\/g,'/')[v(0x18e)](/\/+$/,'')['toLowerCase']();const n=b[v(0x187)]['indexOf'](':');n!==-0x1&&(m+='/'+b['resourceName'][v(0x16e)](0x0,n)[v(0x174)]());m['endsWith']('/')&&(m=m[v(0x19b)](0x0,-0x1));m=m[v(0x18e)](/\/\//g,'/');const o=h[v(0x1bf)]['js'],p=h['engines'][v(0x17b)]===v(0x1ba)?v(0x17d):'client',q=a141e[v(0x179)](d,v(0x1bb),'startup',p,v(0x185)+o);l?await this[v(0x197)][v(0x19c)]({'filePath':q,'content':v(0x16c)+m+v(0x1bd)+pascalCase(f)+v(0x183),'begin':[v(0x1a2)],'end':[v(0x1b9)]}):await this[v(0x197)][v(0x19c)]({'filePath':q,'content':v(0x16c)+m+v(0x1bd)+pascalCase(f)+v(0x183),'begin':['<Route\x20index'],'end':[v(0x1a8)]});}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a142r=a142d;(function(a,b){const o=a142d,c=a();while(!![]){try{const d=-parseInt(o(0x7c))/0x1+-parseInt(o(0x76))/0x2+parseInt(o(0x8a))/0x3+parseInt(o(0x74))/0x4+-parseInt(o(0x83))/0x5*(-parseInt(o(0x8e))/0x6)+-parseInt(o(0x71))/0x7+parseInt(o(0x75))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0x79390));const a142b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a142d;if(c){const e=c[p(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a142a=a142b(this,function(){const q=a142d;return a142a[q(0x8c)]()['search'](q(0x8b))['toString']()[q(0x70)](a142a)[q(0x78)](q(0x8b));});a142a();import{kebabCase,pascalCase}from'change-case';function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0x70;let f=c[d];return f;},a142d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a142c(){const t=['startup','search','publish/publish.js','force','publish','158911XazvJp','/imports/startup/server/publications','engines','tsx','exit','imports','globalPublish','327055GMkTpJ','template','index.','resourceName','server','pathFromApp','maka\x20g:publish\x20todos','683292NAFZkd','(((.+)+)+)+$','toString','dir','36QSKsef','constructor','2754269uCLrAk','appPathPrefix','apply','3082940zkBecU','2464960QxkKCg','1300358sPqiWL'];a142c=function(){return t;};return a142c();}Generator['create']({'name':a142r(0x7b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a142r(0x7a)],'requiredOpts':[a142r(0x82)],'mustBeInMakaProject':!![],'examples':[a142r(0x89)]},async function(a,b){const s=a142r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0x7a)]||![],g=s(0x7d),h=kebabCase(b[s(0x86)]),i=d['pathFromApp']({'pathParts':[g,b['dir'],'',h]});let j='js';c[s(0x7e)]['js']===s(0x7f)&&(j='ts');const k={'name':b[s(0x86)],'collection':pascalCase(b[s(0x86)]),'noRename':!![],'globalPublish':b[s(0x82)]};await d[s(0x84)]({'srcPath':s(0x79),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d[s(0x88)]({'pathParts':[s(0x81),s(0x77),s(0x87),b[s(0x72)],s(0x85)+c[s(0x7e)]['js']]}),m=b[s(0x8d)]?'/'+b[s(0x8d)]+'/':'/';await d['injectAtEndOfFile']({'filePath':l,'content':'import\x20\x27./publications'+m+h+'\x27;'});}catch(n){Log['error'](n),process[s(0x80)](0x1);}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a143r=a143d;(function(a,b){const o=a143d,c=a();while(!![]){try{const d=-parseInt(o(0x131))/0x1+parseInt(o(0x132))/0x2+-parseInt(o(0x148))/0x3*(parseInt(o(0x125))/0x4)+-parseInt(o(0x128))/0x5+parseInt(o(0x12b))/0x6+parseInt(o(0x143))/0x7+-parseInt(o(0x13e))/0x8*(-parseInt(o(0x137))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x5cd56));const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a143d;if(c){const e=c[p(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const q=a143d;return a143a[q(0x144)]()['search'](q(0x129))[q(0x144)]()[q(0x141)](a143a)['search'](q(0x129));});a143a();function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x125;let f=c[d];return f;},a143d(a,b);}import a143e 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';function a143c(){const t=['route','resourceName','exit','create','107567dNIxEg','337958XoOoPV','none','startup','split','Scaffolding\x20for\x20a\x20Route.','1233WJNoyB','<Route\x20index','\x22\x20element={<Component.','apply','join','</Route>','findAppDirectory','2816ALrcVh','maka\x20{generate,\x20g}:{route,\x20r}','engines','constructor','client','3737230GZaAnx','toString','replace','imports','injectIntoFile','495042lTeccQ','4xpItXj','toLowerCase','private','3706465TtkFiu','(((.+)+)+)+$','length','3858162VXpUDq','<Route\x20path=\x22'];a143c=function(){return t;};return a143c();}const aliases=['r'];Generator[a143r(0x130)]({'name':'route','mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':'private','boolFlag':!![]},{'name':a143r(0x12d)}],'usage':a143r(0x13f),'shortDesc':a143r(0x136),'examples':[]},async function(a,b){const s=a143r,{fsi:c,scaffold:d,projectConfig:f}=this;try{const g=c[s(0x13d)](),h=b[s(0x127)]??![];let i=b[s(0x12e)][s(0x135)]('/')['pop']();if(!i){Log['error']('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}i=pascalCase(i);let j=b[s(0x12d)]?'/'+b[s(0x12d)]:'/'+b[s(0x12e)]['replace'](/\\/g,'/')[s(0x126)]();a[s(0x12a)]>0x1&&(j='/'+a['filter'](function(n){return n!=='/';})[s(0x13b)]('/')['toLowerCase']());j=j[s(0x145)](/\/\//g,'/');const k=f[s(0x140)]['js'],l=f['engines']['ssr']!==s(0x133)?'lib':s(0x142),m=a143e[s(0x13b)](g,s(0x146),s(0x134),l,'routes.'+k);h?await d[s(0x147)]({'filePath':m,'content':'<Route\x20path=\x22'+j+s(0x139)+i+'/>}/>\x0a','begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[s(0x13c)]}):await d['injectIntoFile']({'filePath':m,'content':s(0x12c)+j+s(0x139)+i+'/>}/>\x0a','begin':[s(0x138)],'end':['<Route\x20path=\x22*\x22']});}catch(n){Log['error'](n),process[s(0x12f)](0x1);}});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a144d(a,b){var c=a144c();return a144d=function(d,e){d=d-0xb7;var f=c[d];return f;},a144d(a,b);}(function(a,b){var f=a144d,c=a();while(!![]){try{var d=parseInt(f(0xbd))/0x1+-parseInt(f(0xb9))/0x2*(parseInt(f(0xc1))/0x3)+parseInt(f(0xc4))/0x4+-parseInt(f(0xb7))/0x5+parseInt(f(0xc0))/0x6+-parseInt(f(0xbb))/0x7*(-parseInt(f(0xba))/0x8)+-parseInt(f(0xc3))/0x9*(parseInt(f(0xb8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a144c,0xbee21));var a144b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a144d;if(c){var e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a144a=a144b(this,function(){var h=a144d;return a144a[h(0xbe)]()['search'](h(0xbf))['toString']()['constructor'](a144a)[h(0xc2)](h(0xbf));});a144a();import'./translation.js';import'./openssl.js';import'./service.js';function a144c(){var i=['toString','(((.+)+)+)+$','5891832eAWnAe','15ltpwyv','search','11869479YhcDbR','1986600IRBdhv','168430aPHPBR','10ljpAyv','142122bLcTOR','1733168guRzfe','14VrZuiv','apply','577765swwILB'];a144c=function(){return i;};return a144c();}import'./logger.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a145c(){const r=['3348978SuuBuM','Generate\x20a\x20winston\x20logger\x20service.','tsx','logger','11445240qaXVpp','(((.+)+)+)+$','366340OsyoJq','988215JFkSfx','resourceName','winston\x20setimmediate','15gNHsNc','apply','service/logger/logger.js','create','pathFromApp','419324JQWYbh','58148nYHUGQ','search','template','engines','873068pnIbYM','error','toString','imports','maka\x20{generate,\x20g}:{service,\x20svc}:{logger}\x20<resource-name>','projectConfig','checkNpmPackage','log'];a145c=function(){return r;};return a145c();}const a145o=a145d;(function(a,b){const l=a145d,c=a();while(!![]){try{const d=parseInt(l(0x1d0))/0x1+parseInt(l(0x1cf))/0x2+-parseInt(l(0x1c7))/0x3+-parseInt(l(0x1c6))/0x4*(parseInt(l(0x1ca))/0x5)+-parseInt(l(0x1c0))/0x6+-parseInt(l(0x1b8))/0x7+parseInt(l(0x1c4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a145c,0x6471a));const a145b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a145d;if(c){const e=c[m(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a145a=a145b(this,function(){const n=a145d;return a145a[n(0x1ba)]()[n(0x1d1)](n(0x1c5))[n(0x1ba)]()['constructor'](a145a)['search'](n(0x1c5));});a145a();import{camelCase,kebabCase,pascalCase}from'change-case';function a145d(a,b){const c=a145c();return a145d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a145d(a,b);}import a145e from'./service.js';import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';Generator[a145o(0x1cd)]({'name':a145o(0x1c3),'usage':a145o(0x1bc),'shortDesc':a145o(0x1c1),'mustBeInMakaProject':!![],'validOpts':[],'maxArgLength':0x1,'checkWhere':!![],'examples':['maka\x20g:svc:logger\x20datadog']},async function(a,b){const p=a145o,{pkg:c,scaffold:d}=this;try{const f=this[p(0x1bd)],g=kebabCase(b[p(0x1c8)]);await c[p(0x1be)](p(0x1c9),{'shouldInstall':!![]});const h={'name':pascalCase(b[p(0x1c8)]),'fileName':g,'camelCase':camelCase(b['resourceName']),'engine':f[p(0x1d3)]['js'],'noRename':!![]};let i='js';f[p(0x1d3)]['js']===p(0x1c2)&&(i='ts');const j=d[p(0x1ce)]({'pathParts':[p(0x1bb),'startup',b['where'],'services',g+'.'+i]});await d[p(0x1d2)]({'srcPath':p(0x1cc),'destPath':j,'context':h,'config':f});}catch(k){Log[p(0x1b9)](k);}},async function(){const q=a145o;console[q(0x1bf)]('Not\x20implemented');},a145e);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a146d(a,b){const c=a146c();return a146d=function(d,e){d=d-0xfb;let f=c[d];return f;},a146d(a,b);}const a146l=a146d;function a146c(){const o=['error','appName','search','1205bubqjC','scaffold','5376nzPkuj','getMakaProjectConfig','1254638SdqTvU','22524jmecEZ','template','Generate\x20a\x20new\x20openssl\x20config\x20file','81414NlmSXz','8GLJeMy','10EGqRcj','join','getAppConfigPath','openssl.conf','1871577UfZlPd','cfg','maka\x20g:sslconfig\x20--env\x20dev','2804362gebECk','create','Not\x20implemented','8TiMMJF','398144KKsKxk','openssl/openssl.conf','constructor','maka\x20{generate,\x20g}:sslconfig','log','service','sslconfig','apply','(((.+)+)+)+$','toString','_keys','env'];a146c=function(){return o;};return a146c();}(function(a,b){const i=a146d,c=a();while(!![]){try{const d=-parseInt(i(0x118))/0x1+parseInt(i(0x103))/0x2*(-parseInt(i(0x11b))/0x3)+-parseInt(i(0x104))/0x4+parseInt(i(0x113))/0x5*(parseInt(i(0x115))/0x6)+parseInt(i(0x117))/0x7+-parseInt(i(0x11c))/0x8*(-parseInt(i(0xfd))/0x9)+-parseInt(i(0x11d))/0xa*(parseInt(i(0x100))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a146c,0x1cb41));const a146b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a146d;if(c){const e=c[j(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a146a=a146b(this,function(){const k=a146d;return a146a[k(0x10d)]()[k(0x112)](k(0x10c))[k(0x10d)]()[k(0x106)](a146a)[k(0x112)](k(0x10c));});a146a();import a146e from'./service.js';import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a146f from'path';Generator[a146l(0x101)]({'name':a146l(0x10a),'usage':a146l(0x107),'shortDesc':a146l(0x11a),'resourceNameRequired':![],'requiredOpts':[a146l(0x10f)],'examples':[a146l(0xff)],'validOpts':[]},async function(a,b){const m=a146l;try{const c=this['cfg'][m(0x116)](),d=this[m(0xfe)][m(0xfb)](b[m(0x10f)]),f=a146f[m(0x11e)](d,m(0x10e),m(0xfc)),g={'app':c[m(0x111)],'noRename':!![]};await this[m(0x114)][m(0x119)]({'srcPath':m(0x105),'destPath':f,'framework':m(0x109),'context':g,'config':c});}catch(h){Log[m(0x110)](h);}},async function(){const n=a146l;console[n(0x108)](n(0x102));},a146e);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a147i=a147d;(function(a,b){const f=a147d,c=a();while(!![]){try{const d=parseInt(f(0x1e7))/0x1*(parseInt(f(0x1f4))/0x2)+parseInt(f(0x1e9))/0x3+-parseInt(f(0x1e8))/0x4*(-parseInt(f(0x1ef))/0x5)+parseInt(f(0x1e5))/0x6+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1eb))/0x8)+parseInt(f(0x1ec))/0x9*(parseInt(f(0x1e4))/0xa)+parseInt(f(0x1f3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a147c,0x886ce));const a147b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a147d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a147a=a147b(this,function(){const h=a147d;return a147a[h(0x1f1)]()['search'](h(0x1f0))[h(0x1f1)]()[h(0x1ea)](a147a)['search']('(((.+)+)+)+$');});function a147d(a,b){const c=a147c();return a147d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a147d(a,b);}a147a();import{Generator}from'../../generator.js';const Service=Generator[a147i(0x1f5)]({'name':a147i(0x1e6),'aliases':['svc'],'usage':a147i(0x1ed),'shortDesc':a147i(0x1ee),'mustBeInMakaProject':!![],'validOpts':[],'maxArgLength':0x1,'resourceNameRequired':![],'examples':[a147i(0x1e3)]},async function(){});export default Service;function a147c(){const j=['Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','1166285XCtvYp','(((.+)+)+)+$','toString','141974tUxlzM','3245484dRtVqm','20292XgNOFF','create','apply','maka\x20g:svc:logger\x20datadog','6050RQxmPf','135810GOKodx','service','23mlQqVI','4pxLrVE','160239KNIJPt','constructor','336ArqrTX','8523wbtkIS','maka\x20{generate,\x20g}:{service}\x20<resource-name>'];a147c=function(){return j;};return a147c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a148d(a,b){const c=a148c();return a148d=function(d,e){d=d-0x127;let f=c[d];return f;},a148d(a,b);}const a148D=a148d;(function(a,b){const A=a148d,c=a();while(!![]){try{const d=-parseInt(A(0x13b))/0x1*(parseInt(A(0x12c))/0x2)+parseInt(A(0x130))/0x3*(-parseInt(A(0x138))/0x4)+parseInt(A(0x131))/0x5*(-parseInt(A(0x15e))/0x6)+parseInt(A(0x15b))/0x7*(-parseInt(A(0x14b))/0x8)+parseInt(A(0x145))/0x9+-parseInt(A(0x143))/0xa*(-parseInt(A(0x142))/0xb)+parseInt(A(0x158))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a148c,0x98c4e));const a148b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a148d;if(c){const e=c[B(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a148a=a148b(this,function(){const C=a148d;return a148a[C(0x157)]()['search'](C(0x146))['toString']()[C(0x14f)](a148a)['search'](C(0x146));});a148a();import a148e from'./service.js';import{Generator}from'../../generator.js';function a148c(){const G=['7076520WUYvjM','(((.+)+)+)+$','\x20}\x20from\x20\x27./','Locale\x20already\x20defined:\x20','default\x20as\x20','startup','6636488gtgBIV','checkNpmPackage','rewriteDestinationPathForEngine','grep','constructor','i18n/locales.js','root','i18next\x20i18next-browser-languagedetector\x20react-i18next','findAppDirectory','server','maka\x20{generate,\x20g}:translation','engines','toString','17810928SwysMF','readFileSync','injectAtEndOfFile','7bXiIfU','service','Generate\x20a\x20new\x20locale\x20translation','6xEfuuO','ssr','Not\x20implemented','template','index.js','pathFromApp','i18n.js','locales','188MiEQiC','apply','export\x20{\x20default\x20as\x20','maka\x20g:translation\x20--lang=de','3325419sQHmlR','3331685uSIxZF','error','imports','warn','import\x20\x27../lib/services/translations/i18n\x27;\x0a','import\x20\x27../lib/services/translations/i18n\x27;','meteor','4dtaDrR','services','create','488ntEfyJ','isFile','index.','i18n/i18n.js','translations','injectAtBeginningOfFile','lib','209Pdlxpq','529190OoKkRz','lang'];a148c=function(){return G;};return a148c();}import{Log}from'../../tools/log/log.class.js';import a148f from'fs';Generator[a148D(0x13a)]({'name':'translation','usage':a148D(0x155),'aliases':['t'],'resourceNameRequired':![],'requiredOpts':[{'name':a148D(0x144),'boolFlag':![],'regex':/^[a-z]{2}$/}],'mustBeInMakaProject':!![],'shortDesc':a148D(0x15d),'description':'\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','examples':['maka\x20g:translation\x20--lang=en\x20(default)','maka\x20g:translation\x20--lang=fr',a148D(0x12f)],'validOpts':[]},async function(a,b){const E=a148D;try{const {fsi:c,scaffold:d,pkg:f,cfg:g,projectConfig:h}=this,i=c[E(0x153)]();!b[E(0x144)]&&(b[E(0x144)]='en');!b[E(0x151)]&&(await f[E(0x14c)](E(0x152),{'shouldInstall':!![],'cwd':i}),g['setProjectConfig']('features.withTranslations',!![]));const j=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),'client','index.js']}),k=d[E(0x14d)]({'pathParts':[j],'config':h}),l=c[E(0x14e)](a148f['readFileSync'](k)[E(0x157)](),E(0x136))[0x0]&&!![];if(h[E(0x156)][E(0x15f)]===E(0x137)){!l&&d[E(0x140)]({'filePath':k,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const w=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x154),E(0x128)]}),x=d[E(0x14d)]({'pathParts':[w],'config':h}),y=c['grep'](a148f[E(0x159)](x)[E(0x157)](),E(0x136))[0x0]&&!![];!y&&d['injectAtBeginningOfFile']({'filePath':x,'content':E(0x135)});}else!l&&d['injectAtBeginningOfFile']({'filePath':k,'content':E(0x135)});const m={'app':h['appName'],'config':h},n=d[E(0x129)]({'pathParts':['imports',E(0x14a),E(0x141),E(0x139),E(0x13f),E(0x12a)]}),o=c['isFile'](d['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h}));!o&&await d['template']({'srcPath':E(0x13e),'destPath':n,'framework':E(0x15c),'context':m,'config':h});const p=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x141),'services','translations',E(0x12b),b[E(0x144)]+'.js']}),q=d[E(0x14d)]({'pathParts':[p],'config':h}),r=c[E(0x13c)](q);!r?await this['scaffold'][E(0x127)]({'srcPath':E(0x150),'destPath':p,'framework':E(0x15c),'context':m,'config':h}):Log[E(0x134)](E(0x148)+q);const s=d[E(0x129)]({'pathParts':[E(0x133),E(0x14a),E(0x141),E(0x139),E(0x13f),E(0x12b),E(0x13d)+h[E(0x156)]['js']]}),t=d[E(0x14d)]({'pathParts':[s],'config':h}),u=c[E(0x13c)](t);!u&&await d[E(0x127)]({'srcPath':'i18n/index.js','destPath':s,'framework':E(0x15c),'context':m,'config':h});const v=c[E(0x14e)](a148f['readFileSync'](s)[E(0x157)](),E(0x149)+b['lang'])[0x0]&&!![];!v?await d[E(0x15a)]({'filePath':s,'content':E(0x12e)+b[E(0x144)]+E(0x147)+b[E(0x144)]+'\x27;'}):Log[E(0x134)]('Locale\x20already\x20exported:\x20'+s);}catch(z){Log[E(0x132)](z),process['exit'](0x1);}},async function(){const F=a148D;console['log'](F(0x160));},a148e);
|
package/bundle/obf/src/maka.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a149l=a149d;(function(a,b){const j=a149d,c=a();while(!![]){try{const d=parseInt(j(0x147))/0x1+-parseInt(j(0x13e))/0x2+-parseInt(j(0x151))/0x3+parseInt(j(0x152))/0x4+-parseInt(j(0x13f))/0x5*(-parseInt(j(0x14a))/0x6)+-parseInt(j(0x145))/0x7*(parseInt(j(0x150))/0x8)+parseInt(j(0x14f))/0x9*(-parseInt(j(0x140))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a149c,0xad12b));const a149b=(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;};}()),a149a=a149b(this,function(){const k=a149d;return a149a[k(0x13d)]()[k(0x146)](k(0x143))[k(0x13d)]()['constructor'](a149a)[k(0x146)](k(0x143));});a149a();import a149e from'minimist';import a149f from'os';import a149g from'path';import a149h from'humps';import a149i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';function a149d(a,b){const c=a149c();return a149d=function(d,e){d=d-0x13c;let f=c[d];return f;},a149d(a,b);}function a149c(){const m=['toString','1573840QIIzQr','1983830FpoNdP','10uhItTY','slice','url','(((.+)+)+)+$','parse','14mqFdmz','search','1407528olMLSX','--max-old-space-size=','env','6XKyeke','run','totalmem','NODE_NO_WARNINGS','TOOL_NODE_FLAGS','7001361aQxWoA','1748104LTYzVa','482322AQPPSs','4269048rTvhrT','floor','MAKA_COMMAND_PATH'];a149c=function(){return m;};return a149c();}const __filename=fileURLToPath(import.meta[a149l(0x142)]),__dirname=a149g['dirname'](__filename);global[a149l(0x13c)]=__dirname;const total_memory=a149f[a149l(0x14c)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a149l(0x153)](total_mem_in_mb),process[a149l(0x149)][a149l(0x14e)]=a149l(0x148)+total_mem_in_mb,process[a149l(0x149)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a149l(0x149)][a149l(0x14d)]='1';const argv=a149e(process['argv'][a149l(0x141)](0x2)),args=argv['_'],deepCopyArgv=JSON[a149l(0x144)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a149h['camelizeKeys'](deepCopyArgv);a149i[a149l(0x14b)](args,opts);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
If you do not have maka-cli installed globally, you can use the top level package.json to start this application.
|
|
6
|
-
|
|
7
|
-
npm
|
|
8
|
-
```
|
|
9
|
-
npm run start
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
@maka/maka-cli
|
|
13
|
-
```
|
|
14
|
-
maka run
|
|
15
|
-
```
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "<%= app %>",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "maka run",
|
|
8
|
-
"start:docker": "maka run:docker",
|
|
9
|
-
"debug": "maka debug",
|
|
10
|
-
"build": "maka build",
|
|
11
|
-
"build:docker": "maka build:docker",
|
|
12
|
-
"lint": "maka lint",
|
|
13
|
-
"lint:fix": "maka lint --fix",
|
|
14
|
-
"test": "maka test",
|
|
15
|
-
"help": "maka help"
|
|
16
|
-
},
|
|
17
|
-
"bin": {
|
|
18
|
-
"maka": "./node_modules/.bin/maka"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"@maka/maka-cli": "^<%= version %>"
|
|
25
|
-
}
|
|
26
|
-
}
|
package/bundle/obf/src/tool.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a150z=a150d;(function(a,b){const w=a150d,c=a();while(!![]){try{const d=parseInt(w(0xd9))/0x1*(parseInt(w(0x102))/0x2)+-parseInt(w(0xfe))/0x3*(-parseInt(w(0x10d))/0x4)+-parseInt(w(0xc4))/0x5*(-parseInt(w(0xed))/0x6)+parseInt(w(0xe4))/0x7*(parseInt(w(0xe3))/0x8)+-parseInt(w(0xbe))/0x9*(parseInt(w(0xd1))/0xa)+-parseInt(w(0xdd))/0xb*(-parseInt(w(0x10b))/0xc)+-parseInt(w(0xd8))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a150c,0x842e0));const a150b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a150d;if(c){const e=c[x(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a150a=a150b(this,function(){const y=a150d;return a150a['toString']()['search'](y(0xd5))['toString']()[y(0xd6)](a150a)['search'](y(0xd5));});a150a();import a150e from'path';import a150f from'os';import a150g from'fs';import{Docker}from'./tools/docker/docker.class.js';import{AWS}from'./tools/aws/aws.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{CFG}from'./tools/cfg/cfg.class.js';function a150c(){const R=['description','getAppProjectConfigs','remapShortToLong','engines','NIE','examples','every','name','mpi','exit','includes','174PPEeKB','validateMakaProject','formatToNamedParam','concat','26IqWeUL','root','usage','Please\x20choose\x20a\x20value\x20for\x20','validateInputOptions','dir','charAt','Please\x20choose\x20an\x20environment','length','12636IlpQiz','ask','50796vsNyDG','validateEngines','assign','validateParams','filter','select','config','getInstance','8998767gXKCwu','Invalid\x20value\x20for\x20','_handler','You\x20must\x20have\x20','shortDesc','experimental','95FctDUF','getShortName','cwd','docker','apply','local','fsi','cfg','push','match','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20command.','help','Please\x20provide\x20a\x20value\x20for\x20','10LAMqYd','No\x20usage\x20provided.','string','map','(((.+)+)+)+$','constructor','Invalid\x20argument:\x20','5188547KVKLWk','3383uYvmVC','aliases','resourceName','homedir','1639HAtzww','indexOf','options','error','find','keys','248728mkIAMR','133YPHCsb','scaffold','This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`','Please\x20choose\x20a\x20valid\x20value\x20for\x20','parent','\x20version\x20','Invalid\x20option:\x20','pkg','askForOption','130182sVZIqj','env','validateUserIsLoggedIn','.meteor','Please\x20provide\x20a\x20resource\x20name:','join'];a150c=function(){return R;};return a150c();}import{MPI}from'./tools/mpi/mpi.class.js';import{Log}from'./tools/log/log.class.js';import{PKG}from'./tools/pkg/pkg.class.js';import{Scaffold}from'./tools/scaffold/scaffold.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError}from'./error.js';const homeDir=a150f[a150z(0xdc)]();function a150d(a,b){const c=a150c();return a150d=function(d,e){d=d-0xbb;let f=c[d];return f;},a150d(a,b);}export class Tool{[a150z(0xc7)];['fsi'];['cfg'];[a150z(0xfb)];[a150z(0xeb)];['aws'];[a150z(0xe5)];[a150z(0xdf)];[a150z(0xfa)];[a150z(0xe8)];[a150z(0xc0)];constructor(){const A=a150z;this[A(0xc7)]=new Docker(),this[A(0xca)]=FSI['getInstance'](),this[A(0xcb)]=CFG[A(0xbd)](this[A(0xca)]),this[A(0xeb)]=PKG[A(0xbd)](this[A(0xca)]),this[A(0xfb)]=MPI['getInstance'](this['fsi'],this['cfg'],this['pkg']),this['aws']=AWS['getInstance'](this[A(0xca)],this['cfg'],this[A(0xe5)]),this['scaffold']=Scaffold[A(0xbd)](this[A(0xca)],this['mpi']);}[a150z(0xc5)](a){const B=a150z;return a[B(0x108)](0x0);}[a150z(0xf5)](a,b){const C=a150z,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this[C(0xc5)](e[C(0xfa)]);a[f]&&(d[e[C(0xfa)]]=a[f],delete d[f]);}return d;}[a150z(0x100)](a){const D=a150z;if(a[D(0xf9)](b=>typeof b===D(0xd3)))return a['map'](b=>({'name':b}));return a;}['match'](a){const E=a150z,b=[this[E(0xfa)]][E(0x101)](this[E(0xdf)][E(0xda)]||[]);return this[E(0xe8)]&&b[E(0xcc)](this[E(0xe8)]),b[E(0xfd)](a);}[a150z(0xff)](){const F=a150z,a=this[F(0xca)]['findProjectDirectory']();return a!==undefined;}async[a150z(0xef)](){return!![];}['validateMeteorInstall'](){const G=a150z;return a150g['existsSync'](a150e[G(0xf2)](homeDir,G(0xf0)));}async[a150z(0x10e)](a){const H=a150z,b=this[H(0xcb)]['getMakaProjectConfig']();if(!b)throw MustBeInProjectError;const c=b[H(0xf6)],d=Object[H(0xe2)](a);if(d[H(0x10a)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[H(0xe0)](H(0xc1)+e+H(0xe9)+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a150z(0x110)](a,b,c){const I=a150z,{requiredOpts:d,validArgs:e,validOpts:f,resourceNameRequired:g,mustBeInMakaProject:h}=c;if(h&&!this['validateMakaProject']()){Log['error'](I(0xce));throw MustBeInProjectError;}b[I(0xdb)]===undefined&&g===!![]&&(b['resourceName']=await Actions[I(0x10c)](I(0xf1)));let i=[],j=b;if(d){i=this[I(0x100)](d),j=this[I(0xf5)](b,i);for(const m of i){const {name:n,values:o,regex:p}=m;if(!Object[I(0xe2)](j)[I(0xfd)](n)){if(n===I(0xee)){const q=this[I(0xcb)][I(0xf4)]()[I(0x111)](r=>r!==I(0xc9))[I(0xd4)](r=>({'name':r,'value':r}));q[I(0x10a)]===0x0&&(Log[I(0xe0)](I(0xe6)),process[I(0xfc)](0x1)),b[I(0xee)]=await Actions[I(0xbb)]({'name':I(0xee),'message':I(0x109),'choices':q});}else b[n]=await this[I(0xec)](n,o,p);}else{if(o&&!o[I(0xfd)](j[n])){Log[I(0xe0)](I(0xbf)+n+':\x20'+j[n]);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&k[I(0x10a)]>0x0){k=k[I(0x101)](i||[]),k[I(0xcc)]({'name':'resourceName','hidden':!![]}),k[I(0xcc)]({'name':I(0xcf),'boolFlag':!![]}),k[I(0xcc)]({'name':I(0x107),'hidden':!![]}),k[I(0xcc)]({'name':I(0xc6),'hidden':!![]}),k[I(0xcc)]({'name':I(0x103),'hidden':!![]}),k[I(0xcc)]({'name':I(0xbc),'hidden':!![]}),l=this[I(0xf5)](b,k);for(const r of k){const {name:s,values:t}=r,u=l[s];u!==undefined&&t&&!t['includes'](u)&&(l[s]=await Actions[I(0xbb)]({'name':s,'message':I(0xe7)+s,'choices':t[I(0xd4)](v=>({'name':v,'value':v}))})),this[I(0x106)](l,k);}}if(e&&e[I(0x10a)]>0x0)for(const v of a){!e[I(0xfd)](v)&&(Log[I(0xe0)](I(0xd7)+v),a[a[I(0xde)](v)]=await Actions[I(0x10c)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+v));}return Object[I(0x10f)](j,l);}async[a150z(0xec)](a,b,c){const J=a150z;if(b)return Actions[J(0xbb)]({'name':a,'message':J(0x105)+a,'choices':b[J(0xd4)](d=>({'name':d,'value':d}))});else{if(c){const d=await Actions['ask']('Please\x20provide\x20a\x20value\x20for\x20'+a);if(d[J(0xcd)](c))return d;else{Log['error'](J(0xbf)+a+':\x20'+d);throw new UsageError();}}else return Actions['ask'](J(0xd0)+a);}}[a150z(0x106)](a,b){const K=a150z;for(const c of Object['keys'](a)){const d=b[K(0xe1)](e=>e[K(0xfa)]===c);if(!d){Log['error'](K(0xea)+c);throw new UsageError();}}}[a150z(0xf3)](){const L=a150z;return this[L(0xdf)][L(0xf3)]||this[L(0xdf)]['shortDesc']||'No\x20description\x20provided.';}[a150z(0xc2)](){const M=a150z;return this[M(0xdf)][M(0xc2)]||M(0xf7);}[a150z(0x104)](){const N=a150z;return this[N(0xdf)][N(0x104)]||N(0xd2);}[a150z(0xf8)](){const O=a150z;return this[O(0xdf)][O(0xf8)]||[];}[a150z(0xda)](){const P=a150z;return this[P(0xdf)][P(0xda)]||'None';}[a150z(0xc3)](){const Q=a150z;return this[Q(0xdf)]['experimental']||![];}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a151i=a151d;(function(a,b){const f=a151d,c=a();while(!![]){try{const d=parseInt(f(0x14f))/0x1+-parseInt(f(0x13c))/0x2*(parseInt(f(0x14c))/0x3)+parseInt(f(0x146))/0x4*(parseInt(f(0x13b))/0x5)+-parseInt(f(0x147))/0x6*(-parseInt(f(0x14a))/0x7)+parseInt(f(0x13d))/0x8+parseInt(f(0x141))/0x9+-parseInt(f(0x150))/0xa*(parseInt(f(0x144))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a151c,0xdfa7b));const a151b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a151d;if(c){const e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a151a=a151b(this,function(){const h=a151d;return a151a[h(0x149)]()[h(0x142)](h(0x145))[h(0x149)]()[h(0x14b)](a151a)['search'](h(0x145));});function a151d(a,b){const c=a151c();return a151d=function(d,e){d=d-0x13b;let f=c[d];return f;},a151d(a,b);}a151a();import{input,confirm,password,select,checkbox}from'@inquirer/prompts';export class Actions{static async[a151i(0x14d)](a,b){const c=await(b?password({'message':a}):input({'message':a}));return c;}static async[a151i(0x140)](a,b=![]){const c=await confirm({'message':a,'default':b});return c;}static async[a151i(0x13f)](a){const j=a151i,b=await select({'message':a['message'],'choices':a[j(0x143)]});return b;}static async[a151i(0x13e)](a){const k=a151i,b=await checkbox({'message':a[k(0x14e)],'choices':a[k(0x143)]});return b;}}function a151c(){const l=['10775079aXkNEM','search','choices','11ivebkj','(((.+)+)+)+$','1792AuuNso','822nSSZCr','apply','toString','3563jSTrdk','constructor','3260553CfMhUd','ask','message','44077UKfUfm','14599070sqNcdd','11140mrXOwv','2NqPlCq','9229312MgmgUk','checkbox','select','confirm'];a151c=function(){return l;};return a151c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a152r=a152d;(function(a,b){const p=a152d,c=a();while(!![]){try{const d=-parseInt(p(0x217))/0x1*(-parseInt(p(0x20c))/0x2)+parseInt(p(0x173))/0x3*(-parseInt(p(0x1fb))/0x4)+-parseInt(p(0x233))/0x5+-parseInt(p(0x1d5))/0x6*(-parseInt(p(0x1c0))/0x7)+-parseInt(p(0x1e5))/0x8+parseInt(p(0x179))/0x9*(-parseInt(p(0x199))/0xa)+parseInt(p(0x1ce))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a152c,0x1aeb5));const a152b=(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;};}()),a152a=a152b(this,function(){const q=a152d;return a152a[q(0x1c5)]()[q(0x19e)](q(0x21d))[q(0x1c5)]()[q(0x1cb)](a152a)[q(0x19e)](q(0x21d));});a152a();import a152e from'fs';import a152f from'path';function a152d(a,b){const c=a152c();return a152d=function(d,e){d=d-0x160;let f=c[d];return f;},a152d(a,b);}import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{MustBeInProjectError}from'../../error.js';import{ChangeResourceRecordSetsCommand,ChangeAction,RRType}from'@aws-sdk/client-route-53';function a152c(){const a9=['requestId','file://','region','date','chooseInstance','ID:\x20','\x20CIDR:\x20',',\x20Name:\x20','getInstance','ap-northeast-2','deleteSecurityGroup','ca-central-1','.pem.txt','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','1027870GxNknL','af-south-1','maka-cli','notice','\x20Status\x20Code:\x20','search','From\x20AWS:','message','Pem\x20key\x20saved\x20to\x20','\x20ENV:\x20','Value','_keys','confirm','architecture','image-type','chooseVPC','\x22\x20created\x20successfully\x20in\x20','pop','createKeyPair','suggestion','\x20SG\x20NAME:\x20','nextToken','\x27\x20has\x20been\x20registered\x20successfully.','Availability','length','authorizationToken','success','us-east-1','$metadata','getEcrLoginPassword','maxCount','ask','ingressRule','amiId','publicIp','Invalid\x20choice','ap-southeast-2','join','available','1378419HuvLgN','us-east-2','description','Failed\x20to\x20decode\x20password\x20from\x20authorization\x20token','tcp','toString','chmod\x20400\x20','config','exit','ImageId','concat','constructor','ec2rebootInstance','Prices','3231547WKklmq','Failed\x20to\x20create\x20repository\x20in\x20','CreationDate','Repository\x20\x22','ap-northeast-1','subnet-id','Region:\x20','6VAyEKL','push','linkEC2ToRoute53','GroupId','httpStatusCode','Web\x20App','base64','sgId','ap-northeast-3','map',',\x20URI:\x20','writeFileSync','vpcId','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','HostedZones','key','616608ETresP','utf8','The\x20domain\x20\x27','ap-southeast-1','\x20AZONE:\x20','Error\x20saving\x20pem\x20file,\x20aborting','Authorization\x20data\x20is\x20empty','ec2terminateInstance','race','\x20to\x20','ap-southeast-4','il-central-1','Final\x20list\x20of\x20ECR\x20repositories:','env','us-west-1','subnetId','readFileSync','createKeyPairEC2Key','Error\x20linking\x20EC2\x20to\x20Route\x2053:','hvm','EKS','Failed\x20in\x20','17028UkfXCQ','\x20AMIID:\x20','listAvailableAMIs','sa-east-1','No\x20images\x20found.','environment','Instance\x20rebooted!','subnet','GroupName','0.0.0.0/0','root-device-type','send','Successfully\x20linked\x20EC2\x20instance\x20','fsi','me-south-1','log','minCount','8DjXtZf','Canonical*Ubuntu*20.04*','slice','getMakaProjectConfig','bright','chooseSecurityGroup','CidrBlock','instanceId','KeyName','ap-east-1','Description:','15462aLtNQe','filter','cidr','\x20PUB_IP:\x20','ap-southeast-3','\x20DESCRIPTION:\x20','(((.+)+)+)+$','eu-west-2','route53CreateHostedZone','type','find','\x20INSTANCE_ID:\x20','\x20opened!','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','No\x20suitable\x20images\x20found\x20within\x20the\x20last\x2030\x20days.','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','stop','listAvailableSubnets','name','\x20SGID:\x20','warn','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','eu-central-2','template','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','instance','createFile','pem','843820LLmIHB','\x20PRIV_IP:\x20','ebs','AVAILABLE','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','scaffold','ec2describeKeys','eu-south-1','repositories','No\x20credentials\x20returned\x20from\x20AWS\x20ECR','\x20NAME:\x20','Response:\x20','includes','sgIds','forEach','now','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[','stringify','us-west-2','Name','Hosted\x20zone\x20created\x20successfully!','ec2describeInstances','Subnets','authorizationData','/dev/sdh','Error\x20Message:\x20','running','VpcId','tags','cfg','getTime','error','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','eu-south-2','ec2create','RegistrationPrice','**\x20Available\x20\x20VPCs\x20**','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','state','*Kali*','ec2createSG','listAllEcrRepositories','UserData','trim','config/ssh.json','uri','66gQNxdb','registerDomain','info','ap-south-2','listHostedZonesByName','UNSUPPORTED','9qCdXaJ','Setting\x20SG\x20ID\x20to:\x20','ecrCreateRepository','Description','eu-west-3','desc','privateIp','Authorization\x20token\x20is\x20missing','An\x20unknown\x20error\x20occurred.','Error\x20fetching\x20domain\x20pricing:','Please\x20choose\x20a\x20VPC:\x20[0]\x20','isFile','userData','status','Reservations','Setting\x20AMI\x20ID\x20to\x20','split','TLDRulesViolation'];a152c=function(){return a9;};return a152c();}import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand,DescribeImagesCommand,DescribeSubnetsCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand,DeleteRepositoryCommand,GetAuthorizationTokenCommand,DescribeRepositoriesCommand}from'@aws-sdk/client-ecr';import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';const client=new EC2Client({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{static ['instance'];['fsi'];[a152r(0x162)];['scaffold'];constructor(a,b,c){const s=a152r;this[s(0x208)]=a,this[s(0x162)]=b,this[s(0x238)]=c;}static[a152r(0x193)](a,b,c){const t=a152r;return!AWS[t(0x230)]&&(AWS[t(0x230)]=new AWS(a,b,c)),AWS[t(0x230)];}async[a152r(0x211)](a){const u=a152r;try{const {listIndexId:b,createdSgId:c,sgList:d}=await this['getSecurityGroups'](a);let f='';if(c===''){Log[u(0x19c)]('**\x20Available\x20Security\x20Groups\x20**'),d[u(0x241)](function(h){const v=u;h['name']===a?Log[v(0x19c)]('ID:\x20'+h['id']+v(0x1ad)+h[v(0x229)]+v(0x22a)+h['sgId']):Log[v(0x210)](v(0x190)+h['id']+v(0x1ad)+h[v(0x229)]+v(0x22a)+h['sgId']);});const g=await Actions['ask'](u(0x243)+b+']\x20')||b[u(0x1c5)]();d[u(0x241)](function(h){const w=u;h['id']===parseInt(g)&&(f=h[w(0x1dc)],Log[w(0x1b3)](w(0x17a)+f+'\x0a'));});}else f=c,Log[u(0x1b3)](u(0x17a)+f+'\x0a');if(f==='')throw new Error(u(0x22f));return f;}catch(h){Log[u(0x164)](h);throw h;}}async[a152r(0x1fd)](){const x=a152r;let a='';try{const b=new EC2Client({}),c={'Filters':[{'Name':x(0x1a6),'Values':['x86_64']},{'Name':'virtualization-type','Values':[x(0x1f8)]},{'Name':x(0x205),'Values':[x(0x235)]},{'Name':x(0x16b),'Values':[x(0x1bf)]},{'Name':x(0x1a7),'Values':['machine']},{'Name':x(0x1c2),'Values':['Canonical*Ubuntu*18.04*',x(0x20d),x(0x16c)]}]},d=new DescribeImagesCommand(c),{Images:f}=await b[x(0x206)](d);if(f&&f[x(0x1b1)]>0x0){const g=new Date(),h=new Date(g['getTime']()-0x1e*0x18*0x3c*0x3c*0x3e8),i=f[x(0x218)](j=>j[x(0x1d0)]&&!j['Description']?.[x(0x23f)](x(0x178))&&!j[x(0x17c)]?.[x(0x23f)](x(0x1f9))&&new Date(j['CreationDate'])>h)['map'](j=>({'amiId':j[x(0x1c9)],'desc':j[x(0x17c)],'date':j[x(0x1d0)]}));if(i[x(0x1b1)]>0x0){i['sort']((n,o)=>new Date(o[x(0x18e)])[x(0x163)]()-new Date(n['date'])[x(0x163)]());const j=i[x(0x20e)](0x0,0x4),k=j[x(0x1de)]((n,o)=>({'id':o,'amiId':n[x(0x1ba)],'desc':n['desc']}));k[x(0x241)](n=>{const y=x;Log[y(0x210)](y(0x190)+n['id']+y(0x1fc)+n[y(0x1ba)]+y(0x21c)+n[y(0x17e)]);});const l=await Actions['ask'](x(0x165))||'0',m=k['find'](n=>n['id']===parseInt(l));if(m)a=m[x(0x1ba)],Log[x(0x1b3)](x(0x188)+a+'\x20:\x20'+m[x(0x17e)]);else throw Log[x(0x164)](x(0x22f));}else throw Log['error'](x(0x225));}else throw Log[x(0x164)](x(0x1ff));}catch(n){Log[x(0x164)](n);}return a;}async[a152r(0x228)](){const z=a152r;let a='';try{const b=new EC2Client({}),c={},d=new DescribeSubnetsCommand(c),{Subnets:f}=await b['send'](d);if(f&&f['length']>0x0){const g=f[z(0x1de)]((j,k)=>({'id':k,'cidr':j[z(0x212)],'az':j['AvailabilityZone'],'subnetId':j['SubnetId']}));g[z(0x241)](j=>{const A=z;Log['bright']('ID:\x20'+j['id']+A(0x191)+j[A(0x219)]+A(0x1e9)+j['az']+'\x20SUBNETID:\x20'+j[A(0x1f4)]);});const h=await Actions[z(0x1b8)](z(0x224))||'0',i=g[z(0x221)](j=>j['id']===parseInt(h));if(i)a=i[z(0x1f4)],Log[z(0x1b3)]('Setting\x20Subnet\x20ID\x20to\x20'+a);else throw Log[z(0x164)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}else throw Log[z(0x164)]('No\x20subnets\x20found.');}catch(j){Log[z(0x164)](j);}return a;}async['getSubnetCidr'](a){const B=a152r;try{const b=new EC2Client({}),c={'Filters':[{'Name':B(0x1d3),'Values':[a]}]},d=new DescribeSubnetsCommand(c),e=await b['send'](d);return e['Subnets']&&e[B(0x249)][B(0x1b1)]>0x0?e[B(0x249)][0x0][B(0x212)]||'':'';}catch(f){return Log[B(0x164)](f),'';}}async[a152r(0x17b)](a){const C=a152r;try{const b=new ECRClient({'region':a[C(0x18d)]}),c={'repositoryName':a[C(0x229)]},d=new CreateRepositoryCommand(c),f=await b[C(0x206)](d);return Log[C(0x1b3)](C(0x1d1)+a[C(0x229)]+C(0x1a9)+a[C(0x18d)]+'.'),f;}catch(g){Log[C(0x164)](C(0x1cf)+a[C(0x18d)]+':\x20'+g);throw g;}}async[a152r(0x16e)](a){const D=a152r,b=['us-east-1',D(0x1c1),D(0x1f3),'us-west-2','ap-south-1',D(0x1dd),D(0x194),D(0x1e8),D(0x1bd),D(0x1d2),D(0x196),'eu-central-1','eu-west-1',D(0x21e),D(0x17d),'eu-north-1',D(0x1fe),D(0x19a),D(0x215),D(0x176),D(0x21b),D(0x1ef),'ca-west-1',D(0x23a),D(0x166),D(0x22d),D(0x209),'me-central-1',D(0x1f0)],c=[D(0x1b4),D(0x1c1),D(0x1f3),D(0x245)],d=a==='all'?b:a?a[D(0x189)](','):c;let f=[];const g=Log['withSpinner']();for(const h of d){g['start']('Processing\x20'+h[D(0x170)]()+'...');const i=new ECRClient({'region':h['trim']()});try{let j=undefined;do{const k=await Promise[D(0x1ed)]([i[D(0x206)](new DescribeRepositoriesCommand({'nextToken':j})),new Promise(l=>setTimeout(()=>l('timeout'),0x7d0))]);if(k==='timeout'){Log['warn']('Timeout\x20while\x20processing\x20'+h[D(0x170)]()+'.');break;}else k[D(0x23b)]&&k[D(0x23b)][D(0x1b1)]>0x0&&(f=f[D(0x1ca)](k[D(0x23b)][D(0x1de)](l=>({'name':l['repositoryName'],'uri':l['repositoryUri'],'region':h[D(0x170)]()}))));j=k[D(0x1ae)];}while(j);}catch(l){Log[D(0x164)](D(0x1fa)+h[D(0x170)]()+':\x20'+l['message']);}finally{g[D(0x227)]();}}return f[D(0x1b1)]>0x0?(console[D(0x20a)](),Log[D(0x1b3)](D(0x1f1)),f[D(0x241)](m=>{const E=D;Log[E(0x175)](E(0x1d4)+m[E(0x18d)]+E(0x192)+m['name']+E(0x1df)+m[E(0x172)]);})):Log[D(0x22b)]('No\x20ECR\x20repositories\x20found\x20across\x20all\x20specified\x20regions.'),f;}async[a152r(0x21f)](a){const F=a152r;try{const b={'CallerReference':''+Date[F(0x242)](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client[F(0x206)](c),Log[F(0x1b3)](F(0x247));}catch(d){Log[F(0x164)]('Error\x20creating\x20hosted\x20zone'),console[F(0x164)](d);}}async[a152r(0x174)](a,b,c,d){const G=a152r;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a,'BillingContact':a},f=new RegisterDomainCommand(e),g=await route53Domains[G(0x206)](f);Log['notice'](G(0x1e7)+b+G(0x1af)),Log['notice'](G(0x23e)+JSON[G(0x244)](g));}catch(h){Log[G(0x164)](G(0x1e2)),Log[G(0x22b)](G(0x19f)),h[G(0x1b5)]&&(Log[G(0x164)](G(0x19d)+h[G(0x1b5)][G(0x1d9)]),Log['error']('\x20Request\x20ID:\x20'+h[G(0x1b5)][G(0x18b)])),Log[G(0x164)](G(0x24c)+h['message']),h['name']===G(0x18a)?Log[G(0x164)](h[G(0x1a0)]):Log[G(0x164)](G(0x181)),Log[G(0x164)](h);}}async['checkDomainAvailability'](a){const H=a152r,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains[H(0x206)](c),e=d[H(0x1b0)]===H(0x236);if(e){const f=a[H(0x189)]('.')[H(0x1aa)](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[H(0x206)](h);if(i&&i[H(0x1cd)]&&i[H(0x1cd)][0x0]?.['RegistrationPrice']){const j=i[H(0x1cd)][0x0][H(0x168)];return{'available':e,'cost':j};}}catch(k){console['error'](H(0x182),k);}}return{'available':e};}async[a152r(0x1d7)](a,b,c){const I=a152r;try{const d=await route53[I(0x177)]({'DNSName':c});if(!d?.[I(0x1e3)])throw Log['error']('Could\x20not\x20find\x20hosted\x20zone');const e=d?.[I(0x1e3)][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':ChangeAction['UPSERT'],'ResourceRecordSet':{'Name':c,'Type':RRType['A'],'TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e},g=new ChangeResourceRecordSetsCommand(f);await route53[I(0x206)](g),Log[I(0x19c)](I(0x207)+a+I(0x1ee)+c);}catch(h){console[I(0x164)](I(0x1f7),h);}}async[a152r(0x1b6)]({awsAccountId:a,region:b}){const J=a152r,c=new ECRClient({'region':b});try{const d=new GetAuthorizationTokenCommand({'registryIds':[a]}),f=await c[J(0x206)](d);if(!f[J(0x24a)]||f[J(0x24a)][J(0x1b1)]===0x0)throw new Error(J(0x1eb));const g=f[J(0x24a)][0x0];if(!g[J(0x1b2)])throw new Error(J(0x180));const h=g[J(0x1b2)];if(!h)throw new Error(J(0x23c));const i=Buffer['from'](h,J(0x1db))[J(0x1c5)](),j=i[J(0x189)](':')[0x1];if(!j)throw new Error(J(0x1c3));return j;}catch(k){Log[J(0x164)](k);throw k;}}async['ecrDeleteRepository']({repoName:a,region:b}){const K=a152r,c=new ECRClient({'region':b});try{const d=new DeleteRepositoryCommand({'repositoryName':a,'force':!![]}),f=await c[K(0x206)](d);return f;}catch(g){Log[K(0x164)](g);throw g;}}async[a152r(0x167)](a){const L=a152r;try{const b={'BlockDeviceMappings':[{'DeviceName':L(0x24b),'Ebs':{'VolumeSize':0x64}}],'ImageId':a['imageId'],'InstanceType':a[L(0x220)],'KeyName':a[L(0x1e4)],'MaxCount':a[L(0x1b7)],'MinCount':a[L(0x20b)],'SecurityGroupIds':a[L(0x240)][L(0x189)](','),'SubnetId':a[L(0x202)],'TagSpecifications':[{'ResourceType':'instance','Tags':a[L(0x161)]}]};a[L(0x185)]&&(b[L(0x16f)]=L(0x18c)+a[L(0x185)]);const c=new RunInstancesCommand(b),d=await client[L(0x206)](c);return d;}catch(f){Log['error'](f);}}async[a152r(0x1ec)](a){const M=a152r;try{const b={'InstanceIds':[a[M(0x213)]]},c=new TerminateInstancesCommand(b),d=await client[M(0x206)](c);return d;}catch(f){return Log[M(0x164)](f),{};}}async[a152r(0x1f6)]({keyName:a,env:b}){const N=a152r,c=this[N(0x162)]['getAppConfigPath'](b),d=a152f[N(0x1be)](c,N(0x1a4),a+N(0x197));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client['send'](g),i=h['KeyMaterial'];if(i){await this[N(0x208)][N(0x231)]({'filePath':d,'data':i}),execSync(N(0x1c6)+d,{'stdio':'ignore'});const j=this['fsi'][N(0x184)](d);if(j)return Log['success'](N(0x1a1)+d),{'keyName':a,'filePath':d};else throw new Error(N(0x1ea));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[N(0x164)](k),process[N(0x1c8)](0x1);}}async['ingressRule']({port:a,groupId:b}){const O=a152r,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':O(0x1c4),'IpRanges':[{'CidrIp':O(0x204),'Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[O(0x19c)]('Port\x20'+a+O(0x223)),await client[O(0x206)](d);}async[a152r(0x16d)](a){const P=a152r;try{a[P(0x1c2)]===''&&(a[P(0x1c2)]=await Actions[P(0x1b8)](P(0x216))||P(0x1da));const b={'Description':a['description'],'GroupName':a[P(0x229)],'VpcId':a[P(0x1e1)]},c=new CreateSecurityGroupCommand(b),d=await client[P(0x206)](c),{GroupId:f}=d;if(!d)throw new Error(P(0x237));f&&a['sgPorts']['forEach'](g=>{const Q=P;this[Q(0x1b9)]({'port':parseInt(g),'groupId':f});}),Log[P(0x1b3)]('Created:\x20'+f+P(0x23d)+a[P(0x229)]);}catch(g){return Log[P(0x164)](g),![];}return!![];}async[a152r(0x239)](a){const R=a152r,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[R(0x206)](d);if(!f)throw R(0x237);const {KeyPairs:g}=f;g?(g?.[R(0x241)]((h,i)=>{const S=R;h[S(0x214)]&&b[S(0x1d6)]({'id':i,'name':h[S(0x214)]});}),b['length']>0x0&&b['forEach'](h=>{const T=R;h['name']===a?.[T(0x1ac)]?Log[T(0x1b3)](T(0x190)+h['id']+T(0x23d)+h['name']):Log[T(0x19c)](T(0x190)+h['id']+T(0x23d)+h[T(0x229)]);})):Log['error'](R(0x16a));}catch(h){Log[R(0x164)](h);}return b;}async['deleteKeyPair'](a){const U=a152r;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client[U(0x206)](c);}catch(d){Log[U(0x164)](d),process['exit'](0x1);}}async['ec2describeInstances'](){const V=a152r,a=[];try{const b={'Filters':[{'Name':'tag:created-by','Values':[V(0x19b)]}]},c=new DescribeInstancesCommand(b),d=await client[V(0x206)](c);d[V(0x187)]?.[V(0x241)]((f,g)=>{const W=V;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f['Instances'][0x0],n=m?.[W(0x221)](({Key:o})=>o===W(0x200));a[W(0x1d6)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[W(0x246)],'name':l,'env':n?.[W(0x1a3)]});}}),a['length']>0x0?a[V(0x241)](f=>{const X=V,g=X(0x190)+f['id']+X(0x23d)+f[X(0x229)]+X(0x1a2)+f[X(0x1f2)]+'\x20STATUS:\x20'+f[X(0x186)]+X(0x222)+f[X(0x213)]+X(0x21a)+f[X(0x1bb)]+X(0x234)+f[X(0x17f)];if(f['status']==='terminated')Log['error'](g);else f['status']===X(0x24d)?Log[X(0x1b3)](g):Log[X(0x19c)](g);}):Log[V(0x164)](V(0x22c));}catch(f){Log[V(0x164)](f);}return a;}async[a152r(0x1cc)](a){const Y=a152r;try{const b={'InstanceIds':[a[Y(0x213)]]},c=new RebootInstancesCommand(b),d=await client[Y(0x206)](c);return d['$metadata'][Y(0x1d9)]===0xc8&&Log['success'](Y(0x201)),d;}catch(f){Log[Y(0x164)](f);}}async[a152r(0x1a8)](){const Z=a152r;let a='';Log[Z(0x19c)](Z(0x169));const b=new DescribeVpcsCommand({}),c=await client['send'](b),{Vpcs:d}=c,e=[];d&&d[Z(0x241)]((g,h)=>{const a0=Z;g[a0(0x160)]&&g[a0(0x212)]&&e[a0(0x1d6)]({'id':h,'vpcId':g[a0(0x160)],'cidr':g[a0(0x212)]});});e[Z(0x241)](function(g){const a1=Z;console['log'](a1(0x190)+g['id']+'\x20VPCID:\x20'+g['vpcId']+'\x20CIDR:\x20'+g[a1(0x219)]);});const f=await Actions[Z(0x1b8)](Z(0x183))||0x0;e[Z(0x241)](function(g){const a2=Z;g['id']==f&&(a=g[a2(0x1e1)],Log[a2(0x1b3)](a2(0x198)+a+'\x0a'));});if(a==='')return Log[Z(0x164)](Z(0x22f)),'';return a;}async[a152r(0x18f)](){const a3=a152r,a=await this[a3(0x248)]();if(a['length']===0x0)return Log['error']('No\x20instances\x20found'),null;const b=await Actions[a3(0x1b8)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[a3(0x164)](a3(0x1bc)),process['exit'](0x0));const c=a[a3(0x221)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a152r(0x1ab)]({env:a}){const a4=a152r;try{const b=this['cfg'][a4(0x20f)]();if(!b)throw MustBeInProjectError;const {appName:c}=b,d=c+'-'+a,f=await Actions['ask']('Key\x20Name:\x20['+d+']\x20')||d,{filePath:g}=await this['createKeyPairEC2Key']({'keyName':f,'env':a}),h=await Actions[a4(0x1a5)]('Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?',!![]);if(h)try{const i=a152f['join'](a4(0x1c7),a,'ssh.json');!this[a4(0x208)][a4(0x184)](i)&&await this[a4(0x238)][a4(0x22e)]({'srcPath':a4(0x171),'destPath':i,'context':{'app':f}});const j=a152e[a4(0x1f5)](a152f[a4(0x1be)](a4(0x1c7),a,'ssh.json'),a4(0x1e6)),k=JSON['parse'](j);k[a4(0x232)]=a152f['join'](a4(0x1a4),f+a4(0x197)),a152e[a4(0x1e0)](a152f[a4(0x1be)](a4(0x1c7),a,'ssh.json'),JSON[a4(0x244)](k,null,0x2));}catch(l){Log['error'](l),Log[a4(0x164)](a4(0x226));}return{'keyName':f,'filePath':g};}catch(m){Log[a4(0x164)](m),process[a4(0x1c8)](0x1);}}async['getSecurityGroups'](a){const a5=a152r,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client['send'](d),{SecurityGroups:f}=e;f&&f[a5(0x241)](function(i,j){const a6=a5;i[a6(0x203)]&&i[a6(0x1d8)]&&b[a6(0x1d6)]({'id':j,'name':i[a6(0x203)],'sgId':i['GroupId']});});let g='',h=0x0;return b['forEach'](function(i){const a7=a5;i[a7(0x229)]===a&&(g=i['sgId'],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a152r(0x195)](a){const a8=a152r;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[a8(0x206)](c);}catch(d){Log[a8(0x164)](d),process[a8(0x1c8)](0x1);}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a153d(a,b){var c=a153c();return a153d=function(d,e){d=d-0xe4;var f=c[d];return f;},a153d(a,b);}function a153c(){var m=['constructor','6QWXwkq','270084tcFapd','111736EydfOL','119sVAeRb','1567854QvGEnD','456262LrOpiY','5WdIgxU','toString','(((.+)+)+)+$','search','4069539pUkkVh','1415660ZNdYHJ','1790504hwpgVa'];a153c=function(){return m;};return a153c();}(function(a,b){var k=a153d,c=a();while(!![]){try{var d=parseInt(k(0xe6))/0x1+-parseInt(k(0xf0))/0x2*(parseInt(k(0xef))/0x3)+parseInt(k(0xed))/0x4+parseInt(k(0xe7))/0x5*(-parseInt(k(0xe5))/0x6)+parseInt(k(0xe4))/0x7*(parseInt(k(0xf1))/0x8)+-parseInt(k(0xeb))/0x9+parseInt(k(0xec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a153c,0x49141));export var CountryCode;(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){if(h){var j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var l=a153d;return e[l(0xe8)]()[l(0xea)](l(0xe9))[l(0xe8)]()[l(0xee)](e)[l(0xea)](l(0xe9));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a154w=a154d;function a154d(a,b){const c=a154c();return a154d=function(d,e){d=d-0x127;let f=c[d];return f;},a154d(a,b);}(function(a,b){const t=a154d,c=a();while(!![]){try{const d=-parseInt(t(0x149))/0x1*(parseInt(t(0x15f))/0x2)+parseInt(t(0x159))/0x3*(-parseInt(t(0x152))/0x4)+-parseInt(t(0x198))/0x5*(-parseInt(t(0x154))/0x6)+parseInt(t(0x18e))/0x7*(-parseInt(t(0x1a5))/0x8)+-parseInt(t(0x157))/0x9*(-parseInt(t(0x19a))/0xa)+-parseInt(t(0x12c))/0xb*(-parseInt(t(0x168))/0xc)+parseInt(t(0x13b))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a154c,0xdd36f));const a154b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a154d;if(c){const e=c[u(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a154a=a154b(this,function(){const v=a154d;return a154a[v(0x166)]()[v(0x15d)](v(0x131))[v(0x166)]()['constructor'](a154a)['search'](v(0x131));});a154a();import a154e from'fs';import a154f from'path';import a154g from'os';function a154c(){const V=['800TbqPeF','engines','stringify','apollo','theme','True','15631iEMsBe','.meteor','error','fsi','includes','(((.+)+)+)+$','existsSync','setEngine','app','readdirSync','Unsupported\x20js\x20engine:\x20','setProjectConfig()','defaultValue','client','min','36699156EtfWKa','settings.json','attemptAutoLogin','writeToFile','readFileSync','MAKA_DEV','getAppProjectConfigs','html','token','getEnvSettings','config','jsx','www.maka-cli.com','instance','1qbKuQH','setGlobalConfig()','material','No\x20maka\x20project\x20config\x20file\x20found.','isFile','getGlobalConfig','string','pathFromProject','checkConfigExists','24844rnpaBW','withValue','14382EVsBBu','getMeteorInstallPath','global-config.json','27261KETWvb','sync','717KnmEfw','Successfully\x20set\x20','writeFileSync','withValue()','search','getInstance','1303702UgCqEh','Unsupported\x20css\x20engine:\x20','\x20in\x20','api','getMakaProjectConfig()','delGlobalConfig()','none','toString','success','3396UlScoz','warn','getEnvFromShorthand','setProjectConfig','less','deeperAssign','checkGlobalConfigExists()','appName','/api/v1/encodeJwt','startsWith','defaultValue()','undefined','Not\x20in\x20a\x20maka\x20project','findProjectDirectory','homedir','assign','isDirectory','resolve','Unsupported\x20theme\x20engine:\x20','setTemplate','react','false','No\x20app\x20name\x20present\x20in\x20./maka/config.json.','Error\x20in\x20','checkGlobalConfigExists','getAppConfigPath()','getAppConfigPath','exit','env','apply','join','Unsupported\x20api\x20engine:\x20','/.maka/global-config.json\x20file\x20is\x20not\x20valid\x20JSON.\x20Your\x20global-config.json\x20has\x20been\x20removed.\x20\x20Please\x20re-run\x20your\x20last\x20command.','setTemplate()','setEngine()','delGlobalConfig','parse','authToken','113407RNxEks','getAppProjectConfigs()','getEnvFromShorthand()','charAt','setEnvSettings','cert','setGlobalConfig','css','No\x20configuration:\x20','utf8','1665KgCEue','createFile','2110YJDTuI','withValidation()','length','withValidation','forEach','getEnvSettings()','Unsupported\x20client\x20engine:\x20','post',',\x20consider\x20running\x20\x22maka\x20g:config\x20','.maka','mocha'];a154c=function(){return V;};return a154c();}import a154h from'delete';import{Log}from'../log/log.class.js';import{HTTPS}from'../https/https.class.js';const GLOBAL_CONFIG=a154w(0x156),PROJECT_CONFIG='config.json',homeDir=a154g[a154w(0x176)](),errorHandler=(a,b)=>{const x=a154w;process[x(0x184)][x(0x140)]===x(0x12b)&&Log[x(0x12e)](x(0x17f)+a),b&&console['error'](b);};export class CFG{static [a154w(0x148)];[a154w(0x12f)];constructor(a){const y=a154w;this[y(0x12f)]=a;}static[a154w(0x15e)](a){const z=a154w;return!CFG[z(0x148)]&&(CFG[z(0x148)]=new CFG(a)),CFG[z(0x148)];}[a154w(0x141)](){const A=a154w;try{const a=this[A(0x12f)][A(0x175)]();if(a===undefined)throw Log[A(0x12e)](A(0x174));else{if(typeof a===A(0x14f)){const b=a154f[A(0x186)](a,'config'),c=a154e[A(0x135)](b)['filter'](d=>!d[A(0x171)]('.')&&a154e['statSync'](a154f[A(0x186)](b,d))[A(0x178)]());return c;}}return[];}catch(d){errorHandler(A(0x18f),d),process[A(0x183)](0x1);}}['getEnvFromShorthand'](a){const B=a154w;try{if(!a||typeof a!==B(0x14f))throw'Environment\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.';const b=this[B(0x141)]();function c(h,k){const C=B,l=[],m=h[C(0x19c)],n=k['length'];for(let o=0x0;o<=m;o++){l[o]=[o];}for(let p=0x0;p<=n;p++){l[0x0][p]=p;}for(let q=0x1;q<=m;q++){for(let r=0x1;r<=n;r++){const s=h[q-0x1]===k[r-0x1]?0x0:0x1;l[q][r]=Math[C(0x13a)](l[q-0x1][r]+0x1,l[q][r-0x1]+0x1,l[q-0x1][r-0x1]+s);}}return l[m][n];}let d=Infinity,f='';const g=a[B(0x191)](0x0);return b[B(0x19e)](h=>{const D=B;if(h[D(0x191)](0x0)===g){const i=c(a,h);i<d&&(d=i,f=h);}}),f!==''?f:a;}catch(h){errorHandler(B(0x190),h),process[B(0x183)](0x1);}}[a154w(0x180)](){const E=a154w;try{const a=a154f['join'](homeDir,E(0x12d),E(0x1a3),GLOBAL_CONFIG),b=a154e[E(0x132)](a);if(!b)throw Log['error']('No\x20global\x20config\x20file\x20'+a);return a;}catch(c){errorHandler(E(0x16e),c),process['exit'](0x1);}}[a154w(0x151)](a){const F=a154w;try{if(!a||typeof a!==F(0x14f))throw'Environemnt\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.';const b=this[F(0x16a)](a),c=this[F(0x12f)][F(0x150)]({'pathParts':[F(0x145),b]}),d=a154e['existsSync'](c);if(!d)return![];return!![];}catch(f){errorHandler('checkConfigExists()',f),process['exit'](0x1);}}[a154w(0x182)](a){const G=a154w;try{if(!a||typeof a!==G(0x14f))throw'Environemnt\x20argument\x20provided,\x20but\x20its\x20value\x20is\x20not\x20recognized.';const b=this[G(0x16a)](a),c=this['fsi']['pathFromProject']({'pathParts':[G(0x145),b]}),d=a154e[G(0x132)](c);if(!d)throw Log[G(0x12e)](G(0x196)+b+G(0x1a2)+b+'\x22');return c;}catch(f){errorHandler(G(0x181),f),process[G(0x183)](0x1);}}[a154w(0x144)](a){const H=a154w;try{const b=this[H(0x182)](a),c=a154e['readFileSync'](a154f['join'](b,H(0x13c)),'utf8');return c[H(0x166)]();}catch(d){errorHandler(H(0x19f),d),process[H(0x183)](0x1);}}[a154w(0x192)](a,b,c){const I=a154w;try{const d=this[I(0x182)](a),f=a154e[I(0x13f)](a154f[I(0x186)](d,I(0x13c)),'utf8'),g=JSON[I(0x18c)](f[I(0x166)]());g[b]=c;const h=JSON[I(0x128)](g,null,0x2);a154e[I(0x15b)](a154f['join'](d,I(0x13c)),h),Log[I(0x167)](I(0x15a)+b+'\x20to\x20'+c+I(0x161)+a154f[I(0x179)](d));}catch(i){errorHandler('setEnvSettings()',i),process[I(0x183)](0x1);}}['getMakaProjectConfig'](){const J=a154w;try{const a=this[J(0x12f)]['pathFromProject']({'pathParts':[J(0x1a3),PROJECT_CONFIG]}),b=this[J(0x12f)][J(0x14d)](a);if(!b){Log[J(0x12e)]('Are\x20you\x20sure\x20you\x20are\x20in\x20a\x20maka\x20project?');throw Log['error'](J(0x14c));}const c=JSON[J(0x18c)](a154e[J(0x13f)](a,J(0x197)));return!c[J(0x16f)]&&(Log[J(0x169)](J(0x17e)),c[J(0x16f)]=J(0x134)),c;}catch(d){errorHandler(J(0x163),d),process[J(0x183)](0x1);}}['delGlobalConfigHash'](){const K=a154w;try{const a=a154f[K(0x186)](this['fsi'][K(0x155)](),'.maka',GLOBAL_CONFIG),b=JSON[K(0x18c)](a154e['readFileSync'](a)[K(0x166)]()),c=JSON[K(0x128)](b,null,0x2);return this[K(0x12f)][K(0x13e)]({'filePath':a,'data':c,'opts':{'absolute':!![],'silent':!![]}}),b;}catch(d){errorHandler('delGlobalConfigHash()',d),process['exit'](0x1);}}[a154w(0x18b)](){const L=a154w;try{const a=a154f[L(0x186)](this['fsi']['getMeteorInstallPath'](),'.maka',GLOBAL_CONFIG);a154h[L(0x158)](a,{'force':!![]});}catch(b){errorHandler(L(0x164),b),process[L(0x183)](0x1);}}async[a154w(0x14e)](){const M=a154w;try{const a=a154f[M(0x186)](homeDir,M(0x1a3));a154e[M(0x132)](a)&&a154h[M(0x158)](a,{'force':!![]});const b=a154f[M(0x186)](this[M(0x12f)][M(0x155)](),'.maka',GLOBAL_CONFIG);if(!this[M(0x12f)][M(0x14d)](b)){const c={'token':{'authToken':'','userId':'','when':''}},d=JSON[M(0x128)](c,null,0x2);await this['fsi'][M(0x199)]({'filePath':b,'data':d,'opts':{'force':!![],'silent':!![]}});}return JSON['parse'](a154e[M(0x13f)](b)['toString']());}catch(f){f instanceof SyntaxError?(this[M(0x18b)](),Log[M(0x12e)]('Your\x20'+this[M(0x12f)]['getMeteorInstallPath']()+M(0x188))):console[M(0x12e)](f),process[M(0x183)](0x1);}}[a154w(0x16b)](a,b){const N=a154w;try{const c=this[N(0x12f)][N(0x150)]({'pathParts':[N(0x1a3),PROJECT_CONFIG]});let d=JSON['parse'](a154e[N(0x13f)](c,N(0x197)));const f=this[N(0x12f)]['deepen']({[a]:b});d=this['fsi'][N(0x16d)](d,f);const g=JSON[N(0x128)](d,null,0x2);a154e['writeFileSync'](c,g);}catch(h){errorHandler(N(0x137),h),process['exit'](0x1);}}async[a154w(0x194)](a){const O=a154w;try{const b=a154f[O(0x186)](homeDir,O(0x12d),'.maka',GLOBAL_CONFIG);if(!this[O(0x12f)][O(0x14d)](b)){const f=JSON['stringify'](a,null,0x2);await this[O(0x12f)]['createFile']({'filePath':b,'data':f,'opts':{'force':!![],'silent':!![]}});}const c=await this[O(0x14e)]();Object['assign'](c,{...a});const d=JSON[O(0x128)](c,null,0x2);this[O(0x12f)][O(0x13e)]({'filePath':b,'data':d,'opts':{'absolute':!![],'silent':!![]}});}catch(g){errorHandler(O(0x14a),g),process[O(0x183)](0x1);}}async[a154w(0x13d)](){const P=a154w,a=await this['getGlobalConfig'](),b=a?.[P(0x143)],c=a?.[P(0x193)];if(b?.['authToken']){const d={'hostname':P(0x147),'path':P(0x170),'headers':{'x-auth-token':b[P(0x18d)]},'data':{}};c&&Object[P(0x177)](d,{'cert':c});const {data:e,statusCode:f}=await HTTPS[P(0x1a1)](d),{token:g}=JSON[P(0x18c)](e);g&&f!==0x198&&this[P(0x194)](a);}}[a154w(0x17b)](a,b){const Q=a154w;try{const c=this[Q(0x12f)][Q(0x150)]({'pathParts':[Q(0x1a3),PROJECT_CONFIG]}),d=JSON[Q(0x18c)](a154e[Q(0x13f)](c,Q(0x197)));d['template'][a]=b;const f=JSON[Q(0x128)](d,null,0x2);a154e[Q(0x15b)](c,f);}catch(g){errorHandler(Q(0x189),g),process[Q(0x183)](0x1);}}[a154w(0x133)](a,b){const R=a154w;try{const c=this[R(0x12f)][R(0x150)]({'pathParts':[R(0x1a3),PROJECT_CONFIG]}),d=JSON[R(0x18c)](a154e['readFileSync'](c,R(0x197)));d['engine'][a]=b;const f=JSON[R(0x128)](d,null,0x2);a154e[R(0x15b)](c,f);}catch(g){errorHandler(R(0x18a),g),process[R(0x183)](0x1);}}[a154w(0x138)](a,b){const S=a154w;try{return typeof a===S(0x173)?b:a;}catch(c){errorHandler(S(0x172),c);}}async[a154w(0x153)](a,b){const T=a154w;try{let c=null;return this[T(0x19d)](a),c=await b(),c;}catch(d){errorHandler(T(0x15c),d),process[T(0x183)](0x1);}}['withValidation'](a){const U=a154w;try{const b={'html':['html'],'js':['js',U(0x146),'ts','tsx'],'css':['css','scss',U(0x16c),U(0x165)],'api':['rest',U(0x165)],'test':['jest',U(0x1a4),U(0x165)],'client':[U(0x17c),'vanilla'],'graphql':[U(0x129)],'ssr':['true',U(0x17d)],'theme':[U(0x14b),U(0x165)]},c=a[U(0x127)]=this['defaultValue'](a[U(0x127)],{});if(c[U(0x142)]&&!b[U(0x142)][U(0x130)](c[U(0x142)]))throw new Error('Unsupported\x20html\x20engine:\x20'+c[U(0x142)]);if(c['js']&&!b['js'][U(0x130)](c['js']))throw new Error(U(0x136)+c['js']);if(c[U(0x195)]&&!b[U(0x195)][U(0x130)](c['css']))throw new Error(U(0x160)+c[U(0x195)]);if(c[U(0x162)]&&!b[U(0x162)]['includes'](c[U(0x162)]))throw new Error(U(0x187)+c[U(0x162)]);if(c[U(0x139)]&&!b['client']['includes'](c[U(0x139)]))throw new Error(U(0x1a0)+c[U(0x139)]);if(c[U(0x12a)]&&!b[U(0x12a)]['includes'](c[U(0x12a)]))throw new Error(U(0x17a)+c[U(0x12a)]);return c['html']=this[U(0x138)](c['html'],U(0x142)),c['js']=this[U(0x138)](c['js'],'js'),c[U(0x195)]=this[U(0x138)](c[U(0x195)],U(0x195)),c[U(0x139)]=this[U(0x138)](c[U(0x139)],U(0x17c)),c['api']=this[U(0x138)](c[U(0x162)],U(0x165)),c['theme']=this[U(0x138)](c[U(0x12a)],U(0x165)),a;}catch(d){errorHandler(U(0x19b),d),process[U(0x183)](0x1);}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a155m=a155d;(function(a,b){const j=a155d,c=a();while(!![]){try{const d=parseInt(j(0x12e))/0x1*(-parseInt(j(0x139))/0x2)+-parseInt(j(0x136))/0x3+parseInt(j(0x124))/0x4*(-parseInt(j(0x12d))/0x5)+-parseInt(j(0x128))/0x6*(parseInt(j(0x13a))/0x7)+-parseInt(j(0x125))/0x8*(parseInt(j(0x138))/0x9)+parseInt(j(0x137))/0xa+parseInt(j(0x13c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a155c,0xd1c46));const a155b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a155d;if(c){const e=c[k(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a155a=a155b(this,function(){const l=a155d;return a155a[l(0x12b)]()[l(0x132)]('(((.+)+)+)+$')[l(0x12b)]()[l(0x135)](a155a)['search'](l(0x12a));});a155a();function a155d(a,b){const c=a155c();return a155d=function(d,e){d=d-0x124;let f=c[d];return f;},a155d(a,b);}import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static[a155m(0x13f)]({imageName:a,awsAccountId:b,region:c,repoName:d}){const n=a155m;try{const f=[n(0x13f),a,b+'.dkr.ecr.'+c+n(0x127)+d],g=n(0x12f)+f[n(0x13e)]('\x20'),h=execSync(g,{'stdio':n(0x134)})[n(0x12b)]();return h;}catch(i){return Log[n(0x130)](i),'';}}static[a155m(0x12c)]({awsAccountId:a,region:b,password:c}){const o=a155m;try{const d=o(0x131)+c+o(0x133)+a+o(0x13b)+b+'.amazonaws.com';return execSync(d,{'stdio':'inherit'}),d;}catch(f){return Log[o(0x130)](f),'';}}static[a155m(0x129)]({awsAccountId:a,region:b,repoName:c}){const p=a155m;try{const d=[p(0x13d),a+p(0x13b)+b+p(0x127)+c],f=p(0x12f)+d[p(0x13e)]('\x20'),g=execSync(f,{'stdio':p(0x134)})[p(0x12b)]();return g;}catch(h){return Log[p(0x130)](h),'';}}}function a155c(){const q=['3426009HtagXz','16552560uyEPhX','2063430BCwXQg','4hMkRKZ','105518uQAixX','.dkr.ecr.','44293282QbUOiL','push','join','tag','11124WBAcFl','16dcxqTe','apply','.amazonaws.com/','390uWyziN','pushImage','(((.+)+)+)+$','toString','awsLogin','1145GghZZE','802755DAbZaB','docker\x20','error','echo\x20','search','\x20|\x20docker\x20login\x20--username\x20AWS\x20--password-stdin\x20','inherit','constructor'];a155c=function(){return q;};return a155c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(a,b){var f=a156d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1*(parseInt(f(0x18e))/0x2)+-parseInt(f(0x18c))/0x3+-parseInt(f(0x18b))/0x4*(parseInt(f(0x184))/0x5)+parseInt(f(0x18f))/0x6+-parseInt(f(0x18d))/0x7+-parseInt(f(0x188))/0x8+parseInt(f(0x190))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a156c,0x6852a));var a156b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a156d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a156a=a156b(this,function(){var h=a156d;return a156a[h(0x191)]()[h(0x185)](h(0x18a))['toString']()[h(0x189)](a156a)[h(0x185)](h(0x18a));});a156a();function a156d(a,b){var c=a156c();return a156d=function(d,e){d=d-0x184;var f=c[d];return f;},a156d(a,b);}export{};function a156c(){var i=['293162VwaTNt','apply','6462856qxAxvs','constructor','(((.+)+)+)+$','2362748hVljSn','1102308ztKwDJ','4127368qskwwu','2ixGvxP','1071306KdVGmQ','26077689EukytN','toString','5doDmKo','search'];a156c=function(){return i;};return a156c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a157q=a157d;(function(a,b){const n=a157d,c=a();while(!![]){try{const d=-parseInt(n(0xff))/0x1+parseInt(n(0x169))/0x2+-parseInt(n(0x132))/0x3+parseInt(n(0xf0))/0x4+parseInt(n(0x16e))/0x5*(-parseInt(n(0x135))/0x6)+parseInt(n(0x184))/0x7+parseInt(n(0x13a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a157c,0x26bef));const a157b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a157d;if(c){const e=c[o(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a157a=a157b(this,function(){const p=a157d;return a157a['toString']()[p(0x175)]('(((.+)+)+)+$')[p(0x133)]()[p(0x166)](a157a)[p(0x175)](p(0x15a));});a157a();import a157e from'path';import a157f from'net';import a157g from'@maka/tar';import a157h from'fs';function a157c(){const a9=['relative','mkdirSync','findDirectoryUp','build','once','local','promises','cacheResult','confirm','checkPortInUse','saveInit','isSelfTest','isDirectory','.meteor','findDirectoryUp()','writeFileSync','utf8','createReadStream','isArray','complete','createFile','entries','normalize','initNpm','Cannot\x20write\x20data\x20to\x20a\x20directory','success','extensions','win32','No\x20directory\x20path\x20provided','160440beqavF','toString','shift','373938ncUFjB','error','True','bright','push','392192tbZxML','grep','fileContainsString','Error\x20in\x20','homedir','directoryEntries','absolute','writeToFile()','from','match','ignore','\x20already\x20exists.\x20Do\x20you\x20want\x20to\x20overwrite\x20it?','0.0.0.0','join','platform','^.*(','sep','dirname','\x20created\x20file\x20','apply','readFile','message','statSync','Invalid\x20directory','release','getAvailablePort','readFileSync','METEOR@','pathFromProject','extname','filter','File\x20exists\x20at\x20that\x20location','(((.+)+)+)+$','compareMakaToLatest','getMeteorInstallPath','findProjectDirectory()','readdirSync','Extracting','getInstance','listen','pathFromProject()','\x20is\x20already\x20in\x20use,\x20try\x20another?\x20[yN]','meteor','\x20is\x20already\x20in\x20use,\x20trying\x20','constructor','getFiles()','split','480642hlGCrU','listening','_keys','omit','Setting\x20up\x20the\x20npm\x20packages','15WBcmIB','saveInit()','getGlobalMakaDir','Port\x20','isImage','warn',').*$','search','.maka','grep()','getProjectMeteorVersion','update','level','msg','createServer','@maka/maka-cli','utf-8','base64','replace','string','concat','readFileLines','115689TWnRYs','sync','684676nWRLOn','exit','length','force','singleLine','size','getUserDataDirectory','cwd','getFiles','instance','includes','withSpinner','createFile()','getProjectsMeteorNodeVersion','app','77889jCnHhB','isFile','findProjectDirectory','deeperAssign','info','end','npm\x20init\x20-f\x20','Created\x20','getDirectories','stringify','getDirectories()','pop','findAppDirectory','Latest\x20version\x20of\x20maka-cli\x20is\x20','createDirectory','silent','version','Uh-oh,\x20the\x20directory\x20is\x20not\x20a\x20directory\x20','.node_version.txt','pipe','MAKA_DEV','getProjectsMeteorNodeVersion()'];a157c=function(){return a9;};return a157c();}import a157i from'os';import a157j from'delete';import{exec}from'child_process';import a157k from'latest-version';import a157l from'semver';import{promises as a157m}from'fs';function a157d(a,b){const c=a157c();return a157d=function(d,e){d=d-0xf0;let f=c[d];return f;},a157d(a,b);}import{Log}from'../log/log.class.js';import{Actions}from'../actions/actions.class.js';import{Progress}from'../progress/progress.class.js';const pjson={'version':'5.1.23'},PROJECT_CONFIG='config.json',GLOBAL_CACHE='cache.json',homeDir=a157i[a157q(0x13e)](),errorHandler=(a,b)=>{const r=a157q;process['env'][r(0x113)]===r(0x137)&&Log[r(0x136)](r(0x13d)+a),b&&console[r(0x136)](b);};export class FSI{static [a157q(0xf9)];['appName'];constructor(){}static[a157q(0x160)](){const s=a157q;return!FSI[s(0xf9)]&&(FSI['instance']=new FSI()),FSI[s(0xf9)];}[a157q(0xf6)](){const t=a157q;return a157e[t(0x147)](homeDir);}[a157q(0x15c)](){const u=a157q;return a157e[u(0x147)](homeDir,u(0x122));}['meteorCommand'](){const v=a157q;return a157e['join'](this[v(0x15c)](),v(0x164));}[a157q(0x107)](a){const w=a157q;try{return a157h[w(0x15e)](a)['filter'](b=>{const x=w;return a157h[x(0x150)](a157e[x(0x147)](a,b))[x(0x121)]();});}catch(b){errorHandler(w(0x109),b),process[w(0xf1)](0x1);}}async[a157q(0x129)]({filePath:a,data:b,opts:c}){const y=a157q,d=c?.['absolute']?a157e[y(0x147)](process[y(0xf7)](),a):a157e[y(0x115)](process[y(0xf7)](),a);try{const f=a157e[y(0x12b)](a)[y(0x168)](a157e[y(0x14a)]);f[y(0x10a)]();const g=f[y(0x147)](a157e[y(0x14a)]),h=!this['isDirectory'](g);h&&await this[y(0x10d)]({'dirPath':g,'force':c?.[y(0xf3)],'silent':c?.[y(0x10e)]});if(this[y(0x100)](a)&&!c?.[y(0xf3)]){const i=await Actions[y(0x11d)](a+y(0x145));if(!i){if(c?.[y(0x144)])return;else throw{'msg':'File\x20not\x20written','level':y(0x103),'verbose':!![]};}else await a157m['unlink'](a);}if(c?.[y(0x172)]){const j=Buffer[y(0x142)](b,y(0x17f));await a157m['writeFile'](a,j);}else await a157m['writeFile'](a,b);!c?.[y(0x10e)]&&Log[y(0x138)](y(0x14c)+d);}catch(k){k?.['verbose']?k[y(0x17a)]===y(0x103)?Log['error'](k[y(0x17b)]):errorHandler(y(0xfc),k[y(0x17b)]):errorHandler(y(0xfc),k);}}[a157q(0xf8)](a,b){const z=a157q;try{const c=a157h[z(0x15e)](a)[z(0x158)](d=>{const A=z,f=a157e[A(0x147)](a,d);if(this[A(0x121)](f))return![];if(b?.['omit']){const g=Array[A(0x127)](b[A(0x16c)])?b[A(0x16c)]:[b[A(0x16c)]];for(const h of g){if(d['includes'](h))return![];}}if(b?.[A(0x12f)]){const i=a157e[A(0x157)](f);if(!i)return![];if(!b[A(0x12f)][A(0xfa)](i['replace']('.','')))return![];return!![];}return!![];});return c;}catch(d){errorHandler(z(0x167),d),process[z(0xf1)](0x1);}}['mkKeysDir']({configPath:a}){const B=a157q;if(!this[B(0x121)](a))throw B(0x151);const b=a157e[B(0x147)](a,B(0x16b));try{a157h['statSync'](b);}catch(c){Log[B(0x173)](c[B(0x14f)]),a157h['mkdirSync'](b,{'recursive':!![]});}return b;}['writeToFile']({filePath:a,data:b,opts:c}){const C=a157q,d=c?.[C(0x140)]?a157e['join'](process[C(0xf7)](),a):a157e[C(0x115)](process[C(0xf7)](),a);try{if(this[C(0x121)](a))throw Log[C(0x136)](C(0x12d));a157h[C(0x124)](a,b),!c?.[C(0x10e)]&&Log['bright']('Updated\x20file\x20'+d);}catch(f){errorHandler(C(0x141),f);}}async['createDirectory']({dirPath:a,force:b,silent:c}){const D=a157q;if(!a)throw Log[D(0x136)](D(0x131));try{b&&a157j[D(0x185)](a);if(this['isFile'](a))throw Log['error'](D(0x159));const d=this['isDirectory'](a);if(!d){a157h[D(0x116)](a,{'recursive':!![]});if(!this['isDirectory'](a))throw D(0x110)+a;!c&&Log[D(0x12e)](D(0x106)+a157e[D(0x115)](process['cwd'](),a));}}catch(f){errorHandler('createDirectory()',f);}}[a157q(0x117)]({predicate:a,startPath:b}){const E=a157q;try{let c=b||process[E(0xf7)]();while(c){if(a(c))break;const d=a157e[E(0x14b)](c);d===c?c=undefined:c=d;}return c;}catch(f){errorHandler(E(0x123),f),process[E(0xf1)](0x1);}}[a157q(0x101)](a=process['cwd']()){const F=a157q;try{const b=this[F(0x117)]({'predicate':c=>{const G=F;return this['isFile'](a157e[G(0x147)](c,G(0x176),PROJECT_CONFIG));},'startPath':a||process[F(0xf7)]()});if(!b)return'';return b;}catch(c){errorHandler(F(0x15d),c),process['exit'](0x1);}}[a157q(0x10b)](a=process[a157q(0xf7)]()){const H=a157q;try{const b=this[H(0x101)](a);return b&&typeof b===H(0x181)?a157e['join'](b,'app'):'';}catch(c){errorHandler('findAppDirectory()',c),process['exit'](0x1);}}['pathFromProject']({pathParts:a}){const I=a157q;try{const b=a?.[I(0x147)](a157e[I(0x14a)]),c=this[I(0x101)]();return c&&typeof c===I(0x181)?a157e['join'](c,b||''):'';}catch(d){errorHandler(I(0x162),d),process['exit'](0x1);}}[a157q(0x100)](a){const J=a157q;try{const b=a157e['resolve'](a),c=a157h['statSync'](b);return c[J(0x100)]();}catch(d){return![];}}[a157q(0x121)](a){const K=a157q;try{const b=a157h[K(0x150)](a);return b[K(0x121)]();}catch(c){return![];}}[a157q(0x183)](a){const L=a157q;try{const b=a157h['readFileSync'](a,L(0x125)),c=b[L(0x168)](/\r*\n\r*/);while(c[L(0xf2)]){const d=c[c[L(0xf2)]-0x1];if(d[L(0x143)](/\S/))break;c[L(0x10a)]();}return c;}catch(f){errorHandler('readFileLines()',f),process[L(0xf1)](0x1);}}[a157q(0x178)](){const M=a157q;try{const a=this[M(0x156)]({'pathParts':['app',M(0x122),M(0x152)]}),b=a157h[M(0x154)](a,M(0x125));let c=b[M(0x180)](M(0x155),'')[M(0x180)]('\x0a','');const d=c[M(0x168)]('.')['length'];return d<0x3&&(c=c+'.0'),c;}catch(f){errorHandler('getProjectMeteorVersion()',f),process[M(0xf1)](0x1);}}async[a157q(0xfd)](){const N=a157q;try{const a=this['pathFromProject']({'pathParts':[N(0xfe),N(0x122),N(0x11a),N(0x118),'.node_version.txt']});if(!this['isFile'](a))return'N/A';else{const b=this[N(0x156)]({'pathParts':[N(0xfe),N(0x122),N(0x11a),N(0x118),N(0x111)]}),c=a157h['readFileSync'](b,'utf8'),d=c['replace']('v','')[N(0x180)]('\x0a','');return d;}}catch(f){errorHandler(N(0x114),f),process[N(0xf1)](0x1);}}async['getLatestMakaVersion'](){const O=a157q,a=await a157k(O(0x17d));return a;}async[a157q(0x15b)](){const P=a157q,a=await this['getLatestMakaVersion']();a157l['gt'](a,pjson[P(0x10f)])&&(Log['warn'](P(0x10c)+a),Log[P(0x173)]('Please\x20update\x20with:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20npm\x20i\x20-g\x20@maka/maka-cli@latest\x0a\x0a\x20\x20\x20\x20\x20\x20'));return;}[a157q(0x13f)](a){const Q=a157q;try{let b=[];const c=a157h[Q(0x15e)](a);for(const d of c){const f=a157e['join'](a,d);b[Q(0x139)](f),this['isDirectory'](f)&&(b=b[Q(0x182)](this[Q(0x13f)](f)));}return b;}catch(g){errorHandler('directoryEntries()',g),process[Q(0xf1)](0x1);}}['isMakaProject'](){const R=a157q,a=this[R(0x101)]();return a!==''?!![]:![];}[a157q(0x13b)](a,b){const S=a157q;try{const c=new RegExp(S(0x149)+b+S(0x174),'mg'),d=a[S(0x143)](c);return d||[];}catch(f){errorHandler(S(0x177),f),process[S(0xf1)](0x1);}}async[a157q(0x13c)](a,b){const T=a157q;try{if(a157h['existsSync'](a)===![])return![];const c=await a157h[T(0x11b)][T(0x14e)](a,T(0x125));return c['includes'](b);}catch(d){console['error']('Error\x20reading\x20file:\x20'+d);throw d;}}['getCachedResult'](a){const U=a157q,b=a157e['join'](this[U(0x15c)](),U(0x176),GLOBAL_CACHE);try{const c=JSON['parse'](a157h[U(0x154)](b,U(0x17e)));return c[a]||null;}catch(d){return null;}}[a157q(0x11c)](a,b){const V=a157q,c=a157e['join'](this[V(0x15c)](),V(0x176),GLOBAL_CACHE);try{const d=JSON['parse'](a157h['readFileSync'](c,V(0x17e)));d[a]=b,a157h[V(0x124)](c,JSON[V(0x108)](d));}catch(f){const g={[a]:b};a157h['writeFileSync'](c,JSON[V(0x108)](g));}}[a157q(0x170)](){const W=a157q;return a157e[W(0x147)](this[W(0x15c)](),W(0x176));}async[a157q(0x11f)](a,b){const X=a157q;try{const c=JSON['stringify'](a,null,0x2);await this[X(0x129)]({'filePath':b,'data':c,'opts':{'force':!![]}});}catch(d){errorHandler(X(0x16f),d),process[X(0xf1)](0x1);}}['deepen'](a){const Y=a157q,b={};for(const c in a){const d=c['split']('.');let e=b;while(d?.['length']>0x1){const f=d?.[Y(0x134)]();f&&(e=e[f]=e[f]||{});}e[d[0x0]]=a[c];}return b;}[a157q(0x102)](c,d){const Z=a157q;return Object[Z(0x12a)](d)['forEach'](([e,f])=>c[e]=f&&typeof f==='object'?this[Z(0x102)](c[e]=c[e]||{},f):f),c;}[a157q(0x12c)](a){return new Promise((b,c)=>{const a0=a157d;a=a||{},a[a0(0xf7)]=a['cwd']||'.';if(!a[a0(0x120)]){const d=this[a0(0x10b)](a['cwd']);if(!d)Log[a0(0x136)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20init\x20npm\x20into.'),c();else{const f=Log[a0(0xfb)]();try{f['start'](a0(0x16d)),exec(a0(0x105),{'cwd':d},g=>{const a1=a0;g&&(Log['error']('\x0a'+g[a1(0x14f)]),c(),process['exit'](0x1)),f['success'](),b();});}catch(g){Log['error'](g),f['failure'](),c();}}}});}async[a157q(0x11e)](a){return new Promise((b,c)=>{const a2=a157d,d=a157f[a2(0x17c)]();d[a2(0x119)](a2(0x136),async e=>{const a3=a2;if(e['code']==='EADDRINUSE'){const f=await Actions[a3(0x11d)](a3(0x171)+a+a3(0x163),![]);!f&&(Log[a3(0x136)]('Port\x20'+a+'\x20is\x20already\x20in\x20use,\x20exiting\x20...'),process[a3(0xf1)](0x1)),Log[a3(0xf4)](a3(0x171)+a+a3(0x165)+(a+0x64)+'\x20...\x0a'),b(!![]);}else c(e);}),d[a2(0x119)](a2(0x16a),()=>{d['close'](),b(![]);}),d[a2(0x161)](a,a2(0x146));});}async[a157q(0x153)](a){while(await this['checkPortInUse'](a)){a+=0x64;}return a;}async['extractTarGz'](a,b){const a5=a157q;function c(g){const a4=a157d,h=a157h[a4(0x150)](g);return h[a4(0xf5)];}const d=process[a5(0x148)]===a5(0x130)?'>':'📦',e=c(a),f=new Progress(e,a5(0x15f),d);return new Promise((g,h)=>{const a6=a5;a157h[a6(0x126)](a)['on']('data',i=>{const a7=a6;f[a7(0x179)](i['length']);})[a6(0x112)](a157g['x']({'gzip':!![],'cwd':b}))['on'](a6(0x104),()=>{const a8=a6;f[a8(0x128)](),g();})['on']('error',i=>{h(i);});});}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var a158l=a158d;(function(a,b){var k=a158d,c=a();while(!![]){try{var d=-parseInt(k(0x142))/0x1+parseInt(k(0x133))/0x2*(-parseInt(k(0x147))/0x3)+parseInt(k(0x123))/0x4+-parseInt(k(0x14a))/0x5+parseInt(k(0x145))/0x6+parseInt(k(0x13e))/0x7+-parseInt(k(0x136))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a158c,0x8aa7c));export const supportedEngines={'html':[a158l(0x144)],'js':['js',a158l(0x132),'ts',a158l(0x143)],'css':[a158l(0x137),a158l(0x135),'scss',a158l(0x130)],'api':[a158l(0x12c),'none'],'test':['jasmine',a158l(0x128),a158l(0x130)],'client':[a158l(0x149),a158l(0x13f)],'graphql':[a158l(0x134)],'ssr':[!![],![]],'theme':[a158l(0x12d),a158l(0x130)]};export var HtmlEngines;(function(a){var m=a158l;a[m(0x141)]=m(0x144);}(HtmlEngines||(HtmlEngines={})));function a158d(a,b){var c=a158c();return a158d=function(d,e){d=d-0x123;var f=c[d];return f;},a158d(a,b);}export var JsEngines;(function(a){var n=a158l;a['JS']='js',a['JSX']=n(0x132),a['TS']='ts',a['TSX']=n(0x143);}(JsEngines||(JsEngines={})));export var CssEngines;(function(c){var q=a158l,d=(function(){var f=!![];return function(g,h){var i=f?function(){var o=a158d;if(h){var j=h[o(0x12b)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var p=a158d;return e[p(0x140)]()[p(0x12e)](p(0x125))[p(0x140)]()[p(0x131)](e)[p(0x12e)](p(0x125));});e(),c[q(0x13d)]=q(0x137),c[q(0x126)]='less',c[q(0x12a)]=q(0x12f),c['NONE']=q(0x130);}(CssEngines||(CssEngines={})));export var ApiEngines;(function(a){var r=a158l;a['REST']=r(0x12c),a[r(0x138)]=r(0x130);}(ApiEngines||(ApiEngines={})));export var TestEngines;(function(a){var s=a158l;a[s(0x127)]=s(0x124),a[s(0x148)]=s(0x128),a[s(0x138)]=s(0x130);}(TestEngines||(TestEngines={})));export var ClientEngines;(function(a){var t=a158l;a[t(0x129)]=t(0x149),a[t(0x13b)]=t(0x13f);}(ClientEngines||(ClientEngines={})));export var GraphqlEngines;(function(a){var u=a158l;a[u(0x138)]='none',a[u(0x146)]='apollo';}(GraphqlEngines||(GraphqlEngines={})));export var SsrEngines;(function(a){var v=a158l;a[v(0x138)]=v(0x130),a[v(0x139)]=v(0x13a);}(SsrEngines||(SsrEngines={})));function a158c(){var x=['VANILLA','MATERIAL','CSS','5970692XfuhTt','vanilla','toString','HTML','900229CebqAK','tsx','html','6168828xmyMpX','APOLLO','20631Zxzvdv','MOCHA','react','2759245dVFNPC','2112952UsdZuB','jasmine','(((.+)+)+)+$','LESS','JASMINE','mocha','REACT','SCSS','apply','rest','material','search','scss','none','constructor','jsx','14qzgEod','apollo','less','2729464mzFwkx','css','NONE','METEOR','meteor'];a158c=function(){return x;};return a158c();}export var ThemeEngines;(function(a){var w=a158l;a[w(0x13c)]=w(0x12d),a[w(0x138)]=w(0x130);}(ThemeEngines||(ThemeEngines={})));
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a159t=a159d;(function(a,b){const q=a159d,c=a();while(!![]){try{const d=parseInt(q(0x1a2))/0x1+-parseInt(q(0x1a1))/0x2+-parseInt(q(0x1b5))/0x3+parseInt(q(0x198))/0x4+parseInt(q(0x199))/0x5*(-parseInt(q(0x1a0))/0x6)+-parseInt(q(0x197))/0x7*(parseInt(q(0x1ab))/0x8)+parseInt(q(0x1b7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a159c,0x4a346));const a159b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a159d;if(c){const e=c[r(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a159a=a159b(this,function(){const s=a159d;return a159a[s(0x1ba)]()[s(0x18a)]('(((.+)+)+)+$')[s(0x1ba)]()[s(0x192)](a159a)[s(0x18a)]('(((.+)+)+)+$');});a159a();import a159e from'https';import a159f from'fs';import{Progress}from'../progress/progress.class.js';function a159d(a,b){const c=a159c();return a159d=function(d,e){d=d-0x18a;let f=c[d];return f;},a159d(a,b);}const TIMEOUT=0x493e0;process[a159t(0x18d)][a159t(0x19f)]=process['env'][a159t(0x193)]==='True'?'0':'1',process[a159t(0x18d)][a159t(0x1a8)]=process[a159t(0x18d)]['MAKA_DEV']==='True'?'1':'0';export class HTTPS{static async[a159t(0x1b9)]({hostname:a,path:b,data:c,headers:d,cert:e,timeout:f}){const u=a159t,g=JSON[u(0x18f)](c),h={'Content-Type':u(0x194),'Content-Length':g[u(0x1b6)]};Object['assign'](h,d);const i={'hostname':a,'port':0x1bb,'path':b,'method':u(0x1ad),'headers':h,'timeout':f?f:TIMEOUT};return e&&Object[u(0x1b8)](i,{'cert':a159f[u(0x1a6)](e)}),new Promise((j,k)=>{const v=u,l=a159e[v(0x1a5)](i,m=>{const w=v;let n='';m['on'](w(0x195),o=>{n+=o['toString']();}),m['on'](w(0x18e),()=>{const x=w;m[x(0x1b2)]===0x12d&&m['headers'][x(0x18c)]?this[x(0x1b9)]({'hostname':new URL(m[x(0x1bf)][x(0x18c)])[x(0x19a)],'path':new URL(m['headers'][x(0x18c)])[x(0x1bc)],'data':c,'headers':d,'cert':e})[x(0x1a7)](j)[x(0x1ae)](k):(!n&&j({'statusCode':0xcc,'statusMessage':m[x(0x1bd)]||x(0x19e),'data':JSON[x(0x18f)]({'message':x(0x1a4)})}),j({'statusCode':m[x(0x1b2)]||0x1f4,'statusMessage':m['statusMessage']||'BAD\x20RETURN','data':n}));});});l['on'](v(0x18b),m=>{k(m);}),l['on'](v(0x19d),()=>{const y=v;l[y(0x1b1)](),k({'statusCode':0x198,'statusMessage':'Request\x20timeout'});}),l[v(0x1b3)](g),l['end']();});}static[a159t(0x1af)]({url:a,headers:b,cert:c,timeout:d}){const z=a159t,e={'Content-Type':z(0x194)};Object[z(0x1b8)](e,b);const f={'headers':e,'timeout':d?d:TIMEOUT};return c&&Object[z(0x1b8)](f,{'cert':a159f[z(0x1a6)](c)}),new Promise((g,h)=>{const C=z,i=a159e['get'](a,f,j=>{const A=a159d;let k='';j['on'](A(0x195),l=>{k+=l['toString']();}),j['on'](A(0x18e),()=>{const B=A;j[B(0x1b2)]===0x12d&&j[B(0x1bf)][B(0x18c)]?this[B(0x1af)]({'url':j[B(0x1bf)][B(0x18c)],'headers':b,'cert':c})['then'](g)[B(0x1ae)](h):g({'statusCode':j[B(0x1b2)]||0x1f4,'statusMessage':j[B(0x1bd)]||B(0x19e),'data':k});});});i['on'](C(0x18b),j=>{h(j);}),i['on'](C(0x19d),()=>{const D=C;i['destroy'](),h({'statusCode':0x198,'statusMessage':D(0x196)});});});}static[a159t(0x1b4)]({url:a,headers:b,cert:c,destPath:d,timeout:e}){const E=a159t,f={'Content-Type':'application/octet-stream'};Object['assign'](f,b);const g={'headers':f,'timeout':e?e:TIMEOUT};return c&&Object['assign'](g,{'cert':a159f[E(0x1a6)](c)}),new Promise((h,i)=>{const J=E,j=l=>{const F=a159d;if(l[F(0x1b2)]===0x12e||l[F(0x1b2)]===0x12d){if(!l[F(0x1bf)][F(0x18c)])return i(new Error('Redirected\x20response\x20without\x20Location\x20header'));return this[F(0x1b4)]({'url':l[F(0x1bf)]['location'],'headers':b,'cert':c,'destPath':d})[F(0x1a7)](h)[F(0x1ae)](i);}if(l[F(0x1b2)]&&(l[F(0x1b2)]<0xc8||l[F(0x1b2)]>=0x12c))return i(new Error(F(0x1aa)+l['statusCode']));const m=parseInt(l[F(0x1bf)][F(0x191)],0xa),n=new Progress(m),o=a159f[F(0x19b)](d);l['on'](F(0x195),p=>{const G=F;n[G(0x1a3)](p['length']),o[G(0x1b3)](p);}),l['on'](F(0x18e),()=>{const H=F;o[H(0x18e)](),n[H(0x1bb)]();}),o['on'](F(0x190),()=>{const I=F;o[I(0x1a9)]();}),o['on'](F(0x1a9),h);},k=a159e[J(0x1af)](a,g,j);k['on'](J(0x18b),l=>{i(l);}),k['on']('timeout',()=>{const K=J;k['destroy'](),i({'statusCode':0x198,'statusMessage':K(0x196)});});});}static[a159t(0x1ac)]({url:a,headers:b,cert:c,maxRedirects:maxRedirects=0x5,timeout:d}){const L=a159t,e={'Content-Type':'application/json'};Object[L(0x1b8)](e,b);const f={'method':'HEAD','headers':e,'timeout':d?d:TIMEOUT};return c&&Object[L(0x1b8)](f,{'cert':a159f[L(0x1a6)](c)}),new Promise((g,h)=>{const M=L,i=a159e[M(0x1a5)](a,f,j=>{const N=M;if(j[N(0x1b2)]&&(j['statusCode']>=0xc8&&j[N(0x1b2)]<0x12c))g(!![]);else j[N(0x1b2)]&&(j[N(0x1b2)]>=0x12c&&j['statusCode']<0x190)&&j[N(0x1bf)][N(0x18c)]?maxRedirects<=0x0?g(![]):this['checkAvailability']({'url':new URL(j['headers']['location'],a)[N(0x1ba)](),'headers':b,'cert':c,'maxRedirects':maxRedirects-0x1})['then'](g)[N(0x1ae)](h):g(![]);});i['on'](M(0x18b),j=>{h(j);}),i['on'](M(0x19d),()=>{const O=M;i[O(0x1b1)](),h({'statusCode':0x198,'statusMessage':'Request\x20timeout'});}),i[M(0x18e)]();});}static async[a159t(0x1be)]({prompt:a,openApiKey:b,certPath:c}){const P=a159t,d={'prompt':a,'max_tokens':0x96},e={'Authorization':P(0x19c)+b},f=await this[P(0x1b9)]({'hostname':'api.openai.com','path':'/v1/engines/davinci/completions','data':d,'headers':e,'cert':c});return f;}}function a159c(){const Q=['stringify','finish','content-length','constructor','MAKA_DEV','application/json','data','Request\x20timeout','1870519moGDvQ','2375032VzYtTn','1125vuMaIk','hostname','createWriteStream','Bearer\x20','timeout','BAD\x20RETURN','NODE_TLS_REJECT_UNAUTHORIZED','840CIDUfz','128452IpOfLJ','168793joSBLa','update','No\x20content','request','readFileSync','then','NODE_NO_WARNINGS','close','Request\x20Failed\x20with\x20Status\x20Code:\x20','8nHwbsg','checkAvailability','POST','catch','get','apply','destroy','statusCode','write','downloadFile','586614EEeQVo','length','898848OUgcim','assign','post','toString','complete','pathname','statusMessage','askGPT','headers','search','error','location','env','end'];a159c=function(){return Q;};return a159c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(a,b){var f=a160d,c=a();while(!![]){try{var d=-parseInt(f(0x18c))/0x1*(parseInt(f(0x18e))/0x2)+parseInt(f(0x189))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x195))/0x5+-parseInt(f(0x194))/0x6*(parseInt(f(0x193))/0x7)+-parseInt(f(0x191))/0x8*(parseInt(f(0x187))/0x9)+-parseInt(f(0x188))/0xa*(-parseInt(f(0x190))/0xb)+-parseInt(f(0x18a))/0xc*(-parseInt(f(0x197))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a160c,0x8f96f));var a160b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a160d;if(c){var e=c[g(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a160a=a160b(this,function(){var h=a160d;return a160a[h(0x18d)]()[h(0x196)](h(0x18b))[h(0x18d)]()[h(0x18f)](a160a)[h(0x196)]('(((.+)+)+)+$');});function a160c(){var i=['26ogiYCC','apply','9fCElvT','25930OBNSlV','3ysljco','7533564FqnCgb','(((.+)+)+)+$','480219WFUbLH','toString','4QUjdNH','constructor','2827qAhhyZ','7583432kIYLOP','3070828spAKqc','7133VPXKtu','6528xfRVQJ','4577400nSIYbQ','search'];a160c=function(){return i;};return a160c();}function a160d(a,b){var c=a160c();return a160d=function(d,e){d=d-0x186;var f=c[d];return f;},a160d(a,b);}a160a();export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a161d(a,b){const c=a161c();return a161d=function(d,e){d=d-0x175;let f=c[d];return f;},a161d(a,b);}const a161s=a161d;(function(a,b){const p=a161d,c=a();while(!![]){try{const d=parseInt(p(0x185))/0x1*(-parseInt(p(0x177))/0x2)+-parseInt(p(0x17b))/0x3*(-parseInt(p(0x198))/0x4)+-parseInt(p(0x192))/0x5+-parseInt(p(0x17e))/0x6*(-parseInt(p(0x1b1))/0x7)+-parseInt(p(0x17d))/0x8+parseInt(p(0x178))/0x9+-parseInt(p(0x183))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a161c,0xc3592));import*as a161e from'single-line-log2';import a161f from'cli-color';import a161g from'cli-cursor';function a161c(){const T=['search','values','63KDgFpT','singleLineSuccess','usage','LIGHT','whiteBright','DARK','error','\x20>\x20','38qbYkoG','7254099aoaywk','black','cyan','3723SSlUXU','[--','3073160KHFqhJ','1007952PrpkPz','forEach','Usage:','header','colorMode','4952140qAtmSh','withSpinner','8026hjhKUh','blackBright','setColorMode','(((.+)+)+)+$','show','trim','colors','name','hide','\x0aFor\x20more\x20information,\x20visit\x20https://www.maka-cli.com','bold','warn','\x20-\x20','2932305OYUxpZ','Examples:','stdout','notice','file','majestic','324YktllO','yellow','toString','greenBright','All\x20commands\x20accept\x20the\x20--help\x20or\x20-h\x20flag\x20for\x20more\x20information','success','This\x20command\x20is\x20experimental\x20and\x20may\x20not\x20be\x20fully\x20functional.','constructor','log','readFileSync','hidden','map','object','magenta','boolFlag','Error\x20reading\x20file:\x20','bright','\x0aOptions:','cyanBright','<value>','join','red','description'];a161c=function(){return T;};return a161c();}import a161h from'elegant-spinner';import a161i from'fs';import{camelCase}from'change-case';const check='✔',cross='✘';export var ColorMode;(function(c){const r=a161d,d=(function(){let f=!![];return function(g,h){const i=f?function(){if(h){const j=h['apply'](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){const q=a161d;return e[q(0x19a)]()[q(0x1af)](q(0x188))[q(0x19a)]()[q(0x19f)](e)['search'](q(0x188));});e(),c[c['DARK']=0x0]=r(0x1b6),c[c['LIGHT']=0x1]=r(0x1b4);}(ColorMode||(ColorMode={})));const DarkColors={'success':a161f['greenBright'],'warn':a161f['yellowBright'],'notice':a161f[a161s(0x1aa)],'error':a161f[a161s(0x1ad)][a161s(0x18f)],'header':a161f[a161s(0x186)],'bright':a161f[a161s(0x1b5)],'info':a161f[a161s(0x1aa)],'majestic':a161f['magentaBright']},LightColors={'success':a161f['green'],'warn':a161f[a161s(0x199)],'notice':a161f[a161s(0x17a)],'error':a161f[a161s(0x1ad)],'header':a161f[a161s(0x179)],'bright':a161f[a161s(0x179)],'info':a161f[a161s(0x17a)],'majestic':a161f[a161s(0x1a5)]},formatOptionalOpts=a=>{const t=a161s;return a[t(0x1a3)](b=>{const u=t;if(typeof b===u(0x1a4)){if(b?.[u(0x1a2)])return'';if(b[u(0x1a6)])return u(0x17c)+camelCase(b[u(0x18c)])+']';return u(0x17c)+camelCase(b[u(0x18c)])+'='+(b?.[u(0x1b0)]?b[u(0x1b0)]['join']('|'):u(0x1ab))+']';}return b?u(0x17c)+camelCase(b)+']':'';})[t(0x1ac)]('\x20');},formatRequiredOpts=a=>{const v=a161s;return a[v(0x1a3)](b=>{const w=v;if(typeof b===w(0x1a4)){if(b?.[w(0x1a2)])return'';if(b[w(0x1a6)])return'--'+camelCase(b['name']);return'--'+camelCase(b[w(0x18c)])+'='+(b?.['values']?b[w(0x1b0)]['join']('|'):w(0x1ab));}return'--'+camelCase(b);})[v(0x1ac)]('\x20');};export class Log{static [a161s(0x182)]=ColorMode[a161s(0x1b6)];static get[a161s(0x18b)](){const x=a161s;return Log['colorMode']===ColorMode[x(0x1b6)]?DarkColors:LightColors;}static[a161s(0x187)](a){const y=a161s;Log[y(0x182)]=a;}static[a161s(0x19d)](a){const z=a161s;a&&console[z(0x1a0)](Log[z(0x18b)][z(0x19d)](a));}static[a161s(0x190)](a){const A=a161s;a&&console[A(0x1a0)](Log['colors'][A(0x190)](a));}static[a161s(0x195)](a){const B=a161s;a&&console['log'](Log['colors'][B(0x195)](a));}static['error'](a){const C=a161s;a&&console['log'](Log['colors'][C(0x175)](a));}static[a161s(0x181)](a){const D=a161s;a&&console[D(0x1a0)](Log['colors'][D(0x181)](a));}static['bright'](a){const E=a161s;a&&console['log'](Log[E(0x18b)][E(0x1a8)](a));}static['info'](a){const F=a161s;a&&console[F(0x1a0)](Log[F(0x18b)]['info'](a));}static['majestic'](a){const G=a161s;a&&console[G(0x1a0)](Log[G(0x18b)][G(0x197)](a));}static[a161s(0x1b3)](a,b,c,d,e,f,g){const J=a161s,h=l=>{const H=a161d;return l['filter'](m=>!m[H(0x1a2)])[H(0x1a3)](m=>{const I=H,n=m[I(0x1a6)]?'--'+camelCase(m[I(0x18c)]):'--'+camelCase(m[I(0x18c)])+'='+(m['values']?m['values'][I(0x1ac)]('|'):I(0x1ab)),o=m[I(0x1ae)]?I(0x191)+m['description']:'';return'\x20\x20'+a161f['white'](n)+o;})[H(0x1ac)]('\x0a');},i=a161f[J(0x186)];g&&Log['warn'](J(0x19e));Log[J(0x1a8)](d);b&&b?.['length']>0x0&&(Log[J(0x1a8)](i(J(0x193))),b[J(0x17f)](l=>{const K=J;Log[K(0x1a8)](K(0x176)+l);}));a&&(Log[J(0x181)]('\x0aManual:'),Log['notice']('\x20\x20'+a[J(0x18a)]()));c&&Log[J(0x1a8)]('\x0a'+i(J(0x180))+'\x20'+c+'\x20'+formatRequiredOpts(e)+'\x20'+formatOptionalOpts(f)+'\x0a');const j=[...e,...f],k=j[0x0]&&typeof j[0x0]===J(0x1a4)?h(j):'';k&&(Log['header'](J(0x1a9)),console[J(0x1a0)](k)),Log[J(0x181)](J(0x18e)),Log['header'](J(0x19c));}static[a161s(0x184)](a=''){const L=a161s;a161g[L(0x18d)]();const b=a161h();a161g[L(0x18d)]();let c;return{'start'(d){d&&(a=d),c=setInterval(function(){const M=a161d;a161e[M(0x194)](a161f['cyan'](b())+'\x20'+a);},0x5a);},'success'(d=''){const N=L;clearInterval(c),a161e[N(0x194)](a161f[N(0x19b)](check)+'\x20'+a+'\x20'+d),console[N(0x1a0)](),a161g[N(0x189)]();},'failure'(d=''){const O=L;clearInterval(c),a161e[O(0x194)](a161f[O(0x1ad)]['bold'](cross)+'\x20'+a+'\x20'+d),console[O(0x1a0)](),a161g[O(0x189)]();},'stop'(){const P=L;clearInterval(c),a161g[P(0x189)]();},'update'(d){d&&(a=d);}};}static['singleLine'](a){const Q=a161s;a161e[Q(0x194)](a);}static[a161s(0x1b2)](a){const R=a161s;a161e['stdout'](a161f[R(0x19b)](check)+'\x20'+a);}static[a161s(0x196)](a){const S=a161s;try{const b=a161i[S(0x1a1)](a,'utf8');console['log'](a161f['whiteBright'](b));}catch(c){console['error'](a161f[S(0x1ad)](S(0x1a7)+c['message']));}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a162d(a,b){var c=a162c();return a162d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a162d(a,b);}(function(a,b){var f=a162d,c=a();while(!![]){try{var d=-parseInt(f(0x1d4))/0x1+-parseInt(f(0x1d6))/0x2+parseInt(f(0x1d9))/0x3*(parseInt(f(0x1d2))/0x4)+parseInt(f(0x1d3))/0x5+-parseInt(f(0x1d1))/0x6+-parseInt(f(0x1da))/0x7*(-parseInt(f(0x1cf))/0x8)+parseInt(f(0x1d5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a162c,0x61a71));var a162b=(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;};}()),a162a=a162b(this,function(){var g=a162d;return a162a[g(0x1d8)]()[g(0x1d7)]('(((.+)+)+)+$')[g(0x1d8)]()['constructor'](a162a)['search'](g(0x1d0));});a162a();function a162c(){var h=['(((.+)+)+)+$','3978306OwLFPK','2640628qbHoSP','2536470KMbJMp','370439FQqCnn','1006002TgLUph','1199040ODvAZS','search','toString','3cwIzTL','202937bhDxhr','208AfKPzl'];a162c=function(){return h;};return a162c();}export{};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a163y=a163d;(function(a,b){const u=a163d,c=a();while(!![]){try{const d=-parseInt(u(0x177))/0x1+-parseInt(u(0x144))/0x2*(parseInt(u(0x162))/0x3)+parseInt(u(0x173))/0x4+-parseInt(u(0x1a7))/0x5+-parseInt(u(0x196))/0x6+parseInt(u(0x1b1))/0x7+parseInt(u(0x1ad))/0x8*(parseInt(u(0x1c0))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a163c,0xd81d7));const a163b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a163d;if(c){const e=c[v(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a163a=a163b(this,function(){const w=a163d;return a163a['toString']()[w(0x146)](w(0x14e))[w(0x1ba)]()['constructor'](a163a)['search'](w(0x14e));});a163a();function a163d(a,b){const c=a163c();return a163d=function(d,e){d=d-0x12e;let f=c[d];return f;},a163d(a,b);}import a163e from'path';import a163f from'fs';import a163g from'os';import{execSync}from'child_process';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';function a163c(){const N=['invokeMeteorCommand','getMeteorExePath','appName','ask','meteor.cmd','cordova-build','mongo',',\x20however\x20you\x20are\x20using\x20','success','A\x20mobile-config.js\x20file\x20already\x20exists,\x20overwrite?\x20[yN]','getAvailablePort','login','\x09name:\x20\x27','publish-for-arch','claim','join','symlinkSync','local','invokeMeteorCommand()','show','open','2103042zMnbVX','whoami','list','Consider\x20updating\x20this\x20project,\x20or\x20installing\x20the\x20version\x20of\x20Meteor\x20using\x20\x27maka\x20install\x20meteor\x20--release\x20','\x20in\x20','--mobile-server','linkVersionAsCurrent','lstatSync','instance','utf8','splice','env','--port','string','\x27,\x0a','meteorRelease','findProjectDirectory','1996140UyERUS','length','reset','True','ios','http://127.0.0.1:9999','9083224QuYKUz','getMakaProjectConfig','Error\x20in\x20','App\x20name?\x20[','247184pRktQA','isSymbolicLink','checkForMeteorVersionMismatch()','createWriteStream','readFileSync','--ssl','isFile','apply','concat','toString','includes','statSync','@echo\x20off\x0d\x0a\x22','notice','release','18xMQMWA','MAKA_DEV','Attempting\x20to\x20use\x20','finish','getGlobalMeteorVersion','meteor.bat','authorized','write','getMeteorReleaseVersion','--inspect','maybeProxyCommandToMeteor()','run','});\x0a','fsi','findAppDirectory','platform','indexOf','mobile-config.js','existsSync','pkg','replace','--exclude-archs','plugins','36Snxpqe','Patching\x20ios-sim\x20and\x20cordova','search','\x09version:\x20\x270.0.1\x27,\x0a','meteor','setMeteorReleaseVersion','Meteor','install-sdk','warn','bin','(((.+)+)+)+$','METEOR@','unlinkSync','error','writeFileSync','isMeteorInstalled','Cannot\x20link\x20Meteor\x20','logs','cordova@latest','exit','mkdirSync','\x20is\x20now\x20the\x20active\x20version','setMeteorReleaseVersion()','cfg','\x09id:\x20\x27com.meteor.maka.','dirname','remove','Mobile\x20app\x20configuration\x20written\x20to\x20','realpathSync','getInstance','277446gcfEvf','installNpmPackage','\x20--version','slice','PORT','test-packages','argv','--raw-logs','ios-sim@latest','inherit','confirm','cordova-plugin-meteor-webapp','maybeProxyCommandToMeteor','Meteor\x20release\x20version\x20set\x20to\x20','checkForMeteorVersionMismatch','list-platforms','Meteor\x20','4288136rvzYke','Don\x27t\x20forget\x20these\x20commands:\x20\x0a\x20sudo\x20xcode-select\x20-s\x20/Applications/Xcode.app/Contents/Developer\x20\x0a\x20sudo\x20gem\x20install\x20cocoapods\x20\x0a\x20sudo\x20xcodebuild\x20-license\x20accept\x20\x0a\x20brew\x20install\x20ios-deploy','publish','configure-android','78534HahScH','releases','Could\x20not\x20remove\x20old\x20file\x20','win32','update','App.info({\x0a','trim','add-platform','.meteor','list-sites'];a163c=function(){return N;};return a163c();}import{Actions}from'../actions/actions.class.js';import{MustBeInProjectError}from'../../error.js';const homeDir=a163g['homedir'](),errorHandler=(a,b)=>{const x=a163d;process['env'][x(0x12e)]===x(0x1aa)&&Log['error'](x(0x1af)+a),b&&console[x(0x151)](b);};export class MPI{static [a163y(0x19e)];[a163y(0x13a)];[a163y(0x15b)];[a163y(0x140)];[a163y(0x148)];['meteorRelease'];constructor(a,b,c){const z=a163y;this[z(0x13a)]=a,this['cfg']=b,this[z(0x140)]=c;const d=this[z(0x182)]();this[z(0x1a5)]=this[z(0x135)](),this['meteor']=d;}static[a163y(0x161)](a,b,c){const A=a163y;return!MPI[A(0x19e)]&&(MPI[A(0x19e)]=new MPI(a,b,c)),MPI[A(0x19e)];}[a163y(0x182)](){const B=a163y,a=process[B(0x13c)]===B(0x17a),b=a?'meteor.cmd':B(0x148);return a163e[B(0x190)](homeDir,B(0x17f),B(0x14d),b);}[a163y(0x153)](){const C=a163y;try{const a=this[C(0x182)]();if(!a163f[C(0x13f)](a))return![];const b=a163f[C(0x19d)](a);if(b[C(0x1b2)]()){const c=a163f[C(0x160)](a);return a163f[C(0x13f)](c)&&a163f[C(0x1bc)](c)[C(0x1b7)]();}return b[C(0x1b7)]();}catch(d){return![];}}[a163y(0x149)](a){const D=a163y;try{const b=a163e['join'](homeDir,D(0x17f),'VERSION'),c=a163e[D(0x15d)](b);!a163f['existsSync'](c)&&a163f[D(0x158)](c,{'recursive':!![]}),a163f[D(0x152)](b,a,D(0x19f)),Log[D(0x189)](D(0x16f)+a+D(0x19a)+b);}catch(d){errorHandler(D(0x15a),d),process[D(0x157)](0x1);}}[a163y(0x135)](){const E=a163y;try{const a=a163e[E(0x190)](homeDir,E(0x17f),'VERSION');if(a163f[E(0x13f)](a)){const b=a163f[E(0x1b5)](a,E(0x19f))[E(0x17d)]();return b;}else return null;}catch(c){return errorHandler('getMeteorReleaseVersion()',c),null;}}async[a163y(0x131)](){const F=a163y;let a=this[F(0x135)]()||'0.0.0';try{a=execSync(this[F(0x148)]+F(0x164),{'stdio':'ignore','cwd':this['fsi'][F(0x13b)](),'env':{...process[F(0x1a1)],'HTTP_PROXY':F(0x1ac),'HTTPS_PROXY':F(0x1ac)}})['toString']()[F(0x141)](F(0x14a),'')['trim']();}catch(c){}const b=a['split']('.')[F(0x1a8)];return b<0x3&&(a=a+'.0'),a;}[a163y(0x170)](){const G=a163y;try{const a=this[G(0x13a)][G(0x13b)](),b=a163e[G(0x190)](a,G(0x17f),G(0x1bf));if(!a163f['existsSync'](b))return![];const c=a163f[G(0x1b5)](b,G(0x19f))[G(0x17d)](),d=this[G(0x135)]();return c!==d;}catch(f){return errorHandler(G(0x1b3),f),![];}}async[a163y(0x16e)](){const H=a163y;try{const a=[H(0x195),'npm',H(0x138),H(0x17b),'add',H(0x15e),H(0x198),H(0x17e),H(0x14b),'remove-platform',H(0x171),H(0x176),'build','shell',H(0x187),H(0x1a9),H(0x155),H(0x133),H(0x18f),H(0x18c),'logout',H(0x197),H(0x167),'admin',H(0x180),'publish-release',H(0x175),H(0x18e),H(0x146),H(0x194),'node'],b=process[H(0x168)][H(0x165)](0x2),c=b[0x0],d=b[H(0x165)](0x1);if(!a['includes'](c)){Log[H(0x151)]('Command\x20not\x20found');throw Log['error']('Run\x20\x22maka\x20--help\x22\x20for\x20a\x20list\x20of\x20commands');}if(c==='add-platform'){const f=this['fsi'][H(0x13b)](),g=this[H(0x15b)][H(0x1ae)]();if(!g)throw MustBeInProjectError;const h=a163e['join'](f,H(0x13e));let i=![];a163f[H(0x13f)](h)&&(i=await Actions[H(0x16c)](H(0x18a),![]));if(typeof f===H(0x1a3)){const j=this[H(0x13a)][H(0x1b7)](h);if(!j||i){const k=await Actions[H(0x184)](H(0x1b0)+g[H(0x183)]+']')||g[H(0x183)],l=a163f[H(0x1b4)](h,{'flags':'w'});l['on']('open',function(){const I=H;l[I(0x134)]('//\x20For\x20more\x20information\x20on\x20mobile\x20config,\x20visit:\x0a'),l[I(0x134)]('//\x20https://docs.meteor.com/api/mobile-config.html\x0a'),l[I(0x134)](I(0x17c)),l[I(0x134)](I(0x15c)+pascalCase(g[I(0x183)])+I(0x1a4)),l[I(0x134)](I(0x18d)+k+I(0x1a4)),l['write'](I(0x147)),l[I(0x134)](I(0x139)),l['end']();}),l['on'](H(0x130),function(){const J=H;Log[J(0x189)](J(0x15f)+h);});}else Log['warn']('A\x20mobile-config.js\x20already\x20exists,\x20not\x20over\x20writing');}if(d[0x0]===H(0x1ab)){const m=this[H(0x13a)][H(0x1a6)]();if(typeof m===H(0x1a3)){await this[H(0x181)](c,d);const n=a163e['join'](m,'app',H(0x17f),H(0x192),H(0x186),H(0x143),H(0x16d));if(n){const o=[H(0x16a),H(0x156)];await this['pkg'][H(0x163)](o['join']('\x20'),{'cwd':f,'saveDev':!![],'msg':H(0x145)}),Log[H(0x1be)](H(0x174));}}process[H(0x157)](0x0);}}await this[H(0x181)](c,d),process[H(0x157)](0x0);}catch(p){errorHandler(H(0x137),p),process['exit'](0x1);}}['getInstalledMeteorVersion'](a){const K=a163y,b=process['platform']===K(0x17a),c=b?K(0x132):K(0x148);return a163e['join'](homeDir,K(0x17f),'releases',a,K(0x17f),c);}[a163y(0x19c)](a){const L=a163y,b=process[L(0x13c)]==='win32',c=a163e[L(0x190)](homeDir,L(0x17f),L(0x178)),d=a163e[L(0x190)](homeDir,'.meteor',L(0x14d)),e=a163e[L(0x190)](c,a,L(0x17f),b?L(0x132):L(0x148)),f=a163e[L(0x190)](d,b?L(0x185):L(0x148)),g=a163e[L(0x190)](homeDir,'.meteor',b?L(0x132):L(0x148));if(!a163f[L(0x13f)](e))throw new Error(L(0x154)+a+':\x20Target\x20binary\x20not\x20found\x20at\x20'+e);a163f[L(0x158)](d,{'recursive':!![]});for(const h of[f,g]){try{a163f[L(0x13f)](h)&&a163f[L(0x150)](h);}catch(i){if(i['code']!=='ENOENT')Log[L(0x14c)](L(0x179)+h+':\x20'+i['message']);}}if(b){const j=L(0x1bd)+e+'\x22\x20%*\x0d\x0a';a163f['writeFileSync'](f,j,{'mode':0x1ed}),a163f[L(0x152)](g,j,{'mode':0x1ed});}else a163f['symlinkSync'](e,f),a163f[L(0x191)](e,g);this[L(0x149)](a),Log[L(0x189)](L(0x172)+a+L(0x159));}async[a163y(0x181)](a,b){const M=a163y;try{const c=this[M(0x13a)]['findProjectDirectory']();if(!c)throw new MustBeInProjectError();if(a==='run'){const f=b[M(0x13d)]('-p');f>0x0&&(b[f]=M(0x1a2));const g=b['indexOf'](M(0x1a2));if(f>0x0){let m=parseInt(b[f+0x1],0xa);m=await this[M(0x13a)][M(0x18b)](m),b[f+0x1]=m['toString']();}else{if(g>0x0){let n=parseInt(b[g+0x1],0xa);n=await this[M(0x13a)][M(0x18b)](n),b[g+0x1]=n[M(0x1ba)]();}else{let o=parseInt('3000',0xa);o=await this['fsi'][M(0x18b)](o),b=b[M(0x1b9)]([M(0x1a2),o[M(0x1ba)]()]);}}const h=b[M(0x13d)]('-r');h>0x0&&(b[h]=M(0x169));const i=b[M(0x13d)]('-i');i>0x0&&(b[i]=M(0x136));const j=b['indexOf']('-x');j>0x0&&(b[j]=M(0x142));const k=b[M(0x13d)]('-m');k>0x0&&(b[k]=M(0x19b));const l=b[M(0x13d)](M(0x1b6));l>0x0&&b[M(0x1a0)](l,0x1),process['env'][M(0x166)]&&!b[M(0x1bb)](M(0x1a2))&&(b=b['concat']([M(0x1a2),process[M(0x1a1)][M(0x166)]])),process[M(0x1a1)]['BIND_IP']&&!b[M(0x1bb)](M(0x1a2))&&(b=b['concat']([M(0x1a2),process[M(0x1a1)]['BIND_IP']]));}const d=[a][M(0x1b9)](b);if(this[M(0x170)]()){const p=this[M(0x13a)][M(0x13b)](),q=a163f['readFileSync'](a163e[M(0x190)](p,'.meteor',M(0x1bf)),M(0x19f))[M(0x141)](M(0x14f),'')[M(0x17d)](),r=this[M(0x135)]();try{Log['notice'](M(0x12f)+q),this[M(0x19c)](q);}catch(s){Log[M(0x151)]('This\x20project\x27s\x20version\x20is\x20at\x20'+q+M(0x188)+r+'.'),Log[M(0x1be)](M(0x199)+q+'\x27'),process[M(0x157)](0x0);}}a==='publish'?execSync(this[M(0x148)]+'\x20'+d[M(0x190)]('\x20'),{'stdio':M(0x16b)}):execSync(this[M(0x148)]+'\x20'+d[M(0x190)]('\x20'),{'stdio':'inherit','cwd':this[M(0x13a)]['findAppDirectory']()});}catch(t){errorHandler(M(0x193),t),process[M(0x157)](0x1);}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a164i=a164d;(function(a,b){const g=a164d,c=a();while(!![]){try{const d=-parseInt(g(0x154))/0x1+parseInt(g(0x144))/0x2+parseInt(g(0x149))/0x3+-parseInt(g(0x14a))/0x4+-parseInt(g(0x14c))/0x5*(parseInt(g(0x138))/0x6)+-parseInt(g(0x13c))/0x7*(-parseInt(g(0x145))/0x8)+parseInt(g(0x150))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a164c,0x4fe79));const a164b=(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;};}()),a164a=a164b(this,function(){const h=a164d;return a164a['toString']()[h(0x141)](h(0x143))[h(0x14e)]()['constructor'](a164a)['search'](h(0x143));});a164a();import{Actions}from'../actions/actions.class.js';function a164d(a,b){const c=a164c();return a164d=function(d,e){d=d-0x138;let f=c[d];return f;},a164d(a,b);}export class OptionHandler{[a164i(0x13a)];[a164i(0x14d)];[a164i(0x151)];[a164i(0x13d)];constructor(){const j=a164i;this[j(0x13a)]=[],this[j(0x14d)]={},this[j(0x151)]=[],this[j(0x13d)]=[];}async[a164i(0x142)](a,b,c){const k=a164i;this[k(0x13a)]=a,this[k(0x151)]=b,this['validOpts']=c,await this[k(0x13b)](),await this['handleValidOptions']();}async[a164i(0x13b)](){const l=a164i;if(this['requiredOpts']?.['length']>0x0)for(const a of this['requiredOpts']){let b=!![];const {name:c,values:d}=typeof a===l(0x13f)?{'name':a,'values':undefined}:a;if(!this[l(0x13a)]['includes'](c)){const e=d?await Actions[l(0x152)]({'name':c,'message':l(0x140)+c,'choices':d[l(0x153)](f=>({'name':f,'value':f}))}):await Actions[l(0x147)](l(0x146)+c);this[l(0x14d)][c]=e,b=d?d['includes'](this['opts'][c]):!![];}else b=d?d[l(0x139)](this[l(0x14d)][c]):!![];if(!b)throw new Error(l(0x14f)+c+':\x20'+this[l(0x14d)][c]);}}async[a164i(0x13e)](){const m=a164i;if(this[m(0x13d)]?.['length']>0x0)for(const a of this[m(0x13d)]){const {name:b,values:c}=typeof a==='string'?{'name':a,'values':undefined}:a,d=this['opts'][b];if(d!==undefined&&(!c||!c[m(0x139)](d))){const e=c?await Actions[m(0x152)]({'name':b,'message':m(0x14b)+b,'choices':c['map'](f=>({'name':f,'value':f}))}):await Actions[m(0x147)](m(0x148)+b);this[m(0x14d)][b]=e;}}}}function a164c(){const n=['search','handleOptions','(((.+)+)+)+$','367066tsucMs','8idinIZ','Please\x20provide\x20a\x20value\x20for\x20','ask','Please\x20provide\x20a\x20valid\x20value\x20for\x20','1615437gSzRvg','1317260SPeXto','Please\x20choose\x20a\x20valid\x20value\x20for\x20','213845xmmCLV','opts','toString','Invalid\x20value\x20for\x20','3912957omkkOx','requiredOpts','select','map','204574WwJgDc','66vdlYjG','includes','inputOpts','handleRequiredOptions','1223964qyrNNJ','validOpts','handleValidOptions','string','Please\x20choose\x20a\x20value\x20for\x20'];a164c=function(){return n;};return a164c();}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a165q=a165d;(function(a,b){const m=a165d,c=a();while(!![]){try{const d=parseInt(m(0x1e6))/0x1+parseInt(m(0x1d0))/0x2*(parseInt(m(0x1df))/0x3)+parseInt(m(0x1e0))/0x4+parseInt(m(0x1cb))/0x5+parseInt(m(0x1ef))/0x6+parseInt(m(0x1d6))/0x7*(parseInt(m(0x1d5))/0x8)+-parseInt(m(0x213))/0x9*(parseInt(m(0x1f6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a165c,0xc72cd));const a165b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a165d;if(c){const e=c[n(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a165a=a165b(this,function(){const o=a165d;return a165a[o(0x1c5)]()[o(0x1d8)](o(0x1f1))[o(0x1c5)]()[o(0x1da)](a165a)['search'](o(0x1f1));});a165a();import a165e from'path';import a165f from'fs';import{exec}from'child_process';import{Log}from'../log/log.class.js';import{SpawnAsync}from'../spawn-async/spawn-async.class.js';function a165c(){const E=['All\x20dependencies\x20are\x20installed.','indexOf','join','setupNpm','4080609tNJkag','keys','meteorCommand','appendFileSync','success','error','split','Error\x20in\x20','cwd','removeMeteorPackage','toString','Installing\x20','install','string','package.json','Missing\x20dependencies\x20detected:\x20','7212340gjvcYl','installNpmPackage','failure','filter','Cannot\x20find\x20your\x20node_modules\x20folder.','1814242QVoasR','checkMeteorPackage()','npm\x20i\x20--save\x20-q\x20','utf-8','exit','56exqCKL','464226kPSApg','shouldInstall','search','devDependencies','constructor','\x20remove\x20','\x20from.','.\x20Installing...','Could\x20not\x20install\x20npm\x20dependencies','3qSVErY','734300dhsJCI','findAppDirectory','isSelfTest','setupNpm()','dependencies','Installing\x20npm\x20dependencies','1503193cXyjFD','fsi','ensureAllDependenciesInstalled','True','instance','readFileSync','warn','checkNpmPackage()','meteor','2375082XqFalV','parse','(((.+)+)+)+$','\x20add\x20','withSpinner','npm\x20packages','.meteor','90LrRzAQ','Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20meteor\x20package\x20','start','app','saveDev','npm','apply','node_modules','length','npm\x20i\x20--save-dev\x20-q\x20','checkNpmPackage','installMeteorPackage','msg','isDirectory','\x20into.','push','stringify','message','\x20is/are\x20present.','existsSync','packages','includes','developer\x20','Installing\x20meteor\x20packages','\x20--allow-incompatible-update'];a165c=function(){return E;};return a165c();}const errorHandler=(a,b)=>{const p=a165d;process['env']['MAKA_DEV']===p(0x1e9)&&Log[p(0x218)](p(0x1c2)+a),b&&console[p(0x218)](b);};function a165d(a,b){const c=a165c();return a165d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a165d(a,b);}export class PKG{static [a165q(0x1ea)];[a165q(0x1e7)];['meteor'];constructor(a){const r=a165q;this[r(0x1e7)]=a,this['meteor']=a[r(0x215)]();}static['getInstance'](a){const s=a165q;return!PKG[s(0x1ea)]&&(PKG[s(0x1ea)]=new PKG(a)),PKG[s(0x1ea)];}[a165q(0x201)](a,b){return new Promise((c,d)=>{const t=a165d;b=b||{},b[t(0x1c3)]=b['cwd']||this[t(0x1e7)][t(0x1e1)]();if(!b[t(0x1e2)]){const f=Log[t(0x1f3)](),g=this[t(0x1e7)][t(0x1e1)](b[t(0x1c3)]);if(!g)Log[t(0x218)](t(0x1f7)+JSON['stringify'](a)+t(0x204)),d();else try{if(a[t(0x1c1)]('\x20')['length']>0x1){const h=a[t(0x1c1)]('\x20');for(const i of h){const j=this[t(0x1e7)][t(0x1e1)](b['cwd']),k=a165f['readFileSync'](a165e[t(0x211)](j,t(0x1f5),t(0x20a)),'utf8');k[t(0x210)](i[t(0x1c1)]('@')[0x0])===-0x1&&a165f[t(0x216)](a165e[t(0x211)](j,t(0x1f5),'packages'),i+'\x0a');}}f[t(0x1f8)](t(0x20d)),exec(this['meteor']+t(0x1f2)+a+t(0x20e),{'cwd':g},l=>{const u=t;l&&(Log[u(0x218)]('\x0a'+l[u(0x207)]),d(),process[u(0x1d4)](0x1)),f[u(0x217)](),c();});}catch(l){Log[t(0x218)](l),f[t(0x1cd)](),d();}}});}[a165q(0x1c4)](a,b){return new Promise((c,d)=>{const v=a165d;b=b||{},b[v(0x1c3)]=b[v(0x1c3)]||'.';if(!b['isSelfTest']){const f=this[v(0x1e7)]['findAppDirectory'](b[v(0x1c3)]);if(!f)Log[v(0x218)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20remove\x20meteor\x20package\x20'+JSON[v(0x206)](a)+v(0x1dc)),d();else{const g=Log['withSpinner']();try{g['start']('Removing\x20insecure\x20meteor\x20packages'),exec(this[v(0x1ee)]+v(0x1db)+a,{'cwd':f},h=>{const w=v;h&&(Log[w(0x218)]('\x0a'+h[w(0x207)]),d(),process[w(0x1d4)](0x1)),g['success'](),c();});}catch(h){Log[v(0x218)](h),g['failure'](),d();}}}});}async['checkMeteorPackage'](a,b){const x=a165q;try{const c=this[x(0x1e7)][x(0x1e1)]();if(!c)return Log[x(0x218)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20check\x20for\x20Meteor\x20package(s)\x20'+JSON[x(0x206)](a)+x(0x208)),![];const d=a165f[x(0x1eb)](a165e[x(0x211)](c,x(0x1f5),x(0x20a)),x(0x1d3))[x(0x1c1)]('\x0a')[x(0x1ce)](Boolean);typeof a===x(0x1c8)&&(a=[a]);const f=[];for(const g of a){const h=d[x(0x20b)](g);!h&&f['push'](g);}if(b[x(0x1d7)]&&f[x(0x1fe)]>0x0){const i=f[x(0x211)]('\x20');await this[x(0x201)](i,b);}return f[x(0x1fe)]===0x0;}catch(j){errorHandler(x(0x1d1),j),process[x(0x1d4)](0x1);}}async[a165q(0x212)](a){const y=a165q;try{const b=this[y(0x1e7)]['findAppDirectory'](a[y(0x1c3)]);if(!b)Log['error']('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20initalize\x20npm.');else{const c=this[y(0x1e7)]['isDirectory'](a165e[y(0x211)](b,y(0x1fd)));!c&&(Log[y(0x1ec)](y(0x1cf)),await SpawnAsync[y(0x1f3)](this[y(0x1ee)],[y(0x1fb),y(0x1c7)],{'cwd':b,'message':y(0x1e5)}));const d=this[y(0x1e7)][y(0x203)](a165e['join'](b,'node_modules'));if(!d)throw Log[y(0x218)](y(0x1de));}}catch(f){errorHandler(y(0x1e3),f),process[y(0x1d4)](0x1);}}async[a165q(0x200)](a,b){const z=a165q;try{b=b||{};if(b[z(0x1e2)])return![];const c=b[z(0x1c3)]?b[z(0x1c3)]:this[z(0x1e7)][z(0x1e1)]();if(!c)return Log[z(0x218)]('Couldn\x27t\x20find\x20a\x20directory\x20to\x20check\x20for\x20NPM\x20package(s)\x20'+JSON['stringify'](a)+'\x20is/are\x20present.'),![];const d=JSON[z(0x1f0)](a165f['readFileSync'](a165e[z(0x211)](c,z(0x1c9)))[z(0x1c5)]());!d[z(0x1e4)]&&(d[z(0x1e4)]={});!d[z(0x1d9)]&&(d[z(0x1d9)]={});const f=[];typeof a==='string'&&(a=[a]);for(const g of a){const h=d[z(0x1e4)][g]||d['devDependencies'][g];!h&&f['push'](g);}if(b[z(0x1d7)]&&f[z(0x1fe)]>0x0){await this['installNpmPackage'](f[z(0x211)]('\x20'),b);const i=JSON[z(0x1f0)](a165f[z(0x1eb)](a165e[z(0x211)](c,z(0x1c9)))[z(0x1c5)]());for(const j of f){if(!(i['dependencies'][j]||i[z(0x1d9)][j]))return![];}}return f['length']===0x0;}catch(k){errorHandler(z(0x1ed),k),process[z(0x1d4)](0x1);}}async[a165q(0x1e8)](){const A=a165q;try{const a=this['fsi'][A(0x1e1)]();if(!a){Log['error']('Couldn\x27t\x20find\x20an\x20app\x20directory.');return;}const b=a165f[A(0x209)](a165e[A(0x211)](a,A(0x1fd)));if(!b){const g=process[A(0x1c3)]();await this[A(0x212)]({'cwd':a165e[A(0x211)](g,A(0x1f9))});}const c=JSON[A(0x1f0)](a165f[A(0x1eb)](a165e[A(0x211)](a,A(0x1c9)))[A(0x1c5)]()),d=Object[A(0x214)]({...c[A(0x1e4)],...c[A(0x1d9)]}),f=[];for(const h of d){!a165f['existsSync'](a165e[A(0x211)](a,A(0x1fd),h))&&f[A(0x205)](h);}f[A(0x1fe)]>0x0?(Log[A(0x1ec)](A(0x1ca)+f[A(0x211)](',\x20')+A(0x1dd)),await this[A(0x1cc)](f[A(0x211)]('\x20'),{'shouldInstall':!![]})):Log[A(0x217)](A(0x20f));}catch(i){errorHandler('ensureAllDependenciesInstalled()',i),process[A(0x1d4)](0x1);}}[a165q(0x1cc)](a,b){return new Promise((c,d)=>{const B=a165d;b=b||{},b[B(0x1c3)]=b[B(0x1c3)]||this[B(0x1e7)][B(0x1e1)]();const f=b[B(0x202)]?b['msg']:B(0x1c6)+(b[B(0x1fa)]?B(0x20c):'')+B(0x1f4);if(!b[B(0x1e2)]){const g=this['fsi'][B(0x1e1)](b['cwd']);if(!g)Log[B(0x218)]('Couldn\x27t\x20find\x20an\x20app\x20directory\x20to\x20install\x20NPM\x20package\x20'+JSON[B(0x206)](a)+B(0x204)),d();else{const h=Log[B(0x1f3)](),i=b['cwd']?b['cwd']:g;try{b[B(0x1fa)]?(h[B(0x1f8)](f),exec(B(0x1ff)+a,{'cwd':i},j=>{const C=B;j&&(Log['error']('\x0a'+j['message']),d(),process['exit'](0x1)),h[C(0x217)](),c();})):(h[B(0x1f8)](f),exec(B(0x1d2)+a,{'cwd':i},j=>{const D=B;j&&(Log['error']('\x0a'+j[D(0x207)]),d(),process[D(0x1d4)](0x1)),h[D(0x217)](),c();}));}catch(j){Log[B(0x218)](j),d();}}}});}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const a166i=a166d;(function(a,b){const f=a166d,c=a();while(!![]){try{const d=parseInt(f(0xc9))/0x1*(-parseInt(f(0xbf))/0x2)+parseInt(f(0xc4))/0x3+parseInt(f(0xd1))/0x4*(parseInt(f(0xd3))/0x5)+-parseInt(f(0xd5))/0x6+-parseInt(f(0xd4))/0x7*(-parseInt(f(0xc5))/0x8)+-parseInt(f(0xc7))/0x9+parseInt(f(0xd8))/0xa*(-parseInt(f(0xd0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a166c,0xebd35));function a166d(a,b){const c=a166c();return a166d=function(d,e){d=d-0xbd;let f=c[d];return f;},a166d(a,b);}function a166c(){const n=['singleLine','130oetKbH','colors','success','apply','platform','toString','(((.+)+)+)+$','238bOMHUa','total',':\x20[','update','repeat','4097199bqfRhB','12304416RPnPCz','draw','4639680ayTLbd','graphic','380EuaYJj','constructor','dlMessage','round','Downloading','lastLoggedProgress','min','41789YPzByW','267620rUAnsM','current','35nKwQLh','7lcsTCv','10776312LxnSlG','width'];a166c=function(){return n;};return a166c();}const a166b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a166d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a166a=a166b(this,function(){const h=a166d;return a166a['toString']()['search']('(((.+)+)+)+$')[h(0xbd)]()[h(0xca)](a166a)['search'](h(0xbe));});a166a();import{Log}from'../log/log.class.js';const isWin=process[a166i(0xdc)]==='win32',downArrow=isWin?'<':'↓';export class Progress{[a166i(0xc0)];[a166i(0xd2)];[a166i(0xd6)];[a166i(0xce)];[a166i(0xcb)];[a166i(0xc8)];constructor(a,b=a166i(0xcd),c=downArrow){const j=a166i;this[j(0xc0)]=a,this[j(0xd2)]=0x0,this[j(0xd6)]=0x28,this[j(0xce)]=0x0,this['dlMessage']=b,this[j(0xc8)]=Log[j(0xd9)]['majestic'](c);}[a166i(0xc2)](a){const k=a166i;this[k(0xd2)]+=a,this[k(0xc6)]();}['complete'](){const l=a166i;this[l(0xd2)]=this['total'],this[l(0xc6)](),Log['singleLineSuccess']('');}[a166i(0xc6)](){const m=a166i,a=Math[m(0xcf)](0x64,Math[m(0xcc)](this['current']/this['total']*0x64));if(a!==this[m(0xce)]){this[m(0xce)]=a;const b=Math[m(0xcc)](a/0x64*this['width']),c=this[m(0xd6)]-b,d=''+Log['colors'][m(0xda)]('█')[m(0xc3)](b)+'░'[m(0xc3)](c),e=this[m(0xc8)]+'\x20'+this[m(0xcb)]+m(0xc1)+d+']\x20'+a+'%';Log[m(0xd7)](e);}}}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function a167d(a,b){const c=a167c();return a167d=function(d,e){d=d-0x166;let f=c[d];return f;},a167d(a,b);}const a167z=a167d;(function(a,b){const v=a167d,c=a();while(!![]){try{const d=-parseInt(v(0x1f0))/0x1*(parseInt(v(0x1a5))/0x2)+parseInt(v(0x1a1))/0x3+-parseInt(v(0x1b8))/0x4*(parseInt(v(0x199))/0x5)+parseInt(v(0x1b5))/0x6+parseInt(v(0x1dc))/0x7*(parseInt(v(0x19a))/0x8)+-parseInt(v(0x171))/0x9*(parseInt(v(0x182))/0xa)+parseInt(v(0x16e))/0xb*(-parseInt(v(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a167c,0xefacd));const a167b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a167d;if(c){const e=c[w(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a167a=a167b(this,function(){const x=a167d;return a167a[x(0x194)]()[x(0x197)](x(0x16f))[x(0x194)]()[x(0x18a)](a167a)['search'](x(0x16f));});a167a();import a167e from'path';import a167f from'fs';import a167g from'util';import{exec}from'child_process';function a167c(){const a7=['144qgKvaU','\x20doesn\x27t\x20exist','reduce','\x20from\x20\x27','readFileSync','imports','trim','pop','\x20->','isTemplateForEngine','\x5cS*$','\x20updated\x20file\x20','split','writeSourcePath','injectAtBeginningOfFile()','injectImport()','startsWith','78830QAffHE','\x20}\x20from\x20\x27','error','injectAtEndOfFile','png','.js','--minimal','sep','constructor','.js.jsx','No\x20pathParts\x20option\x20provided','from\x20\x27','templates.js','injectTemplateModule','header','ico','replace','pathFromTemplates','toString','injectAroundString','platform','search','keys','55XNMawW','4970200pAsJqV','fileContainsString','yaml','pathFromApp','rewriteSourcePathForEngine','getInstance','engine','3055860CCRkNz','injectAtEndOfFile()','injectImport','Creating\x20a\x20new\x20Meteor\x20project\x20with\x20an\x20alpha\x20release:\x20','4174mCxZGR','cwd','stringify','engines','tsx','startup','rewriteDestinationPathForEngine','apply','template()','isDirectory','exit','message','none','createFile','injectIntoFile()','templateContent','7040802GDtQJq','filter','Couldn\x27t\x20find\x20a\x20source\x20template\x20in\x20','528668UlMIml','injectIntoCodeBlock','writeFileSync','MAKA_COMMAND_PATH','MAKA_DEV','json','concat','slice','repeat','File\x20not\x20found:\x20','No\x20file\x20found\x20at\x20path\x20','Meteor\x20project\x20already\x20exists\x20at\x20','instance','rewriteDestinationPathForType','pathFromAppWithNoReWrite()','forEach','No\x20file\x20found\x20to\x20inject\x20content\x20into\x20at\x20path\x20','Looking\x20for\x20','Dockerfile','rewriteSourcePathForEngine()','No\x20configuration\x20so\x20can\x27t\x20determine\x20engines.','push','join','fsi','utf8','map','base64','type','204TNCrMG','from','isArray','calculateMode','.js.tsx','mpi','injectAtBeginningOfFile','.jsx','14wvqtoq','includes','isFile','import\x20{\x20','injectAroundString()','length','template','engineAndTypeFromfilePath()','Directory\x20','lib','.tsx','html','[\x5cs\x5cS]*?)(','.meteor','some','Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content.','existsSync','findAppDirectory','injectTemplateModule()','splice','137DOeaLx','verbose','injectAfterLineNumber','createEmptyMeteorProject','\x20from','relative','rewriteDestinationPathForType()','normalize','alpha','css','engineAndTypeFromfilePath','injectAfterLineNumber()','less','copyTemplateDirectory','While\x20injecting\x20','pathFromAppWithNoReWrite','indexOf','render','\x27;\x0a','env','getCommonIndentSize','meteor','endsWith','injectIntoFile','adjustIndentation','match','release','No\x20filePath\x20provided\x20to\x20injectAtBeginningOfFile()','jsx','noRename','readdirSync','379852DAkkNC','(((.+)+)+)+$','import\x20'];a167c=function(){return a7;};return a167c();}import a167h from'delete';import a167i from'ejs';import{pascalCase}from'change-case';import{Log}from'../log/log.class.js';const errorHandler=(a,b)=>{const y=a167d;process[y(0x203)][y(0x1bc)]==='True'&&Log['error']('Error\x20in\x20'+a),b&&console['error'](b);},isWin=process[a167z(0x196)]==='win32',treeSymbol=isWin?a167z(0x179):'\x20┗';export class Scaffold{static [a167z(0x1c4)];['fsi'];['mpi'];constructor(a,b){const A=a167z;this[A(0x1cf)]=a,this[A(0x1d9)]=b;}static[a167z(0x19f)](a,b){const B=a167z;return!Scaffold['instance']&&(Scaffold['instance']=new Scaffold(a,b)),Scaffold[B(0x1c4)];}async[a167z(0x1f3)](a,b){const C=a167z;b[C(0x1a6)]=b[C(0x1a6)]||'.';const c=a167e[C(0x1ce)](b[C(0x1a6)],a),d=a167e['join'](c,'.meteor');if(this[C(0x1cf)][C(0x1ae)](d))throw new Error(C(0x1c3)+JSON[C(0x1a7)](c));const e=C(0x188),f=a167e['join'](b['cwd']),g=a167g['promisify'](exec),h=b[C(0x169)]?'--release\x20'+b[C(0x169)]:'';b[C(0x169)]&&b[C(0x169)]['includes'](C(0x1f8))&&(Log['warn'](C(0x1a4)+b[C(0x169)]),Log['warn']('Please\x20report\x20any\x20issues\x20to\x20https://github.com/maka-io/maka-cli/issues'));try{await g(this[C(0x1d9)]['meteor']+'\x20create\x20'+a+'\x20'+e+'\x20'+h,{'cwd':f});}catch(k){Log[C(0x184)]('\x0a'+k[C(0x1b0)]);throw k;}const i=a167e[C(0x1ce)](f,a);if(!a167f[C(0x1ec)](i))throw new Error(C(0x1e4)+i+C(0x172));const j=a167f[C(0x16d)](i);for(const l of j){if(l!=='.git'&&l!==C(0x1e9)){const m=a167e[C(0x1ce)](i,l);await a167h(m,{'force':!![]});}}}[a167z(0x1fa)]({filePath:a}){const D=a167z;try{const b=/\.([A-Za-z0-9.]+)$/g;let c=a['match'](b);c=c&&c[0x0][D(0x17d)]('.',0x3);if(!c)return{'type':undefined,'engine':undefined};let d=c[D(0x178)](),f=c[D(0x178)]()||d;if(d)d=d['replace']('.','');if(f)f=f[D(0x192)]('.','');return{'type':f,'engine':d};}catch(g){errorHandler(D(0x1e3),g),process[D(0x1af)](0x1);}}['rewriteDestinationPathForType']({pathParts:a,config:b}){const E=a167z;try{const c=a[E(0x1ce)](a167e[E(0x189)]),d=this['engineAndTypeFromfilePath']({'filePath':c})[E(0x1d3)],f=b?.['engines'][d],g=new RegExp('\x5c.'+d+E(0x17b));return!d||!f?c:c['replace'](g,'.'+d);}catch(h){errorHandler(E(0x1f6),h),process[E(0x1af)](0x1);}}['isTemplateForEngine']({pathParts:a,config:b}){const F=a167z;try{if(!b)throw new Error(F(0x1cc));const c=a[F(0x1ce)](a167e[F(0x189)]),d=this[F(0x1fa)]({'filePath':c});if(!d[F(0x1d3)]||!d[F(0x1a0)])return!![];const f=b[F(0x1a8)][d[F(0x1d3)]];if(!f)return!![];return f===d[F(0x1a0)];}catch(g){errorHandler('isTemplateForEngine()',g),process['exit'](0x1);}}[a167z(0x17e)]({pathParts:pathParts=[]}){const G=a167z;return pathParts[G(0x1ce)](a167e[G(0x189)]);}[a167z(0x1ab)]({pathParts:pathParts=[],config:a}){const H=a167z;try{const b=pathParts[H(0x1ce)](a167e[H(0x189)]),c=this['engineAndTypeFromfilePath']({'filePath':b})[H(0x1d3)],d=a?.[H(0x1a8)][c],f=new RegExp('\x5c.'+c+H(0x17b));return!c||!d?b:b['replace'](f,'.'+d);}catch(g){errorHandler('rewriteDestinationPathForEngine()',g),process[H(0x1af)](0x1);}}[a167z(0x19e)]({pathParts:pathParts=[],framework:framework=a167z(0x205),config:a}){const I=a167z;try{const b=a167e[I(0x1f7)](pathParts['join'](a167e[I(0x189)]));if(!b[I(0x206)](I(0x187)))return b;const c='js';if(!a?.['engines']||!a?.[I(0x1a8)][c])return b;const d=a[I(0x1a8)][c],f=d===I(0x1a9)?[I(0x1d8),'.js.ts',I(0x187)]:[I(0x18b),I(0x187)];for(const g of f){const h=b[I(0x192)](/\.js$/,g),i=a167e[I(0x1ce)]('templates',framework,h),j=a167e[I(0x1f7)](a167e[I(0x1ce)](global[I(0x1bb)],i));if(a167f[I(0x1ec)](j))return h;}return b;}catch(k){errorHandler(I(0x1cb),k),process[I(0x1af)](0x1);}}[a167z(0x193)]({pathParts:a,framework:framework=a167z(0x205),config:b}){const J=a167z;try{const c=this[J(0x19e)]({'pathParts':a,'framework':framework,'config':b}),d=a167e[J(0x1ce)]('src/templates/'+framework,c),f=a167e[J(0x1ce)](global[J(0x1bb)],'..',d);return f;}catch(g){errorHandler('pathFromTemplates()',g),process['exit'](0x1);}}[a167z(0x1b4)]({srcPath:a,context:b,framework:c,config:d}){const K=a167z;try{let f=this['pathFromTemplates']({'pathParts':[a],'framework':c,'config':d});const {engine:g}=this[K(0x1fa)]({'filePath':f}),h=[K(0x1f9),'scss',K(0x1fc),K(0x1e7),'js',K(0x16b),'ts',K(0x1a9),K(0x1bd),'env',K(0x19c),'template'],i=[K(0x186),K(0x191)];if(!this[K(0x1cf)][K(0x1de)](f)){g===K(0x16b)&&(f=f['replace'](K(0x1db),''));g===K(0x1a9)&&(f=f[K(0x192)](K(0x1e6),''));if(!this[K(0x1cf)]['isFile'](f))throw new Error(K(0x1b7)+JSON[K(0x1a7)](f));}const j=f[K(0x17d)]('.'),k=a167e[K(0x1f7)](f)[K(0x17d)](a167e[K(0x189)]),l=k[k[K(0x1e1)]-0x1]===K(0x1ca),m=i[K(0x1dd)](j[j[K(0x1e1)]-0x1]),n=a167f[K(0x175)](f);if(l)return a167i[K(0x201)](n[K(0x194)](),b)['trim']();if(m)return Buffer[K(0x1d5)](n)[K(0x194)](K(0x1d2));if(!h[K(0x1dd)](j[j[K(0x1e1)]-0x1]))return n[K(0x194)]()[K(0x177)]();return a167i[K(0x201)](n[K(0x194)](),b||{})['trim']();}catch(o){errorHandler('templateContent()',o),process[K(0x1af)](0x1);}}async[a167z(0x1e2)]({srcPath:a,destPath:b,context:c,config:d,framework:f,force:force=![],ignore:ignore=![]}){const L=a167z;try{const g=[L(0x186),L(0x191)],h=g[L(0x1dd)](a[L(0x17d)]('.')[L(0x178)]()||''),i=this[L(0x1b4)]({'srcPath':a,'context':c,'framework':f,'config':d})+'\x0a';c?.[L(0x16c)]?b=this[L(0x1c5)]({'pathParts':[b],'config':d}):b=this[L(0x1ab)]({'pathParts':[b],'config':d});const j=await this[L(0x1cf)][L(0x1b2)]({'filePath':b,'data':i,'opts':{'force':force,'isImage':h,'absolute':![],'ignore':ignore}});return j;}catch(k){errorHandler(L(0x1ad),k),process['exit'](0x1);}}async[a167z(0x1fd)]({srcPath:a,destPath:b,context:c,ignore:d,keep:f,framework:g,config:h}){const M=a167z;try{const i=this[M(0x193)]({'pathParts':[a],'framework':g,'config':h}),j=this[M(0x193)]({'pathParts':[],'framework':g,'config':h}),k=n=>{const N=M;return n[N(0x192)](j,'');},l=n=>{const O=M;return n[O(0x192)](i,b);};await this[M(0x1cf)]['createDirectory']({'dirPath':b});const m=a167f['readdirSync'](i);for(const n of m){try{const o=a167e[M(0x1ce)](i,n),p=k(o),q=l(o),r=d['map'](t=>a167e[M(0x1f7)](t)),s=a167e[M(0x1f7)](a167e[M(0x1ce)](a,n));if(r['includes'](s))continue;if(this[M(0x1cf)][M(0x1ae)](o))await this[M(0x1fd)]({'srcPath':p,'destPath':q,'context':c,'ignore':d,'keep':f,'framework':g,'config':h});else{if(this[M(0x1cf)]['isFile'](o)&&this[M(0x17a)]({'pathParts':[o],'config':h}))await this[M(0x1e2)]({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h});else f[M(0x200)](a167e[M(0x1ce)](a,n))>=0x0&&this['fsi'][M(0x1de)](o)&&(c['noRename']=!![],await this['template']({'srcPath':p,'destPath':q,'context':c,'framework':g,'config':h}),c[M(0x16c)]=![]);}}catch(t){console['error'](t),process[M(0x1af)](0x1);}}}catch(u){errorHandler('copyTemplateDirectory()',u),process[M(0x1af)](0x1);}}async[a167z(0x1da)]({filePath:a,content:b,opts:c}){const P=a167z;if(!a)throw new Error(P(0x16a));try{!this[P(0x1cf)][P(0x1de)](a)&&await this[P(0x1cf)][P(0x1b2)]({'filePath':a,'data':b});let d=a167f[P(0x175)](a,'utf8');d=b+'\x0a'+d,a167f[P(0x1ba)](a,d),c?.['verbose']&&Log['header'](treeSymbol+P(0x17c)+a167e[P(0x1f5)](process[P(0x1a6)](),a));}catch(f){errorHandler(P(0x17f),f),process[P(0x1af)](0x1);}}async['injectAtEndOfFile']({filePath:a,content:b,opts:c}){const Q=a167z;try{if(!this['fsi'][Q(0x1de)](a))await this[Q(0x1cf)][Q(0x1b2)]({'filePath':a,'data':b});else{let d=a167f['readFileSync'](a,Q(0x1d0));!d[Q(0x1dd)](b)&&(d=d+'\x0a'+b,a167f['writeFileSync'](a,d)),c?.[Q(0x1f1)]&&Log[Q(0x190)](treeSymbol+'\x20updated\x20file\x20'+a167e[Q(0x1f5)](process[Q(0x1a6)](),a));}}catch(f){errorHandler(Q(0x1a2),f),process[Q(0x1af)](0x1);}}async[a167z(0x195)]({filePath:a,aboveContent:b,belowContent:c,targetString:d,indentAdjustment:indentAdjustment=0x0,targetIndentAdjustment:targetIndentAdjustment=0x0}){const R=a167z;try{if(!this[R(0x1cf)]['isFile'](a))throw Log['error'](R(0x1c2)+JSON[R(0x1a7)](a));const f=a167f[R(0x175)](a,R(0x1d0)),g=f[R(0x192)](/\r\n|\r/g,'\x0a'),h=g[R(0x17d)]('\x0a'),j=this['detectIndentation'](h),k=b['replace'](/\r\n|\r/g,'\x0a')['split']('\x0a'),l=c[R(0x192)](/\r\n|\r/g,'\x0a')[R(0x17d)]('\x0a'),m=new RegExp(Array[R(0x1d6)](d)?d[R(0x1ce)]('|'):d,'i'),n=[];for(let p=0x0;p<h[R(0x1e1)];p++){const q=h[p];if(m['test'](q)){const r=this[R(0x167)](j,targetIndentAdjustment),s=r+q[R(0x177)]();k[R(0x1c7)](t=>{const S=R;!g[S(0x1dd)](t[S(0x177)]())&&n[S(0x1cd)](this[S(0x167)](j,indentAdjustment)+t);}),n[R(0x1cd)](s),l[R(0x1c7)](t=>{const T=R;!g[T(0x1dd)](t['trim']())&&n[T(0x1cd)](this[T(0x167)](j,indentAdjustment)+t);});}else n[R(0x1cd)](q);}const o=n[R(0x1ce)]('\x0a');a167f[R(0x1ba)](a,o),Log[R(0x190)](treeSymbol+R(0x17c)+a167e[R(0x1f5)](process[R(0x1a6)](),a));}catch(t){errorHandler(R(0x1e0),t),process[R(0x1af)](0x1);}}['adjustIndentation'](a,b){const U=a167z;if(b===0x0)return a;const c=a[U(0x1e1)]+b;return c>0x0?a[0x0][U(0x1c0)](c):'';}['detectIndentation'](a){const V=a167z;let b=0x0,c=0x0;a[V(0x1c7)](f=>{const W=V;if(f['startsWith']('\x20'))b++;else f[W(0x181)]('\x09')&&c++;});const d=b>=c?'\x20':'\x09',e=this[V(0x204)](a,d);return d[V(0x1c0)](e);}[a167z(0x204)](a,b){const X=a167z,c=a[X(0x1b6)](d=>d&&d[X(0x181)](b))[X(0x1d1)](d=>{const Y=X,e=d[Y(0x168)](new RegExp('^'+b+'+'));return e?e[0x0][Y(0x1e1)]:0x0;});if(c[X(0x1e1)]===0x0)return 0x0;return this['calculateMode'](c);}[a167z(0x1d7)](a){const Z=a167z,b=a[Z(0x173)]((c,d)=>{return c[d]=(c[d]||0x0)+0x1,c;},{});return Object[Z(0x198)](b)['reduce']((c,d)=>{const e=b[+c],f=b[+d];return e>f?+c:+d;},0x0);}async[a167z(0x1b9)]({filePath:a,content:b,begin:c,replace:replace=![]}){const a0=a167z;try{if(!this['fsi'][a0(0x1de)](a))throw new Error(a0(0x1c1)+a);const d=a167f[a0(0x175)](a,a0(0x1d0)),f=d['split']('\x0a');let g=-0x1,h=-0x1,j=0x0,k=![],l=![];const m=Array['isArray'](c)?c:[c];for(let o=0x0;o<f[a0(0x1e1)];o++){const p=f[o];k&&p[a0(0x1dd)]('{')&&j++;if(m[a0(0x1ea)](q=>p['includes'](q))){g=o,k=!![],j++;continue;}if(k){p['includes'](b['trim']())&&(l=!![]);if(p[a0(0x1dd)]('}')){j--;if(j===0x0){h=o;break;}}}}if(g===-0x1||h===-0x1){Log['error']('Unable\x20to\x20find\x20the\x20target\x20block\x20to\x20inject\x20content\x20in\x20'+a),Log[a0(0x184)](a0(0x1fe)+b),Log[a0(0x184)](a0(0x1c9)+c);throw new Error(a0(0x1eb));}if(l)return;let n=f['slice'](0x0,g+0x1);replace?(n[a0(0x1cd)](b[a0(0x177)]()),n[a0(0x1cd)](f[h])):(n=n['concat'](f[a0(0x1bf)](g+0x1,h)),n['push'](b[a0(0x177)]())),n=n[a0(0x1be)](f[a0(0x1bf)](h+0x1)),a167f[a0(0x1ba)](a,n[a0(0x1ce)]('\x0a'),'utf8');}catch(q){console['error']('Error\x20in\x20injectIntoCodeBlock:\x20',q);throw q;}}async[a167z(0x166)]({filePath:a,content:c,begin:d,end:f,replace:replace=![]}){const a1=a167z;try{const g=await this['fsi'][a1(0x19b)](a,c);if(g)return;if(!this[a1(0x1cf)][a1(0x1de)](a))throw Log[a1(0x184)](a1(0x1c8)+JSON['stringify'](a));const h=a167f[a1(0x175)](a,'utf8');if(!Array['isArray'](d))d=[d];if(!Array[a1(0x1d6)](f))f=[f];let i=h,j=![];for(const k of d){for(const l of f){const m=new RegExp('('+k+a1(0x1e8)+l+')','i');i=h[a1(0x192)](m,(n,o,p)=>{return j=!![],replace?''+o+c+p:''+o+c+'\x0a'+p;});if(j)break;}if(j)break;}if(!j)throw new Error('No\x20matching\x20section\x20found.');a167f[a1(0x1ba)](a,i),Log['header'](treeSymbol+a1(0x17c)+a167e[a1(0x1f5)](process[a1(0x1a6)](),a));}catch(n){errorHandler(a1(0x1b3),n),process[a1(0x1af)](0x1);}}async[a167z(0x1a3)]({filePath:a,importName:b,modulePath:c,isNamedExport:d,injectAtStart:injectAtStart=![]}){const a2=a167z;try{const f=a167f[a2(0x175)](a,a2(0x1d0));let g;d?g=a2(0x1df)+b+a2(0x183)+c+'\x27;\x0a':g='import\x20'+b+a2(0x174)+c+a2(0x202);const h=f['split']('\x0a');let j=0x0,k=![];for(const m of h){if(m['includes'](a2(0x18d)+c+'\x27')||m[a2(0x1dd)]('from\x20\x22'+c+'\x22')){const n=d?new RegExp('\x5cb'+b+'\x5cb','g'):new RegExp(a2(0x170)+b+a2(0x1f4));if(m[a2(0x168)](n)){k=!![];break;}}}if(k)return;if(injectAtStart)for(let o=0x0;o<h[a2(0x1e1)];o++){if(h[o][a2(0x168)](/^import .* from .*;$/)){j=o;break;}}else{for(let p=0x0;p<h[a2(0x1e1)];p++){h[p][a2(0x168)](/^import .* from .*;$/)&&(j=p);}j++;}h[a2(0x1ef)](j,0x0,g);const l=h[a2(0x1ce)]('\x0a');a167f['writeFileSync'](a,l,a2(0x1d0));}catch(q){errorHandler(a2(0x180),q),process[a2(0x1af)](0x1);}}async[a167z(0x18f)](a,b,c){const a3=a167z;try{let d;b[a3(0x1a8)]['ssr']!==a3(0x1b1)?d=this['pathFromApp']({'pathParts':[a3(0x176),a3(0x1aa),a3(0x1e5),'templates.js'],'config':b}):d=this['pathFromApp']({'pathParts':['imports','startup','client',a3(0x18e)],'config':b});const f=this[a3(0x1ab)]({'pathParts':[d],'config':b}),g='export\x20{\x20'+pascalCase(a)+a3(0x183)+c+'\x27;',h=await this['fsi']['fileContainsString'](f,g);!h&&this[a3(0x185)]({'filePath':f,'content':g+'\x0a'});}catch(i){errorHandler(a3(0x1ee),i),process[a3(0x1af)](0x1);}}[a167z(0x1f2)]({filePath:a,content:b,lineNumber:c}){const a4=a167z;try{const d=a167f[a4(0x175)](a)[a4(0x194)]()[a4(0x17d)]('\x0a');d[a4(0x1ef)](c,0x0,b);const f=d[a4(0x1ce)]('\x0a');a167f[a4(0x1ba)](a,f);}catch(g){errorHandler(a4(0x1fb),g),process[a4(0x1af)](0x1);}}[a167z(0x19d)]({pathParts:a,config:b}){const a5=a167z;try{if(!a)throw new Error(a5(0x18c));const c=this['rewriteSourcePathForEngine']({'pathParts':a,'config':b}),d=this[a5(0x1cf)]['findAppDirectory']();return d?a167e[a5(0x1ce)](d,c):'';}catch(f){errorHandler('pathFromApp()',f),process[a5(0x1af)](0x1);}}[a167z(0x1ff)]({pathParts:a,config:b}){const a6=a167z;try{const c=this['writeSourcePath']({'pathParts':a,'config':b}),d=this[a6(0x1cf)][a6(0x1ed)]();if(!d)throw new Error('No\x20app\x20directory\x20found');return a167e[a6(0x1ce)](d,c);}catch(f){errorHandler(a6(0x1c6),f),process[a6(0x1af)](0x1);}}}
|