@maka/maka-cli 5.1.22 → 5.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/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 +23 -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 +92 -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/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 +65 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.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 +97 -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 +43 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +87 -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 +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +31 -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 +35 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +214 -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 +22 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +55 -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 +28 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +113 -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 +35 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +170 -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 +56 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.js +256 -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/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 +74 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +83 -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 +106 -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 +53 -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
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import path from 'path';
|
|
2
|
+
import { ESLint } from 'eslint';
|
|
3
|
+
import babelParser from '@babel/eslint-parser';
|
|
4
|
+
import { Log } from '../tools/log/log.class.js';
|
|
5
|
+
import { Command } from '../command.js';
|
|
6
|
+
Command.create({
|
|
7
|
+
name: 'lint',
|
|
8
|
+
usage: 'maka lint',
|
|
9
|
+
maxArgLength: 1,
|
|
10
|
+
validOpts: ['fix', 'silent'],
|
|
11
|
+
mustBeInMakaProject: true,
|
|
12
|
+
shortDesc: 'Use ESLint to lint the main directories',
|
|
13
|
+
description: `
|
|
14
|
+
Lint the following directories by default:
|
|
15
|
+
- ./app/imports
|
|
16
|
+
- ./app/client
|
|
17
|
+
- ./app/lib
|
|
18
|
+
- ./app/server
|
|
19
|
+
|
|
20
|
+
This command will install and configure ESLint if not already set up.
|
|
21
|
+
|
|
22
|
+
You can find the eslint config at "./app/config.eslint.js"
|
|
23
|
+
`,
|
|
24
|
+
examples: [
|
|
25
|
+
'maka lint --fix',
|
|
26
|
+
]
|
|
27
|
+
}, async function (args, opts) {
|
|
28
|
+
try {
|
|
29
|
+
const appDirectory = this.fsi.findAppDirectory();
|
|
30
|
+
const projectDirectory = this.fsi.findProjectDirectory();
|
|
31
|
+
await this.pkg.checkNpmPackage([
|
|
32
|
+
'@typescript-eslint/parser',
|
|
33
|
+
'@loadable/babel-plugin',
|
|
34
|
+
'@babel/plugin-transform-runtime',
|
|
35
|
+
'babel-preset-meteor',
|
|
36
|
+
], {
|
|
37
|
+
cwd: appDirectory,
|
|
38
|
+
shouldInstall: true,
|
|
39
|
+
saveDev: false
|
|
40
|
+
});
|
|
41
|
+
await this.pkg.checkNpmPackage([
|
|
42
|
+
'@typescript-eslint/parser',
|
|
43
|
+
'@babel/preset-env',
|
|
44
|
+
'@babel/preset-react',
|
|
45
|
+
'@babel/eslint-parser',
|
|
46
|
+
'@babel/plugin-transform-runtime',
|
|
47
|
+
], {
|
|
48
|
+
cwd: appDirectory,
|
|
49
|
+
shouldInstall: true,
|
|
50
|
+
saveDev: true
|
|
51
|
+
});
|
|
52
|
+
await this.pkg.checkNpmPackage([
|
|
53
|
+
'eslint',
|
|
54
|
+
'prettier',
|
|
55
|
+
'eslint-config-prettier',
|
|
56
|
+
'eslint-plugin-css',
|
|
57
|
+
'eslint-plugin-prettier',
|
|
58
|
+
'eslint-plugin-react',
|
|
59
|
+
'eslint-plugin-unused-imports'
|
|
60
|
+
], {
|
|
61
|
+
cwd: projectDirectory,
|
|
62
|
+
shouldInstall: true,
|
|
63
|
+
saveDev: false
|
|
64
|
+
});
|
|
65
|
+
const eslintConfigPath = path.join(projectDirectory, 'config', 'config.eslint.js');
|
|
66
|
+
const hasEsLintConf = this.fsi.isFile(eslintConfigPath);
|
|
67
|
+
if (!hasEsLintConf) {
|
|
68
|
+
await this.scaffold.template({
|
|
69
|
+
srcPath: 'eslint/config.eslint.js',
|
|
70
|
+
destPath: eslintConfigPath,
|
|
71
|
+
framework: 'service',
|
|
72
|
+
context: { noRename: true },
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
const babelConfigPath = path.join(appDirectory, 'babel.config.js');
|
|
76
|
+
const hasBabelConfigFile = this.fsi.isFile(babelConfigPath);
|
|
77
|
+
if (!hasBabelConfigFile) {
|
|
78
|
+
await this.scaffold.template({
|
|
79
|
+
srcPath: 'eslint/babel.config.js',
|
|
80
|
+
destPath: babelConfigPath,
|
|
81
|
+
framework: 'service',
|
|
82
|
+
context: { noRename: true }
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
const eslint = new ESLint({
|
|
86
|
+
fix: opts.fix,
|
|
87
|
+
cwd: appDirectory,
|
|
88
|
+
overrideConfigFile: eslintConfigPath,
|
|
89
|
+
overrideConfig: {
|
|
90
|
+
languageOptions: {
|
|
91
|
+
ecmaVersion: 'latest',
|
|
92
|
+
sourceType: 'module',
|
|
93
|
+
parser: babelParser,
|
|
94
|
+
parserOptions: {
|
|
95
|
+
ecmaFeatures: { jsx: true },
|
|
96
|
+
babelOptions: {
|
|
97
|
+
configFile: babelConfigPath // Point to babel.config.js
|
|
98
|
+
},
|
|
99
|
+
requireConfigFile: true
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
ignore: false,
|
|
104
|
+
});
|
|
105
|
+
const importsDirectory = path.join(appDirectory, 'imports/**/*.{js,jsx,tsx,ts}');
|
|
106
|
+
const clientDirectory = path.join(appDirectory, 'client');
|
|
107
|
+
const serverDirectory = path.join(appDirectory, 'server');
|
|
108
|
+
const libDirectory = path.join(appDirectory, 'lib');
|
|
109
|
+
const results = await eslint.lintFiles([importsDirectory, clientDirectory, serverDirectory, libDirectory]);
|
|
110
|
+
if (opts.fix) {
|
|
111
|
+
await ESLint.outputFixes(results);
|
|
112
|
+
}
|
|
113
|
+
const formatter = await eslint.loadFormatter("stylish");
|
|
114
|
+
const resultText = await formatter.format(results, {});
|
|
115
|
+
if (resultText.length > 0) {
|
|
116
|
+
Log.bright(resultText);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
catch (e) {
|
|
120
|
+
console.error(e);
|
|
121
|
+
process.exit(1);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
//# sourceMappingURL=lint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lint.js","sourceRoot":"","sources":["../../../../src/commands/lint.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAChC,OAAO,WAAW,MAAM,sBAAsB,CAAC;AAE/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tools/log/log.class.js';
|
|
4
|
+
import { Actions } from '../tools/actions/actions.class.js';
|
|
5
|
+
import { HTTPS } from '../tools/https/https.class.js';
|
|
6
|
+
function validateEmail(email) {
|
|
7
|
+
const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
|
|
8
|
+
return re.test(String(email).toLowerCase());
|
|
9
|
+
}
|
|
10
|
+
const hostname = process.env.MAKA_DEV === 'True' ? 'localhost' : 'www.maka-cli.com';
|
|
11
|
+
Command.create({
|
|
12
|
+
name: 'login',
|
|
13
|
+
validOpts: ['email', 'password', 'help', 'reset', 'verify', 'cacert', 'debug'],
|
|
14
|
+
usage: 'maka login',
|
|
15
|
+
maxArgLength: 2,
|
|
16
|
+
mustBeInMakaProject: false,
|
|
17
|
+
disableAuthCheck: true,
|
|
18
|
+
shortDesc: 'Logs in to www.maka-cli.com',
|
|
19
|
+
examples: [
|
|
20
|
+
'maka login',
|
|
21
|
+
'maka login --email <address> --password <password>',
|
|
22
|
+
'maka login --reset'
|
|
23
|
+
]
|
|
24
|
+
}, async function (args, opts) {
|
|
25
|
+
const spinHandle = Log.withSpinner();
|
|
26
|
+
try {
|
|
27
|
+
let caCertPath = '';
|
|
28
|
+
if (opts.cacert) {
|
|
29
|
+
if (this.fsi.isFile(opts.cacert)) {
|
|
30
|
+
caCertPath = opts.cacert;
|
|
31
|
+
Log.notice(`Using CA Cert ${caCertPath}`);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
Log.error(`CA Cert file could not be found at ${caCertPath}`);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
const globalConfig = await this.cfg.getGlobalConfig();
|
|
38
|
+
if (globalConfig.cert) {
|
|
39
|
+
if (this.fsi.isFile(globalConfig.cert)) {
|
|
40
|
+
caCertPath = globalConfig.cert;
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
Log.error(`CA Cert is configured in ~/.maka/global-config.json, but cert file cannot be located ${caCertPath}`);
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// Preflight check
|
|
48
|
+
Log.header(`Securing connection to https://${hostname}`);
|
|
49
|
+
const preflightGet = { url: `https://${hostname}/api/v1/status` };
|
|
50
|
+
if (opts.cacert) {
|
|
51
|
+
Object.assign(preflightGet, { cert: caCertPath });
|
|
52
|
+
}
|
|
53
|
+
spinHandle.start('Preflight Check');
|
|
54
|
+
const { statusCode: preflightSC } = await HTTPS.get(preflightGet);
|
|
55
|
+
if (preflightSC === 408) {
|
|
56
|
+
spinHandle.failure();
|
|
57
|
+
throw 'Could not make a secure connection.\nPlease ensure you are able to access https://www.maka-cli.com';
|
|
58
|
+
}
|
|
59
|
+
if (preflightSC !== 200) {
|
|
60
|
+
spinHandle.failure();
|
|
61
|
+
throw `https://${hostname} seems to be having a problem. Please report a bug at: https://github.com/maka-io/maka-cli`;
|
|
62
|
+
}
|
|
63
|
+
spinHandle.success();
|
|
64
|
+
if (opts.reset) {
|
|
65
|
+
Log.notice('Please enter your email address to receive a password reset link.');
|
|
66
|
+
const email = await Actions.ask('Email:');
|
|
67
|
+
const postForgotPayload = {
|
|
68
|
+
hostname,
|
|
69
|
+
path: '/api/v1/forgotPassword',
|
|
70
|
+
data: {
|
|
71
|
+
email
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
if (!validateEmail(email)) {
|
|
75
|
+
throw 'Invalid email address';
|
|
76
|
+
}
|
|
77
|
+
if (opts.cacert) {
|
|
78
|
+
Object.assign(postForgotPayload, { cert: caCertPath });
|
|
79
|
+
}
|
|
80
|
+
spinHandle.start('Sending Password Reset Email');
|
|
81
|
+
const { data: forgotData, statusCode: forgotSC } = await HTTPS.post(postForgotPayload);
|
|
82
|
+
if (forgotSC === 408) {
|
|
83
|
+
spinHandle.failure('\n');
|
|
84
|
+
throw `Could not make a secure connection.\n[-] Please ensure you are able to access https://${hostname}`;
|
|
85
|
+
}
|
|
86
|
+
const forgotJson = JSON.parse(forgotData);
|
|
87
|
+
if (forgotSC === 200) {
|
|
88
|
+
spinHandle.success();
|
|
89
|
+
Log.notice(forgotJson.message);
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
spinHandle.failure();
|
|
93
|
+
}
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
const email = (opts.email) ? opts.email : await Actions.ask('Email:');
|
|
97
|
+
if (!validateEmail(email)) {
|
|
98
|
+
throw 'Invalid email address';
|
|
99
|
+
}
|
|
100
|
+
const password = (opts.password) ? opts.password : await Actions.ask('Password: ', true);
|
|
101
|
+
const md = forge.md.sha256.create();
|
|
102
|
+
md.update(password);
|
|
103
|
+
const shaPass = md.digest().toHex();
|
|
104
|
+
const postLoginPayload = {
|
|
105
|
+
hostname,
|
|
106
|
+
path: '/api/login',
|
|
107
|
+
data: {
|
|
108
|
+
email,
|
|
109
|
+
password: shaPass,
|
|
110
|
+
hashed: true
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
if (opts.cacert) {
|
|
114
|
+
Object.assign(postLoginPayload, { cert: caCertPath });
|
|
115
|
+
}
|
|
116
|
+
spinHandle.start('Logging in');
|
|
117
|
+
const { data: loginData, statusCode } = await HTTPS.post(postLoginPayload);
|
|
118
|
+
const loginJson = JSON.parse(loginData);
|
|
119
|
+
if (statusCode >= 400) {
|
|
120
|
+
spinHandle.failure('\n');
|
|
121
|
+
throw loginJson.error;
|
|
122
|
+
}
|
|
123
|
+
if (loginJson.authToken) {
|
|
124
|
+
const postJwtPayload = {
|
|
125
|
+
hostname,
|
|
126
|
+
path: '/api/v1/encodeJwt',
|
|
127
|
+
headers: {
|
|
128
|
+
'x-auth-token': loginJson.authToken
|
|
129
|
+
},
|
|
130
|
+
data: {}
|
|
131
|
+
};
|
|
132
|
+
if (opts.cacert) {
|
|
133
|
+
Object.assign(postJwtPayload, { cert: caCertPath });
|
|
134
|
+
}
|
|
135
|
+
const { statusCode: jwtSC } = await HTTPS.post(postJwtPayload);
|
|
136
|
+
if (jwtSC === 408) {
|
|
137
|
+
throw `Could not make a secure connection.\n[-] Please ensure you are able to access https://${hostname}`;
|
|
138
|
+
}
|
|
139
|
+
const globalConfig = { token: loginJson };
|
|
140
|
+
await this.cfg.setGlobalConfig(globalConfig);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
spinHandle.failure();
|
|
144
|
+
throw loginJson;
|
|
145
|
+
}
|
|
146
|
+
spinHandle.success();
|
|
147
|
+
}
|
|
148
|
+
catch (e) {
|
|
149
|
+
if (e.statusMessage) {
|
|
150
|
+
Log.error(e.statusMessage);
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
console.log('');
|
|
154
|
+
console.log(e);
|
|
155
|
+
}
|
|
156
|
+
Log.notice('If you need to reset your password, run `maka login --reset`');
|
|
157
|
+
process.exit(0);
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
//# sourceMappingURL=login.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../../src/commands/login.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAE/B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtD,SAAS,aAAa,CAAC,KAAa;IAClC,MAAM,EAAE,GAAG,yJAAyJ,CAAC;IACrK,OAAO,EAAE,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAC9C,CAAC;AAYD,MAAM,QAAQ,GAA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KAAK,GAAG,EAAE,CAAC;gBAClB,MAAM,yFAAyF,QAAQ,EAAE,CAAC;YAC5G,CAAC;YAED,MAAM,YAAY,GAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC;YACzD,MAAM,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;QAG/C,CAAC;aAAM,CAAC;YACN,UAAU,CAAC,OAAO,EAAE,CAAC;YACrB,MAAM,SAAS,CAAC;QAClB,CAAC;QAED,UAAU,CAAC,OAAO,EAAE,CAAC;IACvB,CAAC;IAAC,OAAM,CAAC,EAAE,CAAC;QACV,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;YACpB,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YAEN,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YAEhB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QACjB,CAAC;QACD,GAAG,CAAC,MAAM,CAAC,8DAA8D,CAAC,CAAA;QAC1E,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command } from '../command.js';
|
|
2
|
+
import { Log } from '../tools/log/log.class.js';
|
|
3
|
+
import { HTTPS } from '../tools/https/https.class.js';
|
|
4
|
+
const hostname = process.env.MAKA_DEV === 'True' ? 'localhost' : 'www.maka-cli.com';
|
|
5
|
+
Command.create({
|
|
6
|
+
name: 'logout',
|
|
7
|
+
validOpts: ['cacert'],
|
|
8
|
+
usage: 'maka logout',
|
|
9
|
+
maxArgLength: 2,
|
|
10
|
+
shortDesc: 'Logs out of all user sessions (CLI and browser).',
|
|
11
|
+
disableAuthCheck: true,
|
|
12
|
+
examples: [
|
|
13
|
+
'maka logout',
|
|
14
|
+
]
|
|
15
|
+
}, async function (args, opts) {
|
|
16
|
+
const spinHandle = Log.withSpinner();
|
|
17
|
+
try {
|
|
18
|
+
let caCertPath = '';
|
|
19
|
+
if (opts.cacert) {
|
|
20
|
+
if (this.fsi.isFile(opts.cacert)) {
|
|
21
|
+
caCertPath = opts.cacert;
|
|
22
|
+
Log.notice(`Using CA Cert ${caCertPath}`);
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
Log.error(`CA Cert file could not be found at ${caCertPath}`);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
const globalConfig = await this.cfg.getGlobalConfig();
|
|
29
|
+
if (globalConfig.cert) {
|
|
30
|
+
if (this.fsi.isFile(globalConfig.cert)) {
|
|
31
|
+
caCertPath = globalConfig.cert;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
spinHandle.failure();
|
|
35
|
+
throw Log.error(`CA Cert is configured in ~/.maka/global-config.json, but cert file cannot be located ${caCertPath}`);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
// Preflight check
|
|
39
|
+
Log.header(`Securing connection to https://${hostname}`);
|
|
40
|
+
const preflightGet = { url: `https://${hostname}/api/v1/status` };
|
|
41
|
+
if (opts.cacert) {
|
|
42
|
+
Object.assign(preflightGet, { cert: caCertPath });
|
|
43
|
+
}
|
|
44
|
+
spinHandle.start('Preflight Check');
|
|
45
|
+
const { statusCode: preflightSC } = await HTTPS.get(preflightGet);
|
|
46
|
+
if (preflightSC === 408) {
|
|
47
|
+
spinHandle.failure();
|
|
48
|
+
throw 'Could not make a secure connection.\nPlease ensure you are able to access https://www.maka-cli.com';
|
|
49
|
+
}
|
|
50
|
+
spinHandle.success();
|
|
51
|
+
if (preflightSC !== 200) {
|
|
52
|
+
spinHandle.failure();
|
|
53
|
+
throw 'https://www.maka-cli.com seems to be having a problem. Please report a bug at: https://github.com/maka-io/maka-cli';
|
|
54
|
+
}
|
|
55
|
+
if (!globalConfig?.token?.authToken) {
|
|
56
|
+
throw Log.error('Cannot find login token, are you sure you are logged in?');
|
|
57
|
+
}
|
|
58
|
+
spinHandle.start('Logging out');
|
|
59
|
+
const postPayload = {
|
|
60
|
+
hostname,
|
|
61
|
+
path: '/api/logoutAll',
|
|
62
|
+
data: {},
|
|
63
|
+
headers: {
|
|
64
|
+
'x-auth-token': globalConfig.token.authToken
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
if (opts.cacert) {
|
|
68
|
+
Object.assign(postPayload, { cert: caCertPath });
|
|
69
|
+
}
|
|
70
|
+
const { statusCode: postSC, statusMessage } = await HTTPS.post(postPayload);
|
|
71
|
+
if (postSC >= 400) {
|
|
72
|
+
throw statusMessage;
|
|
73
|
+
}
|
|
74
|
+
this.cfg.setGlobalConfig({
|
|
75
|
+
token: { authToken: '', userId: '', when: '' },
|
|
76
|
+
});
|
|
77
|
+
spinHandle.success();
|
|
78
|
+
}
|
|
79
|
+
catch (e) {
|
|
80
|
+
spinHandle.failure('\n');
|
|
81
|
+
if (e) {
|
|
82
|
+
if (e.statusMessage) {
|
|
83
|
+
Log.error(e.statusMessage);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
Log.error(e);
|
|
87
|
+
Log.notice('You may not be logged in...');
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
process.exit(0);
|
|
91
|
+
}
|
|
92
|
+
});
|
|
93
|
+
//# sourceMappingURL=logout.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logout.js","sourceRoot":"","sources":["../../../../src/commands/logout.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAKtD,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,C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,EAAE,CAAC;YAClB,MAAM,aAAa,CAAC;QACtB,CAAC;QAED,IAAI,CAAC,GAAG,CAAC,eAAe,CAAC;YACvB,KAAK,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;SAC/C,CAAC,CAAC;QAEH,UAAU,CAAC,OAAO,EAAE,CAAC;IACvB,CAAC;IAAC,OAAM,CAAC,EAAE,CAAC;QACV,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACzB,IAAI,CAAC,EAAE,CAAC;YACN,IAAI,CAAC,CAAC,aAAa,EAAE,CAAC;gBACpB,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;YAC7B,CAAC;iBAAM,CAAC;gBACN,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACb,GAAG,CAAC,MAAM,CAAC,6BAA6B,CAAC,CAAC;YAC5C,CAAC;QACH,CAAC;QACD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import fs from 'fs';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { Command } from '../command.js';
|
|
4
|
+
import { SSH } from '../tools/ssh/ssh.class.js';
|
|
5
|
+
import { Log } from '../tools/log/log.class.js';
|
|
6
|
+
Command.create({
|
|
7
|
+
name: 'logs',
|
|
8
|
+
aliases: ['l', 'log'],
|
|
9
|
+
usage: 'maka logs',
|
|
10
|
+
requiredOpts: ['env'],
|
|
11
|
+
mustBeInMakaProject: true,
|
|
12
|
+
validOpts: ['verbose'],
|
|
13
|
+
shortDesc: 'View the PM2 logs',
|
|
14
|
+
examples: [
|
|
15
|
+
'maka logs --env dev',
|
|
16
|
+
'maka logs --env staging',
|
|
17
|
+
'maka l -e p',
|
|
18
|
+
]
|
|
19
|
+
}, function (args, opts) {
|
|
20
|
+
try {
|
|
21
|
+
const cmd = 'pm2 logs';
|
|
22
|
+
const env = this.cfg.getAppConfigPath(opts.env);
|
|
23
|
+
const pathToConfig = path.join(env, 'ssh.json');
|
|
24
|
+
const sshConfig = fs.readFileSync(pathToConfig);
|
|
25
|
+
const sshOpts = JSON.parse(sshConfig.toString());
|
|
26
|
+
Object.assign(sshOpts, { env });
|
|
27
|
+
SSH.sshSync(cmd, sshOpts, { tty: true, verbose: true });
|
|
28
|
+
}
|
|
29
|
+
catch (e) {
|
|
30
|
+
Log.error(e);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=logs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logs.js","sourceRoot":"","sources":["../../../../src/commands/logs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAChD,OAAO,EAAE,GAAG,EAAE,MAAM,2BAA2B,CAAC;AAMhD,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;IACrB,KAAK,EAAE,WAAW;IAClB,YAAY,EAAE,CAAC,KAAK,CAAC;IACrB,mBAAmB,EAAE,IAAI;IACzB,SAAS,EAAE,CAAC,SAAS,CAAC;IACtB,SAAS,EAAE,mBAAmB;IAC9B,QAAQ,EAAE;QACR,qBAAqB;QACrB,yBAAyB;QACzB,aAAa;KACd;CACF,EAAC,UAAU,IAAc,EAAE,IAAe;IACzC,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,UAAU,CAAC;QACvB,MAAM,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QAEhD,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;QAChD,MAAM,SAAS,GAAG,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC;QAChD,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,QAAQ,EAAE,CAAC,CAAC;QACjD,MAAM,CAAC,MAAM,CAAC,OAAO,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;QAEhC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;IAC1D,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IACf,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Command } from '../command.js';
|
|
2
|
+
/*****************************************************************************/
|
|
3
|
+
/* Maka - The main command */
|
|
4
|
+
/*****************************************************************************/
|
|
5
|
+
const Maka = new Command({
|
|
6
|
+
name: 'maka',
|
|
7
|
+
minArgLength: 1,
|
|
8
|
+
shortDesc: `A command line scaffolding and Dev Ops tool for Meteor applications.`,
|
|
9
|
+
validOpts: [],
|
|
10
|
+
usage: 'maka <command> [<args>] [<opts>]',
|
|
11
|
+
resourceNameRequired: false,
|
|
12
|
+
disableAuthCheck: true,
|
|
13
|
+
examples: [
|
|
14
|
+
'maka --help',
|
|
15
|
+
'maka install meteor',
|
|
16
|
+
'maka create Todo',
|
|
17
|
+
'maka run',
|
|
18
|
+
],
|
|
19
|
+
description: `
|
|
20
|
+
|
|
21
|
+
Scaffold Web Applications with Meteor and Maka-CLI
|
|
22
|
+
|
|
23
|
+
.-. --
|
|
24
|
+
:.: .-. .-: -: .::.
|
|
25
|
+
-:: :-. :-- -: .::.
|
|
26
|
+
::: .-. .:: :: .::.
|
|
27
|
+
::: . .::::::: .::::::: .. .::.
|
|
28
|
+
:.: ..:..... .::..::. .::.
|
|
29
|
+
:.: .:. .:: .:: .::.
|
|
30
|
+
::: .:. .:::::: .-:.
|
|
31
|
+
:.: .:. :::::: .::.
|
|
32
|
+
::: .-. .::..-::. .-:.
|
|
33
|
+
::: . .:::.... ::..---:.. .-:.
|
|
34
|
+
:.: . .::::::: ::..::. .. .-:.
|
|
35
|
+
::: .:. .:: :. .-:.
|
|
36
|
+
-:: :-- .--.
|
|
37
|
+
.-:
|
|
38
|
+
|
|
39
|
+
:. :. :
|
|
40
|
+
.:..::...::. ....: .: :: ....:. .:::: .: ::
|
|
41
|
+
:. :. :. ....:- .-..:. ....:- ... :. .: .:
|
|
42
|
+
:. :. :. .: :- .- .: .: :- :. .: .:
|
|
43
|
+
.:. :. .: .... :. .:. .. .... :. ..... .:. .:.
|
|
44
|
+
|
|
45
|
+
`
|
|
46
|
+
}, async function (args, opts) {
|
|
47
|
+
try {
|
|
48
|
+
const command = args[0];
|
|
49
|
+
args.splice(0, 1);
|
|
50
|
+
return await this.processAndRunCommand(command, args, opts);
|
|
51
|
+
}
|
|
52
|
+
catch (e) {
|
|
53
|
+
process.exit(1);
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export default Maka;
|
|
57
|
+
//# sourceMappingURL=maka.cmd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"maka.cmd.js","sourceRoot":"","sources":["../../../../src/commands/maka.cmd.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAYxC,+EAA+E;AAC/E,8BAA8B;AAC9B,+EAA+E;AAC/E,MAAM,IAAI,GAAG,IAAI,OAAO,CAAC;IACvB,IAAI,EAAE,MAAM;IACZ,YAAY,EAAE,CAAC;IACf,SAAS,EAAE,sEAAsE;IACjF,SAAS,EAAE,EAAE;IACb,KAAK,EAAE,kCAAkC;IACzC,oBAAoB,EAAE,KAAK;IAC3B,gBAAgB,EAAE,IAAI;IACtB,QAAQ,EAAE;QACR,aAAa;QACb,qBAAqB;QACrB,kBAAkB;QAClB,UAAU;KACX;IACD,WAAW,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BZ;CAEF,EAAE,KAAK,WAAW,IAAc,EAAE,IAAe;IAChD,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QAElB,OAAO,MAAM,IAAI,CAAC,oBAAoB,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;IAE9D,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QAEX,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC;AAEH,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Command } from '../command.js';
|
|
2
|
+
Command.create({
|
|
3
|
+
name: 'murder',
|
|
4
|
+
usage: 'maka murder',
|
|
5
|
+
maxArgLength: 1,
|
|
6
|
+
shortDesc: 'Murrrrderrrrr',
|
|
7
|
+
validOpts: []
|
|
8
|
+
}, async function () {
|
|
9
|
+
try {
|
|
10
|
+
console.log(`%c
|
|
11
|
+
.___.
|
|
12
|
+
/) ,-^ ^-.
|
|
13
|
+
// / \\
|
|
14
|
+
.-------| |--------------/ __ __ \\-------------------.__
|
|
15
|
+
|WMWMWMW| |>>>>>>>>>>>>> | />>\\ />>\\ |>>>>>>>>>>>>>>>>>>>>>>:>
|
|
16
|
+
\`-------| |--------------| \\__/ \\__/ |-------------------'^^
|
|
17
|
+
\\\\ \\ /|\\ /
|
|
18
|
+
\\) \\ \\_/ /
|
|
19
|
+
| |
|
|
20
|
+
|+H+H+H+|
|
|
21
|
+
\\ /
|
|
22
|
+
^-----^
|
|
23
|
+
|
|
24
|
+
`, `font-family: monospace`);
|
|
25
|
+
}
|
|
26
|
+
catch (e) {
|
|
27
|
+
console.error(e);
|
|
28
|
+
process.exit(0);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
//# sourceMappingURL=murder.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"murder.js","sourceRoot":"","sources":["../../../../src/commands/murder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,OAAO,CAAC,MAAM,CAAC;IACb,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,aAAa;IACpB,YAAY,EAAE,CAAC;IACf,SAAS,EAAE,eAAe;IAC1B,SAAS,EAAE,EAAE;CACd,EAAE,KAAK;IACN,IAAI,CAAC;QAEJ,OAAO,CAAC,GAAG,CAAC;;;;;;;;;;;;;;CAcd,EAAE,wBAAwB,CAAC,CAAC;IAC3B,CAAC;IAAC,OAAM,CAAC,EAAE,CAAC;QAEV,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|