@maka/maka-cli 5.1.23 → 5.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/typescript/package.json +112 -0
- package/bundle/typescript/src/command.d.ts +37 -0
- package/bundle/typescript/src/command.js +231 -0
- package/bundle/typescript/src/command.js.map +1 -0
- package/bundle/typescript/src/commands/_index.d.ts +25 -0
- package/bundle/typescript/src/commands/_index.js +28 -0
- package/bundle/typescript/src/commands/_index.js.map +1 -0
- package/bundle/typescript/src/commands/ai.d.ts +1 -0
- package/bundle/typescript/src/commands/ai.js +82 -0
- package/bundle/typescript/src/commands/ai.js.map +1 -0
- package/bundle/typescript/src/commands/aws/_index.d.ts +16 -0
- package/bundle/typescript/src/commands/aws/_index.js +17 -0
- package/bundle/typescript/src/commands/aws/_index.js.map +1 -0
- package/bundle/typescript/src/commands/aws/aws.command.d.ts +3 -0
- package/bundle/typescript/src/commands/aws/aws.command.js +15 -0
- package/bundle/typescript/src/commands/aws/aws.command.js.map +1 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +36 -0
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +41 -0
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +199 -0
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +42 -0
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +43 -0
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +31 -0
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js +35 -0
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +25 -0
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +57 -0
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +30 -0
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +39 -0
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +104 -0
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +52 -0
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +74 -0
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +45 -0
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/build/_index.d.ts +2 -0
- package/bundle/typescript/src/commands/build/_index.js +3 -0
- package/bundle/typescript/src/commands/build/_index.js.map +1 -0
- package/bundle/typescript/src/commands/build/build.d.ts +3 -0
- package/bundle/typescript/src/commands/build/build.js +78 -0
- package/bundle/typescript/src/commands/build/build.js.map +1 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js +138 -0
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/create.d.ts +1 -0
- package/bundle/typescript/src/commands/create.js +475 -0
- package/bundle/typescript/src/commands/create.js.map +1 -0
- package/bundle/typescript/src/commands/debug.d.ts +1 -0
- package/bundle/typescript/src/commands/debug.js +76 -0
- package/bundle/typescript/src/commands/debug.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/deploy/_index.js +4 -0
- package/bundle/typescript/src/commands/deploy/_index.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +3 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.js +24 -0
- package/bundle/typescript/src/commands/deploy/deploy.command.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +122 -0
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +506 -0
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/_index.d.ts +5 -0
- package/bundle/typescript/src/commands/game/_index.js +7 -0
- package/bundle/typescript/src/commands/game/_index.js.map +1 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/play.command.d.ts +3 -0
- package/bundle/typescript/src/commands/game/play.command.js +18 -0
- package/bundle/typescript/src/commands/game/play.command.js.map +1 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +23 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +29 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +33 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +57 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +37 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +92 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +31 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +19 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +20 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +38 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +7 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +12 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +43 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +33 -0
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.d.ts +10 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/commandF.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js +65 -0
- package/bundle/typescript/src/commands/game/sideQuest/factories/roomsF.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +18 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js +97 -0
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +8 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +9 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +18 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js +42 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +43 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +87 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +17 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +31 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +34 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +35 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +214 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +22 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +55 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +28 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +113 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +35 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +170 -0
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.d.ts +56 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.js +256 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/items.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/puzzles.js +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/puzzles.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.d.ts +4 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.js +350 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/rooms.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.d.ts +148 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js +86 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/abstracts.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +74 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +83 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.d.ts +106 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/interfaces.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.d.ts +53 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js +2 -0
- package/bundle/typescript/src/commands/game/sideQuest/types/types.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +3 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.js +242 -0
- package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +14 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +63 -0
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +1 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +53 -0
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +12 -0
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/generate.d.ts +1 -0
- package/bundle/typescript/src/commands/generate.js +42 -0
- package/bundle/typescript/src/commands/generate.js.map +1 -0
- package/bundle/typescript/src/commands/get/_index.d.ts +4 -0
- package/bundle/typescript/src/commands/get/_index.js +5 -0
- package/bundle/typescript/src/commands/get/_index.js.map +1 -0
- package/bundle/typescript/src/commands/get/get.command.d.ts +3 -0
- package/bundle/typescript/src/commands/get/get.command.js +13 -0
- package/bundle/typescript/src/commands/get/get.command.js.map +1 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.js +20 -0
- package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.js +14 -0
- package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +19 -0
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/help.d.ts +1 -0
- package/bundle/typescript/src/commands/help.js +12 -0
- package/bundle/typescript/src/commands/help.js.map +1 -0
- package/bundle/typescript/src/commands/install.d.ts +1 -0
- package/bundle/typescript/src/commands/install.js +269 -0
- package/bundle/typescript/src/commands/install.js.map +1 -0
- package/bundle/typescript/src/commands/jsdoc.d.ts +1 -0
- package/bundle/typescript/src/commands/jsdoc.js +62 -0
- package/bundle/typescript/src/commands/jsdoc.js.map +1 -0
- package/bundle/typescript/src/commands/lint.d.ts +1 -0
- package/bundle/typescript/src/commands/lint.js +124 -0
- package/bundle/typescript/src/commands/lint.js.map +1 -0
- package/bundle/typescript/src/commands/login.d.ts +1 -0
- package/bundle/typescript/src/commands/login.js +160 -0
- package/bundle/typescript/src/commands/login.js.map +1 -0
- package/bundle/typescript/src/commands/logout.d.ts +1 -0
- package/bundle/typescript/src/commands/logout.js +93 -0
- package/bundle/typescript/src/commands/logout.js.map +1 -0
- package/bundle/typescript/src/commands/logs.d.ts +1 -0
- package/bundle/typescript/src/commands/logs.js +33 -0
- package/bundle/typescript/src/commands/logs.js.map +1 -0
- package/bundle/typescript/src/commands/maka.cmd.d.ts +5 -0
- package/bundle/typescript/src/commands/maka.cmd.js +57 -0
- package/bundle/typescript/src/commands/maka.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/murder.d.ts +1 -0
- package/bundle/typescript/src/commands/murder.js +31 -0
- package/bundle/typescript/src/commands/murder.js.map +1 -0
- package/bundle/typescript/src/commands/profile.d.ts +1 -0
- package/bundle/typescript/src/commands/profile.js +277 -0
- package/bundle/typescript/src/commands/profile.js.map +1 -0
- package/bundle/typescript/src/commands/proxy.d.ts +1 -0
- package/bundle/typescript/src/commands/proxy.js +163 -0
- package/bundle/typescript/src/commands/proxy.js.map +1 -0
- package/bundle/typescript/src/commands/reconfig.d.ts +1 -0
- package/bundle/typescript/src/commands/reconfig.js +69 -0
- package/bundle/typescript/src/commands/reconfig.js.map +1 -0
- package/bundle/typescript/src/commands/register.d.ts +1 -0
- package/bundle/typescript/src/commands/register.js +101 -0
- package/bundle/typescript/src/commands/register.js.map +1 -0
- package/bundle/typescript/src/commands/run/_index.d.ts +2 -0
- package/bundle/typescript/src/commands/run/_index.js +3 -0
- package/bundle/typescript/src/commands/run/_index.js.map +1 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js +80 -0
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/run/run.command.d.ts +3 -0
- package/bundle/typescript/src/commands/run/run.command.js +157 -0
- package/bundle/typescript/src/commands/run/run.command.js.map +1 -0
- package/bundle/typescript/src/commands/set/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/set/_index.js +4 -0
- package/bundle/typescript/src/commands/set/_index.js.map +1 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.js +115 -0
- package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.js +18 -0
- package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/set/set.command.d.ts +3 -0
- package/bundle/typescript/src/commands/set/set.command.js +16 -0
- package/bundle/typescript/src/commands/set/set.command.js.map +1 -0
- package/bundle/typescript/src/commands/ssh.d.ts +1 -0
- package/bundle/typescript/src/commands/ssh.js +40 -0
- package/bundle/typescript/src/commands/ssh.js.map +1 -0
- package/bundle/typescript/src/commands/ssl.d.ts +1 -0
- package/bundle/typescript/src/commands/ssl.js +106 -0
- package/bundle/typescript/src/commands/ssl.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/testCmd/_index.js +4 -0
- package/bundle/typescript/src/commands/testCmd/_index.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +131 -0
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +133 -0
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/testCmd/test.command.d.ts +3 -0
- package/bundle/typescript/src/commands/testCmd/test.command.js +15 -0
- package/bundle/typescript/src/commands/testCmd/test.command.js.map +1 -0
- package/bundle/typescript/src/commands/undo.d.ts +1 -0
- package/bundle/typescript/src/commands/undo.js +12 -0
- package/bundle/typescript/src/commands/undo.js.map +1 -0
- package/bundle/typescript/src/commands/uninstall.d.ts +1 -0
- package/bundle/typescript/src/commands/uninstall.js +76 -0
- package/bundle/typescript/src/commands/uninstall.js.map +1 -0
- package/bundle/typescript/src/commands/version/_index.d.ts +3 -0
- package/bundle/typescript/src/commands/version/_index.js +4 -0
- package/bundle/typescript/src/commands/version/_index.js.map +1 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.js +55 -0
- package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +1 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.js +71 -0
- package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +1 -0
- package/bundle/typescript/src/commands/version/version.d.ts +3 -0
- package/bundle/typescript/src/commands/version/version.js +57 -0
- package/bundle/typescript/src/commands/version/version.js.map +1 -0
- package/bundle/typescript/src/error.d.ts +12 -0
- package/bundle/typescript/src/error.js +13 -0
- package/bundle/typescript/src/error.js.map +1 -0
- package/bundle/typescript/src/exec.d.ts +2 -0
- package/bundle/typescript/src/exec.js +17 -0
- package/bundle/typescript/src/exec.js.map +1 -0
- package/bundle/typescript/src/generator.d.ts +48 -0
- package/bundle/typescript/src/generator.js +380 -0
- package/bundle/typescript/src/generator.js.map +1 -0
- package/bundle/typescript/src/generators/_index.d.ts +18 -0
- package/bundle/typescript/src/generators/_index.js +19 -0
- package/bundle/typescript/src/generators/_index.js.map +1 -0
- package/bundle/typescript/src/generators/api.d.ts +1 -0
- package/bundle/typescript/src/generators/api.js +197 -0
- package/bundle/typescript/src/generators/api.js.map +1 -0
- package/bundle/typescript/src/generators/aws/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/aws/_index.js +3 -0
- package/bundle/typescript/src/generators/aws/_index.js.map +1 -0
- package/bundle/typescript/src/generators/aws/aws.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/aws.js +16 -0
- package/bundle/typescript/src/generators/aws/aws.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +21 -0
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +1 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +3 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +66 -0
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +1 -0
- package/bundle/typescript/src/generators/collection.d.ts +1 -0
- package/bundle/typescript/src/generators/collection.js +71 -0
- package/bundle/typescript/src/generators/collection.js.map +1 -0
- package/bundle/typescript/src/generators/component.d.ts +1 -0
- package/bundle/typescript/src/generators/component.js +96 -0
- package/bundle/typescript/src/generators/component.js.map +1 -0
- package/bundle/typescript/src/generators/config.d.ts +1 -0
- package/bundle/typescript/src/generators/config.js +71 -0
- package/bundle/typescript/src/generators/config.js.map +1 -0
- package/bundle/typescript/src/generators/dbc.d.ts +1 -0
- package/bundle/typescript/src/generators/dbc.js +82 -0
- package/bundle/typescript/src/generators/dbc.js.map +1 -0
- package/bundle/typescript/src/generators/dockerfile.d.ts +1 -0
- package/bundle/typescript/src/generators/dockerfile.js +42 -0
- package/bundle/typescript/src/generators/dockerfile.js.map +1 -0
- package/bundle/typescript/src/generators/hook.d.ts +1 -0
- package/bundle/typescript/src/generators/hook.js +110 -0
- package/bundle/typescript/src/generators/hook.js.map +1 -0
- package/bundle/typescript/src/generators/kits/_index.d.ts +4 -0
- package/bundle/typescript/src/generators/kits/_index.js +5 -0
- package/bundle/typescript/src/generators/kits/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/_index.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/auth/_index.js +4 -0
- package/bundle/typescript/src/generators/kits/auth/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js +21 -0
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +209 -0
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +134 -0
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/_index.d.ts +2 -0
- package/bundle/typescript/src/generators/kits/esri/_index.js +3 -0
- package/bundle/typescript/src/generators/kits/esri/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js +31 -0
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +1 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +85 -0
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/kit.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/kit.js +17 -0
- package/bundle/typescript/src/generators/kits/kit.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/_index.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/mui/_index.js +4 -0
- package/bundle/typescript/src/generators/kits/mui/_index.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +2 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +209 -0
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +1 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +190 -0
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +1 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +3 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js +70 -0
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +1 -0
- package/bundle/typescript/src/generators/layout.d.ts +1 -0
- package/bundle/typescript/src/generators/layout.js +110 -0
- package/bundle/typescript/src/generators/layout.js.map +1 -0
- package/bundle/typescript/src/generators/maka.gen.d.ts +5 -0
- package/bundle/typescript/src/generators/maka.gen.js +26 -0
- package/bundle/typescript/src/generators/maka.gen.js.map +1 -0
- package/bundle/typescript/src/generators/methods.d.ts +1 -0
- package/bundle/typescript/src/generators/methods.js +62 -0
- package/bundle/typescript/src/generators/methods.js.map +1 -0
- package/bundle/typescript/src/generators/package.d.ts +1 -0
- package/bundle/typescript/src/generators/package.js +66 -0
- package/bundle/typescript/src/generators/package.js.map +1 -0
- package/bundle/typescript/src/generators/page.d.ts +1 -0
- package/bundle/typescript/src/generators/page.js +190 -0
- package/bundle/typescript/src/generators/page.js.map +1 -0
- package/bundle/typescript/src/generators/publish.d.ts +1 -0
- package/bundle/typescript/src/generators/publish.js +75 -0
- package/bundle/typescript/src/generators/publish.js.map +1 -0
- package/bundle/typescript/src/generators/route.d.ts +1 -0
- package/bundle/typescript/src/generators/route.js +66 -0
- package/bundle/typescript/src/generators/route.js.map +1 -0
- package/bundle/typescript/src/generators/services/_index.d.ts +4 -0
- package/bundle/typescript/src/generators/services/_index.js +5 -0
- package/bundle/typescript/src/generators/services/_index.js.map +1 -0
- package/bundle/typescript/src/generators/services/logger.d.ts +1 -0
- package/bundle/typescript/src/generators/services/logger.js +50 -0
- package/bundle/typescript/src/generators/services/logger.js.map +1 -0
- package/bundle/typescript/src/generators/services/openssl.d.ts +1 -0
- package/bundle/typescript/src/generators/services/openssl.js +38 -0
- package/bundle/typescript/src/generators/services/openssl.js.map +1 -0
- package/bundle/typescript/src/generators/services/service.d.ts +3 -0
- package/bundle/typescript/src/generators/services/service.js +16 -0
- package/bundle/typescript/src/generators/services/service.js.map +1 -0
- package/bundle/typescript/src/generators/services/translation.d.ts +1 -0
- package/bundle/typescript/src/generators/services/translation.js +149 -0
- package/bundle/typescript/src/generators/services/translation.js.map +1 -0
- package/bundle/typescript/src/maka.d.ts +2 -0
- package/bundle/typescript/src/maka.js +26 -0
- package/bundle/typescript/src/maka.js.map +1 -0
- package/bundle/typescript/src/templates/meteor/project/README.md +33 -0
- package/bundle/typescript/src/templates/meteor/project/package.json +26 -0
- package/bundle/typescript/src/tool.d.ts +74 -0
- package/bundle/typescript/src/tool.js +217 -0
- package/bundle/typescript/src/tool.js.map +1 -0
- package/bundle/typescript/src/tools/actions/actions.class.d.ts +25 -0
- package/bundle/typescript/src/tools/actions/actions.class.js +20 -0
- package/bundle/typescript/src/tools/actions/actions.class.js.map +1 -0
- package/bundle/typescript/src/tools/aws/aws.class.d.ts +51 -0
- package/bundle/typescript/src/tools/aws/aws.class.js +802 -0
- package/bundle/typescript/src/tools/aws/aws.class.js.map +1 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +364 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.js +255 -0
- package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +42 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.js +402 -0
- package/bundle/typescript/src/tools/cfg/cfg.class.js.map +1 -0
- package/bundle/typescript/src/tools/docker/docker.class.d.ts +10 -0
- package/bundle/typescript/src/tools/docker/docker.class.js +46 -0
- package/bundle/typescript/src/tools/docker/docker.class.js.map +1 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +18 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.js +2 -0
- package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +114 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.js +621 -0
- package/bundle/typescript/src/tools/fsi/fsi.class.js.map +1 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +187 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +62 -0
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/https/https.class.d.ts +10 -0
- package/bundle/typescript/src/tools/https/https.class.js +247 -0
- package/bundle/typescript/src/tools/https/https.class.js.map +1 -0
- package/bundle/typescript/src/tools/https/https.interface.d.ts +39 -0
- package/bundle/typescript/src/tools/https/https.interface.js +2 -0
- package/bundle/typescript/src/tools/https/https.interface.js.map +1 -0
- package/bundle/typescript/src/tools/log/log.class.d.ts +33 -0
- package/bundle/typescript/src/tools/log/log.class.js +206 -0
- package/bundle/typescript/src/tools/log/log.class.js.map +1 -0
- package/bundle/typescript/src/tools/log/log.interfaces.d.ts +7 -0
- package/bundle/typescript/src/tools/log/log.interfaces.js +2 -0
- package/bundle/typescript/src/tools/log/log.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +23 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.js +351 -0
- package/bundle/typescript/src/tools/mpi/mpi.class.js.map +1 -0
- package/bundle/typescript/src/tools/options/options.class.d.ts +11 -0
- package/bundle/typescript/src/tools/options/options.class.js +64 -0
- package/bundle/typescript/src/tools/options/options.class.js.map +1 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +31 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.js +314 -0
- package/bundle/typescript/src/tools/pkg/pkg.class.js.map +1 -0
- package/bundle/typescript/src/tools/progress/progress.class.d.ts +12 -0
- package/bundle/typescript/src/tools/progress/progress.class.js +42 -0
- package/bundle/typescript/src/tools/progress/progress.class.js.map +1 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +197 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js +862 -0
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +1 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +4 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +42 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +1 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +6 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +2 -0
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +11 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.js +120 -0
- package/bundle/typescript/src/tools/ssh/ssh.class.js.map +1 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +21 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +2 -0
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +17 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js +54 -0
- package/bundle/typescript/src/tools/ssl/ssl.class.js.map +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +1 -0
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +1 -0
- package/package.json +7 -9
- package/bundle/obf/package.json +0 -114
- package/bundle/obf/src/command.js +0 -1
- package/bundle/obf/src/commands/_index.js +0 -1
- package/bundle/obf/src/commands/ai.js +0 -1
- package/bundle/obf/src/commands/aws/_index.js +0 -1
- package/bundle/obf/src/commands/aws/aws.command.js +0 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/build/_index.js +0 -1
- package/bundle/obf/src/commands/build/build.js +0 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/create.js +0 -1
- package/bundle/obf/src/commands/debug.js +0 -1
- package/bundle/obf/src/commands/deploy/_index.js +0 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +0 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/_index.js +0 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/play.command.js +0 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +0 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/generate.js +0 -1
- package/bundle/obf/src/commands/get/_index.js +0 -1
- package/bundle/obf/src/commands/get/get.command.js +0 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/help.js +0 -1
- package/bundle/obf/src/commands/install.js +0 -1
- package/bundle/obf/src/commands/jsdoc.js +0 -1
- package/bundle/obf/src/commands/lint.js +0 -1
- package/bundle/obf/src/commands/login.js +0 -1
- package/bundle/obf/src/commands/logout.js +0 -1
- package/bundle/obf/src/commands/logs.js +0 -1
- package/bundle/obf/src/commands/maka.cmd.js +0 -1
- package/bundle/obf/src/commands/murder.js +0 -1
- package/bundle/obf/src/commands/profile.js +0 -1
- package/bundle/obf/src/commands/proxy.js +0 -1
- package/bundle/obf/src/commands/reconfig.js +0 -1
- package/bundle/obf/src/commands/register.js +0 -1
- package/bundle/obf/src/commands/run/_index.js +0 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/run/run.command.js +0 -1
- package/bundle/obf/src/commands/set/_index.js +0 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/set/set.command.js +0 -1
- package/bundle/obf/src/commands/ssh.js +0 -1
- package/bundle/obf/src/commands/ssl.js +0 -1
- package/bundle/obf/src/commands/testCmd/_index.js +0 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +0 -1
- package/bundle/obf/src/commands/undo.js +0 -1
- package/bundle/obf/src/commands/uninstall.js +0 -1
- package/bundle/obf/src/commands/version/_index.js +0 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/version/version.js +0 -1
- package/bundle/obf/src/error.js +0 -1
- package/bundle/obf/src/exec.js +0 -2
- package/bundle/obf/src/generator.js +0 -1
- package/bundle/obf/src/generators/_index.js +0 -1
- package/bundle/obf/src/generators/api.js +0 -1
- package/bundle/obf/src/generators/aws/_index.js +0 -1
- package/bundle/obf/src/generators/aws/aws.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +0 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -1
- package/bundle/obf/src/generators/collection.js +0 -1
- package/bundle/obf/src/generators/component.js +0 -1
- package/bundle/obf/src/generators/config.js +0 -1
- package/bundle/obf/src/generators/dbc.js +0 -1
- package/bundle/obf/src/generators/dockerfile.js +0 -1
- package/bundle/obf/src/generators/hook.js +0 -1
- package/bundle/obf/src/generators/kits/_index.js +0 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +0 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +0 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +0 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +0 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +0 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +0 -1
- package/bundle/obf/src/generators/kits/kit.js +0 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +0 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +0 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +0 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +0 -1
- package/bundle/obf/src/generators/layout.js +0 -1
- package/bundle/obf/src/generators/maka.gen.js +0 -1
- package/bundle/obf/src/generators/methods.js +0 -1
- package/bundle/obf/src/generators/package.js +0 -1
- package/bundle/obf/src/generators/page.js +0 -1
- package/bundle/obf/src/generators/publish.js +0 -1
- package/bundle/obf/src/generators/route.js +0 -1
- package/bundle/obf/src/generators/services/_index.js +0 -1
- package/bundle/obf/src/generators/services/logger.js +0 -1
- package/bundle/obf/src/generators/services/openssl.js +0 -1
- package/bundle/obf/src/generators/services/service.js +0 -1
- package/bundle/obf/src/generators/services/translation.js +0 -1
- package/bundle/obf/src/maka.js +0 -1
- package/bundle/obf/src/templates/meteor/project/README.md +0 -15
- package/bundle/obf/src/templates/meteor/project/package.json +0 -26
- package/bundle/obf/src/tool.js +0 -1
- package/bundle/obf/src/tools/actions/actions.class.js +0 -1
- package/bundle/obf/src/tools/aws/aws.class.js +0 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +0 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +0 -1
- package/bundle/obf/src/tools/docker/docker.class.js +0 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +0 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +0 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +0 -1
- package/bundle/obf/src/tools/https/https.class.js +0 -1
- package/bundle/obf/src/tools/https/https.interface.js +0 -1
- package/bundle/obf/src/tools/log/log.class.js +0 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +0 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +0 -1
- package/bundle/obf/src/tools/options/options.class.js +0 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +0 -1
- package/bundle/obf/src/tools/progress/progress.class.js +0 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +0 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +0 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +0 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +0 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +0 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +0 -1
- package/obfuscator.json +0 -29
- /package/bundle/{obf → typescript}/src/README.md +0 -0
- /package/bundle/{obf/src/commands/game/sideQuest/scenes/puzzles.js → typescript/src/commands/game/sideQuest/scenes/puzzles.d.ts} +0 -0
- /package/bundle/{obf → typescript}/src/templates/aws/cloudformation/create-ec2-instance.template +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/apollo-gateway.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/apollo-gateway.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/graphql-api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/graphql-api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/methods.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/methods.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/register-api.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/register-api.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/resolvers.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/resolvers.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/typeDefs.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/api/typeDefs.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/body.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/head.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/client/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/api/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/ui/test-helpers.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/lib/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/maka.d.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/meteor.d.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/packages/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/private/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/favicon.ico +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-144x144.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-192x192.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/maka-512x512.png +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/manifest.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/public/sw.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/server/main.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/app/tsconfig.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/collection.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/collection.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/collection/tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/docker-compose.yaml +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/pm2.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/process.env +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/settings.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/config/ssh.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/config.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/conn.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/conn.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/register-dbc.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/dbc/register-dbc.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/method/method.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/method/method.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/client/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/lib/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/server/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/client/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/package/tests/server/package.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/.maka/config.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/.maka/history.json +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/build/.gitkeep +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/build/README +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/project/gitignore +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/publish/publish.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/publish/publish.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/service/logger/logger.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/service/logger/logger.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/stylesheet/stylesheet.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/stylesheet/stylesheet.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template-tests.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.html +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/meteor/template/template.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css.less +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/component/component.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.css +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.css.scss +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/hook/hook.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/route/route.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/react/test/test.js.tsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/docker/Dockerfile +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/eslint/babel.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/eslint/config.eslint.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/i18n.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/i18n.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/index.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/index.js.jsx +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/locales.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/i18n/locales.js.ts +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/openssl/openssl.conf +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/test/jest/jest.config.js +0 -0
- /package/bundle/{obf → typescript}/src/templates/service/test/jest/jest.setup.js +0 -0
- /package/bundle/{obf/src/tools/ssl/ssl.interfaces.js → typescript/src/tools/ssl/ssl.interfaces.d.ts} +0 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { Generator } from '../../../generator.js';
|
|
2
|
+
import { Log } from '../../../tools/log/log.class.js';
|
|
3
|
+
//import { Actions } from '../../../tools/actions/actions.class.js';
|
|
4
|
+
import AuthGen from './auth.generator.js';
|
|
5
|
+
import { capitalCase, } from "change-case";
|
|
6
|
+
import { ClientEngines, } from '../../../tools/fsi/fsi.interfaces.js';
|
|
7
|
+
Generator.create({
|
|
8
|
+
name: 'provider',
|
|
9
|
+
aliases: ['p'],
|
|
10
|
+
usage: 'maka {generate, g}:{kit, k}:{auth, a}:{provider, p}',
|
|
11
|
+
shortDesc: 'Generate a React Authentication Provider and Context',
|
|
12
|
+
validOpts: ['force'],
|
|
13
|
+
isPro: true,
|
|
14
|
+
mustBeInMakaProject: true,
|
|
15
|
+
resourceNameRequired: false,
|
|
16
|
+
requiredEngines: {
|
|
17
|
+
client: ClientEngines.REACT,
|
|
18
|
+
},
|
|
19
|
+
description: `
|
|
20
|
+
This kit will create a starting point for an Authentication Provider.
|
|
21
|
+
|
|
22
|
+
It will also update your Routes file to include the AuthProvider and Context.
|
|
23
|
+
for navigation checking.
|
|
24
|
+
`
|
|
25
|
+
}, async function (args, opts) {
|
|
26
|
+
try {
|
|
27
|
+
const shouldForce = opts.force || false;
|
|
28
|
+
Log.bright('Creating an AuthProvider and AuthContext');
|
|
29
|
+
const { projectConfig } = this;
|
|
30
|
+
const isSsr = projectConfig.engines.ssr === 'meteor';
|
|
31
|
+
const context = {
|
|
32
|
+
name: capitalCase(projectConfig.appName),
|
|
33
|
+
};
|
|
34
|
+
const resourceTopLevelPath = (isSsr) ? `/imports/startup/lib` : '/imports/startup/client';
|
|
35
|
+
const pathToAuthFile = this.scaffold.pathFromApp({
|
|
36
|
+
pathParts: [
|
|
37
|
+
resourceTopLevelPath, // base dir
|
|
38
|
+
'',
|
|
39
|
+
'', // folder name
|
|
40
|
+
'authentication-provider' // file name
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
await this.scaffold.template({
|
|
44
|
+
srcPath: `kit/auth/provider/authentication-provider.js`,
|
|
45
|
+
destPath: pathToAuthFile + '.js',
|
|
46
|
+
framework: 'react',
|
|
47
|
+
context,
|
|
48
|
+
config: projectConfig,
|
|
49
|
+
force: shouldForce,
|
|
50
|
+
ignore: false
|
|
51
|
+
});
|
|
52
|
+
const jsEngine = projectConfig.engines.js;
|
|
53
|
+
const routesDirectory = `${resourceTopLevelPath}/routes`;
|
|
54
|
+
const routesPathParts = routesDirectory.split('/');
|
|
55
|
+
const routesPathFromApp = this.scaffold.pathFromApp({ pathParts: routesPathParts });
|
|
56
|
+
// import auth context into routes
|
|
57
|
+
await this.scaffold.injectImport({
|
|
58
|
+
filePath: `${routesPathFromApp}.${jsEngine}`,
|
|
59
|
+
importName: 'AuthContext',
|
|
60
|
+
modulePath: (isSsr) ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
61
|
+
isNamedExport: true
|
|
62
|
+
});
|
|
63
|
+
// import auth provider into main index
|
|
64
|
+
await this.scaffold.injectImport({
|
|
65
|
+
filePath: `${routesPathFromApp}.${jsEngine}`,
|
|
66
|
+
importName: 'useContext',
|
|
67
|
+
modulePath: 'react',
|
|
68
|
+
isNamedExport: true,
|
|
69
|
+
injectAtStart: true
|
|
70
|
+
});
|
|
71
|
+
await this.scaffold.injectIntoCodeBlock({
|
|
72
|
+
filePath: `${routesPathFromApp}.${jsEngine}`,
|
|
73
|
+
content: `
|
|
74
|
+
const { currentUser, loading } = useContext(AuthContext);
|
|
75
|
+
return { currentUser, loading };
|
|
76
|
+
`,
|
|
77
|
+
begin: ['const useAuth', 'function useAuth'],
|
|
78
|
+
replace: true
|
|
79
|
+
});
|
|
80
|
+
await this.scaffold.injectIntoCodeBlock({
|
|
81
|
+
filePath: `${routesPathFromApp}.${jsEngine}`,
|
|
82
|
+
content: `
|
|
83
|
+
const { currentUser, loading } = useAuth();
|
|
84
|
+
if (loading) return <div>Loading...</div>;
|
|
85
|
+
return (currentUser) ? <Outlet/> : <Navigate to="/login" />;
|
|
86
|
+
`,
|
|
87
|
+
begin: ['const PrivateRoute'],
|
|
88
|
+
replace: true
|
|
89
|
+
});
|
|
90
|
+
const clientIndexDirectory = `/imports/startup/client/index`;
|
|
91
|
+
const clientIndexPathParts = clientIndexDirectory.split('/');
|
|
92
|
+
const clientIndexPathFromApp = this.scaffold.pathFromApp({ pathParts: clientIndexPathParts });
|
|
93
|
+
// import auth provider into main index
|
|
94
|
+
await this.scaffold.injectImport({
|
|
95
|
+
filePath: `${clientIndexPathFromApp}.${jsEngine}`,
|
|
96
|
+
importName: 'AuthProvider',
|
|
97
|
+
modulePath: (isSsr) ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
98
|
+
isNamedExport: true
|
|
99
|
+
});
|
|
100
|
+
await this.scaffold.injectAroundString({
|
|
101
|
+
filePath: `${clientIndexPathFromApp}.${jsEngine}`,
|
|
102
|
+
aboveContent: `<AuthProvider>`,
|
|
103
|
+
belowContent: `</AuthProvider>`,
|
|
104
|
+
targetString: `<AppRoutes />`,
|
|
105
|
+
indentAdjustment: 2,
|
|
106
|
+
targetIndentAdjustment: 6
|
|
107
|
+
});
|
|
108
|
+
if (isSsr) {
|
|
109
|
+
const serverIndexDirectory = `/imports/startup/server/index`;
|
|
110
|
+
const serverIndexPathParts = serverIndexDirectory.split('/');
|
|
111
|
+
const serverIndexPathFromApp = this.scaffold.pathFromApp({ pathParts: serverIndexPathParts });
|
|
112
|
+
// import auth provider into main index
|
|
113
|
+
await this.scaffold.injectImport({
|
|
114
|
+
filePath: `${serverIndexPathFromApp}.${jsEngine}`,
|
|
115
|
+
importName: 'AuthProvider',
|
|
116
|
+
modulePath: (isSsr) ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
117
|
+
isNamedExport: true
|
|
118
|
+
});
|
|
119
|
+
await this.scaffold.injectAroundString({
|
|
120
|
+
filePath: `${serverIndexPathFromApp}.${jsEngine}`,
|
|
121
|
+
aboveContent: `<AuthProvider>`,
|
|
122
|
+
belowContent: `</AuthProvider>`,
|
|
123
|
+
targetString: `<AppRoutes history={history}/>`,
|
|
124
|
+
indentAdjustment: 2,
|
|
125
|
+
targetIndentAdjustment: 6
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
catch (e) {
|
|
130
|
+
Log.error(e);
|
|
131
|
+
process.exit(1);
|
|
132
|
+
}
|
|
133
|
+
}, async function () { }, AuthGen);
|
|
134
|
+
//# sourceMappingURL=provider.auth.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.auth.gen.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/auth/provider.auth.gen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,oEAAoE;AACpE,OAAO,OAAO,MAAM,qBAAqB,CAAC;AAE1C,OAAO,EACL,WAAW,GAEZ,MAAM,aAAa,CAAC;AAErB,OAAO,EACL,aAAa,GACd,MAAM,sCAAsC,CAAA;AAE7C,SAAS,CAAC,MAAM,CAAC;IACf,IAAI,EAAE,UAAU;IAChB,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,KAAK,EAAE,qDAAqD;IAC5D,SAAS,EAAE,sDAAsD;IACjE,SAAS,EAAE,CAAC,OAAO,CAAC;IACpB,KAAK,EAAE,IAAI;IACX,mBAAmB,EAAE,IAAI;IACzB,oBAAoB,EAAE,KAAK;IAC3B,eAAe,EAAE;QACf,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C;gBAC9C,gBAAgB,EAAE,CAAC;gBACnB,sBAAsB,EAAE,CAAC;aAC1B,CAAC,CAAC;QACL,CAAC;IAEH,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AACH,CAAC,EAAE,KAAK,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/esri/_index.ts"],"names":[],"mappings":"AAAA,OAAO,qBAAqB,CAAC;AAC7B,OAAO,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Generator } from '../../../generator.js';
|
|
2
|
+
import { UsageError } from '../../../error.js';
|
|
3
|
+
import KitGen from '../kit.js';
|
|
4
|
+
const EsriGen = Generator.create({
|
|
5
|
+
name: 'esri',
|
|
6
|
+
aliases: ['e'],
|
|
7
|
+
usage: 'maka {generate, g}:{kit, k}:{esri, e}:<kit-name>',
|
|
8
|
+
shortDesc: 'Starting point for generating Esri Maps',
|
|
9
|
+
resourceNameRequired: false,
|
|
10
|
+
validOpts: [''],
|
|
11
|
+
isPro: true,
|
|
12
|
+
examples: [
|
|
13
|
+
'maka g:kit:e',
|
|
14
|
+
],
|
|
15
|
+
description: `
|
|
16
|
+
This generator will create a kit for Esri Maps. Starting with a basic map,
|
|
17
|
+
but with the ability to add more components to the kit.
|
|
18
|
+
`
|
|
19
|
+
}, async function () {
|
|
20
|
+
throw UsageError;
|
|
21
|
+
// return {
|
|
22
|
+
// success: true,
|
|
23
|
+
// message: 'Esri Kit generated successfully',
|
|
24
|
+
// details: {
|
|
25
|
+
// filesCreated: ['/foo/bar'],
|
|
26
|
+
// filesUpdated: ['/foo'],
|
|
27
|
+
// }
|
|
28
|
+
// };
|
|
29
|
+
}, async function () { }, KitGen);
|
|
30
|
+
export default EsriGen;
|
|
31
|
+
//# sourceMappingURL=esri.generator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esri.generator.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/esri/esri.generator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAiB,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,OAAO,MAAM,MAAM,WAAW,CAAC;AAE/B,MAAM,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC;IAC/B,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,KAAK,EAAE,kDAAkD;IACzD,SAAS,EAAE,yCAAyC;IACpD,oBAAoB,EAAE,KAAK;IAC3B,SAAS,EAAE,CAAC,EAAE,CAAC;IACf,KAAK,EAAE,IAAI;IACX,QAAQ,EAAE;QACR,cAAc;KACf;IACD,WAAW,EAAE;;;GAGZ;CACF,EAAE,KAAK;IACN,MAAM,UAAU,CAAC;IACjB,WAAW;IACX,mBAAmB;IACnB,gDAAgD;IAChD,eAAe;IACf,kCAAkC;IAClC,8BAA8B;IAC9B,MAAM;IACN,KAAK;AACP,CAAC,EAAE,KAAK,eAAc,CAAC,EAAE,MAAM,CAAC,CAAC;AAEjC,eAAe,OAAO,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Generator } from '../../../generator.js';
|
|
2
|
+
import { Log } from '../../../tools/log/log.class.js';
|
|
3
|
+
//import { Actions } from '../../../tools/actions/actions.class.js';
|
|
4
|
+
import EsriGen from './esri.generator.js';
|
|
5
|
+
import MakaGen from '../../../generators/maka.gen.js';
|
|
6
|
+
import { kebabCase, capitalCase, pascalCase } from "change-case";
|
|
7
|
+
import { ClientEngines, SsrEngines } from '../../../tools/fsi/fsi.interfaces.js';
|
|
8
|
+
Generator.create({
|
|
9
|
+
name: 'map',
|
|
10
|
+
aliases: ['m'],
|
|
11
|
+
usage: 'maka {generate, g}:{kit, k}:{esri, e}:{map, m}',
|
|
12
|
+
shortDesc: 'Generate an Esri map component',
|
|
13
|
+
validOpts: [''],
|
|
14
|
+
isPro: true,
|
|
15
|
+
mustBeInMakaProject: true,
|
|
16
|
+
resourceNameRequired: false,
|
|
17
|
+
requiredEngines: {
|
|
18
|
+
client: ClientEngines.REACT,
|
|
19
|
+
ssr: SsrEngines.NONE
|
|
20
|
+
},
|
|
21
|
+
description: `
|
|
22
|
+
This generator will create a map component in the /imports/ui/hooks directory.
|
|
23
|
+
|
|
24
|
+
It'll also create a page component in the /imports/ui/pages/map directory.
|
|
25
|
+
|
|
26
|
+
The map component will be named 'BasicMap' by default.
|
|
27
|
+
|
|
28
|
+
`
|
|
29
|
+
}, async function (args, opts) {
|
|
30
|
+
try {
|
|
31
|
+
const { projectConfig, fsi, pkg, scaffold } = this;
|
|
32
|
+
Log.bright('Generating a map component');
|
|
33
|
+
const MAP = 'basic-map';
|
|
34
|
+
await pkg.checkNpmPackage(['@esri/react-arcgis', 'esri-loader'], {
|
|
35
|
+
shouldInstall: true,
|
|
36
|
+
});
|
|
37
|
+
const projectDirectory = fsi.findProjectDirectory();
|
|
38
|
+
const isSsr = projectConfig.engines.ssr === 'meteor';
|
|
39
|
+
const mapPagePath = await MakaGen.processAndRunGenerator('page', ['map'], { cwd: projectDirectory, config: projectConfig });
|
|
40
|
+
const context = {
|
|
41
|
+
name: capitalCase(projectConfig.appName).replaceAll('-', ' '),
|
|
42
|
+
componentName: pascalCase(MAP),
|
|
43
|
+
};
|
|
44
|
+
const resourceTopLevelPath = (opts.baseDir) ? `/imports/ui/${opts.baseDir}` : '/imports/ui/components';
|
|
45
|
+
const pathToMap = scaffold.pathFromApp({
|
|
46
|
+
pathParts: [
|
|
47
|
+
resourceTopLevelPath, // base dir
|
|
48
|
+
opts.dir, // custom folder name
|
|
49
|
+
kebabCase(MAP), // folder name
|
|
50
|
+
kebabCase(MAP) // file name
|
|
51
|
+
]
|
|
52
|
+
});
|
|
53
|
+
await scaffold.template({
|
|
54
|
+
srcPath: `kit/esri/map/${MAP}.js`,
|
|
55
|
+
destPath: pathToMap + '.js',
|
|
56
|
+
framework: 'react',
|
|
57
|
+
context,
|
|
58
|
+
config: projectConfig,
|
|
59
|
+
force: false,
|
|
60
|
+
ignore: false
|
|
61
|
+
});
|
|
62
|
+
const mapModulePath = `${resourceTopLevelPath}${opts.dir}/${MAP}/${MAP}`;
|
|
63
|
+
await scaffold.injectTemplateModule(MAP, projectConfig, mapModulePath);
|
|
64
|
+
const pathParts = mapPagePath.split('/');
|
|
65
|
+
const mapPathFromApp = scaffold.pathFromApp({ pathParts });
|
|
66
|
+
await scaffold.injectImport({
|
|
67
|
+
filePath: mapPathFromApp,
|
|
68
|
+
importName: pascalCase(MAP),
|
|
69
|
+
modulePath: (isSsr) ? '/imports/startup/lib/templates' : '/imports/startup/client/templates',
|
|
70
|
+
isNamedExport: true
|
|
71
|
+
});
|
|
72
|
+
await scaffold.injectIntoFile({
|
|
73
|
+
filePath: mapPathFromApp,
|
|
74
|
+
content: `\n<${pascalCase(MAP)} webMapId="8df8e6f7d4c34f56a1cf8b1473e57f6a" />\n`,
|
|
75
|
+
begin: [`<div id="map">`, `<div id="map">`],
|
|
76
|
+
end: ['</div>'],
|
|
77
|
+
replace: true
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
catch (e) {
|
|
81
|
+
Log.error(e);
|
|
82
|
+
process.exit(1);
|
|
83
|
+
}
|
|
84
|
+
}, async function () { }, EsriGen);
|
|
85
|
+
//# sourceMappingURL=map.esri.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map.esri.gen.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/esri/map.esri.gen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,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C;YAC1B,QAAQ,EAAE,cAAc;YACxB,UAAU,EAAE,UAAU,CAAC,GAAG,CAAC;YAC3B,UAAU,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,gCAAgC,CAAC,CAAC,CAAC,mCAAmC;YAC5F,aAAa,EAAE,IAAI;SACpB,CAAC,CAAC;QAEH,MAAM,QAAQ,CAAC,cAAc,CAAC;YAC5B,QAAQ,EAAE,cAAc;YACxB,OAAO,EAAE,MAAM,UAAU,CAAC,GAAG,CAAC,mDAAmD;YACjF,KAAK,EAAE,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;YAC3C,GAAG,EAAE,CAAC,QAAQ,CAAC;YACf,OAAO,EAAE,IAAI;SACd,CAAC,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACX,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QACb,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;AAEH,CAAC,EAAE,KAAK,eAAe,CAAC,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Generator } from '../../generator.js';
|
|
2
|
+
const KitGen = Generator.create({
|
|
3
|
+
name: 'kit',
|
|
4
|
+
aliases: ['k'],
|
|
5
|
+
usage: 'maka {generate, g}:{kit} <name>',
|
|
6
|
+
shortDesc: 'Generate a pre-built "kit" to speed up your development.',
|
|
7
|
+
minArgLength: 1,
|
|
8
|
+
isPro: true,
|
|
9
|
+
validOpts: [],
|
|
10
|
+
resourceNameRequired: false,
|
|
11
|
+
examples: [
|
|
12
|
+
'maka g:kit',
|
|
13
|
+
'maka g:k'
|
|
14
|
+
]
|
|
15
|
+
}, async function () { });
|
|
16
|
+
export default KitGen;
|
|
17
|
+
//# sourceMappingURL=kit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kit.js","sourceRoot":"","sources":["../../../../../src/generators/kits/kit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,MAAM,GAAG,SAAS,CAAC,MAAM,CAAC;IAC9B,IAAI,EAAE,KAAK;IACX,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,KAAK,EAAE,iCAAiC;IACxC,SAAS,EAAE,0DAA0D;IACrE,YAAY,EAAE,CAAC;IACf,KAAK,EAAE,IAAI;IACX,SAAS,EAAE,EAAE;IACb,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE;QACR,YAAY;QACZ,UAAU;KACX;CACF,EAAE,KAAK,eAA8B,CAAC,CAAC,CAAC;AAEzC,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_index.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/mui/_index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAC;AAC5B,OAAO,oBAAoB,CAAC;AAC5B,OAAO,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { Generator } from '../../../generator.js';
|
|
2
|
+
import { Log } from '../../../tools/log/log.class.js';
|
|
3
|
+
import { Actions } from '../../../tools/actions/actions.class.js';
|
|
4
|
+
import MakaGen from '../../../generators/maka.gen.js';
|
|
5
|
+
import MuiGen from './mui.generator.js';
|
|
6
|
+
import { kebabCase, capitalCase } from "change-case";
|
|
7
|
+
import { ThemeEngines, ClientEngines } from '../../../tools/fsi/fsi.interfaces.js';
|
|
8
|
+
Generator.create({
|
|
9
|
+
name: 'auth',
|
|
10
|
+
aliases: ['a'],
|
|
11
|
+
usage: 'maka {generate, g}:{kit}:{mui, m}:{auth, a}',
|
|
12
|
+
shortDesc: 'Generate a standard MUI Login, Logout, Register, and Password Reset page',
|
|
13
|
+
validOpts: ['layouts', 'force'],
|
|
14
|
+
isPro: true,
|
|
15
|
+
mustBeInMakaProject: true,
|
|
16
|
+
resourceNameRequired: false,
|
|
17
|
+
requiredEngines: {
|
|
18
|
+
theme: ThemeEngines.MATERIAL,
|
|
19
|
+
client: ClientEngines.REACT,
|
|
20
|
+
},
|
|
21
|
+
examples: [
|
|
22
|
+
'maka generate:kit:mui:auth',
|
|
23
|
+
'maka g:k:m:a'
|
|
24
|
+
],
|
|
25
|
+
description: `
|
|
26
|
+
Generates a standard MUI setup with login, logout, registration, and password reset pages.
|
|
27
|
+
`
|
|
28
|
+
}, async function (args, opts) {
|
|
29
|
+
try {
|
|
30
|
+
const { projectConfig, fsi, scaffold } = this;
|
|
31
|
+
const shouldForce = opts.force || false;
|
|
32
|
+
const projectDirectory = fsi.findProjectDirectory();
|
|
33
|
+
const authType = await Actions.select({
|
|
34
|
+
name: 'authType',
|
|
35
|
+
message: 'What sort of Authentication / Authorization are you using?',
|
|
36
|
+
choices: [
|
|
37
|
+
{ name: 'Meteor Accounts', value: 'meteor' },
|
|
38
|
+
{ name: 'Custom (roll your own)', value: 'custom' }
|
|
39
|
+
],
|
|
40
|
+
});
|
|
41
|
+
const LOGIN_PAGE = 'basic-login-page';
|
|
42
|
+
const LOGOUT_PAGE = 'basic-logout-page';
|
|
43
|
+
const REGISTER_PAGE = 'basic-register-page';
|
|
44
|
+
const PASSWORD_RESET_PAGE = 'basic-password-reset-page';
|
|
45
|
+
const FORGOT_PASSWORD_PAGE = 'basic-forgot-password-page';
|
|
46
|
+
const resourceTopLevelPath = (opts.baseDir) ? `/imports/ui/${opts.baseDir}` : '/imports/ui/pages/auth';
|
|
47
|
+
const pathToLoginPage = scaffold.pathFromApp({
|
|
48
|
+
pathParts: [
|
|
49
|
+
resourceTopLevelPath,
|
|
50
|
+
opts.dir,
|
|
51
|
+
kebabCase(LOGIN_PAGE),
|
|
52
|
+
kebabCase(LOGIN_PAGE)
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
const pathToLogoutPage = scaffold.pathFromApp({
|
|
56
|
+
pathParts: [
|
|
57
|
+
resourceTopLevelPath,
|
|
58
|
+
opts.dir,
|
|
59
|
+
kebabCase(LOGOUT_PAGE),
|
|
60
|
+
kebabCase(LOGOUT_PAGE)
|
|
61
|
+
]
|
|
62
|
+
});
|
|
63
|
+
const pathToRegisterPage = scaffold.pathFromApp({
|
|
64
|
+
pathParts: [
|
|
65
|
+
resourceTopLevelPath,
|
|
66
|
+
opts.dir,
|
|
67
|
+
kebabCase(REGISTER_PAGE),
|
|
68
|
+
kebabCase(REGISTER_PAGE)
|
|
69
|
+
]
|
|
70
|
+
});
|
|
71
|
+
const pathToPasswordResetPage = scaffold.pathFromApp({
|
|
72
|
+
pathParts: [
|
|
73
|
+
resourceTopLevelPath,
|
|
74
|
+
opts.dir,
|
|
75
|
+
kebabCase(PASSWORD_RESET_PAGE),
|
|
76
|
+
kebabCase(PASSWORD_RESET_PAGE)
|
|
77
|
+
]
|
|
78
|
+
});
|
|
79
|
+
const pathToForgotPasswordPage = scaffold.pathFromApp({
|
|
80
|
+
pathParts: [
|
|
81
|
+
resourceTopLevelPath,
|
|
82
|
+
opts.dir,
|
|
83
|
+
kebabCase(FORGOT_PASSWORD_PAGE),
|
|
84
|
+
kebabCase(FORGOT_PASSWORD_PAGE)
|
|
85
|
+
]
|
|
86
|
+
});
|
|
87
|
+
const context = {
|
|
88
|
+
name: capitalCase(projectConfig.appName),
|
|
89
|
+
};
|
|
90
|
+
await scaffold.template({
|
|
91
|
+
srcPath: `kit/mui/auth/login/${LOGIN_PAGE}.js`,
|
|
92
|
+
destPath: pathToLoginPage + '.js',
|
|
93
|
+
framework: 'react',
|
|
94
|
+
context,
|
|
95
|
+
config: projectConfig,
|
|
96
|
+
force: shouldForce,
|
|
97
|
+
ignore: false
|
|
98
|
+
});
|
|
99
|
+
await scaffold.template({
|
|
100
|
+
srcPath: `kit/mui/auth/logout/${LOGOUT_PAGE}.js`,
|
|
101
|
+
destPath: pathToLogoutPage + '.js',
|
|
102
|
+
framework: 'react',
|
|
103
|
+
context,
|
|
104
|
+
config: projectConfig,
|
|
105
|
+
force: shouldForce,
|
|
106
|
+
ignore: false
|
|
107
|
+
});
|
|
108
|
+
await scaffold.template({
|
|
109
|
+
srcPath: `kit/mui/auth/register/${REGISTER_PAGE}.js`,
|
|
110
|
+
destPath: pathToRegisterPage + '.js',
|
|
111
|
+
framework: 'react',
|
|
112
|
+
context,
|
|
113
|
+
config: projectConfig,
|
|
114
|
+
force: shouldForce,
|
|
115
|
+
ignore: false
|
|
116
|
+
});
|
|
117
|
+
await scaffold.template({
|
|
118
|
+
srcPath: `kit/mui/auth/password-reset/${PASSWORD_RESET_PAGE}.js`,
|
|
119
|
+
destPath: pathToPasswordResetPage + '.js',
|
|
120
|
+
framework: 'react',
|
|
121
|
+
context,
|
|
122
|
+
config: projectConfig,
|
|
123
|
+
force: shouldForce,
|
|
124
|
+
ignore: false
|
|
125
|
+
});
|
|
126
|
+
await scaffold.template({
|
|
127
|
+
srcPath: `kit/mui/auth/forgot-password/${FORGOT_PASSWORD_PAGE}.js`,
|
|
128
|
+
destPath: pathToForgotPasswordPage + '.js',
|
|
129
|
+
framework: 'react',
|
|
130
|
+
context,
|
|
131
|
+
config: projectConfig,
|
|
132
|
+
force: shouldForce,
|
|
133
|
+
ignore: false
|
|
134
|
+
});
|
|
135
|
+
// Add the module paths into templates.js
|
|
136
|
+
const loginPageModulePath = `${resourceTopLevelPath}${opts.dir}/${LOGIN_PAGE}/${LOGIN_PAGE}`;
|
|
137
|
+
await scaffold.injectTemplateModule(LOGIN_PAGE, projectConfig, loginPageModulePath);
|
|
138
|
+
const logoutPageModulePath = `${resourceTopLevelPath}${opts.dir}/${LOGOUT_PAGE}/${LOGOUT_PAGE}`;
|
|
139
|
+
await scaffold.injectTemplateModule(LOGOUT_PAGE, projectConfig, logoutPageModulePath);
|
|
140
|
+
const registerPageModulePath = `${resourceTopLevelPath}${opts.dir}/${REGISTER_PAGE}/${REGISTER_PAGE}`;
|
|
141
|
+
await scaffold.injectTemplateModule(REGISTER_PAGE, projectConfig, registerPageModulePath);
|
|
142
|
+
const passwordResetPageModulePath = `${resourceTopLevelPath}${opts.dir}/${PASSWORD_RESET_PAGE}/${PASSWORD_RESET_PAGE}`;
|
|
143
|
+
await scaffold.injectTemplateModule(PASSWORD_RESET_PAGE, projectConfig, passwordResetPageModulePath);
|
|
144
|
+
const forgotPasswordPageModulePath = `${resourceTopLevelPath}${opts.dir}/${FORGOT_PASSWORD_PAGE}/${FORGOT_PASSWORD_PAGE}`;
|
|
145
|
+
await scaffold.injectTemplateModule(FORGOT_PASSWORD_PAGE, projectConfig, forgotPasswordPageModulePath);
|
|
146
|
+
// Create routes
|
|
147
|
+
await MakaGen.processAndRunGenerator('route', ['basic-login-page'], { route: 'login', cwd: projectDirectory, config: projectConfig });
|
|
148
|
+
await MakaGen.processAndRunGenerator('route', ['basic-logout-page'], { route: 'logout', private: true, cwd: projectDirectory, config: projectConfig });
|
|
149
|
+
await MakaGen.processAndRunGenerator('route', ['basic-register-page'], { route: 'register', cwd: projectDirectory, config: projectConfig });
|
|
150
|
+
await MakaGen.processAndRunGenerator('route', ['basic-password-reset-page'], { route: 'reset-password/:token', cwd: projectDirectory, config: projectConfig });
|
|
151
|
+
await MakaGen.processAndRunGenerator('route', ['basic-forgot-password-page'], { route: 'forgot-password', cwd: projectDirectory, config: projectConfig });
|
|
152
|
+
if (authType === 'meteor') {
|
|
153
|
+
await MakaGen.processAndRunGenerator('kit:auth:meteor', [], { force: shouldForce, cwd: projectDirectory, config: projectConfig });
|
|
154
|
+
}
|
|
155
|
+
if (authType === 'custom') {
|
|
156
|
+
await MakaGen.processAndRunGenerator('kit:auth:provider', [], { force: shouldForce, cwd: projectDirectory, config: projectConfig });
|
|
157
|
+
}
|
|
158
|
+
const isSsr = projectConfig.engines.ssr === 'meteor';
|
|
159
|
+
const jsEngine = projectConfig.engines.js;
|
|
160
|
+
// Import auth context into login page
|
|
161
|
+
const loginPathFromApp = scaffold.pathFromApp({ pathParts: loginPageModulePath.split('/') });
|
|
162
|
+
await scaffold.injectImport({
|
|
163
|
+
filePath: `${loginPathFromApp}.${jsEngine}`,
|
|
164
|
+
importName: 'AuthContext',
|
|
165
|
+
modulePath: isSsr ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
166
|
+
isNamedExport: true
|
|
167
|
+
});
|
|
168
|
+
const logoutPathFromApp = scaffold.pathFromApp({ pathParts: logoutPageModulePath.split('/') });
|
|
169
|
+
// Import auth context into logout page
|
|
170
|
+
await scaffold.injectImport({
|
|
171
|
+
filePath: `${logoutPathFromApp}.${jsEngine}`,
|
|
172
|
+
importName: 'AuthContext',
|
|
173
|
+
modulePath: isSsr ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
174
|
+
isNamedExport: true
|
|
175
|
+
});
|
|
176
|
+
const registerPathFromApp = scaffold.pathFromApp({ pathParts: registerPageModulePath.split('/') });
|
|
177
|
+
// Import auth context into register page
|
|
178
|
+
await scaffold.injectImport({
|
|
179
|
+
filePath: `${registerPathFromApp}.${jsEngine}`,
|
|
180
|
+
importName: 'AuthContext',
|
|
181
|
+
modulePath: isSsr ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
182
|
+
isNamedExport: true
|
|
183
|
+
});
|
|
184
|
+
const passwordResetPathFromApp = scaffold.pathFromApp({ pathParts: passwordResetPageModulePath.split('/') });
|
|
185
|
+
// Import auth context into password reset page
|
|
186
|
+
await scaffold.injectImport({
|
|
187
|
+
filePath: `${passwordResetPathFromApp}.${jsEngine}`,
|
|
188
|
+
importName: 'AuthContext',
|
|
189
|
+
modulePath: isSsr ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
190
|
+
isNamedExport: true
|
|
191
|
+
});
|
|
192
|
+
const forgotPasswordPathFromApp = scaffold.pathFromApp({ pathParts: forgotPasswordPageModulePath.split('/') });
|
|
193
|
+
// Import auth context into forgot password page
|
|
194
|
+
await scaffold.injectImport({
|
|
195
|
+
filePath: `${forgotPasswordPathFromApp}.${jsEngine}`,
|
|
196
|
+
importName: 'AuthContext',
|
|
197
|
+
modulePath: isSsr ? '/imports/startup/lib/authentication-provider' : '/imports/startup/client/authentication-provider',
|
|
198
|
+
isNamedExport: true
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
catch (e) {
|
|
202
|
+
Log.error(e);
|
|
203
|
+
process.exit(1);
|
|
204
|
+
}
|
|
205
|
+
}, async function () {
|
|
206
|
+
console.log('Cleaning up...');
|
|
207
|
+
}, MuiGen);
|
|
208
|
+
export default MuiGen;
|
|
209
|
+
//# sourceMappingURL=auth.mui.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.mui.gen.js","sourceRoot":"","sources":["../../../../../../src/generators/kits/mui/auth.mui.gen.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,iCAAiC,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,yCAAyC,CAAC;AAClE,OAAO,OAAO,MAAM,iCAAiC,CAAC;AACtD,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAEnF,SAAS,CAAC,MAAM,CAAC;IACf,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,CAAC,GAAG,CAAC;IACd,KAAK,EAAE,6CAA6C;IACpD,SAAS,EAAE,0EAA0E;IACrF,SAAS,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;IAC/B,KAAK,EAAE,IAAI;IACX,mBAAmB,EAAE,IAAI;IACzB,oBAAoB,EAAE,KAAK;IAC3B,eAAe,EAAE;QACf,KAAK,EAAE,YAAY,CAAC,QAAQ;QAC5B,MAAM,EAAE,aAAa,CAAC,KAAK;KAC5B;IACD,QAAQ,EAAE;QAC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