@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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import * as exLog from 'single-line-log2';
|
|
2
|
+
import cli from 'cli-color';
|
|
3
|
+
import cliCursor from 'cli-cursor';
|
|
4
|
+
import elegantSpinner from 'elegant-spinner';
|
|
5
|
+
import fs from 'fs';
|
|
6
|
+
import { camelCase } from 'change-case';
|
|
7
|
+
const check = '\u2714';
|
|
8
|
+
const cross = '\u2718';
|
|
9
|
+
export var ColorMode;
|
|
10
|
+
(function (ColorMode) {
|
|
11
|
+
ColorMode[ColorMode["DARK"] = 0] = "DARK";
|
|
12
|
+
ColorMode[ColorMode["LIGHT"] = 1] = "LIGHT";
|
|
13
|
+
})(ColorMode || (ColorMode = {}));
|
|
14
|
+
const DarkColors = {
|
|
15
|
+
success: cli.greenBright,
|
|
16
|
+
warn: cli.yellowBright,
|
|
17
|
+
notice: cli.cyanBright,
|
|
18
|
+
error: cli.red.bold,
|
|
19
|
+
header: cli.blackBright,
|
|
20
|
+
bright: cli.whiteBright,
|
|
21
|
+
info: cli.cyanBright,
|
|
22
|
+
majestic: cli.magentaBright
|
|
23
|
+
};
|
|
24
|
+
const LightColors = {
|
|
25
|
+
success: cli.green,
|
|
26
|
+
warn: cli.yellow,
|
|
27
|
+
notice: cli.cyan,
|
|
28
|
+
error: cli.red,
|
|
29
|
+
header: cli.black,
|
|
30
|
+
bright: cli.black,
|
|
31
|
+
info: cli.cyan,
|
|
32
|
+
majestic: cli.magenta
|
|
33
|
+
};
|
|
34
|
+
const formatOptionalOpts = (opts) => {
|
|
35
|
+
return opts.map((opt) => {
|
|
36
|
+
if (typeof opt === 'object') {
|
|
37
|
+
if (opt?.hidden) {
|
|
38
|
+
return '';
|
|
39
|
+
}
|
|
40
|
+
if (opt.boolFlag) {
|
|
41
|
+
return `[--${camelCase(opt.name)}]`;
|
|
42
|
+
}
|
|
43
|
+
return `[--${camelCase(opt.name)}=${(opt?.values) ? opt.values.join('|') : '<value>'}]`;
|
|
44
|
+
}
|
|
45
|
+
return (opt) ? `[--${camelCase(opt)}]` : '';
|
|
46
|
+
}).join(' ');
|
|
47
|
+
};
|
|
48
|
+
const formatRequiredOpts = (opts) => {
|
|
49
|
+
return opts.map((opt) => {
|
|
50
|
+
if (typeof opt === 'object') {
|
|
51
|
+
if (opt?.hidden) {
|
|
52
|
+
return '';
|
|
53
|
+
}
|
|
54
|
+
if (opt.boolFlag) {
|
|
55
|
+
return `--${camelCase(opt.name)}`;
|
|
56
|
+
}
|
|
57
|
+
return `--${camelCase(opt.name)}=${(opt?.values) ? opt.values.join('|') : '<value>'}`;
|
|
58
|
+
}
|
|
59
|
+
return `--${camelCase(opt)}`;
|
|
60
|
+
}).join(' ');
|
|
61
|
+
};
|
|
62
|
+
export class Log {
|
|
63
|
+
static colorMode = ColorMode.DARK; // Default mode
|
|
64
|
+
static get colors() {
|
|
65
|
+
return Log.colorMode === ColorMode.DARK ? DarkColors : LightColors;
|
|
66
|
+
}
|
|
67
|
+
static setColorMode(mode) {
|
|
68
|
+
Log.colorMode = mode;
|
|
69
|
+
}
|
|
70
|
+
static success(message) {
|
|
71
|
+
if (message) {
|
|
72
|
+
console.log(Log.colors.success(message));
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
static warn(message) {
|
|
76
|
+
if (message) {
|
|
77
|
+
console.log(Log.colors.warn(message));
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
static notice(message) {
|
|
81
|
+
if (message) {
|
|
82
|
+
console.log(Log.colors.notice(message));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
static error(message) {
|
|
86
|
+
if (message) {
|
|
87
|
+
console.log(Log.colors.error(message));
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
static header(message) {
|
|
91
|
+
if (message) {
|
|
92
|
+
console.log(Log.colors.header(message));
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
static bright(message) {
|
|
96
|
+
if (message) {
|
|
97
|
+
console.log(Log.colors.bright(message));
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
static info(message) {
|
|
101
|
+
if (message) {
|
|
102
|
+
console.log(Log.colors.info(message));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
static majestic(message) {
|
|
106
|
+
if (message) {
|
|
107
|
+
console.log(Log.colors.majestic(message));
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
static usage(description, examples, usage, shortDesc, requiredOpts, validOpts, experimental) {
|
|
111
|
+
const formatOptionDescriptions = (opts) => {
|
|
112
|
+
return opts
|
|
113
|
+
.filter(opt => !opt.hidden) // Filter out hidden options
|
|
114
|
+
.map(opt => {
|
|
115
|
+
const optionName = opt.boolFlag
|
|
116
|
+
? `--${camelCase(opt.name)}` // Format boolean flags without a value
|
|
117
|
+
: `--${camelCase(opt.name)}=${opt.values ? opt.values.join('|') : '<value>'}`; // Format with possible values or placeholder
|
|
118
|
+
const description = opt.description ? ` - ${opt.description}` : ''; // Append description if available
|
|
119
|
+
return ` ${cli.white(optionName)}${description}`;
|
|
120
|
+
})
|
|
121
|
+
.join('\n'); // Join each option into a newline-separated string
|
|
122
|
+
};
|
|
123
|
+
const header = cli.blackBright;
|
|
124
|
+
if (experimental) {
|
|
125
|
+
Log.warn('This command is experimental and may not be fully functional.');
|
|
126
|
+
}
|
|
127
|
+
Log.bright(shortDesc);
|
|
128
|
+
if (examples && examples?.length > 0) {
|
|
129
|
+
Log.bright(header('Examples:'));
|
|
130
|
+
examples.forEach((example) => {
|
|
131
|
+
Log.bright(` > ${example}`);
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
if (description) {
|
|
135
|
+
Log.header('\nManual:');
|
|
136
|
+
Log.notice(` ${description.trim()}`);
|
|
137
|
+
}
|
|
138
|
+
if (usage) {
|
|
139
|
+
Log.bright(`\n${header('Usage:')} ${usage} ${formatRequiredOpts(requiredOpts)} ${formatOptionalOpts(validOpts)}\n`);
|
|
140
|
+
}
|
|
141
|
+
// Append options and their descriptions to the Manual section under "Options"
|
|
142
|
+
const allOpts = [...requiredOpts, ...validOpts];
|
|
143
|
+
// only use formatOptionDescriptions if they are NamedParam[], otherwise they are strings
|
|
144
|
+
const optionDescriptions = (allOpts[0] && typeof allOpts[0] === 'object') ? formatOptionDescriptions(allOpts) : '';
|
|
145
|
+
if (optionDescriptions) {
|
|
146
|
+
Log.header('\nOptions:');
|
|
147
|
+
console.log(optionDescriptions);
|
|
148
|
+
}
|
|
149
|
+
Log.header(`\nFor more information, visit https://www.maka-cli.com`);
|
|
150
|
+
Log.header(`All commands accept the --help or -h flag for more information`);
|
|
151
|
+
}
|
|
152
|
+
static withSpinner(message = '') {
|
|
153
|
+
cliCursor.hide();
|
|
154
|
+
const frame = elegantSpinner();
|
|
155
|
+
cliCursor.hide();
|
|
156
|
+
let timer;
|
|
157
|
+
return {
|
|
158
|
+
start(newMsg) {
|
|
159
|
+
if (newMsg) {
|
|
160
|
+
message = newMsg;
|
|
161
|
+
}
|
|
162
|
+
timer = setInterval(function () {
|
|
163
|
+
exLog.stdout(`${cli.cyan(frame())} ${message}`);
|
|
164
|
+
}, 90);
|
|
165
|
+
},
|
|
166
|
+
success(note = '') {
|
|
167
|
+
clearInterval(timer);
|
|
168
|
+
exLog.stdout(`${cli.greenBright(check)} ${message} ${note}`);
|
|
169
|
+
console.log();
|
|
170
|
+
cliCursor.show();
|
|
171
|
+
},
|
|
172
|
+
failure(note = '') {
|
|
173
|
+
clearInterval(timer);
|
|
174
|
+
exLog.stdout(`${cli.red.bold(cross)} ${message} ${note}`);
|
|
175
|
+
console.log();
|
|
176
|
+
cliCursor.show();
|
|
177
|
+
},
|
|
178
|
+
stop() {
|
|
179
|
+
clearInterval(timer);
|
|
180
|
+
cliCursor.show();
|
|
181
|
+
},
|
|
182
|
+
update(updateMessage) {
|
|
183
|
+
if (updateMessage) {
|
|
184
|
+
message = updateMessage;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
// In your Log class
|
|
190
|
+
static singleLine(message) {
|
|
191
|
+
exLog.stdout(message); // Write the new message
|
|
192
|
+
}
|
|
193
|
+
static singleLineSuccess(message) {
|
|
194
|
+
exLog.stdout(`${cli.greenBright(check)} ${message}`);
|
|
195
|
+
}
|
|
196
|
+
static file(filePath) {
|
|
197
|
+
try {
|
|
198
|
+
const content = fs.readFileSync(filePath, 'utf8');
|
|
199
|
+
console.log(cli.whiteBright(content)); // Or use another color/formatting
|
|
200
|
+
}
|
|
201
|
+
catch (e) {
|
|
202
|
+
console.error(cli.red(`Error reading file: ${e.message}`));
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
//# sourceMappingURL=log.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"log.class.js","sourceRoot":"","sources":["../../../../../src/tools/log/log.class.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,GAAG,MAAM,WAAW,CAAC;AAC5B,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,cAAc,MAAM,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|
1
|
+
import { FSI } from '../fsi/fsi.class.js';
|
|
2
|
+
import { CFG } from '../cfg/cfg.class.js';
|
|
3
|
+
import { PKG } from '../pkg/pkg.class.js';
|
|
4
|
+
export declare class MPI {
|
|
5
|
+
private static instance;
|
|
6
|
+
private fsi;
|
|
7
|
+
private cfg;
|
|
8
|
+
private pkg;
|
|
9
|
+
meteor: string;
|
|
10
|
+
meteorRelease: string | null;
|
|
11
|
+
private constructor();
|
|
12
|
+
static getInstance(fsi: FSI, cfg: CFG, pkg: PKG): MPI;
|
|
13
|
+
getMeteorExePath(): string;
|
|
14
|
+
isMeteorInstalled(): boolean;
|
|
15
|
+
setMeteorReleaseVersion(version: string): void;
|
|
16
|
+
getMeteorReleaseVersion(): string | null;
|
|
17
|
+
getGlobalMeteorVersion(): Promise<string>;
|
|
18
|
+
checkForMeteorVersionMismatch(): boolean;
|
|
19
|
+
maybeProxyCommandToMeteor(): Promise<void>;
|
|
20
|
+
getInstalledMeteorVersion(meteorVersion: string): string;
|
|
21
|
+
linkVersionAsCurrent(meteorVersion: string): void;
|
|
22
|
+
invokeMeteorCommand(cmd: string, args: string[]): Promise<void>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
// Meteor Process Interface
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import fs from 'fs';
|
|
4
|
+
import os from 'os';
|
|
5
|
+
import { execSync } from 'child_process';
|
|
6
|
+
import { pascalCase } from "change-case";
|
|
7
|
+
import { Log } from '../log/log.class.js';
|
|
8
|
+
import { Actions } from '../actions/actions.class.js';
|
|
9
|
+
import { MustBeInProjectError } from '../../error.js';
|
|
10
|
+
const homeDir = os.homedir();
|
|
11
|
+
const errorHandler = (caller, error) => {
|
|
12
|
+
if (process.env['MAKA_DEV'] === 'True') {
|
|
13
|
+
Log.error(`Error in ${caller}`);
|
|
14
|
+
}
|
|
15
|
+
if (error) {
|
|
16
|
+
console.error(error);
|
|
17
|
+
}
|
|
18
|
+
};
|
|
19
|
+
export class MPI {
|
|
20
|
+
static instance;
|
|
21
|
+
fsi;
|
|
22
|
+
cfg;
|
|
23
|
+
pkg;
|
|
24
|
+
meteor;
|
|
25
|
+
meteorRelease;
|
|
26
|
+
// Private constructor to prevent direct instantiation
|
|
27
|
+
constructor(fsi, cfg, pkg) {
|
|
28
|
+
this.fsi = fsi;
|
|
29
|
+
this.cfg = cfg;
|
|
30
|
+
this.pkg = pkg;
|
|
31
|
+
const meteorExePath = this.getMeteorExePath();
|
|
32
|
+
this.meteorRelease = this.getMeteorReleaseVersion();
|
|
33
|
+
this.meteor = meteorExePath;
|
|
34
|
+
}
|
|
35
|
+
// Static method to get the singleton instance
|
|
36
|
+
static getInstance(fsi, cfg, pkg) {
|
|
37
|
+
if (!MPI.instance) {
|
|
38
|
+
MPI.instance = new MPI(fsi, cfg, pkg);
|
|
39
|
+
}
|
|
40
|
+
return MPI.instance;
|
|
41
|
+
}
|
|
42
|
+
getMeteorExePath() {
|
|
43
|
+
const isWin = process.platform === 'win32';
|
|
44
|
+
const binaryName = isWin ? 'meteor.cmd' : 'meteor';
|
|
45
|
+
return path.join(homeDir, '.meteor', 'bin', binaryName);
|
|
46
|
+
}
|
|
47
|
+
isMeteorInstalled() {
|
|
48
|
+
try {
|
|
49
|
+
const meteorCmd = this.getMeteorExePath();
|
|
50
|
+
if (!fs.existsSync(meteorCmd))
|
|
51
|
+
return false;
|
|
52
|
+
const stats = fs.lstatSync(meteorCmd);
|
|
53
|
+
if (stats.isSymbolicLink()) {
|
|
54
|
+
const realPath = fs.realpathSync(meteorCmd);
|
|
55
|
+
return fs.existsSync(realPath) && fs.statSync(realPath).isFile();
|
|
56
|
+
}
|
|
57
|
+
return stats.isFile();
|
|
58
|
+
}
|
|
59
|
+
catch (error) {
|
|
60
|
+
return false;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
setMeteorReleaseVersion(version) {
|
|
64
|
+
try {
|
|
65
|
+
const releaseFilePath = path.join(homeDir, '.meteor', 'VERSION');
|
|
66
|
+
const meteorDir = path.dirname(releaseFilePath);
|
|
67
|
+
if (!fs.existsSync(meteorDir)) {
|
|
68
|
+
fs.mkdirSync(meteorDir, { recursive: true });
|
|
69
|
+
}
|
|
70
|
+
fs.writeFileSync(releaseFilePath, version, 'utf8');
|
|
71
|
+
Log.success(`Meteor release version set to ${version} in ${releaseFilePath}`);
|
|
72
|
+
}
|
|
73
|
+
catch (e) {
|
|
74
|
+
errorHandler('setMeteorReleaseVersion()', e);
|
|
75
|
+
process.exit(1);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
getMeteorReleaseVersion() {
|
|
79
|
+
try {
|
|
80
|
+
const releaseFilePath = path.join(homeDir, '.meteor', 'VERSION');
|
|
81
|
+
if (fs.existsSync(releaseFilePath)) {
|
|
82
|
+
const version = fs.readFileSync(releaseFilePath, 'utf8').trim();
|
|
83
|
+
return version;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
catch (e) {
|
|
90
|
+
errorHandler('getMeteorReleaseVersion()', e);
|
|
91
|
+
return null;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
async getGlobalMeteorVersion() {
|
|
95
|
+
let meteorVersion = this.getMeteorReleaseVersion() || '0.0.0';
|
|
96
|
+
try {
|
|
97
|
+
meteorVersion = execSync(`${this.meteor} --version`, {
|
|
98
|
+
stdio: 'ignore',
|
|
99
|
+
cwd: this.fsi.findAppDirectory(),
|
|
100
|
+
env: {
|
|
101
|
+
...process.env,
|
|
102
|
+
HTTP_PROXY: 'http://127.0.0.1:9999',
|
|
103
|
+
HTTPS_PROXY: 'http://127.0.0.1:9999', // point to a dummy or blocking proxy
|
|
104
|
+
},
|
|
105
|
+
}).toString().replace('Meteor', '').trim();
|
|
106
|
+
}
|
|
107
|
+
catch (error) {
|
|
108
|
+
//nop
|
|
109
|
+
}
|
|
110
|
+
const semVerNumberCount = meteorVersion.split('.').length;
|
|
111
|
+
if (semVerNumberCount < 3) {
|
|
112
|
+
meteorVersion = meteorVersion + '.0';
|
|
113
|
+
}
|
|
114
|
+
return meteorVersion;
|
|
115
|
+
}
|
|
116
|
+
checkForMeteorVersionMismatch() {
|
|
117
|
+
try {
|
|
118
|
+
const appDir = this.fsi.findAppDirectory();
|
|
119
|
+
const projectReleaseFile = path.join(appDir, '.meteor', 'release');
|
|
120
|
+
if (!fs.existsSync(projectReleaseFile))
|
|
121
|
+
return false;
|
|
122
|
+
const projectRelease = fs.readFileSync(projectReleaseFile, 'utf8').trim();
|
|
123
|
+
const systemRelease = this.getMeteorReleaseVersion();
|
|
124
|
+
return projectRelease !== systemRelease;
|
|
125
|
+
}
|
|
126
|
+
catch (e) {
|
|
127
|
+
errorHandler('checkForMeteorVersionMismatch()', e);
|
|
128
|
+
return false;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
async maybeProxyCommandToMeteor() {
|
|
132
|
+
try {
|
|
133
|
+
const validMeteorCommands = [
|
|
134
|
+
'open',
|
|
135
|
+
'npm',
|
|
136
|
+
'run',
|
|
137
|
+
'update',
|
|
138
|
+
'add',
|
|
139
|
+
'remove',
|
|
140
|
+
'list',
|
|
141
|
+
'add-platform',
|
|
142
|
+
'install-sdk',
|
|
143
|
+
'remove-platform',
|
|
144
|
+
'list-platforms',
|
|
145
|
+
'configure-android',
|
|
146
|
+
'build',
|
|
147
|
+
'shell',
|
|
148
|
+
'mongo',
|
|
149
|
+
'reset',
|
|
150
|
+
'logs',
|
|
151
|
+
'authorized',
|
|
152
|
+
'claim',
|
|
153
|
+
'login',
|
|
154
|
+
'logout',
|
|
155
|
+
'whoami',
|
|
156
|
+
'test-packages',
|
|
157
|
+
'admin',
|
|
158
|
+
'list-sites',
|
|
159
|
+
'publish-release',
|
|
160
|
+
'publish',
|
|
161
|
+
'publish-for-arch',
|
|
162
|
+
'search',
|
|
163
|
+
'show',
|
|
164
|
+
'node',
|
|
165
|
+
];
|
|
166
|
+
const allArgs = process.argv.slice(2);
|
|
167
|
+
const cmd = allArgs[0];
|
|
168
|
+
const args = allArgs.slice(1);
|
|
169
|
+
if (!validMeteorCommands.includes(cmd)) {
|
|
170
|
+
Log.error('Command not found');
|
|
171
|
+
throw Log.error('Run "maka --help" for a list of commands');
|
|
172
|
+
}
|
|
173
|
+
if (cmd === 'add-platform') {
|
|
174
|
+
const appDirectory = this.fsi.findAppDirectory();
|
|
175
|
+
const appConfig = this.cfg.getMakaProjectConfig();
|
|
176
|
+
if (!appConfig) {
|
|
177
|
+
throw MustBeInProjectError;
|
|
178
|
+
}
|
|
179
|
+
const mobileConfigPath = path.join(appDirectory, 'mobile-config.js');
|
|
180
|
+
let overWrite = false;
|
|
181
|
+
if (fs.existsSync(mobileConfigPath)) {
|
|
182
|
+
overWrite = await Actions.confirm(`A mobile-config.js file already exists, overwrite? [yN]`, false);
|
|
183
|
+
}
|
|
184
|
+
if (typeof appDirectory === 'string') {
|
|
185
|
+
const configExists = this.fsi.isFile(mobileConfigPath);
|
|
186
|
+
if (!configExists || overWrite) {
|
|
187
|
+
const appName = (await Actions.ask(`App name? [${appConfig.appName}]`)) || appConfig.appName;
|
|
188
|
+
const mobileConfig = fs.createWriteStream(mobileConfigPath, { flags: 'w' });
|
|
189
|
+
mobileConfig.on('open', function () {
|
|
190
|
+
mobileConfig.write(`// For more information on mobile config, visit:\n`);
|
|
191
|
+
mobileConfig.write(`// https://docs.meteor.com/api/mobile-config.html\n`);
|
|
192
|
+
mobileConfig.write(`App.info({\n`);
|
|
193
|
+
mobileConfig.write(`\tid: 'com.meteor.maka.${pascalCase(appConfig.appName)}',\n`);
|
|
194
|
+
mobileConfig.write(`\tname: '${appName}',\n`);
|
|
195
|
+
mobileConfig.write(`\tversion: '0.0.1',\n`);
|
|
196
|
+
mobileConfig.write(`});\n`);
|
|
197
|
+
mobileConfig.end();
|
|
198
|
+
});
|
|
199
|
+
mobileConfig.on('finish', function () {
|
|
200
|
+
Log.success(`Mobile app configuration written to ${mobileConfigPath}`);
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
else {
|
|
204
|
+
Log.warn('A mobile-config.js already exists, not over writing');
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
if (args[0] === 'ios') {
|
|
208
|
+
const projectDirectory = this.fsi.findProjectDirectory();
|
|
209
|
+
if (typeof projectDirectory === 'string') {
|
|
210
|
+
await this.invokeMeteorCommand(cmd, args);
|
|
211
|
+
const pathForiOSCordova = path.join(projectDirectory, 'app', '.meteor', 'local', 'cordova-build', 'plugins', 'cordova-plugin-meteor-webapp');
|
|
212
|
+
if (pathForiOSCordova) {
|
|
213
|
+
const installArgs = ['ios-sim@latest', 'cordova@latest'];
|
|
214
|
+
await this.pkg.installNpmPackage(installArgs.join(' '), { cwd: appDirectory, saveDev: true, msg: 'Patching ios-sim and cordova' });
|
|
215
|
+
Log.notice("Don't forget these commands: \n sudo xcode-select -s /Applications/Xcode.app/Contents/Developer \n sudo gem install cocoapods \n sudo xcodebuild -license accept \n brew install ios-deploy");
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
process.exit(0);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
await this.invokeMeteorCommand(cmd, args);
|
|
222
|
+
process.exit(0);
|
|
223
|
+
}
|
|
224
|
+
catch (e) {
|
|
225
|
+
errorHandler('maybeProxyCommandToMeteor()', e);
|
|
226
|
+
process.exit(1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
getInstalledMeteorVersion(meteorVersion) {
|
|
230
|
+
const isWin = process.platform === 'win32';
|
|
231
|
+
const binaryName = isWin ? 'meteor.bat' : 'meteor';
|
|
232
|
+
return path.join(homeDir, '.meteor', 'releases', meteorVersion, '.meteor', binaryName);
|
|
233
|
+
}
|
|
234
|
+
linkVersionAsCurrent(meteorVersion) {
|
|
235
|
+
const isWin = process.platform === 'win32';
|
|
236
|
+
const releasesDir = path.join(homeDir, '.meteor', 'releases');
|
|
237
|
+
const binDir = path.join(homeDir, '.meteor', 'bin');
|
|
238
|
+
const targetMeteor = path.join(releasesDir, meteorVersion, '.meteor', isWin ? 'meteor.bat' : 'meteor');
|
|
239
|
+
const symlinkPath = path.join(binDir, isWin ? 'meteor.cmd' : 'meteor');
|
|
240
|
+
const rootDispatcherPath = path.join(homeDir, '.meteor', isWin ? 'meteor.bat' : 'meteor');
|
|
241
|
+
if (!fs.existsSync(targetMeteor)) {
|
|
242
|
+
throw new Error(`Cannot link Meteor ${meteorVersion}: Target binary not found at ${targetMeteor}`);
|
|
243
|
+
}
|
|
244
|
+
fs.mkdirSync(binDir, { recursive: true });
|
|
245
|
+
// Clean up old
|
|
246
|
+
for (const file of [symlinkPath, rootDispatcherPath]) {
|
|
247
|
+
try {
|
|
248
|
+
if (fs.existsSync(file)) {
|
|
249
|
+
fs.unlinkSync(file);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
catch (err) {
|
|
253
|
+
if (err.code !== 'ENOENT')
|
|
254
|
+
Log.warn(`Could not remove old file ${file}: ${err.message}`);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
if (isWin) {
|
|
258
|
+
const wrapper = `@echo off\r\n"${targetMeteor}" %*\r\n`;
|
|
259
|
+
fs.writeFileSync(symlinkPath, wrapper, { mode: 0o755 });
|
|
260
|
+
fs.writeFileSync(rootDispatcherPath, wrapper, { mode: 0o755 });
|
|
261
|
+
}
|
|
262
|
+
else {
|
|
263
|
+
fs.symlinkSync(targetMeteor, symlinkPath);
|
|
264
|
+
fs.symlinkSync(targetMeteor, rootDispatcherPath);
|
|
265
|
+
}
|
|
266
|
+
this.setMeteorReleaseVersion(meteorVersion);
|
|
267
|
+
Log.success(`Meteor ${meteorVersion} is now the active version`);
|
|
268
|
+
}
|
|
269
|
+
async invokeMeteorCommand(cmd, args) {
|
|
270
|
+
try {
|
|
271
|
+
const projectDir = this.fsi.findProjectDirectory();
|
|
272
|
+
if (!projectDir) {
|
|
273
|
+
throw new MustBeInProjectError();
|
|
274
|
+
}
|
|
275
|
+
if (cmd === 'run') {
|
|
276
|
+
const portIdx = args.indexOf('-p');
|
|
277
|
+
if (portIdx > 0) {
|
|
278
|
+
args[portIdx] = '--port';
|
|
279
|
+
}
|
|
280
|
+
const portLongIdx = args.indexOf('--port');
|
|
281
|
+
if (portIdx > 0) {
|
|
282
|
+
let desiredPort = parseInt(args[portIdx + 1], 10);
|
|
283
|
+
desiredPort = await this.fsi.getAvailablePort(desiredPort);
|
|
284
|
+
args[portIdx + 1] = desiredPort.toString();
|
|
285
|
+
}
|
|
286
|
+
else if (portLongIdx > 0) {
|
|
287
|
+
let desiredPort = parseInt(args[portLongIdx + 1], 10);
|
|
288
|
+
desiredPort = await this.fsi.getAvailablePort(desiredPort);
|
|
289
|
+
args[portLongIdx + 1] = desiredPort.toString();
|
|
290
|
+
}
|
|
291
|
+
else {
|
|
292
|
+
let desiredPort = parseInt('3000', 10);
|
|
293
|
+
desiredPort = await this.fsi.getAvailablePort(desiredPort);
|
|
294
|
+
args = args.concat(['--port', desiredPort.toString()]);
|
|
295
|
+
}
|
|
296
|
+
const rawLogsIdx = args.indexOf('-r');
|
|
297
|
+
if (rawLogsIdx > 0) {
|
|
298
|
+
args[rawLogsIdx] = '--raw-logs';
|
|
299
|
+
}
|
|
300
|
+
const inspectIdx = args.indexOf('-i');
|
|
301
|
+
if (inspectIdx > 0) {
|
|
302
|
+
args[inspectIdx] = '--inspect';
|
|
303
|
+
}
|
|
304
|
+
const excludeIdx = args.indexOf('-x');
|
|
305
|
+
if (excludeIdx > 0) {
|
|
306
|
+
args[excludeIdx] = '--exclude-archs';
|
|
307
|
+
}
|
|
308
|
+
const mobileSIdx = args.indexOf('-m');
|
|
309
|
+
if (mobileSIdx > 0) {
|
|
310
|
+
args[mobileSIdx] = '--mobile-server';
|
|
311
|
+
}
|
|
312
|
+
const sslIdx = args.indexOf('--ssl');
|
|
313
|
+
if (sslIdx > 0) {
|
|
314
|
+
args.splice(sslIdx, 1);
|
|
315
|
+
}
|
|
316
|
+
if (process.env.PORT && !args.includes('--port')) {
|
|
317
|
+
args = args.concat(['--port', process.env.PORT]);
|
|
318
|
+
}
|
|
319
|
+
if (process.env.BIND_IP && !args.includes('--port')) {
|
|
320
|
+
args = args.concat(['--port', process.env.BIND_IP]);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
const runArgs = [cmd].concat(args);
|
|
324
|
+
if (this.checkForMeteorVersionMismatch()) {
|
|
325
|
+
const appDir = this.fsi.findAppDirectory();
|
|
326
|
+
const projectRelease = fs.readFileSync(path.join(appDir, '.meteor', 'release'), 'utf8').replace('METEOR@', '').trim();
|
|
327
|
+
const systemRelease = this.getMeteorReleaseVersion();
|
|
328
|
+
try {
|
|
329
|
+
Log.notice(`Attempting to use ${projectRelease}`);
|
|
330
|
+
this.linkVersionAsCurrent(projectRelease);
|
|
331
|
+
}
|
|
332
|
+
catch (error) {
|
|
333
|
+
Log.error(`This project's version is at ${projectRelease}, however you are using ${systemRelease}.`);
|
|
334
|
+
Log.notice(`Consider updating this project, or installing the version of Meteor using 'maka install meteor --release ${projectRelease}'`);
|
|
335
|
+
process.exit(0);
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
if (cmd === 'publish') {
|
|
339
|
+
execSync(`${this.meteor} ${runArgs.join(' ')}`, { stdio: 'inherit' });
|
|
340
|
+
}
|
|
341
|
+
else {
|
|
342
|
+
execSync(`${this.meteor} ${runArgs.join(' ')}`, { stdio: 'inherit', cwd: this.fsi.findAppDirectory() });
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
catch (e) {
|
|
346
|
+
errorHandler('invokeMeteorCommand()', e);
|
|
347
|
+
process.exit(1);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
//# sourceMappingURL=mpi.class.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mpi.class.js","sourceRoot":"","sources":["../../../../../src/tools/mpi/mp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I,CAAC,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,gBAAgB,EAAE,EAAE,CAAC,CAAC;YAC1G,CAAC;QACH,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,YAAY,CAAC,uBAAuB,EAAE,CAAC,CAAC,CAAC;YACzC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NamedParam } from '../../tool.js';
|
|
2
|
+
export declare class OptionHandler {
|
|
3
|
+
inputOpts: string[];
|
|
4
|
+
opts: Record<string, any>;
|
|
5
|
+
requiredOpts: (string | NamedParam)[];
|
|
6
|
+
validOpts: (string | NamedParam)[];
|
|
7
|
+
constructor();
|
|
8
|
+
handleOptions(inputOpts: string[], requiredOpts: (string | NamedParam)[], validOpts: (string | NamedParam)[]): Promise<void>;
|
|
9
|
+
private handleRequiredOptions;
|
|
10
|
+
private handleValidOptions;
|
|
11
|
+
}
|