@maka/maka-cli 5.2.4 → 5.2.6
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/package.json +4 -3
- package/bundle/typescript/package.json +0 -118
- package/bundle/typescript/src/README.md +0 -37
- package/bundle/typescript/src/command.d.ts +0 -37
- package/bundle/typescript/src/command.js +0 -231
- package/bundle/typescript/src/command.js.map +0 -1
- package/bundle/typescript/src/commands/_index.d.ts +0 -26
- package/bundle/typescript/src/commands/_index.js +0 -28
- package/bundle/typescript/src/commands/_index.js.map +0 -1
- package/bundle/typescript/src/commands/ai/_index.d.ts +0 -2
- package/bundle/typescript/src/commands/ai/_index.js +0 -3
- package/bundle/typescript/src/commands/ai/_index.js.map +0 -1
- package/bundle/typescript/src/commands/ai/ai.command.d.ts +0 -3
- package/bundle/typescript/src/commands/ai/ai.command.js +0 -83
- package/bundle/typescript/src/commands/ai/ai.command.js.map +0 -1
- package/bundle/typescript/src/commands/ai/mcp.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js +0 -964
- package/bundle/typescript/src/commands/ai/mcp.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/_index.d.ts +0 -16
- package/bundle/typescript/src/commands/aws/_index.js +0 -17
- package/bundle/typescript/src/commands/aws/_index.js.map +0 -1
- package/bundle/typescript/src/commands/aws/aws.command.d.ts +0 -3
- package/bundle/typescript/src/commands/aws/aws.command.js +0 -15
- package/bundle/typescript/src/commands/aws/aws.command.js.map +0 -1
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js +0 -38
- package/bundle/typescript/src/commands/aws/cecr.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js +0 -41
- package/bundle/typescript/src/commands/aws/chz.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js +0 -199
- package/bundle/typescript/src/commands/aws/ci.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js +0 -42
- package/bundle/typescript/src/commands/aws/ckp.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js +0 -43
- package/bundle/typescript/src/commands/aws/csg.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js +0 -31
- package/bundle/typescript/src/commands/aws/decr.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/di.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js +0 -35
- package/bundle/typescript/src/commands/aws/di.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js +0 -25
- package/bundle/typescript/src/commands/aws/dkp.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js +0 -57
- package/bundle/typescript/src/commands/aws/dsg.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js +0 -32
- package/bundle/typescript/src/commands/aws/lecr.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js +0 -39
- package/bundle/typescript/src/commands/aws/rbi.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js +0 -104
- package/bundle/typescript/src/commands/aws/rdn.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js +0 -52
- package/bundle/typescript/src/commands/aws/rkp.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js +0 -74
- package/bundle/typescript/src/commands/aws/sth.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js +0 -45
- package/bundle/typescript/src/commands/aws/ti.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/build/_index.d.ts +0 -2
- package/bundle/typescript/src/commands/build/_index.js +0 -3
- package/bundle/typescript/src/commands/build/_index.js.map +0 -1
- package/bundle/typescript/src/commands/build/build.d.ts +0 -3
- package/bundle/typescript/src/commands/build/build.js +0 -98
- package/bundle/typescript/src/commands/build/build.js.map +0 -1
- package/bundle/typescript/src/commands/build/docker.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js +0 -138
- package/bundle/typescript/src/commands/build/docker.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/create.d.ts +0 -1
- package/bundle/typescript/src/commands/create.js +0 -645
- package/bundle/typescript/src/commands/create.js.map +0 -1
- package/bundle/typescript/src/commands/debug.d.ts +0 -1
- package/bundle/typescript/src/commands/debug.js +0 -95
- package/bundle/typescript/src/commands/debug.js.map +0 -1
- package/bundle/typescript/src/commands/deploy/_index.d.ts +0 -3
- package/bundle/typescript/src/commands/deploy/_index.js +0 -4
- package/bundle/typescript/src/commands/deploy/_index.js.map +0 -1
- package/bundle/typescript/src/commands/deploy/deploy.command.d.ts +0 -3
- package/bundle/typescript/src/commands/deploy/deploy.command.js +0 -24
- package/bundle/typescript/src/commands/deploy/deploy.command.js.map +0 -1
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js +0 -152
- package/bundle/typescript/src/commands/deploy/galaxy.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js +0 -543
- package/bundle/typescript/src/commands/deploy/ubuntu.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/game/_index.d.ts +0 -5
- package/bundle/typescript/src/commands/game/_index.js +0 -7
- package/bundle/typescript/src/commands/game/_index.js.map +0 -1
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js +0 -12
- package/bundle/typescript/src/commands/game/battleship.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/game/play.command.d.ts +0 -3
- package/bundle/typescript/src/commands/game/play.command.js +0 -18
- package/bundle/typescript/src/commands/game/play.command.js.map +0 -1
- package/bundle/typescript/src/commands/game/pong.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js +0 -12
- package/bundle/typescript/src/commands/game/pong.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.d.ts +0 -9
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js +0 -26
- package/bundle/typescript/src/commands/game/sideQuest/commands/command-registry.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.d.ts +0 -23
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js +0 -24
- package/bundle/typescript/src/commands/game/sideQuest/commands/command.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js +0 -33
- package/bundle/typescript/src/commands/game/sideQuest/commands/drop.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js +0 -69
- package/bundle/typescript/src/commands/game/sideQuest/commands/equip.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js +0 -58
- package/bundle/typescript/src/commands/game/sideQuest/commands/give.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js +0 -63
- package/bundle/typescript/src/commands/game/sideQuest/commands/go.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/kill.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js +0 -36
- package/bundle/typescript/src/commands/game/sideQuest/commands/kill.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.d.ts +0 -8
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js +0 -74
- package/bundle/typescript/src/commands/game/sideQuest/commands/lock.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.d.ts +0 -10
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js +0 -137
- package/bundle/typescript/src/commands/game/sideQuest/commands/look.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/read.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/read.js +0 -26
- package/bundle/typescript/src/commands/game/sideQuest/commands/read.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.d.ts +0 -8
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js +0 -31
- package/bundle/typescript/src/commands/game/sideQuest/commands/say.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js +0 -24
- package/bundle/typescript/src/commands/game/sideQuest/commands/search.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js +0 -23
- package/bundle/typescript/src/commands/game/sideQuest/commands/solve.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js +0 -33
- package/bundle/typescript/src/commands/game/sideQuest/commands/store.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js +0 -41
- package/bundle/typescript/src/commands/game/sideQuest/commands/take.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.d.ts +0 -9
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js +0 -54
- package/bundle/typescript/src/commands/game/sideQuest/commands/talk.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js +0 -13
- package/bundle/typescript/src/commands/game/sideQuest/commands/unequip.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js +0 -53
- package/bundle/typescript/src/commands/game/sideQuest/commands/unlock.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js +0 -34
- package/bundle/typescript/src/commands/game/sideQuest/commands/use.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.d.ts +0 -9
- package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js +0 -17
- package/bundle/typescript/src/commands/game/sideQuest/factories/command-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.d.ts +0 -5
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js +0 -25
- package/bundle/typescript/src/commands/game/sideQuest/factories/item-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.d.ts +0 -10
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js +0 -36
- package/bundle/typescript/src/commands/game/sideQuest/factories/npc-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js +0 -24
- package/bundle/typescript/src/commands/game/sideQuest/factories/puzzle-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js +0 -19
- package/bundle/typescript/src/commands/game/sideQuest/factories/room-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js +0 -126
- package/bundle/typescript/src/commands/game/sideQuest/factories/scene-factory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/game.d.ts +0 -38
- package/bundle/typescript/src/commands/game/sideQuest/game.js +0 -384
- package/bundle/typescript/src/commands/game/sideQuest/game.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.d.ts +0 -8
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js +0 -9
- package/bundle/typescript/src/commands/game/sideQuest/models/_index.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/door.d.ts +0 -23
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js +0 -42
- package/bundle/typescript/src/commands/game/sideQuest/models/door.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.d.ts +0 -47
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js +0 -110
- package/bundle/typescript/src/commands/game/sideQuest/models/inventory.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/item.d.ts +0 -56
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js +0 -145
- package/bundle/typescript/src/commands/game/sideQuest/models/item.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.d.ts +0 -36
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js +0 -407
- package/bundle/typescript/src/commands/game/sideQuest/models/npc.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/player.d.ts +0 -58
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js +0 -357
- package/bundle/typescript/src/commands/game/sideQuest/models/player.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.d.ts +0 -34
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js +0 -67
- package/bundle/typescript/src/commands/game/sideQuest/models/puzzle.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/room.d.ts +0 -69
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js +0 -246
- package/bundle/typescript/src/commands/game/sideQuest/models/room.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.d.ts +0 -72
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js +0 -310
- package/bundle/typescript/src/commands/game/sideQuest/models/scene.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.d.ts +0 -0
- package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/_index.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene1.json +0 -281
- package/bundle/typescript/src/commands/game/sideQuest/scenes/scene2.json +0 -397
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.d.ts +0 -47
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js +0 -52
- package/bundle/typescript/src/commands/game/sideQuest/types/enums.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.d.ts +0 -62
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/player-equipment.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/exit-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.d.ts +0 -23
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/item-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.d.ts +0 -22
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/lifestyle-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.d.ts +0 -6
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/npc-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.d.ts +0 -8
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/player-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.d.ts +0 -11
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/puzzle-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.d.ts +0 -16
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/room-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.d.ts +0 -20
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js +0 -2
- package/bundle/typescript/src/commands/game/sideQuest/types/seed/scene-seed.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.d.ts +0 -152
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js +0 -90
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/abstracts.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.d.ts +0 -8
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js +0 -10
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/direction-enum.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.d.ts +0 -25
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js +0 -27
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/equipment-enum.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.d.ts +0 -69
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js +0 -80
- package/bundle/typescript/src/commands/game/sideQuest/types/shared/item-enum.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/ui.d.ts +0 -7
- package/bundle/typescript/src/commands/game/sideQuest/ui.js +0 -72
- package/bundle/typescript/src/commands/game/sideQuest/ui.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.d.ts +0 -16
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js +0 -67
- package/bundle/typescript/src/commands/game/sideQuest/utilities/logger.js.map +0 -1
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js +0 -68
- package/bundle/typescript/src/commands/game/sideQuest.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/game/snake.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js +0 -12
- package/bundle/typescript/src/commands/game/snake.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js +0 -12
- package/bundle/typescript/src/commands/game/tetris.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/generate.d.ts +0 -1
- package/bundle/typescript/src/commands/generate.js +0 -42
- package/bundle/typescript/src/commands/generate.js.map +0 -1
- package/bundle/typescript/src/commands/get/_index.d.ts +0 -4
- package/bundle/typescript/src/commands/get/_index.js +0 -5
- package/bundle/typescript/src/commands/get/_index.js.map +0 -1
- package/bundle/typescript/src/commands/get/get.command.d.ts +0 -3
- package/bundle/typescript/src/commands/get/get.command.js +0 -13
- package/bundle/typescript/src/commands/get/get.command.js.map +0 -1
- package/bundle/typescript/src/commands/get/global.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/get/global.sub.cmd.js +0 -20
- package/bundle/typescript/src/commands/get/global.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/get/local.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/get/local.sub.cmd.js +0 -14
- package/bundle/typescript/src/commands/get/local.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js +0 -21
- package/bundle/typescript/src/commands/get/whoami.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/help.d.ts +0 -1
- package/bundle/typescript/src/commands/help.js +0 -12
- package/bundle/typescript/src/commands/help.js.map +0 -1
- package/bundle/typescript/src/commands/install.d.ts +0 -1
- package/bundle/typescript/src/commands/install.js +0 -269
- package/bundle/typescript/src/commands/install.js.map +0 -1
- package/bundle/typescript/src/commands/jsdoc.d.ts +0 -1
- package/bundle/typescript/src/commands/jsdoc.js +0 -62
- package/bundle/typescript/src/commands/jsdoc.js.map +0 -1
- package/bundle/typescript/src/commands/lint.d.ts +0 -1
- package/bundle/typescript/src/commands/lint.js +0 -127
- package/bundle/typescript/src/commands/lint.js.map +0 -1
- package/bundle/typescript/src/commands/login.d.ts +0 -1
- package/bundle/typescript/src/commands/login.js +0 -168
- package/bundle/typescript/src/commands/login.js.map +0 -1
- package/bundle/typescript/src/commands/logout.d.ts +0 -1
- package/bundle/typescript/src/commands/logout.js +0 -95
- package/bundle/typescript/src/commands/logout.js.map +0 -1
- package/bundle/typescript/src/commands/logs.d.ts +0 -1
- package/bundle/typescript/src/commands/logs.js +0 -35
- package/bundle/typescript/src/commands/logs.js.map +0 -1
- package/bundle/typescript/src/commands/maka.cmd.d.ts +0 -5
- package/bundle/typescript/src/commands/maka.cmd.js +0 -57
- package/bundle/typescript/src/commands/maka.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/murder.d.ts +0 -1
- package/bundle/typescript/src/commands/murder.js +0 -31
- package/bundle/typescript/src/commands/murder.js.map +0 -1
- package/bundle/typescript/src/commands/profile.d.ts +0 -1
- package/bundle/typescript/src/commands/profile.js +0 -277
- package/bundle/typescript/src/commands/profile.js.map +0 -1
- package/bundle/typescript/src/commands/proxy.d.ts +0 -1
- package/bundle/typescript/src/commands/proxy.js +0 -168
- package/bundle/typescript/src/commands/proxy.js.map +0 -1
- package/bundle/typescript/src/commands/reconfig.d.ts +0 -1
- package/bundle/typescript/src/commands/reconfig.js +0 -69
- package/bundle/typescript/src/commands/reconfig.js.map +0 -1
- package/bundle/typescript/src/commands/register.d.ts +0 -1
- package/bundle/typescript/src/commands/register.js +0 -104
- package/bundle/typescript/src/commands/register.js.map +0 -1
- package/bundle/typescript/src/commands/run/_index.d.ts +0 -2
- package/bundle/typescript/src/commands/run/_index.js +0 -3
- package/bundle/typescript/src/commands/run/_index.js.map +0 -1
- package/bundle/typescript/src/commands/run/docker.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js +0 -82
- package/bundle/typescript/src/commands/run/docker.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/run/run.command.d.ts +0 -3
- package/bundle/typescript/src/commands/run/run.command.js +0 -200
- package/bundle/typescript/src/commands/run/run.command.js.map +0 -1
- package/bundle/typescript/src/commands/set/_index.d.ts +0 -3
- package/bundle/typescript/src/commands/set/_index.js +0 -4
- package/bundle/typescript/src/commands/set/_index.js.map +0 -1
- package/bundle/typescript/src/commands/set/global.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/set/global.sub.cmd.js +0 -115
- package/bundle/typescript/src/commands/set/global.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/set/local.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/set/local.sub.cmd.js +0 -18
- package/bundle/typescript/src/commands/set/local.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/set/set.command.d.ts +0 -3
- package/bundle/typescript/src/commands/set/set.command.js +0 -16
- package/bundle/typescript/src/commands/set/set.command.js.map +0 -1
- package/bundle/typescript/src/commands/ssh.d.ts +0 -1
- package/bundle/typescript/src/commands/ssh.js +0 -43
- package/bundle/typescript/src/commands/ssh.js.map +0 -1
- package/bundle/typescript/src/commands/ssl.d.ts +0 -1
- package/bundle/typescript/src/commands/ssl.js +0 -109
- package/bundle/typescript/src/commands/ssl.js.map +0 -1
- package/bundle/typescript/src/commands/testCmd/_index.d.ts +0 -3
- package/bundle/typescript/src/commands/testCmd/_index.js +0 -4
- package/bundle/typescript/src/commands/testCmd/_index.js.map +0 -1
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js +0 -131
- package/bundle/typescript/src/commands/testCmd/jest.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js +0 -133
- package/bundle/typescript/src/commands/testCmd/mocha.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/testCmd/test.command.d.ts +0 -3
- package/bundle/typescript/src/commands/testCmd/test.command.js +0 -15
- package/bundle/typescript/src/commands/testCmd/test.command.js.map +0 -1
- package/bundle/typescript/src/commands/undo.d.ts +0 -1
- package/bundle/typescript/src/commands/undo.js +0 -12
- package/bundle/typescript/src/commands/undo.js.map +0 -1
- package/bundle/typescript/src/commands/uninstall.d.ts +0 -1
- package/bundle/typescript/src/commands/uninstall.js +0 -76
- package/bundle/typescript/src/commands/uninstall.js.map +0 -1
- package/bundle/typescript/src/commands/version/_index.d.ts +0 -4
- package/bundle/typescript/src/commands/version/_index.js +0 -5
- package/bundle/typescript/src/commands/version/_index.js.map +0 -1
- package/bundle/typescript/src/commands/version/list.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/version/list.sub.cmd.js +0 -55
- package/bundle/typescript/src/commands/version/list.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/version/meteor.sub.cmd.d.ts +0 -3
- package/bundle/typescript/src/commands/version/meteor.sub.cmd.js +0 -21
- package/bundle/typescript/src/commands/version/meteor.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/version/use.sub.cmd.d.ts +0 -1
- package/bundle/typescript/src/commands/version/use.sub.cmd.js +0 -83
- package/bundle/typescript/src/commands/version/use.sub.cmd.js.map +0 -1
- package/bundle/typescript/src/commands/version/version.d.ts +0 -3
- package/bundle/typescript/src/commands/version/version.js +0 -59
- package/bundle/typescript/src/commands/version/version.js.map +0 -1
- package/bundle/typescript/src/error.d.ts +0 -12
- package/bundle/typescript/src/error.js +0 -13
- package/bundle/typescript/src/error.js.map +0 -1
- package/bundle/typescript/src/exec.d.ts +0 -2
- package/bundle/typescript/src/exec.js +0 -17
- package/bundle/typescript/src/exec.js.map +0 -1
- package/bundle/typescript/src/generator.d.ts +0 -48
- package/bundle/typescript/src/generator.js +0 -394
- package/bundle/typescript/src/generator.js.map +0 -1
- package/bundle/typescript/src/generators/_index.d.ts +0 -18
- package/bundle/typescript/src/generators/_index.js +0 -19
- package/bundle/typescript/src/generators/_index.js.map +0 -1
- package/bundle/typescript/src/generators/api.d.ts +0 -1
- package/bundle/typescript/src/generators/api.js +0 -257
- package/bundle/typescript/src/generators/api.js.map +0 -1
- package/bundle/typescript/src/generators/aws/_index.d.ts +0 -2
- package/bundle/typescript/src/generators/aws/_index.js +0 -3
- package/bundle/typescript/src/generators/aws/_index.js.map +0 -1
- package/bundle/typescript/src/generators/aws/aws.d.ts +0 -3
- package/bundle/typescript/src/generators/aws/aws.js +0 -16
- package/bundle/typescript/src/generators/aws/aws.js.map +0 -1
- package/bundle/typescript/src/generators/aws/cloudformation/_index.d.ts +0 -2
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js +0 -3
- package/bundle/typescript/src/generators/aws/cloudformation/_index.js.map +0 -1
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.d.ts +0 -3
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js +0 -21
- package/bundle/typescript/src/generators/aws/cloudformation/cloudformation.js.map +0 -1
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.d.ts +0 -3
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +0 -69
- package/bundle/typescript/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js.map +0 -1
- package/bundle/typescript/src/generators/collection.d.ts +0 -1
- package/bundle/typescript/src/generators/collection.js +0 -78
- package/bundle/typescript/src/generators/collection.js.map +0 -1
- package/bundle/typescript/src/generators/component.d.ts +0 -1
- package/bundle/typescript/src/generators/component.js +0 -99
- package/bundle/typescript/src/generators/component.js.map +0 -1
- package/bundle/typescript/src/generators/config.d.ts +0 -1
- package/bundle/typescript/src/generators/config.js +0 -75
- package/bundle/typescript/src/generators/config.js.map +0 -1
- package/bundle/typescript/src/generators/dbc.d.ts +0 -1
- package/bundle/typescript/src/generators/dbc.js +0 -85
- package/bundle/typescript/src/generators/dbc.js.map +0 -1
- package/bundle/typescript/src/generators/dockerfile.d.ts +0 -1
- package/bundle/typescript/src/generators/dockerfile.js +0 -42
- package/bundle/typescript/src/generators/dockerfile.js.map +0 -1
- package/bundle/typescript/src/generators/hook.d.ts +0 -1
- package/bundle/typescript/src/generators/hook.js +0 -112
- package/bundle/typescript/src/generators/hook.js.map +0 -1
- package/bundle/typescript/src/generators/kits/_index.d.ts +0 -5
- package/bundle/typescript/src/generators/kits/_index.js +0 -6
- package/bundle/typescript/src/generators/kits/_index.js.map +0 -1
- package/bundle/typescript/src/generators/kits/auth/_index.d.ts +0 -4
- package/bundle/typescript/src/generators/kits/auth/_index.js +0 -5
- package/bundle/typescript/src/generators/kits/auth/_index.js.map +0 -1
- package/bundle/typescript/src/generators/kits/auth/auth.generator.d.ts +0 -3
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js +0 -21
- package/bundle/typescript/src/generators/kits/auth/auth.generator.js.map +0 -1
- package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js +0 -895
- package/bundle/typescript/src/generators/kits/auth/auth0-meteor.auth.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js +0 -213
- package/bundle/typescript/src/generators/kits/auth/basic-meteor.auth.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js +0 -138
- package/bundle/typescript/src/generators/kits/auth/provider.auth.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/esri/_index.d.ts +0 -2
- package/bundle/typescript/src/generators/kits/esri/_index.js +0 -3
- package/bundle/typescript/src/generators/kits/esri/_index.js.map +0 -1
- package/bundle/typescript/src/generators/kits/esri/esri.generator.d.ts +0 -3
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js +0 -31
- package/bundle/typescript/src/generators/kits/esri/esri.generator.js.map +0 -1
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js +0 -85
- package/bundle/typescript/src/generators/kits/esri/map.esri.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/frames/_index.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/frames/_index.js +0 -2
- package/bundle/typescript/src/generators/kits/frames/_index.js.map +0 -1
- package/bundle/typescript/src/generators/kits/frames/frames.generator.d.ts +0 -3
- package/bundle/typescript/src/generators/kits/frames/frames.generator.js +0 -166
- package/bundle/typescript/src/generators/kits/frames/frames.generator.js.map +0 -1
- package/bundle/typescript/src/generators/kits/kit.d.ts +0 -3
- package/bundle/typescript/src/generators/kits/kit.js +0 -17
- package/bundle/typescript/src/generators/kits/kit.js.map +0 -1
- package/bundle/typescript/src/generators/kits/mui/_index.d.ts +0 -4
- package/bundle/typescript/src/generators/kits/mui/_index.js +0 -5
- package/bundle/typescript/src/generators/kits/mui/_index.js.map +0 -1
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.d.ts +0 -2
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js +0 -228
- package/bundle/typescript/src/generators/kits/mui/auth.mui.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.d.ts +0 -2
- package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js +0 -158
- package/bundle/typescript/src/generators/kits/mui/auth0.mui.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.d.ts +0 -1
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js +0 -210
- package/bundle/typescript/src/generators/kits/mui/frame.mui.gen.js.map +0 -1
- package/bundle/typescript/src/generators/kits/mui/mui.generator.d.ts +0 -3
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js +0 -79
- package/bundle/typescript/src/generators/kits/mui/mui.generator.js.map +0 -1
- package/bundle/typescript/src/generators/layout.d.ts +0 -1
- package/bundle/typescript/src/generators/layout.js +0 -116
- package/bundle/typescript/src/generators/layout.js.map +0 -1
- package/bundle/typescript/src/generators/maka.gen.d.ts +0 -5
- package/bundle/typescript/src/generators/maka.gen.js +0 -26
- package/bundle/typescript/src/generators/maka.gen.js.map +0 -1
- package/bundle/typescript/src/generators/methods.d.ts +0 -1
- package/bundle/typescript/src/generators/methods.js +0 -65
- package/bundle/typescript/src/generators/methods.js.map +0 -1
- package/bundle/typescript/src/generators/package.d.ts +0 -1
- package/bundle/typescript/src/generators/package.js +0 -71
- package/bundle/typescript/src/generators/package.js.map +0 -1
- package/bundle/typescript/src/generators/page.d.ts +0 -1
- package/bundle/typescript/src/generators/page.js +0 -194
- package/bundle/typescript/src/generators/page.js.map +0 -1
- package/bundle/typescript/src/generators/publish.d.ts +0 -1
- package/bundle/typescript/src/generators/publish.js +0 -75
- package/bundle/typescript/src/generators/publish.js.map +0 -1
- package/bundle/typescript/src/generators/route.d.ts +0 -1
- package/bundle/typescript/src/generators/route.js +0 -68
- package/bundle/typescript/src/generators/route.js.map +0 -1
- package/bundle/typescript/src/generators/services/_index.d.ts +0 -4
- package/bundle/typescript/src/generators/services/_index.js +0 -5
- package/bundle/typescript/src/generators/services/_index.js.map +0 -1
- package/bundle/typescript/src/generators/services/logger.d.ts +0 -1
- package/bundle/typescript/src/generators/services/logger.js +0 -50
- package/bundle/typescript/src/generators/services/logger.js.map +0 -1
- package/bundle/typescript/src/generators/services/openssl.d.ts +0 -1
- package/bundle/typescript/src/generators/services/openssl.js +0 -38
- package/bundle/typescript/src/generators/services/openssl.js.map +0 -1
- package/bundle/typescript/src/generators/services/service.d.ts +0 -3
- package/bundle/typescript/src/generators/services/service.js +0 -16
- package/bundle/typescript/src/generators/services/service.js.map +0 -1
- package/bundle/typescript/src/generators/services/translation.d.ts +0 -1
- package/bundle/typescript/src/generators/services/translation.js +0 -149
- package/bundle/typescript/src/generators/services/translation.js.map +0 -1
- package/bundle/typescript/src/maka.d.ts +0 -2
- package/bundle/typescript/src/maka.js +0 -26
- package/bundle/typescript/src/maka.js.map +0 -1
- package/bundle/typescript/src/templates/aws/cloudformation/create-ec2-instance.template +0 -14
- package/bundle/typescript/src/templates/meteor/api/api.js +0 -20
- package/bundle/typescript/src/templates/meteor/api/api.js.ts +0 -20
- package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js +0 -50
- package/bundle/typescript/src/templates/meteor/api/apollo-gateway.js.ts +0 -55
- package/bundle/typescript/src/templates/meteor/api/graphql-api.js +0 -63
- package/bundle/typescript/src/templates/meteor/api/graphql-api.js.ts +0 -69
- package/bundle/typescript/src/templates/meteor/api/methods.js +0 -39
- package/bundle/typescript/src/templates/meteor/api/methods.js.ts +0 -40
- package/bundle/typescript/src/templates/meteor/api/register-api.js +0 -3
- package/bundle/typescript/src/templates/meteor/api/register-api.js.ts +0 -3
- package/bundle/typescript/src/templates/meteor/api/resolvers.js +0 -9
- package/bundle/typescript/src/templates/meteor/api/resolvers.js.ts +0 -9
- package/bundle/typescript/src/templates/meteor/api/tests.js +0 -0
- package/bundle/typescript/src/templates/meteor/api/tests.js.ts +0 -0
- package/bundle/typescript/src/templates/meteor/api/typeDefs.js +0 -6
- package/bundle/typescript/src/templates/meteor/api/typeDefs.js.ts +0 -6
- package/bundle/typescript/src/templates/meteor/app/client/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/client/body.html +0 -3
- package/bundle/typescript/src/templates/meteor/app/client/head.html +0 -12
- package/bundle/typescript/src/templates/meteor/app/client/main.js +0 -15
- package/bundle/typescript/src/templates/meteor/app/client/main.js.jsx +0 -15
- package/bundle/typescript/src/templates/meteor/app/client/main.js.ts +0 -15
- package/bundle/typescript/src/templates/meteor/app/client/main.js.tsx +0 -15
- package/bundle/typescript/src/templates/meteor/app/imports/api/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js +0 -20
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.jsx +0 -107
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.ts +0 -20
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/index.js.tsx +0 -108
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js +0 -39
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.jsx +0 -33
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.ts +0 -24
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/routes.js.tsx +0 -33
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js +0 -9
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.jsx +0 -9
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.ts +0 -9
- package/bundle/typescript/src/templates/meteor/app/imports/startup/client/templates.js.tsx +0 -9
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js +0 -1
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.jsx +0 -20
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.ts +0 -1
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/index.js.tsx +0 -20
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +0 -28
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +0 -28
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.jsx +0 -0
- package/bundle/typescript/src/templates/meteor/app/imports/startup/lib/templates.js.tsx +0 -0
- package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js +0 -1
- package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.jsx +0 -98
- package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.ts +0 -0
- package/bundle/typescript/src/templates/meteor/app/imports/startup/server/index.js.tsx +0 -98
- package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js +0 -24
- package/bundle/typescript/src/templates/meteor/app/imports/ui/test-helpers.js.ts +0 -24
- package/bundle/typescript/src/templates/meteor/app/lib/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/lib/main.js +0 -3
- package/bundle/typescript/src/templates/meteor/app/lib/main.js.jsx +0 -3
- package/bundle/typescript/src/templates/meteor/app/lib/main.js.ts +0 -3
- package/bundle/typescript/src/templates/meteor/app/lib/main.js.tsx +0 -3
- package/bundle/typescript/src/templates/meteor/app/maka.d.ts +0 -504
- package/bundle/typescript/src/templates/meteor/app/meteor.d.ts +0 -954
- package/bundle/typescript/src/templates/meteor/app/packages/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/private/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/favicon.ico +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/maka-144x144.png +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/maka-192x192.png +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/maka-512x512.png +0 -0
- package/bundle/typescript/src/templates/meteor/app/public/manifest.json +0 -27
- package/bundle/typescript/src/templates/meteor/app/public/sw.js +0 -30
- package/bundle/typescript/src/templates/meteor/app/public/sw.js.jsx +0 -30
- package/bundle/typescript/src/templates/meteor/app/public/sw.js.ts +0 -30
- package/bundle/typescript/src/templates/meteor/app/public/sw.js.tsx +0 -30
- package/bundle/typescript/src/templates/meteor/app/server/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js +0 -179
- package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.jsx +0 -179
- package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.ts +0 -179
- package/bundle/typescript/src/templates/meteor/app/server/helmet-csp.js.tsx +0 -179
- package/bundle/typescript/src/templates/meteor/app/server/main.js +0 -13
- package/bundle/typescript/src/templates/meteor/app/server/main.js.jsx +0 -13
- package/bundle/typescript/src/templates/meteor/app/server/main.js.ts +0 -13
- package/bundle/typescript/src/templates/meteor/app/server/main.js.tsx +0 -13
- package/bundle/typescript/src/templates/meteor/app/tsconfig.json +0 -40
- package/bundle/typescript/src/templates/meteor/collection/collection.js +0 -51
- package/bundle/typescript/src/templates/meteor/collection/collection.js.ts +0 -55
- package/bundle/typescript/src/templates/meteor/collection/tests.js +0 -27
- package/bundle/typescript/src/templates/meteor/collection/tests.js.ts +0 -27
- package/bundle/typescript/src/templates/meteor/config/docker-compose.yaml +0 -17
- package/bundle/typescript/src/templates/meteor/config/pm2.config.js +0 -27
- package/bundle/typescript/src/templates/meteor/config/process.env +0 -5
- package/bundle/typescript/src/templates/meteor/config/settings.json +0 -11
- package/bundle/typescript/src/templates/meteor/config/ssh.json +0 -6
- package/bundle/typescript/src/templates/meteor/dbc/config.js +0 -70
- package/bundle/typescript/src/templates/meteor/dbc/config.js.ts +0 -70
- package/bundle/typescript/src/templates/meteor/dbc/conn.js +0 -37
- package/bundle/typescript/src/templates/meteor/dbc/conn.js.ts +0 -37
- package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js +0 -3
- package/bundle/typescript/src/templates/meteor/dbc/register-dbc.js.ts +0 -3
- package/bundle/typescript/src/templates/meteor/method/method.js +0 -48
- package/bundle/typescript/src/templates/meteor/method/method.js.ts +0 -48
- package/bundle/typescript/src/templates/meteor/package/client/package.js +0 -0
- package/bundle/typescript/src/templates/meteor/package/client/package.js.jsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/client/package.js.ts +0 -0
- package/bundle/typescript/src/templates/meteor/package/client/package.js.tsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/lib/package.js +0 -0
- package/bundle/typescript/src/templates/meteor/package/lib/package.js.jsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/lib/package.js.ts +0 -0
- package/bundle/typescript/src/templates/meteor/package/lib/package.js.tsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/package.js +0 -37
- package/bundle/typescript/src/templates/meteor/package/package.js.jsx +0 -37
- package/bundle/typescript/src/templates/meteor/package/package.js.ts +0 -36
- package/bundle/typescript/src/templates/meteor/package/package.js.tsx +0 -37
- package/bundle/typescript/src/templates/meteor/package/server/package.js +0 -0
- package/bundle/typescript/src/templates/meteor/package/server/package.js.jsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/server/package.js.ts +0 -0
- package/bundle/typescript/src/templates/meteor/package/server/package.js.tsx +0 -0
- package/bundle/typescript/src/templates/meteor/package/tests/client/package.js +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.jsx +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.ts +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/client/package.js.tsx +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/server/package.js +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.jsx +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.ts +0 -5
- package/bundle/typescript/src/templates/meteor/package/tests/server/package.js.tsx +0 -5
- package/bundle/typescript/src/templates/meteor/project/.maka/config.json +0 -29
- package/bundle/typescript/src/templates/meteor/project/.maka/history.json +0 -1
- package/bundle/typescript/src/templates/meteor/project/README.md +0 -33
- package/bundle/typescript/src/templates/meteor/project/build/.gitkeep +0 -0
- package/bundle/typescript/src/templates/meteor/project/build/README +0 -4
- package/bundle/typescript/src/templates/meteor/project/gitignore +0 -9
- package/bundle/typescript/src/templates/meteor/project/package.json +0 -29
- package/bundle/typescript/src/templates/meteor/publish/publish.js +0 -3
- package/bundle/typescript/src/templates/meteor/publish/publish.js.ts +0 -3
- package/bundle/typescript/src/templates/meteor/service/logger/logger.js +0 -27
- package/bundle/typescript/src/templates/meteor/service/logger/logger.js.ts +0 -27
- package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css +0 -5
- package/bundle/typescript/src/templates/meteor/stylesheet/stylesheet.css.less +0 -5
- package/bundle/typescript/src/templates/meteor/template/template-tests.js +0 -1
- package/bundle/typescript/src/templates/meteor/template/template-tests.js.jsx +0 -55
- package/bundle/typescript/src/templates/meteor/template/template-tests.js.ts +0 -1
- package/bundle/typescript/src/templates/meteor/template/template-tests.js.tsx +0 -55
- package/bundle/typescript/src/templates/meteor/template/template.css +0 -3
- package/bundle/typescript/src/templates/meteor/template/template.css.less +0 -3
- package/bundle/typescript/src/templates/meteor/template/template.css.scss +0 -3
- package/bundle/typescript/src/templates/meteor/template/template.html +0 -5
- package/bundle/typescript/src/templates/meteor/template/template.js +0 -20
- package/bundle/typescript/src/templates/meteor/template/template.js.jsx +0 -77
- package/bundle/typescript/src/templates/meteor/template/template.js.ts +0 -1
- package/bundle/typescript/src/templates/meteor/template/template.js.tsx +0 -89
- package/bundle/typescript/src/templates/react/component/component.css +0 -6
- package/bundle/typescript/src/templates/react/component/component.css.less +0 -6
- package/bundle/typescript/src/templates/react/component/component.css.scss +0 -3
- package/bundle/typescript/src/templates/react/component/component.js.jsx +0 -54
- package/bundle/typescript/src/templates/react/component/component.js.tsx +0 -59
- package/bundle/typescript/src/templates/react/hook/hook.css +0 -3
- package/bundle/typescript/src/templates/react/hook/hook.css.scss +0 -3
- package/bundle/typescript/src/templates/react/hook/hook.js.jsx +0 -19
- package/bundle/typescript/src/templates/react/hook/hook.js.tsx +0 -18
- package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.jsx +0 -293
- package/bundle/typescript/src/templates/react/kit/auth/provider/authentication-provider.js.tsx +0 -329
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.jsx +0 -178
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-client.js.tsx +0 -178
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.jsx +0 -59
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-config.js.tsx +0 -67
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.jsx +0 -273
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-methods.js.tsx +0 -275
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.jsx +0 -182
- package/bundle/typescript/src/templates/react/kit/auth/service/auth0-validator.js.tsx +0 -199
- package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +0 -138
- package/bundle/typescript/src/templates/react/kit/auth/service/meteor-auth-service.js.tsx +0 -136
- package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.jsx +0 -29
- package/bundle/typescript/src/templates/react/kit/esri/map/basic-map.js.tsx +0 -32
- package/bundle/typescript/src/templates/react/kit/frames/frames-demo.css +0 -63
- package/bundle/typescript/src/templates/react/kit/frames/frames-demo.jsx +0 -153
- package/bundle/typescript/src/templates/react/kit/frames/frames-demo.tsx +0 -164
- package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.css +0 -105
- package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.jsx +0 -158
- package/bundle/typescript/src/templates/react/kit/frames/workspace-manager.tsx +0 -166
- package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.jsx +0 -34
- package/bundle/typescript/src/templates/react/kit/mui/auth/forgot-password/basic-forgot-password-page.js.tsx +0 -33
- package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.jsx +0 -53
- package/bundle/typescript/src/templates/react/kit/mui/auth/login/basic-login-page.js.tsx +0 -53
- package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.jsx +0 -25
- package/bundle/typescript/src/templates/react/kit/mui/auth/logout/basic-logout-page.js.tsx +0 -25
- package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +0 -41
- package/bundle/typescript/src/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.tsx +0 -35
- package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.jsx +0 -33
- package/bundle/typescript/src/templates/react/kit/mui/auth/register/basic-register-page.js.tsx +0 -33
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.jsx +0 -71
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth-callback.js.tsx +0 -71
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.jsx +0 -123
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-account-settings.js.tsx +0 -123
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.jsx +0 -56
- package/bundle/typescript/src/templates/react/kit/mui/auth0/auth0-login-button.js.tsx +0 -74
- package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +0 -43
- package/bundle/typescript/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +0 -43
- package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +0 -121
- package/bundle/typescript/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +0 -117
- package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.jsx +0 -41
- package/bundle/typescript/src/templates/react/kit/mui/frame/footers/basic-sticky-footer.js.tsx +0 -41
- package/bundle/typescript/src/templates/react/route/route.js +0 -8
- package/bundle/typescript/src/templates/react/route/route.js.jsx +0 -5
- package/bundle/typescript/src/templates/react/route/route.js.ts +0 -8
- package/bundle/typescript/src/templates/react/route/route.js.tsx +0 -5
- package/bundle/typescript/src/templates/react/test/test.js +0 -1
- package/bundle/typescript/src/templates/react/test/test.js.jsx +0 -38
- package/bundle/typescript/src/templates/react/test/test.js.ts +0 -1
- package/bundle/typescript/src/templates/react/test/test.js.tsx +0 -38
- package/bundle/typescript/src/templates/service/docker/Dockerfile +0 -54
- package/bundle/typescript/src/templates/service/eslint/babel.config.js +0 -15
- package/bundle/typescript/src/templates/service/eslint/config.eslint.js +0 -57
- package/bundle/typescript/src/templates/service/i18n/i18n.js +0 -33
- package/bundle/typescript/src/templates/service/i18n/i18n.js.ts +0 -33
- package/bundle/typescript/src/templates/service/i18n/index.js +0 -0
- package/bundle/typescript/src/templates/service/i18n/index.js.jsx +0 -0
- package/bundle/typescript/src/templates/service/i18n/locales.js +0 -3
- package/bundle/typescript/src/templates/service/i18n/locales.js.ts +0 -3
- package/bundle/typescript/src/templates/service/openssl/openssl.conf +0 -22
- package/bundle/typescript/src/templates/service/test/jest/jest.config.js +0 -6
- package/bundle/typescript/src/templates/service/test/jest/jest.setup.js +0 -7
- package/bundle/typescript/src/tool.d.ts +0 -74
- package/bundle/typescript/src/tool.js +0 -217
- package/bundle/typescript/src/tool.js.map +0 -1
- package/bundle/typescript/src/tools/actions/actions.class.d.ts +0 -25
- package/bundle/typescript/src/tools/actions/actions.class.js +0 -20
- package/bundle/typescript/src/tools/actions/actions.class.js.map +0 -1
- package/bundle/typescript/src/tools/aws/aws.class.d.ts +0 -51
- package/bundle/typescript/src/tools/aws/aws.class.js +0 -802
- package/bundle/typescript/src/tools/aws/aws.class.js.map +0 -1
- package/bundle/typescript/src/tools/aws/aws.interfaces.d.ts +0 -364
- package/bundle/typescript/src/tools/aws/aws.interfaces.js +0 -255
- package/bundle/typescript/src/tools/aws/aws.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/cfg/cfg.class.d.ts +0 -42
- package/bundle/typescript/src/tools/cfg/cfg.class.js +0 -402
- package/bundle/typescript/src/tools/cfg/cfg.class.js.map +0 -1
- package/bundle/typescript/src/tools/docker/docker.class.d.ts +0 -10
- package/bundle/typescript/src/tools/docker/docker.class.js +0 -46
- package/bundle/typescript/src/tools/docker/docker.class.js.map +0 -1
- package/bundle/typescript/src/tools/docker/docker.interfaces.d.ts +0 -18
- package/bundle/typescript/src/tools/docker/docker.interfaces.js +0 -2
- package/bundle/typescript/src/tools/docker/docker.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/fsi/fsi.class.d.ts +0 -130
- package/bundle/typescript/src/tools/fsi/fsi.class.js +0 -685
- package/bundle/typescript/src/tools/fsi/fsi.class.js.map +0 -1
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.d.ts +0 -190
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js +0 -64
- package/bundle/typescript/src/tools/fsi/fsi.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/https/https.class.d.ts +0 -13
- package/bundle/typescript/src/tools/https/https.class.js +0 -302
- package/bundle/typescript/src/tools/https/https.class.js.map +0 -1
- package/bundle/typescript/src/tools/https/https.interface.d.ts +0 -40
- package/bundle/typescript/src/tools/https/https.interface.js +0 -2
- package/bundle/typescript/src/tools/https/https.interface.js.map +0 -1
- package/bundle/typescript/src/tools/log/log.class.d.ts +0 -33
- package/bundle/typescript/src/tools/log/log.class.js +0 -206
- package/bundle/typescript/src/tools/log/log.class.js.map +0 -1
- package/bundle/typescript/src/tools/log/log.interfaces.d.ts +0 -7
- package/bundle/typescript/src/tools/log/log.interfaces.js +0 -2
- package/bundle/typescript/src/tools/log/log.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/mpi/mpi.class.d.ts +0 -26
- package/bundle/typescript/src/tools/mpi/mpi.class.js +0 -523
- package/bundle/typescript/src/tools/mpi/mpi.class.js.map +0 -1
- package/bundle/typescript/src/tools/options/options.class.d.ts +0 -11
- package/bundle/typescript/src/tools/options/options.class.js +0 -64
- package/bundle/typescript/src/tools/options/options.class.js.map +0 -1
- package/bundle/typescript/src/tools/pkg/pkg.class.d.ts +0 -31
- package/bundle/typescript/src/tools/pkg/pkg.class.js +0 -314
- package/bundle/typescript/src/tools/pkg/pkg.class.js.map +0 -1
- package/bundle/typescript/src/tools/progress/progress.class.d.ts +0 -12
- package/bundle/typescript/src/tools/progress/progress.class.js +0 -42
- package/bundle/typescript/src/tools/progress/progress.class.js.map +0 -1
- package/bundle/typescript/src/tools/scaffold/scaffold.class.d.ts +0 -198
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js +0 -868
- package/bundle/typescript/src/tools/scaffold/scaffold.class.js.map +0 -1
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.d.ts +0 -4
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js +0 -42
- package/bundle/typescript/src/tools/spawn-async/spawn-async.class.js.map +0 -1
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.d.ts +0 -6
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js +0 -2
- package/bundle/typescript/src/tools/spawn-async/spawn-async.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/ssh/ssh.class.d.ts +0 -11
- package/bundle/typescript/src/tools/ssh/ssh.class.js +0 -120
- package/bundle/typescript/src/tools/ssh/ssh.class.js.map +0 -1
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.d.ts +0 -21
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js +0 -2
- package/bundle/typescript/src/tools/ssh/ssh.interfaces.js.map +0 -1
- package/bundle/typescript/src/tools/ssl/ssl.class.d.ts +0 -17
- package/bundle/typescript/src/tools/ssl/ssl.class.js +0 -54
- package/bundle/typescript/src/tools/ssl/ssl.class.js.map +0 -1
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.d.ts +0 -0
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js +0 -1
- package/bundle/typescript/src/tools/ssl/ssl.interfaces.js.map +0 -1
|
@@ -1,645 +0,0 @@
|
|
|
1
|
-
import path from 'path';
|
|
2
|
-
import fs from 'fs';
|
|
3
|
-
import { execSync } from 'child_process';
|
|
4
|
-
import cli from 'cli-color';
|
|
5
|
-
import { kebabCase } from 'change-case';
|
|
6
|
-
import { createRequire } from 'module';
|
|
7
|
-
const require = createRequire(import.meta.url);
|
|
8
|
-
const pjson = require('../../package.json');
|
|
9
|
-
import MakaCmd from './maka.cmd.js';
|
|
10
|
-
import MakaGen from '../generators/maka.gen.js';
|
|
11
|
-
import { Command } from '../command.js';
|
|
12
|
-
import { Log } from '../tools/log/log.class.js';
|
|
13
|
-
import { Actions } from '../tools/actions/actions.class.js';
|
|
14
|
-
import { HtmlEngines, CssEngines, JsEngines, ApiEngines, TestEngines, ClientEngines, GraphqlEngines, SsrEngines, ThemeEngines } from '../tools/fsi/fsi.interfaces.js';
|
|
15
|
-
Command.create({
|
|
16
|
-
name: 'create',
|
|
17
|
-
aliases: ['c'],
|
|
18
|
-
minArgLength: 0,
|
|
19
|
-
maxArgLength: 2,
|
|
20
|
-
usage: 'maka create <name>',
|
|
21
|
-
shortDesc: 'Create a new Maka Meteor project',
|
|
22
|
-
validOpts: [
|
|
23
|
-
{
|
|
24
|
-
name: 'force',
|
|
25
|
-
boolFlag: true,
|
|
26
|
-
description: 'Create project in existing directory without prompting'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
name: 'release',
|
|
30
|
-
description: 'Specify Meteor release version'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
name: 'html',
|
|
34
|
-
values: ['html'],
|
|
35
|
-
description: 'HTML engine (default: html)'
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: 'js',
|
|
39
|
-
values: ['js', 'ts', 'jsx', 'tsx', 'es6'],
|
|
40
|
-
description: 'JavaScript engine (js, ts, jsx, tsx, es6)'
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
name: 'css',
|
|
44
|
-
values: ['css', 'less', 'none'],
|
|
45
|
-
description: 'CSS preprocessor (css, less, none)'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: 'api',
|
|
49
|
-
description: 'Server-side API frameworks - comma-separated list (rest, rpc, graphql, none)'
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: 'client',
|
|
53
|
-
values: ['react', 'vanilla'],
|
|
54
|
-
description: 'Client framework (react, vanilla)'
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
name: 'test',
|
|
58
|
-
values: ['jest', 'mocha', 'none'],
|
|
59
|
-
description: 'Testing framework (jest, mocha, none)'
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
name: 'clientGraphql',
|
|
63
|
-
values: ['apollo', 'none'],
|
|
64
|
-
description: 'Client-side GraphQL implementation (apollo, none)'
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
name: 'theme',
|
|
68
|
-
values: ['material', 'none'],
|
|
69
|
-
description: 'UI theme framework (material, none)'
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
name: 'ssr',
|
|
73
|
-
values: ['meteor', 'none'],
|
|
74
|
-
description: 'Server-side rendering (meteor, none)'
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
name: 'withHooks',
|
|
78
|
-
boolFlag: true,
|
|
79
|
-
description: 'Use React functional components with hooks instead of class-based'
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
name: 'withTranslations',
|
|
83
|
-
boolFlag: true,
|
|
84
|
-
description: 'Include i18n translation support'
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: 'skipMeteorInstall',
|
|
88
|
-
boolFlag: true,
|
|
89
|
-
description: 'Skip automatic Meteor installation if not found'
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
name: 'skipLint',
|
|
93
|
-
boolFlag: true,
|
|
94
|
-
description: 'Skip ESLint setup'
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
name: 'skipConfirm',
|
|
98
|
-
boolFlag: true,
|
|
99
|
-
description: 'Skip final confirmation prompt before scaffolding'
|
|
100
|
-
}
|
|
101
|
-
],
|
|
102
|
-
description: `
|
|
103
|
-
Create a new Maka Meteor project.
|
|
104
|
-
|
|
105
|
-
Without any arguments, you will be prompted for project settings such as
|
|
106
|
-
including GraphQL, preferring React Functional or Class-based Components,
|
|
107
|
-
Typescript or Javascript, and a few others.
|
|
108
|
-
|
|
109
|
-
You can also pass in arguments to the create command to skip the prompts.
|
|
110
|
-
For example, \`maka create my-app --js=ts --theme=material\` will create a
|
|
111
|
-
new Maka Meteor project named \`my-app\` with Typescript and Material-UI.
|
|
112
|
-
`,
|
|
113
|
-
mustBeInMakaProject: false,
|
|
114
|
-
examples: [
|
|
115
|
-
'maka create my-app',
|
|
116
|
-
'maka create my-app --js=ts --withHooks',
|
|
117
|
-
'maka create material-app --theme=material --css=less',
|
|
118
|
-
'maka create gql-service --client-graphql=apollo --test=jest',
|
|
119
|
-
'maka create api-service --api=rest,graphql',
|
|
120
|
-
'maka create ssr-app --ssr=meteor --js=tsx',
|
|
121
|
-
'maka create testable-app --test=mocha --withTranslations',
|
|
122
|
-
'maka create vanilla-app --client=vanilla --css=none'
|
|
123
|
-
]
|
|
124
|
-
}, async function (args, opts) {
|
|
125
|
-
try {
|
|
126
|
-
// Helper function to parse boolean options that might come as strings
|
|
127
|
-
const parseBool = (value) => {
|
|
128
|
-
if (value === undefined)
|
|
129
|
-
return undefined;
|
|
130
|
-
if (typeof value === 'boolean')
|
|
131
|
-
return value;
|
|
132
|
-
if (typeof value === 'string') {
|
|
133
|
-
const lower = value.toLowerCase();
|
|
134
|
-
if (lower === 'true' || lower === '1' || lower === 'yes')
|
|
135
|
-
return true;
|
|
136
|
-
if (lower === 'false' || lower === '0' || lower === 'no')
|
|
137
|
-
return false;
|
|
138
|
-
}
|
|
139
|
-
return undefined;
|
|
140
|
-
};
|
|
141
|
-
// Parse boolean options
|
|
142
|
-
const skipConfirm = parseBool(opts.skipConfirm);
|
|
143
|
-
const skipLint = parseBool(opts.skipLint);
|
|
144
|
-
const skipMeteorInstall = parseBool(opts.skipMeteorInstall);
|
|
145
|
-
const withHooks = parseBool(opts.withHooks);
|
|
146
|
-
const withTranslations = parseBool(opts.withTranslations);
|
|
147
|
-
const force = parseBool(opts.force);
|
|
148
|
-
// Get app name first, before any other logic
|
|
149
|
-
let name = args[0];
|
|
150
|
-
if (!name || name.length === 0) {
|
|
151
|
-
if (skipConfirm) {
|
|
152
|
-
throw Log.error('App name is required when using --skipConfirm. Usage: maka create <app-name> [options]');
|
|
153
|
-
}
|
|
154
|
-
name = await Actions.ask('App Name:');
|
|
155
|
-
}
|
|
156
|
-
// Ensure it is lowercase
|
|
157
|
-
name = kebabCase(name);
|
|
158
|
-
// Continue with Maka project creation
|
|
159
|
-
if (this.mpi.isMeteorInstalled()) {
|
|
160
|
-
Log.notice('Meteor is installed.');
|
|
161
|
-
await MakaCmd.processAndRunCommand('version:meteor:use', [], { latest: true });
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
if (skipMeteorInstall) {
|
|
165
|
-
throw Log.error('Meteor is not installed or cannot be found in your path. Install with `maka install meteor`');
|
|
166
|
-
}
|
|
167
|
-
const shouldInstall = await Actions.confirm(`Meteor is not installed, or cannot be found. Would you like to install Meteor now?`, true);
|
|
168
|
-
if (shouldInstall) {
|
|
169
|
-
await MakaCmd.processAndRunCommand('install', ['meteor'], { force: true });
|
|
170
|
-
Log.notice(`Continuing with creating your application...`);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
throw Log.error('Meteor is not installed or cannot be found in your path. Install with `maka install meteor`');
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
// App name already retrieved and kebab-cased above
|
|
177
|
-
if (!force && this.fsi.isDirectory(name)) {
|
|
178
|
-
throw Log.error('Project already exists.');
|
|
179
|
-
}
|
|
180
|
-
else if (this.fsi.isDirectory(name)) {
|
|
181
|
-
const shouldForce = await Actions.confirm('You are forcing to create a meteor project in an existing directory. You sure?', false);
|
|
182
|
-
if (!shouldForce) {
|
|
183
|
-
throw Log.error('Aborted');
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
if (!opts.js) {
|
|
187
|
-
const typescriptChoices = {
|
|
188
|
-
message: 'Use Typescript or Javascript',
|
|
189
|
-
name: 'typescriptAnswer',
|
|
190
|
-
choices: [
|
|
191
|
-
{ name: 'Javascript', value: 'js' },
|
|
192
|
-
{ name: 'Typescript', value: 'ts' }
|
|
193
|
-
]
|
|
194
|
-
};
|
|
195
|
-
const typescriptAnswer = await Actions.select(typescriptChoices);
|
|
196
|
-
if (typescriptAnswer === 'ts') {
|
|
197
|
-
opts.js = JsEngines.TS;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
if (withHooks === undefined) {
|
|
201
|
-
const reactChoices = {
|
|
202
|
-
message: 'Prefer Class-based Components or Functional-based Components',
|
|
203
|
-
name: 'reactAnswer',
|
|
204
|
-
choices: [
|
|
205
|
-
{ name: 'Function', value: 'function' },
|
|
206
|
-
{ name: 'Class', value: 'class' }
|
|
207
|
-
]
|
|
208
|
-
};
|
|
209
|
-
const reactAnswer = await Actions.select(reactChoices);
|
|
210
|
-
if (reactAnswer === 'function') {
|
|
211
|
-
opts.withHooks = true;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
opts.withHooks = withHooks;
|
|
216
|
-
}
|
|
217
|
-
if (!opts.test) {
|
|
218
|
-
const testChoices = {
|
|
219
|
-
message: 'Choose a testing framework',
|
|
220
|
-
name: 'testAnswer',
|
|
221
|
-
choices: [
|
|
222
|
-
{ name: 'Jest', value: 'jest' },
|
|
223
|
-
{ name: 'Mocha', value: 'mocha' },
|
|
224
|
-
{ name: 'None', value: 'none' }
|
|
225
|
-
]
|
|
226
|
-
};
|
|
227
|
-
const testAnswer = await Actions.select(testChoices);
|
|
228
|
-
if (testAnswer) {
|
|
229
|
-
opts.test = testAnswer;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
if (!opts.theme) {
|
|
233
|
-
const themeChoices = {
|
|
234
|
-
message: 'UI Theming',
|
|
235
|
-
name: 'themeAnswer',
|
|
236
|
-
choices: [
|
|
237
|
-
{ name: 'Material-UI', value: 'material' },
|
|
238
|
-
{ name: 'None', value: 'none' }
|
|
239
|
-
]
|
|
240
|
-
};
|
|
241
|
-
const themeAnswer = await Actions.select(themeChoices);
|
|
242
|
-
if (themeAnswer) {
|
|
243
|
-
opts.theme = themeAnswer;
|
|
244
|
-
}
|
|
245
|
-
if (!opts.css) {
|
|
246
|
-
const cssChoices = {
|
|
247
|
-
message: 'CSS Style',
|
|
248
|
-
name: 'cssAnswer',
|
|
249
|
-
choices: [
|
|
250
|
-
{ name: 'CSS', value: 'css' },
|
|
251
|
-
{ name: 'LESS', value: 'less' },
|
|
252
|
-
{ name: 'None', value: 'none' }
|
|
253
|
-
]
|
|
254
|
-
};
|
|
255
|
-
const cssAnswer = await Actions.select(cssChoices);
|
|
256
|
-
if (cssAnswer) {
|
|
257
|
-
opts.css = cssAnswer;
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
if (withTranslations === undefined) {
|
|
262
|
-
const useI18nTranslation = await Actions.confirm('Use i18n Translations', false);
|
|
263
|
-
if (useI18nTranslation) {
|
|
264
|
-
opts.withTranslations = true;
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
else {
|
|
268
|
-
opts.withTranslations = withTranslations;
|
|
269
|
-
}
|
|
270
|
-
// Prompt for client-side GraphQL if not specified
|
|
271
|
-
if (!opts.clientGraphql) {
|
|
272
|
-
const useClientGraphql = await Actions.confirm('Use GraphQL in the client', true);
|
|
273
|
-
if (useClientGraphql) {
|
|
274
|
-
opts.clientGraphql = GraphqlEngines.APOLLO;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
// Prompt for SSR if not specified
|
|
278
|
-
if (!opts.ssr) {
|
|
279
|
-
const useSsr = await Actions.confirm('Enable server-side rendering (ssr)', false);
|
|
280
|
-
if (useSsr) {
|
|
281
|
-
opts.ssr = SsrEngines.METEOR;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
const globalConfig = await this.cfg.getGlobalConfig();
|
|
285
|
-
const workspace = globalConfig.workspace;
|
|
286
|
-
if (workspace) {
|
|
287
|
-
Log.notice(`Creating project in workspace: ${workspace}`);
|
|
288
|
-
name = path.join(workspace, name);
|
|
289
|
-
}
|
|
290
|
-
// Parse comma-separated API values
|
|
291
|
-
let apiEngines = [];
|
|
292
|
-
if (opts.api) {
|
|
293
|
-
const apiValues = opts.api.split(',').map(v => v.trim());
|
|
294
|
-
apiEngines = apiValues.map(v => {
|
|
295
|
-
const upperValue = v.toUpperCase();
|
|
296
|
-
if (upperValue in ApiEngines) {
|
|
297
|
-
return ApiEngines[upperValue];
|
|
298
|
-
}
|
|
299
|
-
Log.warn(`Unknown API type: ${v}, ignoring`);
|
|
300
|
-
return null;
|
|
301
|
-
}).filter(Boolean);
|
|
302
|
-
}
|
|
303
|
-
// Default to NONE if no API specified
|
|
304
|
-
const primaryApi = apiEngines.length > 0 ? apiEngines[0] : ApiEngines.NONE;
|
|
305
|
-
// the app name is either the first argument to the
|
|
306
|
-
// generator or inferred from the current directory.
|
|
307
|
-
// if no appname is provided, we assume we're already
|
|
308
|
-
// in the project directory.
|
|
309
|
-
const appName = name;
|
|
310
|
-
const projectDirectory = name;
|
|
311
|
-
const isSelfTest = opts.hasOwnProperty('self-test');
|
|
312
|
-
const config = {
|
|
313
|
-
appName: appName,
|
|
314
|
-
engines: {
|
|
315
|
-
html: opts.html || HtmlEngines.HTML,
|
|
316
|
-
js: opts.js || JsEngines.JSX,
|
|
317
|
-
css: opts.css || CssEngines.CSS,
|
|
318
|
-
api: primaryApi,
|
|
319
|
-
apis: apiEngines.length > 0 ? apiEngines : [ApiEngines.NONE], // All configured APIs
|
|
320
|
-
client: opts.client || ClientEngines.REACT,
|
|
321
|
-
test: opts.test || TestEngines.NONE,
|
|
322
|
-
graphql: opts.clientGraphql || GraphqlEngines.NONE,
|
|
323
|
-
theme: opts.theme || ThemeEngines.NONE,
|
|
324
|
-
ssr: (opts.ssr) ? SsrEngines.METEOR : SsrEngines.NONE
|
|
325
|
-
},
|
|
326
|
-
features: {
|
|
327
|
-
withHooks: opts.withHooks || false,
|
|
328
|
-
withTranslations: opts.withTranslations || false,
|
|
329
|
-
},
|
|
330
|
-
template: {
|
|
331
|
-
html: false,
|
|
332
|
-
js: !opts.hasOwnProperty('skip-template-js') && !opts.hasOwnProperty('skip-js'),
|
|
333
|
-
css: (opts.css !== 'none'),
|
|
334
|
-
test: !opts.hasOwnProperty('skip-testing') && !opts.hasOwnProperty('skip-tests')
|
|
335
|
-
},
|
|
336
|
-
route: {
|
|
337
|
-
template: !opts.hasOwnProperty('skip-route-template')
|
|
338
|
-
},
|
|
339
|
-
generator: {
|
|
340
|
-
comments: !opts.hasOwnProperty('skip-generator-comments')
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
if (config.engines.graphql !== GraphqlEngines.NONE) {
|
|
344
|
-
config.engines.graphql = GraphqlEngines.APOLLO;
|
|
345
|
-
}
|
|
346
|
-
if (config.engines.client === ClientEngines.REACT) {
|
|
347
|
-
if (config.engines.js === JsEngines.TS) {
|
|
348
|
-
config.engines.js = JsEngines.TSX;
|
|
349
|
-
}
|
|
350
|
-
if (config.engines.js === JsEngines.JS) {
|
|
351
|
-
config.engines.js = JsEngines.JSX;
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
else {
|
|
355
|
-
if (config.engines.js === JsEngines.TSX) {
|
|
356
|
-
config.engines.js = JsEngines.TS;
|
|
357
|
-
}
|
|
358
|
-
if (config.engines.js === JsEngines.JSX) {
|
|
359
|
-
config.engines.js = JsEngines.JS;
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
if (config.engines.client === ClientEngines.VANILLA) {
|
|
363
|
-
config.engines.js = JsEngines.JS;
|
|
364
|
-
config.engines.graphql = GraphqlEngines.NONE;
|
|
365
|
-
config.engines.theme = ThemeEngines.NONE;
|
|
366
|
-
//config.engines.test = TestEngines.NONE;
|
|
367
|
-
config.engines.ssr = SsrEngines.NONE;
|
|
368
|
-
}
|
|
369
|
-
// SSR isn't supported on any client other than react.
|
|
370
|
-
if (config.engines.ssr === SsrEngines.METEOR) {
|
|
371
|
-
if (config.engines.client !== ClientEngines.REACT) {
|
|
372
|
-
Log.error('SSR is not supported on any other client than react');
|
|
373
|
-
config.engines.ssr = SsrEngines.NONE;
|
|
374
|
-
}
|
|
375
|
-
// also isn't supported when using apollo, yet...
|
|
376
|
-
if (config.engines.api === ApiEngines.REST || config.engines.graphql === GraphqlEngines.APOLLO) {
|
|
377
|
-
Log.error('SSR with GraphQL is not supported.');
|
|
378
|
-
Log.error('https://github.com/apollographql/meteor-integration/issues/133');
|
|
379
|
-
config.engines.ssr = SsrEngines.NONE;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
if (config.engines.ssr === SsrEngines.METEOR) {
|
|
383
|
-
config.template.css = false;
|
|
384
|
-
}
|
|
385
|
-
const context = {
|
|
386
|
-
app: appName,
|
|
387
|
-
config: config,
|
|
388
|
-
appPath: path.join(projectDirectory, 'app'),
|
|
389
|
-
bundlePath: path.join(projectDirectory, 'build', 'app.tar.gz'),
|
|
390
|
-
useCert: (globalConfig.cert) ? this.fsi.isFile(globalConfig.cert) : null,
|
|
391
|
-
version: pjson.version,
|
|
392
|
-
};
|
|
393
|
-
let ignore = [];
|
|
394
|
-
// For ssr, we need to ignore a few templates.
|
|
395
|
-
if (config.engines.ssr === SsrEngines.METEOR) {
|
|
396
|
-
ignore = ['/app/imports/startup/client/templates.js.jsx', '/app/imports/startup/client/routes.js.jsx', '/app/imports/startup/client/templates.js.tsx', '/app/imports/startup/client/routes.js.tsx'];
|
|
397
|
-
}
|
|
398
|
-
else {
|
|
399
|
-
ignore = ['/app/imports/startup/lib/templates.js.jsx', '/app/imports/startup/lib/routes.js.jsx', '/app/imports/startup/lib/templates.js.tsx', '/app/imports/startup/lib/routes.js.tsx'];
|
|
400
|
-
}
|
|
401
|
-
if (config.engines.js !== JsEngines.TS && config.engines.js !== JsEngines.TSX) {
|
|
402
|
-
ignore.push('app/meteor.d.ts');
|
|
403
|
-
ignore.push('app/maka.d.ts');
|
|
404
|
-
ignore.push('app/tsconfig.json');
|
|
405
|
-
}
|
|
406
|
-
if (config.engines.client === ClientEngines.VANILLA) {
|
|
407
|
-
ignore.push('/app/imports/startup/client/template.js');
|
|
408
|
-
}
|
|
409
|
-
const keep = [];
|
|
410
|
-
// Keep the service worker as js
|
|
411
|
-
keep.push('/app/public/sw.js');
|
|
412
|
-
ignore.push('/app/public/sw.js.jsx');
|
|
413
|
-
ignore.push('/app/public/sw.js.tsx');
|
|
414
|
-
ignore.push('/app/public/sw.js.ts');
|
|
415
|
-
// These don't work in react
|
|
416
|
-
ignore.push('/app/imports/ui/test-helpers.js.jsx');
|
|
417
|
-
ignore.push('/app/imports/ui/test-helpers.js.tsx');
|
|
418
|
-
// Define NPM and Meteor install list container:
|
|
419
|
-
const npmInstallList = [];
|
|
420
|
-
const npmDevInstallList = [];
|
|
421
|
-
const npmProjectDevInstallList = [];
|
|
422
|
-
const meteorInstallList = [];
|
|
423
|
-
const meteorRemoveList = [];
|
|
424
|
-
const doLint = skipLint ? false : await Actions.confirm('Setup ESLint?', true);
|
|
425
|
-
if (doLint) {
|
|
426
|
-
npmInstallList.push('@typescript-eslint/parser @loadable/babel-plugin @babel/plugin-transform-runtime babel-preset-meteor');
|
|
427
|
-
npmDevInstallList.push('@typescript-eslint/parser @babel/preset-env @babel/preset-react @babel/eslint-parser @babel/plugin-transform-runtime');
|
|
428
|
-
npmProjectDevInstallList.push('eslint prettier eslint-config-prettier eslint-plugin-css eslint-plugin-prettier eslint-plugin-react eslint-plugin-unused-imports');
|
|
429
|
-
}
|
|
430
|
-
if (!skipConfirm) {
|
|
431
|
-
const finalConfirm = await Actions.confirm(`Please review choices, ready to scaffold ${cli.greenBright(name)}`, true);
|
|
432
|
-
if (!finalConfirm) {
|
|
433
|
-
throw Log.error('Aborted');
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
const appDirectory = path.join(projectDirectory, 'app');
|
|
437
|
-
const spinHandle = Log.withSpinner();
|
|
438
|
-
// copy the project template directory to the project directory
|
|
439
|
-
await this.scaffold.copyTemplateDirectory({
|
|
440
|
-
srcPath: 'project',
|
|
441
|
-
destPath: projectDirectory,
|
|
442
|
-
context,
|
|
443
|
-
ignore,
|
|
444
|
-
keep,
|
|
445
|
-
framework: 'meteor',
|
|
446
|
-
config
|
|
447
|
-
});
|
|
448
|
-
// this is strange, need to do a special handling for the .gitignore file
|
|
449
|
-
fs.renameSync(projectDirectory + path.sep + 'gitignore', projectDirectory + path.sep + '.gitignore');
|
|
450
|
-
spinHandle.start('Preparing Meteor Project');
|
|
451
|
-
// create an empty meteor project in the app folder
|
|
452
|
-
const releaseVersion = this.mpi.getMeteorReleaseVersion();
|
|
453
|
-
await this.scaffold.createEmptyMeteorProject('app', { cwd: projectDirectory, release: releaseVersion, ...opts });
|
|
454
|
-
spinHandle.success();
|
|
455
|
-
// copy the meteor app folder template to our new app
|
|
456
|
-
await this.scaffold.copyTemplateDirectory({
|
|
457
|
-
srcPath: 'app',
|
|
458
|
-
destPath: appDirectory,
|
|
459
|
-
context,
|
|
460
|
-
ignore,
|
|
461
|
-
keep,
|
|
462
|
-
framework: 'meteor',
|
|
463
|
-
config
|
|
464
|
-
});
|
|
465
|
-
await this.fsi.saveInit(config, path.join(projectDirectory, '.maka', 'config.json'));
|
|
466
|
-
// invoke the right generators for some default files
|
|
467
|
-
const layoutGenName = (config.engines.client === 'react') ? 'layout' : 'template';
|
|
468
|
-
Log.notice('Project scaffolded, running generators in project directory...');
|
|
469
|
-
await MakaGen.processAndRunGenerator(layoutGenName, ['main-layout'], { cwd: projectDirectory, root: true, config });
|
|
470
|
-
await MakaGen.processAndRunGenerator('page', ['home'], { cwd: projectDirectory, root: true, config });
|
|
471
|
-
await MakaGen.processAndRunGenerator('page', ['not-found'], { cwd: projectDirectory, root: true, config });
|
|
472
|
-
await MakaGen.processAndRunGenerator('config', ['local'], { cwd: projectDirectory, root: true, config });
|
|
473
|
-
if (config.features.withTranslations) {
|
|
474
|
-
await MakaGen.processAndRunGenerator('service:translation', ['translations'], { lang: 'en', cwd: projectDirectory, root: true, config });
|
|
475
|
-
npmInstallList.push('i18next i18next-browser-languagedetector react-i18next');
|
|
476
|
-
}
|
|
477
|
-
// Security procedures
|
|
478
|
-
//meteorRemoveList.push('autopublish insecure');
|
|
479
|
-
//meteorInstallList.push('check ddp-rate-limiter');
|
|
480
|
-
// security imports
|
|
481
|
-
npmInstallList.push('crypto');
|
|
482
|
-
npmInstallList.push('helmet');
|
|
483
|
-
meteorInstallList.push('autoupdate');
|
|
484
|
-
// commit imports
|
|
485
|
-
npmDevInstallList.push('husky');
|
|
486
|
-
if (config.engines.client === 'react') {
|
|
487
|
-
if (config.engines.test === 'mocha') {
|
|
488
|
-
meteorInstallList.push('meteortesting:mocha');
|
|
489
|
-
npmDevInstallList.push('@testing-library/react chai selenium-webdriver chromedriver');
|
|
490
|
-
if (config.engines.graphql === 'apollo') {
|
|
491
|
-
npmDevInstallList.push('@apollo/react-testing');
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
if (config.template.css) {
|
|
496
|
-
if (config.engines.css == 'less') {
|
|
497
|
-
meteorInstallList.push('less');
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
if (config.engines.js === 'ts' || config.engines.js === 'tsx') {
|
|
501
|
-
meteorInstallList.push('typescript');
|
|
502
|
-
npmDevInstallList.push('@types/meteor');
|
|
503
|
-
npmDevInstallList.push('@types/mocha');
|
|
504
|
-
npmDevInstallList.push('@types/react-dom');
|
|
505
|
-
if (config.engines.test !== 'none') {
|
|
506
|
-
npmDevInstallList.push('@types/testing-library__react');
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
if ('js' in opts && opts.js?.toLowerCase() === 'es6') {
|
|
510
|
-
// install the Babel package for Meteor.
|
|
511
|
-
meteorInstallList.push('grigio:babel');
|
|
512
|
-
}
|
|
513
|
-
//npmInstallList.push('bcrypt');
|
|
514
|
-
npmInstallList.push('@babel/runtime@latest');
|
|
515
|
-
npmInstallList.push('@babel/plugin-transform-react-jsx');
|
|
516
|
-
// install react and react router if using...react.
|
|
517
|
-
if (config.engines.client === 'react') {
|
|
518
|
-
if (config.engines.test !== 'none') {
|
|
519
|
-
npmInstallList.push('react-test-renderer');
|
|
520
|
-
}
|
|
521
|
-
npmInstallList.push('react react-router@6 prop-types @emotion/react react-router-dom@6 react-dom');
|
|
522
|
-
}
|
|
523
|
-
if (config.engines.graphql === 'apollo') {
|
|
524
|
-
// both
|
|
525
|
-
npmInstallList.push('graphql graphql-type-json@0.2.4 isomorphic-fetch');
|
|
526
|
-
// apollo client modules
|
|
527
|
-
npmInstallList.push('@apollo/link-context @apollo/react-hooks @apollo/client graphql-type-json@0.2.4 rxjs');
|
|
528
|
-
//meteorInstallList.push('apollo');
|
|
529
|
-
}
|
|
530
|
-
if (config.engines.theme === 'material') {
|
|
531
|
-
npmInstallList.push('@mui/icons-material @mui/material @emotion/styled @mui/system');
|
|
532
|
-
}
|
|
533
|
-
if (config.engines.ssr !== SsrEngines.NONE) {
|
|
534
|
-
npmInstallList.push('@emotion/server');
|
|
535
|
-
npmInstallList.push('@emotion/cache');
|
|
536
|
-
}
|
|
537
|
-
if (config.engines.ssr === SsrEngines.METEOR) {
|
|
538
|
-
npmInstallList.push('styled-components history@3.3.0');
|
|
539
|
-
meteorInstallList.push('server-render');
|
|
540
|
-
}
|
|
541
|
-
meteorInstallList.push('maka:http');
|
|
542
|
-
if (config.engines.test === 'jasmine' || config.engines.ssr !== SsrEngines.NONE || config.engines.client === 'react') {
|
|
543
|
-
meteorInstallList.push('static-html');
|
|
544
|
-
}
|
|
545
|
-
if (config.engines.ssr !== SsrEngines.NONE && config.engines.graphql === 'apollo') {
|
|
546
|
-
npmInstallList.push('isomorphic-fetch');
|
|
547
|
-
}
|
|
548
|
-
// Vanilla we don't need much from Meteor
|
|
549
|
-
if (config.engines.client === 'vanilla') {
|
|
550
|
-
meteorRemoveList.push('blaze-html-templates tracker');
|
|
551
|
-
meteorInstallList.push('static-html jquery');
|
|
552
|
-
}
|
|
553
|
-
//meteorInstallList.push('mongo');
|
|
554
|
-
Log.notice('Running post creation tasks');
|
|
555
|
-
// invoke npm install
|
|
556
|
-
await this.fsi.initNpm({ cwd: appDirectory, isSelfTest: isSelfTest });
|
|
557
|
-
await this.pkg.installNpmPackage(npmInstallList.join(' '), { cwd: appDirectory, isSelfTest: isSelfTest });
|
|
558
|
-
await this.pkg.installNpmPackage(npmDevInstallList.join(' '), { cwd: appDirectory, isSelfTest: isSelfTest, saveDev: true });
|
|
559
|
-
await this.pkg.installNpmPackage(npmProjectDevInstallList.join(' '), { cwd: projectDirectory, isSelfTest: isSelfTest, saveDev: true });
|
|
560
|
-
if (meteorInstallList.length > 0) {
|
|
561
|
-
await this.pkg.installMeteorPackage(meteorInstallList.join(' '), { cwd: appDirectory, isSelfTest: isSelfTest });
|
|
562
|
-
}
|
|
563
|
-
if (meteorRemoveList.length > 0) {
|
|
564
|
-
await this.pkg.removeMeteorPackage(meteorRemoveList.join(' '), { cwd: appDirectory, isSelfTest: isSelfTest });
|
|
565
|
-
}
|
|
566
|
-
if (doLint) {
|
|
567
|
-
await MakaCmd.processAndRunCommand('lint', [], { fix: true, cwd: projectDirectory });
|
|
568
|
-
}
|
|
569
|
-
// Create AI helper file for agents
|
|
570
|
-
try {
|
|
571
|
-
const aiHelperPath = path.join(projectDirectory, '.maka', 'AI_DEVELOPMENT.md');
|
|
572
|
-
const aiHelperContent = `# AI Development Guide
|
|
573
|
-
|
|
574
|
-
This project is managed by **Maka-CLI**, a command-line scaffolding tool for Meteor applications.
|
|
575
|
-
|
|
576
|
-
## For AI Agents
|
|
577
|
-
|
|
578
|
-
This project includes support for the **Model Context Protocol (MCP)** server, which provides access to all Maka-CLI capabilities.
|
|
579
|
-
|
|
580
|
-
### Start the MCP Server
|
|
581
|
-
|
|
582
|
-
\`\`\`bash
|
|
583
|
-
maka ai:mcp
|
|
584
|
-
\`\`\`
|
|
585
|
-
|
|
586
|
-
The MCP server provides:
|
|
587
|
-
- **Complete command reference** - List and get help for all maka commands
|
|
588
|
-
- **Command execution** - Run maka commands with proper options
|
|
589
|
-
- **Log inspection** - Read Meteor run logs with timestamps
|
|
590
|
-
- **Project information** - Access project configuration and status
|
|
591
|
-
|
|
592
|
-
### Key Concepts
|
|
593
|
-
|
|
594
|
-
1. **Use \`maka\` commands** - Don't use \`meteor\` or \`npm\` directly
|
|
595
|
-
2. **Commands work from anywhere** - No need to cd into the 'app' directory
|
|
596
|
-
3. **Package management** - Use \`maka npm install\` and \`maka add\` for packages
|
|
597
|
-
4. **Check logs after changes** - Logs are in \`.maka/logs/run-[env]-latest.log\`
|
|
598
|
-
5. **Verify timestamps** - Recent logs (< 1 min) indicate the app is running
|
|
599
|
-
|
|
600
|
-
### Project Structure
|
|
601
|
-
|
|
602
|
-
\`\`\`
|
|
603
|
-
.maka/ # Maka configuration and metadata
|
|
604
|
-
├── config.json # Project settings
|
|
605
|
-
└── logs/ # Run logs with timestamps
|
|
606
|
-
app/ # Meteor application code
|
|
607
|
-
\`\`\`
|
|
608
|
-
|
|
609
|
-
## More Information
|
|
610
|
-
|
|
611
|
-
Run \`maka ai:mcp\` to start the MCP server, which will provide complete documentation and command access.
|
|
612
|
-
`;
|
|
613
|
-
fs.writeFileSync(aiHelperPath, aiHelperContent);
|
|
614
|
-
Log.success(`Created AI development guide: .maka/AI_DEVELOPMENT.md`);
|
|
615
|
-
}
|
|
616
|
-
catch (e) {
|
|
617
|
-
Log.warn('Could not create .maka/AI_DEVELOPMENT.md file');
|
|
618
|
-
}
|
|
619
|
-
// Git
|
|
620
|
-
try {
|
|
621
|
-
const stamp = new Date();
|
|
622
|
-
const absProjDir = path.join(projectDirectory);
|
|
623
|
-
execSync(`git init ${absProjDir} --initial-branch=main`, { stdio: 'ignore' });
|
|
624
|
-
execSync(`git -C ${absProjDir} add . && git -C ${absProjDir} commit -m "Maka-CLI init @ ${stamp.toUTCString()}"`, { stdio: 'ignore' });
|
|
625
|
-
}
|
|
626
|
-
catch (e) {
|
|
627
|
-
Log.warn('Cannot init git, do you have git installed?');
|
|
628
|
-
}
|
|
629
|
-
Log.success(`Created ${appName}`);
|
|
630
|
-
if (workspace && workspace !== process.cwd()) {
|
|
631
|
-
Log.success(` in workspace ${workspace}`);
|
|
632
|
-
}
|
|
633
|
-
const isWin = process.platform === 'win32';
|
|
634
|
-
if (isWin) {
|
|
635
|
-
Log.notice('For improved performance, consider whitelisting the following from windows defender.');
|
|
636
|
-
Log.notice(' Open an administrative PowerShell terminal, then run: ');
|
|
637
|
-
Log.notice(` Add-MpPreference -ExclusionPath "${path.join(projectDirectory)}"`);
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
catch (e) {
|
|
641
|
-
Log.error(e);
|
|
642
|
-
process.exit(1);
|
|
643
|
-
}
|
|
644
|
-
});
|
|
645
|
-
//# sourceMappingURL=create.js.map
|