@maka/maka-cli 4.7.15 → 4.7.17
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/.eslintrc.json +29 -29
- package/.mocharc.json +3 -3
- package/README.md +21 -21
- package/bundle/obf/package.json +126 -127
- package/bundle/obf/src/README.md +21 -21
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/api.js +11 -11
- package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
- package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
- package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
- package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
- package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
- package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
- package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
- package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
- package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
- package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
- package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
- package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
- package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
- package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
- package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
- package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
- package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
- package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
- package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
- package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
- package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
- package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
- package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
- package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
- package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
- package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
- package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
- package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
- package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
- package/bundle/obf/src/templates/meteor/config/process.env +5 -5
- package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
- package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
- package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
- package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
- package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
- package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
- package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
- package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
- package/bundle/obf/src/templates/meteor/method/method.js +48 -48
- package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
- package/bundle/obf/src/templates/meteor/package/package.js +37 -37
- package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
- package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
- package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
- package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
- package/bundle/obf/src/templates/meteor/project/README.md +1 -1
- package/bundle/obf/src/templates/meteor/project/build/README +4 -4
- package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
- package/bundle/obf/src/templates/meteor/project/package.json +20 -20
- package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
- package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
- package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
- package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
- package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
- package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
- package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
- package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
- package/bundle/obf/src/templates/meteor/template/template.css +3 -3
- package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
- package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
- package/bundle/obf/src/templates/meteor/template/template.html +5 -5
- package/bundle/obf/src/templates/meteor/template/template.js +20 -20
- package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
- package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
- package/bundle/obf/src/templates/react/component/component.css +6 -6
- package/bundle/obf/src/templates/react/component/component.css.less +6 -6
- package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
- package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
- package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
- package/bundle/obf/src/templates/react/hook/hook.css +3 -3
- package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
- package/bundle/obf/src/templates/react/hook/hook.js +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
- package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
- package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
- package/bundle/obf/src/templates/react/route/route.js +8 -8
- package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
- package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
- package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
- package/bundle/obf/src/templates/react/test/test.js +1 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
- package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
- package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
- package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
- package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
- package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
- package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
- package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
- package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
- package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/jest.config.js +11 -11
- package/obfuscator.json +29 -29
- package/package.json +126 -127
- package/tsconfig.json +23 -23
- package/.vs/VSWorkspaceState.json +0 -15
- package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/f530d0eb-18c4-4b49-9f77-9bef59b119f3.vsidx +0 -0
- package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
- package/.vs/maka-cli-src/v17/.wsuo +0 -0
- package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
- package/.vs/slnx.sqlite +0 -0
package/.eslintrc.json
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
{
|
|
2
|
-
"env": {
|
|
3
|
-
"es2021": true,
|
|
4
|
-
"node": true
|
|
5
|
-
},
|
|
6
|
-
"extends": [
|
|
7
|
-
"eslint:recommended",
|
|
8
|
-
"plugin:@typescript-eslint/recommended"
|
|
9
|
-
],
|
|
10
|
-
"overrides": [
|
|
11
|
-
],
|
|
12
|
-
"parser": "@typescript-eslint/parser",
|
|
13
|
-
"parserOptions": {
|
|
14
|
-
"ecmaVersion": "latest",
|
|
15
|
-
"sourceType": "module"
|
|
16
|
-
},
|
|
17
|
-
"plugins": [
|
|
18
|
-
"@typescript-eslint"
|
|
19
|
-
],
|
|
20
|
-
"rules": {
|
|
21
|
-
"@typescript-eslint/ban-types": "off",
|
|
22
|
-
"prefer-spread": "off",
|
|
23
|
-
"no-prototype-builtins": "off",
|
|
24
|
-
"no-useless-escape": "off",
|
|
25
|
-
"@typescript-eslint/no-explicit-any": "off",
|
|
26
|
-
"no-console": 1
|
|
27
|
-
},
|
|
28
|
-
"ignorePatterns": ["**/templates/**", "*.test.*"]
|
|
29
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"env": {
|
|
3
|
+
"es2021": true,
|
|
4
|
+
"node": true
|
|
5
|
+
},
|
|
6
|
+
"extends": [
|
|
7
|
+
"eslint:recommended",
|
|
8
|
+
"plugin:@typescript-eslint/recommended"
|
|
9
|
+
],
|
|
10
|
+
"overrides": [
|
|
11
|
+
],
|
|
12
|
+
"parser": "@typescript-eslint/parser",
|
|
13
|
+
"parserOptions": {
|
|
14
|
+
"ecmaVersion": "latest",
|
|
15
|
+
"sourceType": "module"
|
|
16
|
+
},
|
|
17
|
+
"plugins": [
|
|
18
|
+
"@typescript-eslint"
|
|
19
|
+
],
|
|
20
|
+
"rules": {
|
|
21
|
+
"@typescript-eslint/ban-types": "off",
|
|
22
|
+
"prefer-spread": "off",
|
|
23
|
+
"no-prototype-builtins": "off",
|
|
24
|
+
"no-useless-escape": "off",
|
|
25
|
+
"@typescript-eslint/no-explicit-any": "off",
|
|
26
|
+
"no-console": 1
|
|
27
|
+
},
|
|
28
|
+
"ignorePatterns": ["**/templates/**", "*.test.*"]
|
|
29
|
+
}
|
package/.mocharc.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{
|
|
2
|
-
"loader": "ts-node/esm"
|
|
3
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"loader": "ts-node/esm"
|
|
3
|
+
}
|
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
## About
|
|
6
|
-
Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
|
|
7
|
-
(i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
|
|
8
|
-
NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
|
|
9
|
-
|
|
10
|
-
Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
|
|
11
|
-
|
|
12
|
-
## Installation
|
|
13
|
-
```
|
|
14
|
-
npm i -g @maka/maka-cli
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Getting Started
|
|
18
|
-
|
|
19
|
-
Documentation has moved over to:
|
|
20
|
-
|
|
21
|
-
[maka-cli.com](https://www.maka-cli.com/documentation#documentation)
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
## About
|
|
6
|
+
Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
|
|
7
|
+
(i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
|
|
8
|
+
NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
|
|
9
|
+
|
|
10
|
+
Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
```
|
|
14
|
+
npm i -g @maka/maka-cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Getting Started
|
|
18
|
+
|
|
19
|
+
Documentation has moved over to:
|
|
20
|
+
|
|
21
|
+
[maka-cli.com](https://www.maka-cli.com/documentation#documentation)
|
package/bundle/obf/package.json
CHANGED
|
@@ -1,127 +1,126 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@maka/maka-cli",
|
|
3
|
-
"//": "NOTE: don't forget to update version.ts and fsi.class.ts",
|
|
4
|
-
"version": "4.7.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
7
|
-
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
8
|
-
"homepage": "https://github.com/maka-io/maka-cli",
|
|
9
|
-
"main": "./bundle/typescript/src/maka.js",
|
|
10
|
-
"files": "",
|
|
11
|
-
"bin": {
|
|
12
|
-
"maka": "./bundle/obf/src/exec.js"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "git://github.com/maka-io/maka-cli.git"
|
|
17
|
-
},
|
|
18
|
-
"bugs": {
|
|
19
|
-
"url": "https://github.com/maka-io/maka-cli/issues",
|
|
20
|
-
"email": "mjmcee@gmail.com"
|
|
21
|
-
},
|
|
22
|
-
"scripts": {
|
|
23
|
-
"lint": "eslint src/ --fix",
|
|
24
|
-
"maka": "./typescript/src/maka.js",
|
|
25
|
-
"test": "jest",
|
|
26
|
-
"develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/exec.js && chmod +x ./bundle/typescript/src/exec.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
|
|
27
|
-
"build": "npm run lint && rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
|
|
28
|
-
"obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
|
|
29
|
-
"prep": " cp -R ./src/templates ./bundle/obf/src/ && cp ./README.md ./bundle/obf/src/ && cp ./package.json ./bundle/obf/ && chmod +x ./bundle/obf/src/exec.js",
|
|
30
|
-
"//": "## es-build, and package are still experimental",
|
|
31
|
-
"es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
|
|
32
|
-
"package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
|
|
33
|
-
"distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
|
|
34
|
-
"prepare": "husky install"
|
|
35
|
-
},
|
|
36
|
-
"author": "Matthew Campbell <mjmcee@gmail.com>",
|
|
37
|
-
"license": "MIT",
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@aws-sdk/client-ec2": "^3.414.0",
|
|
40
|
-
"@aws-sdk/client-ecr": "^3.414.0",
|
|
41
|
-
"@aws-sdk/client-route-53": "^3.414.0",
|
|
42
|
-
"@aws-sdk/client-route-53-domains": "^3.414.0",
|
|
43
|
-
"blessed": "^0.1.81",
|
|
44
|
-
"change-case": "^4.1.2",
|
|
45
|
-
"cli-color": "^2.0.3",
|
|
46
|
-
"cli-cursor": "^4.0.0",
|
|
47
|
-
"cli-table": "^0.3.11",
|
|
48
|
-
"delete": "^1.1.0",
|
|
49
|
-
"dotenv": "^16.3.1",
|
|
50
|
-
"ejs": "^3.1.9",
|
|
51
|
-
"elegant-spinner": "^3.0.0",
|
|
52
|
-
"eslint": "^8.49.0",
|
|
53
|
-
"http-proxy": "^1.18.1",
|
|
54
|
-
"humps": "^2.0.1",
|
|
55
|
-
"inquirer": "^9.2.11",
|
|
56
|
-
"jsonwebtoken": "^9.0.2",
|
|
57
|
-
"latest-version": "^7.0.0",
|
|
58
|
-
"minimist": "^1.2.8",
|
|
59
|
-
"node-forge": "^1.3.1",
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"@
|
|
72
|
-
"@types/
|
|
73
|
-
"@types/
|
|
74
|
-
"@types/
|
|
75
|
-
"@types/cli-
|
|
76
|
-
"@types/
|
|
77
|
-
"@types/
|
|
78
|
-
"@types/
|
|
79
|
-
"@types/
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/
|
|
87
|
-
"@types/
|
|
88
|
-
"@types/react": "^18.2.
|
|
89
|
-
"@types/
|
|
90
|
-
"@
|
|
91
|
-
"@typescript-eslint/
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"eslint-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"bundle/typescript/src/
|
|
115
|
-
"bundle/typescript/src/
|
|
116
|
-
"bundle/typescript/src/
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"typescript/**/*.js"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@maka/maka-cli",
|
|
3
|
+
"//": "NOTE: don't forget to update version.ts and fsi.class.ts",
|
|
4
|
+
"version": "4.7.17",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
7
|
+
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
8
|
+
"homepage": "https://github.com/maka-io/maka-cli",
|
|
9
|
+
"main": "./bundle/typescript/src/maka.js",
|
|
10
|
+
"files": "",
|
|
11
|
+
"bin": {
|
|
12
|
+
"maka": "./bundle/obf/src/exec.js"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git://github.com/maka-io/maka-cli.git"
|
|
17
|
+
},
|
|
18
|
+
"bugs": {
|
|
19
|
+
"url": "https://github.com/maka-io/maka-cli/issues",
|
|
20
|
+
"email": "mjmcee@gmail.com"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"lint": "eslint src/ --fix",
|
|
24
|
+
"maka": "./typescript/src/maka.js",
|
|
25
|
+
"test": "jest",
|
|
26
|
+
"develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/exec.js && chmod +x ./bundle/typescript/src/exec.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
|
|
27
|
+
"build": "npm run lint && rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
|
|
28
|
+
"obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
|
|
29
|
+
"prep": " cp -R ./src/templates ./bundle/obf/src/ && cp ./README.md ./bundle/obf/src/ && cp ./package.json ./bundle/obf/ && chmod +x ./bundle/obf/src/exec.js",
|
|
30
|
+
"//": "## es-build, and package are still experimental",
|
|
31
|
+
"es-build": "esbuild ./bundle/typescript/src/maka.js --bundle --platform=node --outfile=bundle/maka.cjs",
|
|
32
|
+
"package": "pkg ./bundle/maka.cjs -d --bundle --out-path=\"bundle/compiled\" --compress GZip",
|
|
33
|
+
"distribute": "mkdir -p compiled/macos compiled/linux compiled/win && mv bundle/compiled/maka-linux compiled/linux/maka && mv bundle/compiled/maka-macos compiled/macos/maka && mv bundle/compiled/maka-win.exe compiled/win/maka.exe",
|
|
34
|
+
"prepare": "husky install"
|
|
35
|
+
},
|
|
36
|
+
"author": "Matthew Campbell <mjmcee@gmail.com>",
|
|
37
|
+
"license": "MIT",
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@aws-sdk/client-ec2": "^3.414.0",
|
|
40
|
+
"@aws-sdk/client-ecr": "^3.414.0",
|
|
41
|
+
"@aws-sdk/client-route-53": "^3.414.0",
|
|
42
|
+
"@aws-sdk/client-route-53-domains": "^3.414.0",
|
|
43
|
+
"blessed": "^0.1.81",
|
|
44
|
+
"change-case": "^4.1.2",
|
|
45
|
+
"cli-color": "^2.0.3",
|
|
46
|
+
"cli-cursor": "^4.0.0",
|
|
47
|
+
"cli-table": "^0.3.11",
|
|
48
|
+
"delete": "^1.1.0",
|
|
49
|
+
"dotenv": "^16.3.1",
|
|
50
|
+
"ejs": "^3.1.9",
|
|
51
|
+
"elegant-spinner": "^3.0.0",
|
|
52
|
+
"eslint": "^8.49.0",
|
|
53
|
+
"http-proxy": "^1.18.1",
|
|
54
|
+
"humps": "^2.0.1",
|
|
55
|
+
"inquirer": "^9.2.11",
|
|
56
|
+
"jsonwebtoken": "^9.0.2",
|
|
57
|
+
"latest-version": "^7.0.0",
|
|
58
|
+
"minimist": "^1.2.8",
|
|
59
|
+
"node-forge": "^1.3.1",
|
|
60
|
+
"rimraf": "^5.0.1",
|
|
61
|
+
"semver": "^7.5.4",
|
|
62
|
+
"single-line-log2": "^1.1.3",
|
|
63
|
+
"slash": "^5.1.0",
|
|
64
|
+
"spawn-args": "0.2.0",
|
|
65
|
+
"tar": "^6.2.0",
|
|
66
|
+
"uuid": "^9.0.1",
|
|
67
|
+
"xtend": "^4.0.2"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@aws-sdk/types": "^3.413.0",
|
|
71
|
+
"@types/blessed": "^0.1.23",
|
|
72
|
+
"@types/chai": "^4.3.6",
|
|
73
|
+
"@types/change-case": "^2.3.1",
|
|
74
|
+
"@types/cli-color": "^2.0.3",
|
|
75
|
+
"@types/cli-table": "^0.3.2",
|
|
76
|
+
"@types/ejs": "^3.1.2",
|
|
77
|
+
"@types/eslint": "^8.44.2",
|
|
78
|
+
"@types/fibers": "^3.1.2",
|
|
79
|
+
"@types/http-proxy": "^1.17.12",
|
|
80
|
+
"@types/humps": "^2.0.4",
|
|
81
|
+
"@types/inquirer": "^9.0.3",
|
|
82
|
+
"@types/jest": "^29.5.5",
|
|
83
|
+
"@types/jsonwebtoken": "^9.0.3",
|
|
84
|
+
"@types/meteor": "^2.9.4",
|
|
85
|
+
"@types/minimist": "^1.2.2",
|
|
86
|
+
"@types/node": "^20.6.2",
|
|
87
|
+
"@types/react": "^18.2.21",
|
|
88
|
+
"@types/react-dom": "^18.2.7",
|
|
89
|
+
"@types/uuid": "^9.0.4",
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^6.7.0",
|
|
91
|
+
"@typescript-eslint/parser": "^6.7.0",
|
|
92
|
+
"aws-sdk": "^2.1459.0",
|
|
93
|
+
"chai": "^4.3.8",
|
|
94
|
+
"chdir": "^0.0.0",
|
|
95
|
+
"concat-stream": "^2.0.0",
|
|
96
|
+
"concurrently": "^8.2.1",
|
|
97
|
+
"esbuild": "^0.19.3",
|
|
98
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
99
|
+
"eslint-plugin-import": "^2.28.1",
|
|
100
|
+
"husky": "^8.0.3",
|
|
101
|
+
"javascript-obfuscator": "^4.1.0",
|
|
102
|
+
"jest": "^29.7.0",
|
|
103
|
+
"mkdirp": "^3.0.1",
|
|
104
|
+
"pkg": "^5.8.1",
|
|
105
|
+
"ts-jest": "^29.1.1",
|
|
106
|
+
"typescript": "^5.2.2",
|
|
107
|
+
"wait-on": "^7.0.1"
|
|
108
|
+
},
|
|
109
|
+
"pkg": {
|
|
110
|
+
"assets": [
|
|
111
|
+
"package.json",
|
|
112
|
+
".npmrc",
|
|
113
|
+
"bundle/typescript/src/commands",
|
|
114
|
+
"bundle/typescript/src/generators",
|
|
115
|
+
"bundle/typescript/src/templates",
|
|
116
|
+
"bundle/typescript/src/tools"
|
|
117
|
+
],
|
|
118
|
+
"scripts": [
|
|
119
|
+
"typescript/**/*.js",
|
|
120
|
+
"typescript/**/*.d.js"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"engines": {
|
|
124
|
+
"node": ">=14.0.0"
|
|
125
|
+
}
|
|
126
|
+
}
|
package/bundle/obf/src/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
## About
|
|
6
|
-
Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
|
|
7
|
-
(i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
|
|
8
|
-
NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
|
|
9
|
-
|
|
10
|
-
Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
|
|
11
|
-
|
|
12
|
-
## Installation
|
|
13
|
-
```
|
|
14
|
-
npm i -g @maka/maka-cli
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Getting Started
|
|
18
|
-
|
|
19
|
-
Documentation has moved over to:
|
|
20
|
-
|
|
21
|
-
[maka-cli.com](https://www.maka-cli.com/documentation#documentation)
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://www.maka-cli.com/logo_scaffold@2x.png" alt="alt text" height="400">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
## About
|
|
6
|
+
Maka-CLI is a command line tool, which organizes a web application's file structure and automates everyday package installation tasks for various application frameworks
|
|
7
|
+
(i.e., React, GraphQL, Rest API, Material-UI, Jasmine / Mocha Tests). Maka-CLI integrates with MeteorJS for developing high performing and scaling
|
|
8
|
+
NodeJS backed applications deployed to on-prem and cloud-based infrastructures.
|
|
9
|
+
|
|
10
|
+
Please visit www.maka-cli.com for more information and documentation as well as examples and tutorials.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
```
|
|
14
|
+
npm i -g @maka/maka-cli
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Getting Started
|
|
18
|
+
|
|
19
|
+
Documentation has moved over to:
|
|
20
|
+
|
|
21
|
+
[maka-cli.com](https://www.maka-cli.com/documentation#documentation)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0p=a0d;(function(a,b){const m=a0d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
function a0c(){const y=['minArgLength','8847ACDqPG','(((.+)+)+)+$','mustHaveMeteorInstalled','Command\x20format\x20is\x20incorrect','keys','run','validateMakaSubscription','play','sort','options','fsi','error','unshift','validateMeteorInstall','push','LIGHT','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','10WybpPG','exit','Command\x20','Please\x20run\x20\x22maka\x20install\x20meteor\x22','call','176641PCsGdy','Too\x20few\x20arguments','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','name','Too\x20few\x20options','aliases','maybeProxyCommandToMeteor','shortDesc','find','search','Sub-Commands:','872LIvXAL','number','match','846244jEyxmU','invoke','Command\x20requires\x20a\x20handler\x20function','Name','header','help','split','pallet','join','notice','addCommand','Description','2nwlsqu','processAndRunCommand','forEach','14232GJWXyS','Command\x20not\x20found','tableList','length','Command.create\x20requires\x20a\x20handler\x20function!','toString','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','murder','100jqEHJo','assign','_commands','maxArgLength','minOptsLength','constructor','function','create','917642BVVWcF','There\x20is\x20no\x20Meteor\x20application\x20here','_handler','validateParams','light','localeCompare','16668Nyennh','Alias','Too\x20many\x20options','580293LZPIJM','DARK'];a0c=function(){return y;};return a0c();}const a0p=a0d;(function(a,b){const m=a0d,c=a();while(!![]){try{const d=-parseInt(m(0x17b))/0x1*(-parseInt(m(0x195))/0x2)+parseInt(m(0x162))/0x3+parseInt(m(0x15f))/0x4+-parseInt(m(0x151))/0x5*(-parseInt(m(0x198))/0x6)+-parseInt(m(0x189))/0x7+-parseInt(m(0x186))/0x8*(parseInt(m(0x165))/0x9)+-parseInt(m(0x176))/0xa*(parseInt(m(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x1ae8a));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const n=a0d;return a0a['toString']()[n(0x184)]('(((.+)+)+)+$')[n(0x14e)]()[n(0x156)](a0a)[n(0x184)](n(0x166));});a0a();function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x14a;let f=c[d];return f;},a0d(a,b);}import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];['_commands'];constructor(a,b){const o=a0d;super();if(!a)throw new Error(o(0x17d));if(!a[o(0x17e)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==o(0x157))throw new Error(o(0x18b));this['options']=Object[o(0x152)]({},a),this[o(0x17e)]=this['options'][o(0x17e)],this[o(0x153)]=[],this[o(0x15b)]=b['bind'](this);}static[a0p(0x158)](a,b,c){const q=a0p;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!=='function')throw new Error(q(0x14d));const d=new Command(a,b);return c=c||a0f,Object[q(0x152)](d,{'parent':c?.[q(0x16e)]?.[q(0x17e)]}),c[q(0x193)](d),d;}[a0p(0x193)](a){const r=a0p;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[r(0x153)][r(0x173)](a);}async[a0p(0x16a)](a,b){const s=a0p;try{a=a||[],b=b||{};try{const c=await this['fsi']['getGlobalConfig'](),d=c[s(0x190)]===s(0x15d)?ColorMode[s(0x174)]:ColorMode[s(0x163)];Log['setColorMode'](d),await this[s(0x16b)](this);}catch(f){Log[s(0x170)](f),process[s(0x177)](0x0);}await this[s(0x18a)](a,b);}catch(g){process[s(0x177)](0x1);}}async['invoke'](a,b){const t=a0p,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[t(0x16e)];try{if(this['options'][t(0x17e)]!=='generate'){if(!isRoot){const f=(a[0x0]===_prevCmd||a[t(0x14c)]===0x0)&&this[t(0x153)][t(0x14c)]>=0x0,g=b[t(0x18e)]||b['h'];if(f&&g){if(this[t(0x153)][t(0x14c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[t(0x16e)]['mustBeInMakaProject']){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this['options'][t(0x167)]){const i=this[t(0x172)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[t(0x16e)][t(0x164)]==='number'){if(a['length']<this['options'][t(0x164)]){Log[t(0x170)](t(0x17c));throw new UsageError();}}if(typeof this['options'][t(0x154)]===t(0x187)){if(a['length']>=this[t(0x16e)][t(0x154)]){Log[t(0x170)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[t(0x16e)][t(0x155)]===t(0x187)){if(Object[t(0x169)](b)[t(0x14c)]<this[t(0x16e)][t(0x155)]){Log[t(0x170)](t(0x17f));throw new UsageError();}}if(typeof this[t(0x16e)]['maxOptsLength']===t(0x187)){if(Object[t(0x169)](b)[t(0x14c)]>=this['options']['maxOptsLength']){Log['error'](t(0x161));throw new UsageError();}}}}b=await this[t(0x15c)](a,b,this['options']),_prevCmd=a[0x0];}await this[t(0x15b)][t(0x17a)](this,a,b);}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageErrorWithSubs)Log[t(0x192)](t(0x185)),this[t(0x14b)](this[t(0x153)]),Log[t(0x18d)](t(0x175));else{if(j instanceof MustBeInProjectError)Log[t(0x170)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(j instanceof NoMeteorFoundError)Log[t(0x170)](t(0x14f)),Log['notice'](t(0x179));else j instanceof NoMeteorAppFoundError&&Log['error'](t(0x15a));}}process[t(0x177)](0x1);}}['tableList'](a){const u=a0p,b=new a0e({});b[u(0x173)]([u(0x18c),u(0x160),u(0x194)]),a[u(0x16d)]((c,d)=>{const v=u;return c[v(0x17e)][v(0x15e)](d[v(0x17e)]);})[u(0x197)](c=>{const w=u;c[w(0x17e)]!==w(0x150)&&c[w(0x17e)]!==w(0x16c)&&b[w(0x173)]([c[w(0x17e)],c[w(0x180)](),c[w(0x182)]()]);}),Log['bright'](b[u(0x14e)]());}async[a0p(0x196)](a,b=[],c={}){const x=a0p;try{const d=a?.[x(0x18f)](':');if(!d||d[x(0x14c)]===0x0)throw x(0x168);if(d[0x0]==='generate'||d[0x0]==='g'&&d[x(0x14c)]>0x1){const h=this[x(0x153)][x(0x183)](j=>j[x(0x188)]('generate'));if(!h)throw x(0x14a);await this['validateMakaSubscription'](h);const i=d['slice'](0x1)[x(0x191)](':');b[x(0x171)](i),await h[x(0x16a)](b,c);return;}let f=this[x(0x153)],g;for(const j of d){g=f[x(0x183)](k=>k['match'](j));if(!g)try{await this[x(0x16f)][x(0x181)]();}catch(k){throw x(0x178)+j+'\x20not\x20found';}g&&(await this['validateMakaSubscription'](g),f=g[x(0x153)]);}if(g)await g[x(0x16a)](b,c);else throw x(0x14a);}catch(l){Log[x(0x170)](l),process[x(0x177)](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x1c0))/0x1+-parseInt(f(0x1bb))/0x2*(-parseInt(f(0x1b8))/0x3)+-parseInt(f(0x1b9))/0x4*(parseInt(f(0x1bc))/0x5)+parseInt(f(0x1b7))/0x6*(-parseInt(f(0x1c4))/0x7)+parseInt(f(0x1c3))/0x8+-parseInt(f(0x1c1))/0x9*(-parseInt(f(0x1bd))/0xa)+parseInt(f(0x1bf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xaa982));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a['toString']()[h(0x1ba)](h(0x1c2))[h(0x1c5)]()[h(0x1be)](a1a)[h(0x1ba)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';function a1c(){var i=['5541MJfXKr','4JQRzoV','search','130fenFZi','4055865RgADaC','10eIWvOX','constructor','36642606lHJgcY','743737RUQbAt','182583FeTueQ','(((.+)+)+)+$','454296dBJrsN','686329wcwnpz','toString','apply','78cmhFLh'];a1c=function(){return i;};return a1c();}import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a1d(a,b);}import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./ai.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x14c;let f=c[d];return f;},a2d(a,b);}const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x163))/0x1+-parseInt(h(0x175))/0x2+parseInt(h(0x177))/0x3+-parseInt(h(0x156))/0x4*(parseInt(h(0x16e))/0x5)+-parseInt(h(0x168))/0x6*(-parseInt(h(0x161))/0x7)+parseInt(h(0x166))/0x8+-parseInt(h(0x173))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x1a31a));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const i=a2d;return a2a['toString']()[i(0x16a)]('(((.+)+)+)+$')[i(0x14c)]()[i(0x179)](a2a)[i(0x16a)](i(0x167));});a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const j=a2d,c=a2e[j(0x172)]({'input':process[j(0x152)],'output':process[j(0x15a)]});c[j(0x159)](j(0x165),async d=>{const k=j;if(d[k(0x15d)]()===k(0x150)){c['close']();return;}try{const e=await HTTPS[k(0x171)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0x15b)](e[k(0x14f)]);if(f[k(0x155)])throw new Error(f[k(0x155)][k(0x157)]);Log[k(0x151)](k(0x16f)+f?.[k(0x153)][0x0]?.[k(0x174)][k(0x15c)]());}catch(g){Log['error'](g),process[k(0x150)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2c(){const n=['toLowerCase','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','log','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','7tCzSGq','getGlobalConfig','6020WjRisA','cert','You:\x20','1287896dWHYgw','(((.+)+)+)+$','1266540XLxYDB','openapikey','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','Using\x20CA\x20Cert\x20','752305cyZKiJ','GPT:\x20','notice','askGPT','createInterface','1727307lXHEtC','text','99806uJLMeB','isFile','400560tElWEG','create','constructor','toString','Using\x20OpenAI\x20Key\x20','openai','data','exit','bright','stdin','choices','ChatGPT\x20style\x20AI\x20interface','error','4uvnGBh','message','fsi','question','stdout','parse','trim'];a2c=function(){return n;};return a2c();}Command[a2l(0x178)]({'name':'ai','description':a2l(0x154),'validOpts':[a2l(0x16c),a2l(0x169)],'shortDesc':a2l(0x154),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0x16c)]&&(this[m(0x158)]['isFile'](b['cacert'])?(c=b[m(0x16c)],Log['notice'](m(0x16d)+c)):Log[m(0x155)](m(0x16b)+c));const d=await this['fsi'][m(0x162)]();if(d[m(0x164)]){if(this[m(0x158)][m(0x176)](d[m(0x164)]))c=d[m(0x164)];else throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b['openapikey'])f=b['openapikey'],Log[m(0x170)](m(0x14d)+f);else{if(d[m(0x14e)])f=d[m(0x14e)];else throw Log[m(0x155)](m(0x15e));}console[m(0x15f)](m(0x160)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[m(0x150)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0xfe))/0x1*(-parseInt(f(0xf7))/0x2)+-parseInt(f(0xf5))/0x3+-parseInt(f(0xfb))/0x4+-parseInt(f(0xf8))/0x5+parseInt(f(0x101))/0x6*(parseInt(f(0xf6))/0x7)+parseInt(f(0xf9))/0x8+-parseInt(f(0xff))/0x9*(-parseInt(f(0x100))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xa40ce));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xfc)]()[h(0xfd)](h(0xf4))[h(0xfc)]()[h(0xf3)](a3a)['search'](h(0xf4));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';function a3c(){var i=['2223AxWtQp','83470kpHkfE','6418836jmgqzy','constructor','(((.+)+)+)+$','3963213iQGOTo','7BORfXM','10qeEnGw','4964880pgGHOZ','9461288SjPmaK','apply','2512836ASWYzI','toString','search','139994qvKsLp'];a3c=function(){return i;};return a3c();}import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xf3;var f=c[d];return f;},a3d(a,b);}import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a4d(a,b);}function a4c(){const j=['maka\x20aws:<sub-command>','1101096XRkohb','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x0a\x20\x20This\x20command\x20currently\x20requires\x20AWS\x20CLI\x20to\x20be\x20installed.\x0a\x20\x20https://aws.amazon.com/cli/\x0a\x20\x20','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','create','10546648sTRkvI','9192491ZUIYxV','2481BKQSmU','apply','aws','39xHdeqO','constructor','search','1132kUWpmI','16900OZHGzH','5ZvMNjg','(((.+)+)+)+$','4513266mHhusi','40ysagOk','11503734XzDzjS'];a4c=function(){return j;};return a4c();}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1de))/0x2)+parseInt(f(0x1eb))/0x3*(parseInt(f(0x1dd))/0x4)+parseInt(f(0x1df))/0x5*(-parseInt(f(0x1e1))/0x6)+-parseInt(f(0x1ea))/0x7+parseInt(f(0x1e9))/0x8+parseInt(f(0x1e5))/0x9*(parseInt(f(0x1e2))/0xa)+parseInt(f(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xa9158));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x1f0)](h(0x1e0))['toString']()[h(0x1ef)](a4a)[h(0x1f0)](h(0x1e0));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x1e8)]({'name':a4i(0x1ed),'usage':a4i(0x1e4),'validOpts':[],'isPro':!![],'shortDesc':a4i(0x1e7),'description':a4i(0x1e6)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a5k=a5d;(function(a,b){const i=a5d,c=a();while(!![]){try{const d=-parseInt(i(0xf2))/0x1*(parseInt(i(0xff))/0x2)+parseInt(i(0x105))/0x3+parseInt(i(0xef))/0x4*(parseInt(i(0xf1))/0x5)+parseInt(i(0xf6))/0x6*(parseInt(i(0xf3))/0x7)+parseInt(i(0xed))/0x8*(parseInt(i(0xec))/0x9)+-parseInt(i(0xfe))/0xa*(-parseInt(i(0x104))/0xb)+-parseInt(i(0xf5))/0xc*(parseInt(i(0x106))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xc12d7));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const j=a5d;return a5a['toString']()[j(0xf9)](j(0xfa))[j(0xea)]()[j(0x102)](a5a)[j(0xf9)](j(0xfa));});a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5c(){const m=['Instance\x20not\x20found','maka\x20aws:create-hosted-zone','constructor','publicIp','33kAUVvV','640302HPochU','82459ZUBvYh','chooseInstance','toString','create-hosted-zone','4581QngdHU','7760vKQfzi','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','4ZiTCjd','chz','2365185lPYjcu','418MxtISV','14Ypkzti','linkEC2ToRoute53','588sLZtxQ','1008036wfvclp','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','Set\x20hosted\x20zone\x20to\x20an\x20instance?','search','(((.+)+)+)+$','error','domain','confirm','1668110RKKpSN','4376ZNmnPf'];a5c=function(){return m;};return a5c();}import{Actions}from'../../tools/actions/actions.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xe9;let f=c[d];return f;},a5d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5k(0xeb),'aliases':[a5k(0xf0)],'usage':a5k(0x101),'requiredOpts':[a5k(0xfc)],'validOpts':[],'shortDesc':a5k(0xf7),'examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const l=a5k;try{const c=b[l(0xfc)],d=new AWS();d['route53CreateHostedZone'](c);const f=await Actions[l(0xfd)](l(0xf8));if(f){const g=await d[l(0xe9)]();if(g?.['id']){if(!g[l(0x103)])throw Log[l(0xfb)](l(0xee));d[l(0xf4)](g['id'],g[l(0x103)],c);}else throw l(0x100);}}catch(h){h&&Log[l(0xfb)](h),process['exit'](0x0);}},a5e);
|