@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,23 @@
|
|
|
1
|
+
import { Logger } from '../utilities/logger.js';
|
|
2
|
+
import { IPuzzleConstructorConfig } from '../types/interfaces.js';
|
|
3
|
+
import { Item } from './item.js';
|
|
4
|
+
import { Inventory } from './inventory.js';
|
|
5
|
+
import { AbstractPuzzle } from '../types/abstracts.js';
|
|
6
|
+
export declare class Puzzle extends AbstractPuzzle {
|
|
7
|
+
protected logger: Logger;
|
|
8
|
+
protected solved: boolean;
|
|
9
|
+
requiredItem?: string;
|
|
10
|
+
requiredPhrase?: string;
|
|
11
|
+
riddle?: string;
|
|
12
|
+
rewardItem?: Item;
|
|
13
|
+
successMessage: string;
|
|
14
|
+
failureMessage: string;
|
|
15
|
+
hobbyTags?: string[];
|
|
16
|
+
constructor(config: IPuzzleConstructorConfig);
|
|
17
|
+
hasRequiredItem(playerInventory: Inventory): boolean;
|
|
18
|
+
matchesRequiredPhrase(inputPhrase: string): boolean;
|
|
19
|
+
solve(providedAnswer: string, playerInventory: Inventory): {
|
|
20
|
+
success: boolean;
|
|
21
|
+
message: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Logger } from '../utilities/logger.js';
|
|
2
|
+
import { AbstractPuzzle } from '../types/abstracts.js';
|
|
3
|
+
export class Puzzle extends AbstractPuzzle {
|
|
4
|
+
logger = Logger.getInstance();
|
|
5
|
+
solved = false;
|
|
6
|
+
requiredItem;
|
|
7
|
+
requiredPhrase;
|
|
8
|
+
riddle;
|
|
9
|
+
rewardItem;
|
|
10
|
+
successMessage;
|
|
11
|
+
failureMessage;
|
|
12
|
+
hobbyTags;
|
|
13
|
+
constructor(config) {
|
|
14
|
+
super();
|
|
15
|
+
this.requiredItem = config.requiredItem;
|
|
16
|
+
this.requiredPhrase = config.requiredPhrase;
|
|
17
|
+
this.riddle = config.riddle;
|
|
18
|
+
this.rewardItem = config.rewardItem;
|
|
19
|
+
this.successMessage = config.successMessage || 'You solved the puzzle!';
|
|
20
|
+
this.failureMessage = config.failureMessage || `You don't have the necessary item or the correct phrase to solve the puzzle.`;
|
|
21
|
+
this.hobbyTags = config.hobbyTags ?? [];
|
|
22
|
+
}
|
|
23
|
+
hasRequiredItem(playerInventory) {
|
|
24
|
+
if (this.requiredItem) {
|
|
25
|
+
return playerInventory.hasItem(this.requiredItem);
|
|
26
|
+
}
|
|
27
|
+
return false;
|
|
28
|
+
}
|
|
29
|
+
matchesRequiredPhrase(inputPhrase) {
|
|
30
|
+
return this.requiredPhrase === inputPhrase;
|
|
31
|
+
}
|
|
32
|
+
solve(providedAnswer, playerInventory) {
|
|
33
|
+
if (this.solved) {
|
|
34
|
+
this.logger.write('Puzzle: Attempted to solve an already solved puzzle.');
|
|
35
|
+
return {
|
|
36
|
+
success: false,
|
|
37
|
+
message: 'You have already solved this puzzle.',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
if (this.hasRequiredItem(playerInventory) || this.matchesRequiredPhrase(providedAnswer)) {
|
|
41
|
+
this.solved = true;
|
|
42
|
+
this.logger.write('Puzzle: Correct solution provided.');
|
|
43
|
+
return {
|
|
44
|
+
success: true,
|
|
45
|
+
message: this.successMessage,
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
this.logger.write('Puzzle: Necessary item or correct phrase not provided.');
|
|
50
|
+
return {
|
|
51
|
+
success: false,
|
|
52
|
+
message: this.failureMessage,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=puzzle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"puzzle.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/models/puzzle.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAKhD,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAEvD,MAAM,OAAO,MAAO,SAAQ,cAAc;IAC9B,MAAM,GAAW,MAAM,CAAC,WAAW,EAAE,CAAC;IACtC,MAAM,GAAG,KAAK,CAAC;IAElB,YAAY,CAAU;IACtB,cAAc,CAAU;IACxB,MAAM,CAAU;IAChB,UAAU,CAAQ;IAClB,cAAc,CAAS;IACvB,cAAc,CAAS;IACvB,SAAS,CAAY;IAE5B,YAAY,MAAgC;QAC1C,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,CAAC;QAC5C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,wBAAwB,CAAC;QACxE,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC,cAAc,IAAI,8EAA8E,CAAC;QAC9H,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,IAAI,EAAE,CAAC;IAC1C,CAAC;IAED,eAAe,CAAC,eAA0B;QACxC,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACtB,OAAO,eAAe,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QACpD,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC;IAED,qBAAqB,CAAC,WAAmB;QACvC,OAAO,IAAI,CAAC,cAAc,KAAK,WAAW,CAAC;IAC7C,CAAC;IAED,KAAK,CAAC,cAAsB,EAAE,eAA0B;QACtD,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;YAC1E,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,sCAAsC;aAChD,CAAC;QACJ,CAAC;QAED,IAAI,IAAI,CAAC,eAAe,CAAC,eAAe,CAAC,IAAI,IAAI,CAAC,qBAAqB,CAAC,cAAc,CAAC,EAAE,CAAC;YACxF,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC;YACxD,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,OAAO,EAAE,IAAI,CAAC,cAAc;aAC7B,CAAC;QACJ,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;YAC5E,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,OAAO,EAAE,IAAI,CAAC,cAAc;aAC7B,CAAC;QACJ,CAAC;IACH,CAAC;CACF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { RoomType, Direction } from '../types/enums.js';
|
|
2
|
+
import { IRoomConfig } from '../types/interfaces.js';
|
|
3
|
+
import { Item } from './item.js';
|
|
4
|
+
import { Puzzle } from './puzzle.js';
|
|
5
|
+
import { Door } from './door.js';
|
|
6
|
+
import { Inventory } from './inventory.js';
|
|
7
|
+
import { Player } from './player.js';
|
|
8
|
+
import { AbstractRoom } from '../types/abstracts.js';
|
|
9
|
+
export declare class Room extends AbstractRoom {
|
|
10
|
+
private logger;
|
|
11
|
+
name: string;
|
|
12
|
+
description: string;
|
|
13
|
+
exits: Map<Direction, Door | string>;
|
|
14
|
+
roomType: RoomType;
|
|
15
|
+
isStartRoom: boolean;
|
|
16
|
+
inventory: Inventory;
|
|
17
|
+
supportedLifestyles?: {
|
|
18
|
+
residenceTypes?: string[];
|
|
19
|
+
employmentRoles?: string[];
|
|
20
|
+
habitTags?: string[];
|
|
21
|
+
};
|
|
22
|
+
governsCurrency: boolean;
|
|
23
|
+
tags?: string[];
|
|
24
|
+
private _currencyLedger;
|
|
25
|
+
constructor(config: IRoomConfig);
|
|
26
|
+
say(actor: Player, message: string): void;
|
|
27
|
+
addExit(direction: Direction, targetRoom: Room, keyItemOrSolution?: string): void;
|
|
28
|
+
attemptUnlockExit(direction: Direction, itemOrSolution: string): string;
|
|
29
|
+
getExit(direction: Direction): Door | string | undefined;
|
|
30
|
+
isExitLocked(direction: Direction): boolean;
|
|
31
|
+
addItem(item: Item): void;
|
|
32
|
+
removeItem(item: Item): void;
|
|
33
|
+
setPuzzle(puzzle: Puzzle): void;
|
|
34
|
+
getOppositeDirection(direction: Direction): Direction;
|
|
35
|
+
findExistingDoor(targetRoom: Room): Door | undefined;
|
|
36
|
+
supportsResidence(type: string): boolean;
|
|
37
|
+
supportsEmployment(role: string): boolean;
|
|
38
|
+
supportsHabit(habit: string): boolean;
|
|
39
|
+
depositCurrencyCarrier(player: Player, item: Item): boolean;
|
|
40
|
+
getPlayerCurrency(player: Player): number;
|
|
41
|
+
withdrawCurrencyCarrier(player: Player, itemName: string): Item | null;
|
|
42
|
+
get currencyLedger(): ReadonlyMap<string, Item[]>;
|
|
43
|
+
storeItemFromActor(actor: Player, item: Item): boolean;
|
|
44
|
+
getItemsForActor(actor: Player): Item[];
|
|
45
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { Logger } from '../utilities/logger.js';
|
|
2
|
+
import { RoomType, Direction } from '../types/enums.js';
|
|
3
|
+
import { Door } from './door.js';
|
|
4
|
+
import { Inventory } from './inventory.js';
|
|
5
|
+
import { AbstractRoom } from '../types/abstracts.js';
|
|
6
|
+
export class Room extends AbstractRoom {
|
|
7
|
+
logger = Logger.getInstance();
|
|
8
|
+
name;
|
|
9
|
+
description;
|
|
10
|
+
exits = new Map();
|
|
11
|
+
roomType;
|
|
12
|
+
isStartRoom;
|
|
13
|
+
inventory = new Inventory();
|
|
14
|
+
supportedLifestyles;
|
|
15
|
+
governsCurrency = false;
|
|
16
|
+
tags;
|
|
17
|
+
_currencyLedger = new Map(); // playerName → currency carrier items
|
|
18
|
+
constructor(config) {
|
|
19
|
+
super();
|
|
20
|
+
this.name = config.name;
|
|
21
|
+
this.description = config.description;
|
|
22
|
+
this.roomType = config.roomType || RoomType.INSIDE;
|
|
23
|
+
this.exits = config.exits || new Map();
|
|
24
|
+
this.inventory = config.inventory || new Inventory();
|
|
25
|
+
this.puzzle = config.puzzle;
|
|
26
|
+
this.isStartRoom = config.isStartRoom || false;
|
|
27
|
+
this.supportedLifestyles = config.supportedLifestyles;
|
|
28
|
+
this.logger.write(`Room created: ${this.name}`);
|
|
29
|
+
this.tags = config.tags;
|
|
30
|
+
}
|
|
31
|
+
say(actor, message) {
|
|
32
|
+
this.emit('speak', actor, message);
|
|
33
|
+
}
|
|
34
|
+
addExit(direction, targetRoom, keyItemOrSolution) {
|
|
35
|
+
let door = this.findExistingDoor(targetRoom);
|
|
36
|
+
if (!door) {
|
|
37
|
+
door = new Door({
|
|
38
|
+
roomA: this,
|
|
39
|
+
roomB: targetRoom,
|
|
40
|
+
isLocked: Boolean(keyItemOrSolution),
|
|
41
|
+
unlockItemOrSolution: keyItemOrSolution,
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
this.exits.set(direction, door);
|
|
45
|
+
targetRoom.exits.set(this.getOppositeDirection(direction), door);
|
|
46
|
+
}
|
|
47
|
+
attemptUnlockExit(direction, itemOrSolution) {
|
|
48
|
+
const exit = this.exits.get(direction);
|
|
49
|
+
if (exit instanceof Door) {
|
|
50
|
+
const result = exit.attemptUnlock(itemOrSolution);
|
|
51
|
+
this.logger.write(`Attempted to unlock exit in direction ${direction}. Success: ${result}`);
|
|
52
|
+
return result ? `The ${exit.name} unlocked!` : `The ${exit.name} remains locked.`;
|
|
53
|
+
}
|
|
54
|
+
this.logger.write(`No locked exit found in direction ${direction}`);
|
|
55
|
+
return `There's no locked exit in that direction.`;
|
|
56
|
+
}
|
|
57
|
+
getExit(direction) {
|
|
58
|
+
this.logger.write(`Fetching exit in direction: ${direction}`);
|
|
59
|
+
return this.exits.get(direction);
|
|
60
|
+
}
|
|
61
|
+
isExitLocked(direction) {
|
|
62
|
+
const exit = this.exits.get(direction);
|
|
63
|
+
const isLocked = exit instanceof Door && exit.checkIfLocked();
|
|
64
|
+
this.logger.write(`Checking if exit in direction ${direction} is locked. Result: ${isLocked}`);
|
|
65
|
+
return isLocked;
|
|
66
|
+
}
|
|
67
|
+
addItem(item) {
|
|
68
|
+
this.inventory.addItem(item);
|
|
69
|
+
this.logger.write(`Item added to room ${this.name}: ${item.name}`);
|
|
70
|
+
}
|
|
71
|
+
removeItem(item) {
|
|
72
|
+
if (this.inventory.hasItem(item.name)) {
|
|
73
|
+
this.inventory.removeItem(item.name);
|
|
74
|
+
this.logger.write(`Item removed from room ${this.name}: ${item.name}`);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.logger.write(`Attempted to remove item that's not in room ${this.name}: ${item.name}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
setPuzzle(puzzle) {
|
|
81
|
+
this.puzzle = puzzle;
|
|
82
|
+
this.logger.write(`Puzzle set for room ${this.name}: ${puzzle.riddle}`);
|
|
83
|
+
}
|
|
84
|
+
getOppositeDirection(direction) {
|
|
85
|
+
switch (direction) {
|
|
86
|
+
case 'north': return Direction.SOUTH;
|
|
87
|
+
case 'south': return Direction.NORTH;
|
|
88
|
+
case 'east': return Direction.WEST;
|
|
89
|
+
case 'west': return Direction.EAST;
|
|
90
|
+
case 'up': return Direction.DOWN;
|
|
91
|
+
case 'down': return Direction.UP;
|
|
92
|
+
default: throw new Error(`Invalid direction: ${direction}`);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
findExistingDoor(targetRoom) {
|
|
96
|
+
for (const exit of this.exits.values()) {
|
|
97
|
+
if (exit instanceof Door) {
|
|
98
|
+
if ((exit.roomA === this && exit.roomB === targetRoom) || (exit.roomB === this && exit.roomA === targetRoom)) {
|
|
99
|
+
return exit;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return undefined;
|
|
104
|
+
}
|
|
105
|
+
supportsResidence(type) {
|
|
106
|
+
return this.supportedLifestyles?.residenceTypes?.includes(type) ?? false;
|
|
107
|
+
}
|
|
108
|
+
supportsEmployment(role) {
|
|
109
|
+
return this.supportedLifestyles?.employmentRoles?.includes(role) ?? false;
|
|
110
|
+
}
|
|
111
|
+
supportsHabit(habit) {
|
|
112
|
+
return this.supportedLifestyles?.habitTags?.includes(habit) ?? false;
|
|
113
|
+
}
|
|
114
|
+
depositCurrencyCarrier(player, item) {
|
|
115
|
+
if (!this.governsCurrency || !item.isCurrencyCarrier())
|
|
116
|
+
return false;
|
|
117
|
+
if (!this._currencyLedger.has(player.name)) {
|
|
118
|
+
this._currencyLedger.set(player.name, []);
|
|
119
|
+
}
|
|
120
|
+
this._currencyLedger.get(player.name).push(item);
|
|
121
|
+
return true;
|
|
122
|
+
}
|
|
123
|
+
getPlayerCurrency(player) {
|
|
124
|
+
const items = this._currencyLedger.get(player.name);
|
|
125
|
+
if (!items)
|
|
126
|
+
return 0;
|
|
127
|
+
return items.reduce((sum, item) => sum + item.currencyAmount, 0);
|
|
128
|
+
}
|
|
129
|
+
withdrawCurrencyCarrier(player, itemName) {
|
|
130
|
+
const items = this._currencyLedger.get(player.name);
|
|
131
|
+
if (!items)
|
|
132
|
+
return null;
|
|
133
|
+
const index = items.findIndex(i => i.name === itemName);
|
|
134
|
+
if (index === -1)
|
|
135
|
+
return null;
|
|
136
|
+
const [removed] = items.splice(index, 1);
|
|
137
|
+
return removed;
|
|
138
|
+
}
|
|
139
|
+
get currencyLedger() {
|
|
140
|
+
return this._currencyLedger;
|
|
141
|
+
}
|
|
142
|
+
storeItemFromActor(actor, item) {
|
|
143
|
+
if (this.governsCurrency && item.isCurrencyCarrier()) {
|
|
144
|
+
if (this.depositCurrencyCarrier(actor, item)) {
|
|
145
|
+
this.logger.write(`Stored currency carrier from ${actor.name} in ${this.name}`);
|
|
146
|
+
return true;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
const rawResidence = actor.lifestyleChoices?.find(l => l.type === 'residence')?.metadata;
|
|
150
|
+
const residenceLifestyle = typeof rawResidence === 'object' && rawResidence !== null && 'lifestyle' in rawResidence
|
|
151
|
+
? rawResidence
|
|
152
|
+
: undefined;
|
|
153
|
+
const actorResidence = residenceLifestyle?.lifestyle;
|
|
154
|
+
if (actorResidence && this.supportsResidence(actorResidence)) {
|
|
155
|
+
this.inventory.addSecureItem?.(actor.name, item); // assumes secure storage per actor
|
|
156
|
+
this.logger.write(`Item securely stored for ${actor.name} in their residence: ${this.name}`);
|
|
157
|
+
return true;
|
|
158
|
+
}
|
|
159
|
+
this.logger.write(`${item} cannot be sstored by ${actor.name} in room ${this.name}`);
|
|
160
|
+
return false;
|
|
161
|
+
}
|
|
162
|
+
getItemsForActor(actor) {
|
|
163
|
+
const visibleItems = this.inventory.getAllItems();
|
|
164
|
+
const secureItems = this.inventory.getSecureItemsFor(actor.name);
|
|
165
|
+
return [...visibleItems, ...secureItems];
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
//# sourceMappingURL=room.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"room.js","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c,CAAC,EAAE,CAAC;YAC7D,IAAI,CAAC,SAAS,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,mCAAmC;YACrF,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,4BAA4B,KAAK,CAAC,IAAI,wBAAwB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;YAC7F,OAAO,IAAI,CAAC;QACd,CAAC;QAED,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,yBAAyB,KAAK,CAAC,IAAI,YAAY,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QACrF,OAAO,KAAK,CAAC;IACf,CAAC;IAGD,gBAAgB,CAAC,KAAa;QAC5B,MAAM,YAAY,GAAG,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;QAClD,MAAM,WAAW,GAAG,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACjE,OAAO,CAAC,GAAG,YAAY,EAAE,GAAG,WAAW,CAAC,CAAC;IAC3C,CAAC;CACF"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Room } from './room.js';
|
|
2
|
+
import { Player } from './player.js';
|
|
3
|
+
import { Item } from './item.js';
|
|
4
|
+
import { Puzzle } from './puzzle.js';
|
|
5
|
+
import { NPC } from './npc.js';
|
|
6
|
+
import { Logger } from '../utilities/logger.js';
|
|
7
|
+
import { ISceneConstructorConfig, IRooms } from '../types/interfaces.js';
|
|
8
|
+
import { Direction, Size } from '../types/enums.js';
|
|
9
|
+
import { AbstractScene } from '../types/abstracts.js';
|
|
10
|
+
export declare class Scene extends AbstractScene {
|
|
11
|
+
protected rooms: IRooms;
|
|
12
|
+
protected player: Player;
|
|
13
|
+
protected logger: Logger;
|
|
14
|
+
protected actors: Map<string, (Player | NPC)>;
|
|
15
|
+
protected characterLocations: Map<string, Room>;
|
|
16
|
+
private roomFactory;
|
|
17
|
+
private _residenceTiers;
|
|
18
|
+
currency: {
|
|
19
|
+
type: string;
|
|
20
|
+
carrierItemSizes: Size[];
|
|
21
|
+
authorityRoomTags: string[];
|
|
22
|
+
};
|
|
23
|
+
constructor(config: ISceneConstructorConfig);
|
|
24
|
+
initialize(): void;
|
|
25
|
+
private generateRoomsFromConfig;
|
|
26
|
+
private createExitsFromConfig;
|
|
27
|
+
addActor(actor: Player | NPC): void;
|
|
28
|
+
removeActor(name: string): void;
|
|
29
|
+
getActor(name: string): Player | NPC | undefined;
|
|
30
|
+
get allActors(): (Player | NPC)[];
|
|
31
|
+
getActorsInRoom(room: Room): (Player | NPC)[];
|
|
32
|
+
addRoom(room: Room): void;
|
|
33
|
+
removeRoom(roomName: string): boolean;
|
|
34
|
+
addItemToRoom(item: Item, roomName: string): void;
|
|
35
|
+
addPuzzleToRoom(puzzle: Puzzle, roomName: string): void;
|
|
36
|
+
setCharacterLocation(character: Player | NPC, roomName: string): void;
|
|
37
|
+
getCharacterLocation(character: Player | NPC): Room | undefined;
|
|
38
|
+
determineStartRoom(): Room;
|
|
39
|
+
getPlayer(): Player;
|
|
40
|
+
getRooms(): IRooms;
|
|
41
|
+
connectRooms(roomNameA: string, direction: Direction, roomNameB: string, keyItemOrSolution?: string): void;
|
|
42
|
+
private hasRoomSupportingResidence;
|
|
43
|
+
private hasRoomSupportingEmployment;
|
|
44
|
+
private hasRoomSupportingHabit;
|
|
45
|
+
private hasItemSupportingAddiction;
|
|
46
|
+
private hasItemSupportingHabit;
|
|
47
|
+
private hasPuzzleSupportingHobby;
|
|
48
|
+
validateLifestyleSupport(): void;
|
|
49
|
+
getCurrencyType(): string;
|
|
50
|
+
isValidCurrencyCarrier(item: Item): boolean;
|
|
51
|
+
getCurrencyAggregationByTag(): Record<string, Record<string, number>>;
|
|
52
|
+
get residenceTiers(): string[];
|
|
53
|
+
set residenceTiers(tiers: string[]);
|
|
54
|
+
isValidResidenceTier(tier: string): boolean;
|
|
55
|
+
}
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { Logger } from '../utilities/logger.js';
|
|
2
|
+
import { Direction, Size } from '../types/enums.js';
|
|
3
|
+
import { AbstractScene } from '../types/abstracts.js';
|
|
4
|
+
import { RoomFactory } from '../factories/roomsF.js';
|
|
5
|
+
export class Scene extends AbstractScene {
|
|
6
|
+
rooms;
|
|
7
|
+
player;
|
|
8
|
+
logger;
|
|
9
|
+
actors;
|
|
10
|
+
characterLocations = new Map();
|
|
11
|
+
roomFactory;
|
|
12
|
+
_residenceTiers = [];
|
|
13
|
+
currency;
|
|
14
|
+
constructor(config) {
|
|
15
|
+
super();
|
|
16
|
+
this.roomFactory = new RoomFactory();
|
|
17
|
+
this.player = config.player;
|
|
18
|
+
this.rooms = this.generateRoomsFromConfig(config.roomConfiguration);
|
|
19
|
+
this.logger = Logger.getInstance();
|
|
20
|
+
this.actors = new Map();
|
|
21
|
+
this.currency = config.currency ?? {
|
|
22
|
+
type: 'nuyen',
|
|
23
|
+
carrierItemSizes: [Size.Small, Size.Medium, Size.Large],
|
|
24
|
+
authorityRoomTags: ['Bank'],
|
|
25
|
+
};
|
|
26
|
+
this.residenceTiers = config.residenceTiers ?? [];
|
|
27
|
+
this.createExitsFromConfig(config.roomConfiguration);
|
|
28
|
+
this.logger.write(`Scene initialized with rooms: ${Object.keys(this.rooms).join(", ")}`);
|
|
29
|
+
this.validateLifestyleSupport();
|
|
30
|
+
}
|
|
31
|
+
initialize() {
|
|
32
|
+
this.player.currentLocation = this.determineStartRoom();
|
|
33
|
+
}
|
|
34
|
+
generateRoomsFromConfig(roomsConfig) {
|
|
35
|
+
if (!this.roomFactory) {
|
|
36
|
+
throw new Error(`Room Factory was not correctly initialized`);
|
|
37
|
+
}
|
|
38
|
+
const generatedRooms = {};
|
|
39
|
+
for (const roomConfig of roomsConfig) {
|
|
40
|
+
const room = this.roomFactory.createRoom(roomConfig);
|
|
41
|
+
generatedRooms[roomConfig.name] = room;
|
|
42
|
+
}
|
|
43
|
+
return generatedRooms;
|
|
44
|
+
}
|
|
45
|
+
createExitsFromConfig(roomsConfig) {
|
|
46
|
+
for (const roomConfig of roomsConfig) {
|
|
47
|
+
const room = this.rooms[roomConfig.name];
|
|
48
|
+
if (roomConfig.exits) {
|
|
49
|
+
for (const exit of roomConfig.exits) {
|
|
50
|
+
const exitDirection = exit.direction.toUpperCase();
|
|
51
|
+
const exitTargetName = exit.targetRoom;
|
|
52
|
+
const keyOrSolution = exit.keyRequired;
|
|
53
|
+
const targetRoom = this.rooms[exitTargetName];
|
|
54
|
+
if (targetRoom) {
|
|
55
|
+
room.addExit(Direction[exitDirection], targetRoom, keyOrSolution);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
addActor(actor) {
|
|
62
|
+
if (this.actors.has(actor.name)) {
|
|
63
|
+
throw new Error(`Actor with name ${actor.name} already exists in the scene.`);
|
|
64
|
+
}
|
|
65
|
+
this.logger.write(`Actor with name ${actor.name} has been added to the scene.`);
|
|
66
|
+
this.actors.set(actor.name, actor);
|
|
67
|
+
}
|
|
68
|
+
removeActor(name) {
|
|
69
|
+
if (!this.actors.has(name)) {
|
|
70
|
+
throw new Error(`No actor with name ${name} found in the scene.`);
|
|
71
|
+
}
|
|
72
|
+
this.actors.delete(name);
|
|
73
|
+
}
|
|
74
|
+
getActor(name) {
|
|
75
|
+
return this.actors.get(name);
|
|
76
|
+
}
|
|
77
|
+
get allActors() {
|
|
78
|
+
return Array.from(this.actors.values());
|
|
79
|
+
}
|
|
80
|
+
getActorsInRoom(room) {
|
|
81
|
+
return this.allActors.filter(actor => actor.currentLocation === room);
|
|
82
|
+
}
|
|
83
|
+
addRoom(room) {
|
|
84
|
+
this.rooms[room.name] = room;
|
|
85
|
+
this.logger.write(`Added room to scene: ${room.name}`);
|
|
86
|
+
}
|
|
87
|
+
removeRoom(roomName) {
|
|
88
|
+
if (this.rooms[roomName]) {
|
|
89
|
+
delete this.rooms[roomName];
|
|
90
|
+
this.logger.write(`Removed room from scene: ${roomName}`);
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
this.logger.write(`Attempted to remove a non-existent room from scene: ${roomName}`);
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
addItemToRoom(item, roomName) {
|
|
99
|
+
const room = this.rooms[roomName];
|
|
100
|
+
if (room) {
|
|
101
|
+
room.addItem(item);
|
|
102
|
+
this.logger.write(`Added item ${item.name} to room ${room.name}`);
|
|
103
|
+
}
|
|
104
|
+
else {
|
|
105
|
+
this.logger.write(`Failed to add item ${item.name}. Room ${roomName} not found in scene.`);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
addPuzzleToRoom(puzzle, roomName) {
|
|
109
|
+
const room = this.rooms[roomName];
|
|
110
|
+
if (room) {
|
|
111
|
+
room.setPuzzle(puzzle);
|
|
112
|
+
this.logger.write(`Added puzzle to room ${room.name}`);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
this.logger.write(`Failed to add puzzle. Room ${roomName} not found in scene.`);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
setCharacterLocation(character, roomName) {
|
|
119
|
+
const room = this.rooms[roomName];
|
|
120
|
+
if (room) {
|
|
121
|
+
this.characterLocations.set(character.name, room);
|
|
122
|
+
character.currentLocation = room; // ✅ FIXED LINE
|
|
123
|
+
this.logger.write(`${character.name} is now in room ${room.name}`);
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
this.logger.write(`Failed to set ${character.name}'s location. Room ${roomName} not found in scene.`);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
getCharacterLocation(character) {
|
|
130
|
+
return this.characterLocations.get(character.name);
|
|
131
|
+
}
|
|
132
|
+
determineStartRoom() {
|
|
133
|
+
const startRoomCandidates = [];
|
|
134
|
+
for (const roomName in this.rooms) {
|
|
135
|
+
if (this.rooms.hasOwnProperty(roomName)) {
|
|
136
|
+
const room = this.rooms[roomName];
|
|
137
|
+
if (room.isStartRoom) {
|
|
138
|
+
startRoomCandidates.push(room);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
if (startRoomCandidates.length > 1) {
|
|
143
|
+
throw new Error("Multiple starting rooms have been defined. Please ensure there's only one starting room.");
|
|
144
|
+
}
|
|
145
|
+
if (startRoomCandidates.length === 1) {
|
|
146
|
+
return startRoomCandidates[0];
|
|
147
|
+
}
|
|
148
|
+
const roomNames = Object.keys(this.rooms);
|
|
149
|
+
if (roomNames.length === 0) {
|
|
150
|
+
throw new Error("No rooms have been defined in the game.");
|
|
151
|
+
}
|
|
152
|
+
console.warn("No starting room designated. Defaulting to the first room.");
|
|
153
|
+
return this.rooms[roomNames[0]];
|
|
154
|
+
}
|
|
155
|
+
getPlayer() {
|
|
156
|
+
return this.player;
|
|
157
|
+
}
|
|
158
|
+
getRooms() {
|
|
159
|
+
return this.rooms;
|
|
160
|
+
}
|
|
161
|
+
connectRooms(roomNameA, direction, roomNameB, keyItemOrSolution) {
|
|
162
|
+
const roomA = this.rooms[roomNameA];
|
|
163
|
+
const roomB = this.rooms[roomNameB];
|
|
164
|
+
if (!roomA) {
|
|
165
|
+
throw new Error(`Room "${roomNameA}" does not exist.`);
|
|
166
|
+
}
|
|
167
|
+
if (!roomB) {
|
|
168
|
+
throw new Error(`Room "${roomNameB}" does not exist.`);
|
|
169
|
+
}
|
|
170
|
+
roomA.addExit(direction, roomB, keyItemOrSolution);
|
|
171
|
+
}
|
|
172
|
+
hasRoomSupportingResidence(type) {
|
|
173
|
+
return Object.values(this.rooms).some(room => room.supportsResidence?.(type));
|
|
174
|
+
}
|
|
175
|
+
hasRoomSupportingEmployment(role) {
|
|
176
|
+
return Object.values(this.rooms).some(room => room.supportsEmployment?.(role));
|
|
177
|
+
}
|
|
178
|
+
hasRoomSupportingHabit(habit) {
|
|
179
|
+
return Object.values(this.rooms).some(room => room.supportsHabit?.(habit));
|
|
180
|
+
}
|
|
181
|
+
hasItemSupportingAddiction(addiction) {
|
|
182
|
+
return Object.values(this.rooms).some(room => room.inventory.getAllItems().some(item => item.satisfiesLifestyle?.addictionTypes?.includes(addiction)));
|
|
183
|
+
}
|
|
184
|
+
hasItemSupportingHabit(habit) {
|
|
185
|
+
return Object.values(this.rooms).some(room => room.inventory.getAllItems().some(item => item.satisfiesLifestyle?.habitTags?.includes(habit)));
|
|
186
|
+
}
|
|
187
|
+
hasPuzzleSupportingHobby(hobby) {
|
|
188
|
+
return Object.values(this.rooms).some(room => room.puzzle?.hobbyTags?.includes(hobby));
|
|
189
|
+
}
|
|
190
|
+
validateLifestyleSupport() {
|
|
191
|
+
const allActors = [this.player, ...this.allActors];
|
|
192
|
+
for (const actor of allActors) {
|
|
193
|
+
const lifestyle = actor.lifestyleChoices ?? [];
|
|
194
|
+
const name = actor.name;
|
|
195
|
+
const residence = lifestyle.find(l => l.type === 'residence')?.metadata;
|
|
196
|
+
const employment = lifestyle.find(l => l.type === 'employment')?.metadata;
|
|
197
|
+
const vices = lifestyle.find(l => l.type === 'vice')?.metadata;
|
|
198
|
+
const hobbies = lifestyle.filter(l => l.type === 'hobby').map(l => l.metadata);
|
|
199
|
+
if (residence?.lifestyle && !this.hasRoomSupportingResidence(residence.lifestyle)) {
|
|
200
|
+
throw new Error(`No room supports residence lifestyle '${residence.lifestyle}' for ${name}`);
|
|
201
|
+
}
|
|
202
|
+
if (residence) {
|
|
203
|
+
const validTiers = this._residenceTiers ?? [];
|
|
204
|
+
if (!validTiers.includes(residence.lifestyle)) {
|
|
205
|
+
throw new Error(`${actor.name} has an invalid residence lifestyle tier '${residence.lifestyle}'`);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
if (employment?.jobTitle && !this.hasRoomSupportingEmployment(employment.jobTitle)) {
|
|
209
|
+
throw new Error(`No room supports employment role '${employment.jobTitle}' for ${name}`);
|
|
210
|
+
}
|
|
211
|
+
for (const addiction of vices?.addictions ?? []) {
|
|
212
|
+
if (!this.hasItemSupportingAddiction(addiction)) {
|
|
213
|
+
throw new Error(`No item supports addiction '${addiction}' for ${name}`);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
for (const habit of vices?.habits ?? []) {
|
|
217
|
+
if (!this.hasRoomSupportingHabit(habit) && !this.hasItemSupportingHabit(habit)) {
|
|
218
|
+
throw new Error(`No room or item supports habit '${habit}' for ${name}`);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
for (const hobby of hobbies) {
|
|
222
|
+
if (!this.hasPuzzleSupportingHobby(hobby)) {
|
|
223
|
+
throw new Error(`No puzzle supports hobby '${hobby}' for ${name}`);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
this.logger.write("Scene passed lifestyle support validation.");
|
|
228
|
+
}
|
|
229
|
+
getCurrencyType() {
|
|
230
|
+
return this.currency.type;
|
|
231
|
+
}
|
|
232
|
+
isValidCurrencyCarrier(item) {
|
|
233
|
+
return this.currency.carrierItemSizes.includes(item.size);
|
|
234
|
+
}
|
|
235
|
+
getCurrencyAggregationByTag() {
|
|
236
|
+
const result = {};
|
|
237
|
+
for (const tag of this.currency.authorityRoomTags) {
|
|
238
|
+
result[tag] = {};
|
|
239
|
+
const taggedRooms = Object.values(this.rooms).filter(room => room.tags?.includes(tag) && room.governsCurrency);
|
|
240
|
+
for (const room of taggedRooms) {
|
|
241
|
+
for (const [playerName, items] of room.currencyLedger.entries()) {
|
|
242
|
+
const playerTotal = items.reduce((sum, item) => sum + item.currencyAmount, 0);
|
|
243
|
+
result[tag][playerName] = (result[tag][playerName] ?? 0) + playerTotal;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
return result;
|
|
248
|
+
}
|
|
249
|
+
get residenceTiers() {
|
|
250
|
+
return this._residenceTiers;
|
|
251
|
+
}
|
|
252
|
+
set residenceTiers(tiers) {
|
|
253
|
+
this._residenceTiers = tiers;
|
|
254
|
+
}
|
|
255
|
+
isValidResidenceTier(tier) {
|
|
256
|
+
return this._residenceTiers.includes(tier);
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
//# sourceMappingURL=scene.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scene.js","sourceRoot":"","sources":["../../../../../../../src/commands/game/sideQuest/models/scene.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAEhD,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAGrD,MAAM,OAAO,KAAM,SAAQ,aAAa;IAC5B,KAAK,CAAS;IACd,MAAM,CAAS;IACf,MAAM,CAAS;IACf,MAAM,CAA8B;IACpC,kBAAkB,GAAsB,IAAI,GAAG,EAAE,CAAC;IAEpD,WAAW,CAAc;IAEzB,eAAe,GAAa,EAAE,CAAC;IAEhC,QAAQ,CAIb;IAEF,YAAY,MAA+B;QACzC,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,WAAW,GAAG,IAAI,WAAW,EAAE,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,uBAAuB,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC;QACpE,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,WAAW,EAAE,CAAC;QACnC,IAAI,CAAC,MAAM,GAAG,IAAI,GAAG,EAA0B,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,IAAI;YACjC,IAAI,EAAE,OAAO;YACb,gBAAgB,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,KAAK,C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