@maka/maka-cli 4.7.16 → 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 -126
- 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 -126
- 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/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.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/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
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x1f0))/0x1*(-parseInt(m(0x1f8))/0x2)+parseInt(m(0x1fe))/0x3*(parseInt(m(0x20b))/0x4)+-parseInt(m(0x20f))/0x5*(parseInt(m(0x20d))/0x6)+-parseInt(m(0x211))/0x7*(parseInt(m(0x1ef))/0x8)+parseInt(m(0x1ee))/0x9*(parseInt(m(0x200))/0xa)+parseInt(m(0x1f5))/0xb*(parseInt(m(0x208))/0xc)+-parseInt(m(0x215))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x91180));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x210)]()[o(0x209)](o(0x1eb))[o(0x210)]()['constructor'](a82a)[o(0x209)](o(0x1eb));});a82a();import a82e from'fs';import a82f from'path';function a82c(){const r=['toString','2002EEvRtA','mkKeysDir','readFileSync','.csr','1507779ZKyDVF','utf8','development','(((.+)+)+)+$','sslconfig','processAndRunGenerator','18cqzAFi','6984BfxoKL','35783KLOcVH','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','appName','164692BGsqto','.key','maka\x20proxy\x20--target-host\x20http://192.168.1.20','4OVhRFS','getAppConfigPath','bright','getMakaProjectConfig','targetHost','error','1185MldlTf','apply','4982570uQbRBs','listenPort','createProxyServer','join','genSSC','isFile','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genCSR','360guTeol','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','4124ppxnQH','localhost','4928328Udzwva','targetPort','5ZdFmSO'];a82c=function(){return r;};return a82c();}import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a82d(a,b);}Command['create']({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help',a82p(0x20e),a82p(0x201),a82p(0x1fc)],'maxArgLength':0x1,'shortDesc':a82p(0x20a),'description':a82p(0x1f3),'examples':['maka\x20proxy',a82p(0x1f2),a82p(0x1f7)]},async function(a,b){const q=a82p,c=this[q(0x1f1)][q(0x1fb)](),d=q(0x217),e=this[q(0x1f1)][q(0x1f9)](d),f=this['fsi'][q(0x212)]({'configPath':e}),g=b[q(0x20e)]?Number(b[q(0x20e)]):0xbb8,h=b[q(0x201)]?Number(b[q(0x201)]):0xd73,i=b[q(0x1fc)]?b['targetHost']:q(0x20c),j=a82f[q(0x203)](f,c[q(0x1f4)]+q(0x1f6)),k=a82f[q(0x203)](f,c[q(0x1f4)]+'.crt');(!this[q(0x1f1)]['isFile'](j)||!this[q(0x1f1)][q(0x205)](k))&&(await a82h[q(0x1ed)](q(0x1ec),[],{'env':d}),SSL[q(0x207)]({'keyName':c['appName']+q(0x1f6),'csrName':c['appName']+q(0x214),'cwd':f}),SSL[q(0x204)]({'keyName':c[q(0x1f4)]+q(0x1f6),'crtName':c[q(0x1f4)]+'.crt','cwd':f}));if(g===h){Log[q(0x1fd)](q(0x206));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x213)](j,q(0x216)),'cert':a82e['readFileSync'](k,q(0x216))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x202)](l)['listen'](Number(h)),Log[q(0x1fa)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x10c))/0x1*(parseInt(n(0x10e))/0x2)+parseInt(n(0x122))/0x3*(-parseInt(n(0x105))/0x4)+parseInt(n(0x112))/0x5+parseInt(n(0x114))/0x6+-parseInt(n(0x115))/0x7+parseInt(n(0x11c))/0x8+parseInt(n(0x111))/0x9*(-parseInt(n(0x108))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xbf28e));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x117)]()[p(0xfe)](p(0x119))[p(0x117)]()[p(0x129)](a83a)[p(0xfe)]('(((.+)+)+)+$');});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xfd;let f=c[d];return f;},a83d(a,b);}a83a();import a83e from'fs';import a83f from'path';function a83c(){const s=['toString','scp','(((.+)+)+)+$','sshSync','~/pm2.config.js','674832NXaokx','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','ssh','pm2\x20delete\x20all','existsSync','257805zeylyG','~/ses.json','readFileSync','Checking\x20remote\x20host\x20availability','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','reconfigure','uname\x20-a','constructor','join','_keys','pm2.config.js','exit','success','assign','search','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','ses.json','create','~/settings.json','maka\x20reconfig','settings.json','52MNNNJe','fsi','reconfig','760lZHFjb','Remote\x20host\x20connection\x20successful','notice','apply','1191205RWagoG','parse','2beVyBd','ping','getAppConfigPath','247824FUVkCQ','6362285VZydRP','env','9345342eKlsiq','788844ggUqeA','maka\x20reconfig\x20--env\x20prod'];a83c=function(){return s;};return a83c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0x101)]({'name':a83q(0x127),'aliases':[a83q(0x107)],'validOpts':[''],'requiredOpts':[a83q(0x113)],'mustBeInMakaProject':!![],'usage':a83q(0x103),'isPro':!![],'shortDesc':a83q(0x11e),'description':a83q(0xff),'examples':[a83q(0x116)]},async function(a,b){const r=a83q;try{const c=this[r(0x106)][r(0x110)](b[r(0x113)]),d=a83f[r(0x12a)](c,'ssh.json'),f=a83e[r(0x124)](d)['toString'](),g=JSON[r(0x10d)](f);Object[r(0xfd)](g,{'env':c}),Log[r(0x10a)](r(0x125));const h=SSH[r(0x10f)](r(0x128),g);if(!h)throw r(0x11d);if(h)Log[r(0x12e)](r(0x109));const i=a83f[r(0x12a)](c,r(0x12b),r(0x100));if(a83e[r(0x121)](i)){const l={'source':i,'dest':r(0x123),'verbose':!![]};SSH[r(0x118)](l,{...g});}const j=a83f['join'](c,r(0x12c));SSH[r(0x118)]({'source':j,'dest':r(0x11b),'verbose':!![]},{...g});const k=a83f[r(0x12a)](c,r(0x104));SSH['scp']({'source':k,'dest':r(0x102),'verbose':!![]},{...g}),SSH[r(0x11a)](r(0x120),g),await SSH[r(0x11f)](r(0x126),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x12d)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xa1))/0x1+-parseInt(f(0x98))/0x2*(-parseInt(f(0xa3))/0x3)+-parseInt(f(0x9f))/0x4+-parseInt(f(0x9d))/0x5+-parseInt(f(0x9a))/0x6+-parseInt(f(0x9e))/0x7+parseInt(f(0x9c))/0x8*(parseInt(f(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x1ff16));function a84c(){var i=['search','162489WhewKO','constructor','54KGrfoJ','4yuDyUX','(((.+)+)+)+$','79632VAXamv','apply','499952xSrSBG','548780nVlMLB','1706817KdJqRa','777384ObkTmf','toString','208753pdnArD'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x96;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0xa2)](h(0x99))[h(0xa0)]()[h(0x96)](a84a)[h(0xa2)](h(0x99));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x137))/0x1+parseInt(i(0x12d))/0x2+-parseInt(i(0x13b))/0x3*(-parseInt(i(0x12a))/0x4)+-parseInt(i(0x13a))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x13e))/0x7+-parseInt(i(0x12c))/0x8+-parseInt(i(0x131))/0x9*(parseInt(i(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb1ddf));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x125)]()[k(0x12e)](k(0x13c))['toString']()[k(0x139)](a85a)[k(0x12e)]('(((.+)+)+)+$');});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a85c(){const n=['apply','27oxVabh','docker-compose\x20--project-directory\x20','templateContent','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','config/docker-compose.yaml','4938630JnhOAW','67919imOppp','existsSync','constructor','5lrptmm','3UwBbwP','(((.+)+)+)+$','create','3393859GTHUlv','appName','exit','Docker\x20Compose\x20Path:\x20','PM2\x20Config\x20File:\x20','getAppConfigPath','inherit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose.yaml','fsi','toString','4112112RiRaXp','notice','join','getMakaProjectConfig','1721116LawFyh','docker','3079512uEbDPj','1853368vKycAl','search','maka\x20run\x20docker'];a85c=function(){return n;};return a85c();}import{paramCase}from'change-case';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x11f;let f=c[d];return f;},a85d(a,b);}Command[a85l(0x13d)]({'name':a85l(0x12b),'aliases':['d'],'shortDesc':a85l(0x122),'description':a85l(0x134),'usage':a85l(0x12f),'isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this['fsi'][m(0x129)](),b=this['fsi'][m(0x120)](m(0x12b)),c=a85f['join'](b,m(0x123)),d=a85f[m(0x128)](b,'pm2.config.js');Log[m(0x127)](m(0x11f)+d),Log['notice'](m(0x141)+c);if(!a85g[m(0x138)](c)){const f={'app':a[m(0x13f)],'appFileCase':paramCase(a[m(0x13f)])},g=this['fsi'][m(0x133)]({'srcPath':m(0x135),'context':f})+'\x0a';this[m(0x124)]['createFile']({'filePath':c,'data':g});}execSync(m(0x132)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x121)});}catch(h){process[m(0x140)](0x1);}},a85e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x106))/0x1*(-parseInt(p(0x135))/0x2)+parseInt(p(0x12d))/0x3+parseInt(p(0x117))/0x4*(parseInt(p(0xfa))/0x5)+parseInt(p(0x128))/0x6*(parseInt(p(0xf5))/0x7)+parseInt(p(0x12c))/0x8+-parseInt(p(0xf7))/0x9+-parseInt(p(0x11f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x34834));function a86c(){const v=['slice','--env','3CwoNoE','app','production','forEach','process.env','allowIncompatibleUpdate','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','boolean','verbose','warn','extraPackages','splice','port','run','filter','settings','12PVlKAd','(((.+)+)+)+$','--exclude-archs','development','env','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','argv','notice','2574950YgEAdY','error','rawLogs','getAppConfigPath','sep','invokeMeteorCommand','constructor','split','Meteor\x20Settings:\x20','1842QWNaMr','exit','isFile','Run\x20your\x20Meteor\x20application','838168zufzbn','713316UjgmTE','push','web.browser.legacy','join','mobileServer','--production','search','--settings','11318LlVuqg','ios','cordova-build','toString','openSync','info','4004YpQcHV','inspect','3266208aasjes','.meteor','length','557215lqfYyV','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','local','settings.json','createFile','Node\x20Env\x20Config:\x20','checkMeteorPackage','isDirectory','concat','config'];a86c=function(){return v;};return a86c();}const a86b=(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;};}()),a86a=a86b(this,function(){const q=a86d;return a86a['toString']()[q(0x133)](q(0x118))[q(0x138)]()[q(0x125)](a86a)[q(0x133)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const r=a86d;a86f[r(0x139)](a,'r'),a86g[r(0x103)]({'path':a});},Run=Command['create']({'name':a86s(0x114),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86s(0x12b),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86s(0x11b),a86s(0x121),a86s(0x113),a86s(0xf6),'mobileServer',a86s(0x10f),a86s(0x10b),a86s(0x111),'x','excludeArchs',a86s(0x108),'ci']},async function(a,b){const t=a86s;try{await this[t(0x10d)][t(0x100)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x136)){const l=this[t(0x10d)]['findProjectDirectory'](),m=a86e[t(0x130)](l,t(0x107),t(0xf8),t(0xfc),t(0x137));this[t(0x10d)][t(0x101)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[t(0x102)]([t(0x119),t(0x12f)]));if(b['mobileServer']&&typeof b[t(0x131)]===t(0x10e))throw t(0x11c);const d=b[t(0x11b)]?b[t(0x11b)]:t(0x11a),f=this[t(0x10d)][t(0x122)](d),g=a86e[t(0x130)](f,t(0x10a));let h=a86e['join'](f,'settings.json');b[t(0x116)]?h=b[t(0x116)]:h=a86e['join'](f,t(0xfd));this[t(0x10d)][t(0x12a)](g)?(Log[t(0x11e)](t(0xff)+g),syncSource(g)):(Log[t(0xf4)](t(0xfb)+g),this[t(0x10d)][t(0xfe)]({'filePath':g,'data':''}));this[t(0x10d)]['isFile'](h)?(Log[t(0x11e)](t(0x127)+h),a=a[t(0x102)]([t(0x134),h])):Log[t(0x110)](t(0x10c)+h);const i=f[t(0x126)](a86e[t(0x123)]),j=i[i[t(0xf9)]-0x1];j===t(0x108)&&a[t(0x12e)](t(0x132));const k=process[t(0x11d)][t(0x104)](0x2)[t(0x115)](n=>n!==t(0x114))['filter'](n=>n!==a[0x0]);k[t(0x109)]((n,o)=>{const u=t;n===u(0x105)&&k[u(0x112)](o,0x2),n==='-e'&&k[u(0x112)](o,0x2);}),this[t(0x10d)][t(0x124)]('run',a['concat'](k));}catch(n){Log[t(0x120)](n),process[t(0x129)](0x1);}});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xf4;let f=c[d];return f;},a86d(a,b);}export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a87c(){var i=['2206500vignXd','914000ouCGcU','673453pZIFRu','11504rykdUb','7eMVxbn','search','toString','(((.+)+)+)+$','apply','378710iLbGro','3XKExbe','3177jOsiMz','333913RKTSfR','132WjYrLX','65kUVJgK','53828qyKYwe'];a87c=function(){return i;};return a87c();}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1f5))/0x1+parseInt(f(0x1f2))/0x2*(-parseInt(f(0x1f3))/0x3)+parseInt(f(0x1f8))/0x4*(-parseInt(f(0x1f7))/0x5)+parseInt(f(0x1f9))/0x6*(parseInt(f(0x1ed))/0x7)+-parseInt(f(0x1fc))/0x8*(-parseInt(f(0x1f4))/0x9)+parseInt(f(0x1fa))/0xa+-parseInt(f(0x1fb))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x40310));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x1ef)]()[h(0x1ee)](h(0x1f0))['toString']()['constructor'](a87a)[h(0x1ee)](h(0x1f0));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x15a))/0x1+-parseInt(h(0x17a))/0x2*(-parseInt(h(0x16e))/0x3)+-parseInt(h(0x169))/0x4+-parseInt(h(0x177))/0x5+parseInt(h(0x175))/0x6+parseInt(h(0x173))/0x7*(-parseInt(h(0x16d))/0x8)+parseInt(h(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x70371));function a88c(){const m=['22216UrAtfX','4011iPBlVm','Set\x20CA\x20Cert\x20Path:\x20','Set\x20global\x20Maka-CLI\x20settings','setGlobalConfig','openai','385sfEkKI','Set\x20workspace:\x20','2192028rZYUVA','maka\x20set:gc\x20--workspace\x20<path>','3403040xgkYnB','fsi','One\x20or\x20the\x20other\x20buddy','596nKQCeF','8344791aUJEFU','toString','apply','maka\x20set:global-config','maka\x20set:global-config\x20--cacert\x20<path>','success','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','workspace','maka\x20set:gc\x20--insecure\x20<path>','exit','186066FpHdok','(((.+)+)+)+$','error','resolve','isFile','global-config','Set\x20color\x20pallet\x20to:\x20','allowInsecure','pallet','boolean','isDirectory','disallowInsecure','Set\x20OpenAI\x20Key:\x20','cacert','Could\x20not\x20find\x20directory','2336212EkAsws','constructor','search','dark'];a88c=function(){return m;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x17c)]()[j(0x16b)](j(0x15b))[j(0x17c)]()[j(0x16a)](a88a)['search'](j(0x15b));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x159;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x15f),'usage':a88k(0x17e),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x167),'boolFlag':![]},{'name':a88k(0x161),'boolFlag':!![]},{'name':a88k(0x165),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x162),'values':['light',a88k(0x16c)]}],'shortDesc':a88k(0x170),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a88k(0x17f),a88k(0x183),a88k(0x176)]},async function(a,b){const l=a88k;try{if(b['cacert']){if(this[l(0x178)][l(0x15e)](b[l(0x167)]))await this[l(0x178)][l(0x171)]({'cert':b[l(0x167)]}),Log['success'](l(0x16f)+b[l(0x167)]);else{const c=typeof b[l(0x167)]===l(0x163)?l(0x181):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x167)];throw Log[l(0x15c)](c);}}if(b[l(0x182)]){const d=this[l(0x178)][l(0x164)](b['workspace']);if(d)await this[l(0x178)]['setGlobalConfig']({'workspace':a88e[l(0x15d)](b[l(0x182)])}),Log[l(0x180)](l(0x174)+a88e[l(0x15d)](b[l(0x182)]));else throw Log[l(0x15c)](l(0x168));}b[l(0x172)]&&(await this[l(0x178)][l(0x171)]({'openai':b['openai']}),Log[l(0x180)](l(0x166)+b['openai']));b['pallet']&&(await this['fsi'][l(0x171)]({'pallet':b[l(0x162)]}),Log[l(0x180)](l(0x160)+b[l(0x162)]));if(b[l(0x161)]){if(b[l(0x161)]&&b[l(0x165)])throw Log['error'](l(0x179));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),await this['fsi'][l(0x171)]({'allowInsecure':f}),Log[l(0x180)]('Set\x20allowInsecure:\x20'+f);}process[l(0x159)](0x0);}catch(g){console[l(0x15c)](g),process[l(0x159)](0x0);}},a88f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1+parseInt(f(0x19d))/0x2+-parseInt(f(0x1a0))/0x3*(-parseInt(f(0x19c))/0x4)+parseInt(f(0x195))/0x5*(-parseInt(f(0x196))/0x6)+-parseInt(f(0x18f))/0x7*(-parseInt(f(0x19a))/0x8)+-parseInt(f(0x194))/0x9*(-parseInt(f(0x19e))/0xa)+-parseInt(f(0x193))/0xb*(parseInt(f(0x198))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe6ce0));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x192)]()[h(0x1a4)](h(0x19b))[h(0x192)]()[h(0x197)](a89a)[h(0x1a4)](h(0x19b));});a89a();function a89c(){var k=['43408716YVbsXs','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','8ZCuCHy','(((.+)+)+)+$','2010068uQXZEu','2586666GZAFsK','2510nBeRug','create','6ryoNKI','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet','apply','search','4099102fXyllI','Set\x20local\x20maka\x20app\x20settings','840481pXYEkI','toString','11oAvRTY','46719lXPLRf','2323030ZfnFvx','6SWJKuf','constructor'];a89c=function(){return k;};return a89c();}import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x18f;var f=c[d];return f;},a89d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x19f)]({'name':'local-config','usage':a89i(0x1a1),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x190),'validOpts':[],'description':a89i(0x199)},async function(){var j=a89i;Log['notice'](j(0x1a2));},a89e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(parseInt(f(0x192))/0x2)+-parseInt(f(0x1a0))/0x3+-parseInt(f(0x195))/0x4*(-parseInt(f(0x199))/0x5)+parseInt(f(0x193))/0x6*(-parseInt(f(0x1a1))/0x7)+parseInt(f(0x19b))/0x8+parseInt(f(0x198))/0x9*(-parseInt(f(0x196))/0xa)+parseInt(f(0x190))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd37d7));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x19f)]()[h(0x18f)]('(((.+)+)+)+$')[h(0x19f)]()[h(0x19a)](a90a)[h(0x18f)](h(0x18e));});function a90c(){const k=['(((.+)+)+)+$','search','20718368xVJvgx','set','22HfyFMC','1344FewZof','create','8DZtVkb','2103430Ndwyiy','maka\x20set:<sub-command>','36NzKcHK','843420alQhyK','constructor','4687408MOCHtb','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','apply','findSubCommand','toString','487668BkqbBm','147QHyUnA','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','runSubCommand','84717cCRrOF'];a90c=function(){return k;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x18d;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x194)]({'name':a90i(0x191),'usage':a90i(0x197),'shortDesc':a90i(0x1a2),'description':a90i(0x19c),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x19e)](c);d&&this[j(0x1a3)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91c(){const o=['apply','search','2354229sCQITN','1146850MgjxUD','552228IjMnBY','20yJXTxk','parse','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','length','ssh.json','env','assign','error','fsi','create','2295804rkElfL','34xhpbnz','32104EUzDtP','toString','(((.+)+)+)+$','140853EVAShE','join','maka\x20ssh\x20--env\x20prod','1106IwhHTJ','611154jabihL','verbose'];a91c=function(){return o;};return a91c();}const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xba;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xd0))/0x1+-parseInt(j(0xc8))/0x2*(-parseInt(j(0xcc))/0x3)+parseInt(j(0xc7))/0x4+-parseInt(j(0xd5))/0x5+parseInt(j(0xba))/0x6+-parseInt(j(0xcf))/0x7*(parseInt(j(0xc9))/0x8)+parseInt(j(0xd4))/0x9*(parseInt(j(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x7d2e4));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xca)]()['search'](l(0xcb))['toString']()['constructor'](a91a)[l(0xd3)]('(((.+)+)+)+$');});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xc6)]({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0xc2)],'validOpts':[a91m(0xc2),a91m(0xd1)],'isPro':!![],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0xce),a91m(0xbf),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0xbe)]},async function(a,b){const n=a91m;try{const c=this[n(0xc5)]['getAppConfigPath'](b[n(0xc2)]);let d='';a[n(0xc0)]>0x0&&(d=a[0x0]);const f=a91f[n(0xcd)](c,n(0xc1)),g=a91e['readFileSync'](f)[n(0xca)](),h=JSON[n(0xbc)](g);Object[n(0xc3)](h,{'env':c}),SSH[n(0xbd)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xd1)]});}catch(i){Log[n(0xc4)](i),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92x=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x195))/0x1+parseInt(v(0x17c))/0x2*(-parseInt(v(0x1b4))/0x3)+parseInt(v(0x1a9))/0x4*(parseInt(v(0x17e))/0x5)+-parseInt(v(0x19f))/0x6+-parseInt(v(0x1b6))/0x7*(parseInt(v(0x1b5))/0x8)+parseInt(v(0x182))/0x9+parseInt(v(0x1ac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xacd88));function a92c(){const z=['parse','withSpinner','genCSR','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','maka\x20ssl\x20[command]','1150938ZItpwD','Remote\x20host\x20connection\x20successful','Create\x20and\x20manage\x20your\x20SSL\x20operations.','domains','start','Using\x20saved\x20letsencrypt\x20config','search','.key','domainNames','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','867702uBqBtO','readFileSync','fsi','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','getMakaProjectConfig','letsencrypt','.csr','success','appName','104bliZyi','ssh','letsencrypt.json','3927190sQQECF','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','(((.+)+)+)+$','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','writeFileSync','ssl','uname\x20-a','error','2238348FEHQwy','88MMyacG','709681koMIpu','maka\x20ssl\x20--env\x20dev\x20generate-csr','ask','2wMgHgm','genSSC','216455hiCBWq','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','constructor','402291tzgCLb','generate-csr','join','stringify','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','email','exit','Verifying\x20Letsencrypt\x20configuration','existsSync','[?]\x20Domains\x20to\x20register:\x20','/ssh.json','env','notice'];a92c=function(){return z;};return a92c();}const a92b=(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;};}()),a92a=a92b(this,function(){const w=a92d;return a92a[w(0x180)]()[w(0x19b)](w(0x1ae))[w(0x180)]()[w(0x181)](a92a)['search'](w(0x1ae));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x17c;let f=c[d];return f;},a92d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a92x(0x1b1),'usage':a92x(0x194),'validOpts':['domains',a92x(0x188)],'requiredOpts':['env'],'shortDesc':a92x(0x197),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92x(0x1b7),a92x(0x1af),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a92x,c=this[y(0x1a1)][y(0x1a4)](),d=this[y(0x1a1)]['getAppConfigPath'](b[y(0x18e)]),f=this[y(0x1a1)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x183))SSL[y(0x192)]({'keyName':c[y(0x1a8)]+y(0x19c),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a92e[y(0x18b)](a92f[y(0x184)](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x19c));if(!a92e[y(0x18b)](a92f['join'](f,c['appName']+y(0x1a6))))throw y(0x19e)+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x1a6));SSL[y(0x17d)]({'keyName':c[y(0x1a8)]+y(0x19c),'crtName':c[y(0x1a8)]+'.crt','cwd':f}),Log[y(0x18f)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===y(0x1a5)){let h=b[y(0x198)],i=b[y(0x188)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))['toString'](),q=JSON[y(0x190)](p);h=b[y(0x198)]?b[y(0x198)]:q[y(0x19d)],i=b[y(0x188)]?b[y(0x188)]:q['emailUpdate'],(!b[y(0x188)]||!b[y(0x198)])&&Log[y(0x18f)](y(0x19a));}catch(r){}const j=JSON[y(0x190)](a92e[y(0x1a0)](d+y(0x18d))[y(0x180)]());Object['assign'](j,{'env':d}),Log['notice'](y(0x187));try{const s=SSH[y(0x1a3)](y(0x1b2),j);if(!s)throw y(0x17f);if(s)Log['success'](y(0x196));}catch(t){Log[y(0x1b3)](t);return;}const k=Log[y(0x191)]();k[y(0x199)](y(0x18a)),SSH[y(0x1aa)](y(0x1ad),{...j}),SSH['ssh'](y(0x186),{...j}),SSH[y(0x1aa)](y(0x1a2),{...j}),k[y(0x1a7)]();const l=h?h:await Actions[y(0x1b8)](y(0x18c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](y(0x193)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x185)](n,null,0x2);a92e[y(0x1b0)](a92f['join'](d,y(0x1ab)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[y(0x1b3)](u),process[y(0x189)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1b1))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x1a5))/0x3)+parseInt(m(0x1cf))/0x4+parseInt(m(0x1c9))/0x5*(-parseInt(m(0x1b9))/0x6)+parseInt(m(0x1a0))/0x7*(-parseInt(m(0x1d0))/0x8)+-parseInt(m(0x1a7))/0x9+parseInt(m(0x1b3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x53b9b));const a93b=(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;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0x19c)]()['search']('(((.+)+)+)+$')[n(0x19c)]()['constructor'](a93a)[n(0x1bc)](n(0x1c4));});a93a();import a93e from'fs';import a93f from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x199;let f=c[d];return f;},a93d(a,b);}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x1d1)](a,'r'),a93g['config']({'path':a});};function a93c(){const s=['maka\x20test','Node\x20Env\x20Config:\x20','none','--env','(((.+)+)+)+$','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','meteortesting:mocha','jasmine','--full-app','10ihSfoT','tests','join','testAppPath','driverPackage','mocha','1810856szWRpi','58328kNNcPZ','openSync','forEach','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','findProjectDirectory','unit','once','packages','create','toString','filter','Cannot\x20find\x20Node\x20Environment\x20File:\x20','invokeMeteorCommand','658Bkiynh','isFile','--packages','driver','env','3hBIcsv','test','4889223DUxWoK','notice','.maka','process.env','fsi','--settings','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','config.json','exit','409718mygXIL','108780zWebsp','concat','15438330yNCmrp','engines','development','sanjo:jasmine','getAppConfigPath','--driver-package','334104kRWeSB','readFileSync','port','search','inspect','error','warn'];a93c=function(){return s;};return a93c();}Command[a93p(0x19b)]({'name':a93p(0x1a6),'mustBeInMakaProject':!![],'validOpts':[a93p(0x199),a93p(0x19a),a93p(0x1a3),a93p(0x1cd),a93p(0x1d6),a93p(0x1a4),'rawLogs',a93p(0x1bb),a93p(0x1bd),a93p(0x1cc)],'usage':a93p(0x1c0),'aliases':['t',a93p(0x1ca)],'shortDesc':a93p(0x1d4),'examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x1ab)][q(0x1b7)](q(0x1b5));b['env']&&(c=this['fsi']['getAppConfigPath'](b[q(0x1a4)]));(!b[q(0x1d6)]||!!b[q(0x199)])&&(a=a['concat']([q(0x1c8)]));b[q(0x1d6)]&&delete b[q(0x1d6)];let d=b['driver-package']||b['driver']||q(0x1c2);if(d===q(0x1c2)){const j=JSON['parse'](a93e[q(0x1ba)](a93f[q(0x1cb)](this[q(0x1ab)][q(0x1d5)](),q(0x1a9),q(0x1ae)),'utf8'));if(j[q(0x1b4)][q(0x1a6)]===q(0x1c7))d=q(0x1b6);else j[q(0x1b4)][q(0x1a6)]===q(0x1ce)&&(d=q(0x1c6));}if(d===q(0x1c2))throw q(0x1ad);(!b['driver-package']||!b['driver'])&&(a=a[q(0x1b2)]([q(0x1b8),d]));const f=a93f[q(0x1cb)](c,'settings.json');this[q(0x1ab)][q(0x1a1)](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[q(0x1b2)]([q(0x1ac),f])):Log[q(0x1bf)](q(0x1c5)+f);const g=a93f[q(0x1cb)](c,q(0x1aa));this[q(0x1ab)][q(0x1a1)](g)?(Log[q(0x1a8)](q(0x1c1)+g),syncSource(g)):Log[q(0x1bf)](q(0x19e)+g);const h=process[q(0x1d3)]['slice'](0x2)[q(0x19d)](k=>k!==q(0x1c3))['filter'](k=>k!==q(0x1a6))[q(0x19d)](k=>k!==a[0x0]);h[q(0x1d2)]((k,l)=>{const r=q;(k===r(0x1c3)||k==='--driver')&&h['splice'](l,0x2),k===r(0x1a2)&&h['splice'](l,0x1);});const i=b[q(0x19a)]?'test-packages':q(0x1a6);this[q(0x1ab)][q(0x19f)](i,a[q(0x1b2)](h));}catch(k){console[q(0x1be)](k),process[q(0x1af)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x178))/0x1*(-parseInt(k(0x183))/0x2)+-parseInt(k(0x1a1))/0x3*(-parseInt(k(0x175))/0x4)+parseInt(k(0x1a2))/0x5*(-parseInt(k(0x17f))/0x6)+-parseInt(k(0x198))/0x7*(-parseInt(k(0x179))/0x8)+parseInt(k(0x16f))/0x9*(-parseInt(k(0x17c))/0xa)+-parseInt(k(0x18d))/0xb*(-parseInt(k(0x19e))/0xc)+parseInt(k(0x184))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x34fb7));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x16e;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x17b)]()['search'](m(0x16e))['toString']()[m(0x19c)](a94a)[m(0x199)](m(0x16e));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x17d)};function a94c(){const p=['warn','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20version\x20--verbose','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','majestic','\x20node\x20-v','----------------------Project----------------------------','meteor','7689oGkgcr','Project\x27s\x20Meteor\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','N/A','win32','apply','isMakaProject','System\x27s\x20Meteor\x20Version\x20','1725591eSrbPc','search','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','fsi','constructor','getProjectMeteorVersion','5268MUwZlU','Maka\x20','maka\x20version','135LdFSQN','5HcoiTF','(((.+)+)+)+$','29034vatVmW','exit','platform','meteor.bat','bright','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','3448QYVNIH','----------------------System----------------------------','replace','49571sHBiPI','8nnibHv','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','toString','890GVboUU','4.7.17',')\x20to\x20at\x20least\x20meteor\x27s\x20(','494028UAzPEM','verbose','error','compareMakaToLatest','4PJFUTP','1214785KPIlBE'];a94c=function(){return p;};return a94c();}Command['create']({'name':'version','aliases':['v'],'usage':a94n(0x1a0),'maxArgLength':0x1,'validOpts':[a94n(0x180)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v','maka\x20version',a94n(0x187)],'description':a94n(0x174)},async function(a,b){const o=a94n;try{const c=process[o(0x171)]===o(0x194)?o(0x172):o(0x18c);Log[o(0x189)](o(0x19f)+pjson['version']),await this['fsi'][o(0x182)]();if(b[o(0x180)]){await this[o(0x19b)][o(0x182)](),Log['bright'](o(0x176));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x173)]((o(0x197)+d)['replace']('\x0a',''));const f=execSync(c+o(0x18a))['toString']()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');Log[o(0x173)](o(0x186)+f);const g=execSync('node\x20-v')[o(0x17b)]()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');a94e['gt'](f,g)?(Log[o(0x185)](o(0x191)+g),Log[o(0x185)](o(0x188)+g+o(0x17e)+f+')')):Log[o(0x173)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x19b)][o(0x196)]()){Log[o(0x173)](o(0x18b));const h=this['fsi'][o(0x19d)]();a94e['gt'](d,h)?(Log['warn'](o(0x192)+h['replace']('\x0a','')),Log[o(0x185)](o(0x190)+d+'\x22')):Log['notice']((o(0x192)+h)['replace']('\x0a',''));const i=await this[o(0x19b)][o(0x18f)]();i===o(0x193)?(Log[o(0x185)](o(0x18e)+i),Log['warn'](o(0x17a))):Log['bright'](o(0x18e)+i),Log[o(0x173)](o(0x19a));}}}catch(j){console[o(0x181)](j),process[o(0x170)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1e0))/0x1*(parseInt(f(0x1da))/0x2)+parseInt(f(0x1de))/0x3+-parseInt(f(0x1e3))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1dd))/0x6+-parseInt(f(0x1e4))/0x7*(parseInt(f(0x1d7))/0x8)+-parseInt(f(0x1db))/0x9*(-parseInt(f(0x1dc))/0xa)+parseInt(f(0x1d6))/0xb*(-parseInt(f(0x1e2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x634fa));function a95c(){var h=['394329xNfiBe','(((.+)+)+)+$','11349444YFcdJT','340oLFqKN','28WWBJub','11eMXCQo','194672zZZSmG','search','toString','4rTceGY','878211GKdJkD','50iUlrwF','1557384HIBOMA','1153641LOyuiy','2845DHIckB'];a95c=function(){return h;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x1d9)]()[g(0x1d8)](g(0x1e1))[g(0x1d9)]()['constructor'](a95a)[g(0x1d8)](g(0x1e1));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
var a96i=a96d;
|
|
2
|
+
var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x152))/0x1+-parseInt(f(0x156))/0x2*(parseInt(f(0x14c))/0x3)+parseInt(f(0x146))/0x4+parseInt(f(0x154))/0x5+parseInt(f(0x153))/0x6*(-parseInt(f(0x14d))/0x7)+parseInt(f(0x14e))/0x8*(-parseInt(f(0x147))/0x9)+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x5331c));function a96c(){var j=['6uxPYoE','181805xPsbQY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2kUtsBI','387800jnDIvp','439713yYNhBw','apply','9856100OyxArA','(((.+)+)+)+$','toString','790494chYWFl','3528301apkAJI','40ljWGFw','env','NODE_OPTIONS','constructor','233669GeWQnO'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()['search'](h(0x14a))[h(0x14b)]()[h(0x151)](a96a)['search'](h(0x14a));});a96a(),process[a96i(0x14f)][a96i(0x150)]=a96i(0x155);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x146;var f=c[d];return f;},a96d(a,b);}import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97t=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d
|
|
1
|
+
const a97t=a97d;function a97c(){const F=['37113LzUpBk','processAndRunGenerator','split','validateMeteorInstall','Server','appPathPrefix','addGenerator\x20requires\x20a\x20Generator\x20instance','maxOptsLength','Too\x20many\x20options','chdir','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','search','error','assign','validateEngines','Generator\x20format\x20is\x20incorrect','8320312iXwUUY','(((.+)+)+)+$','DARK','26YRrjBx','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','match','both','bright','fsi','maxArgLength','length','bind','minArgLength','join','options','invoke','25aAfAhA','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','map','resourceName','Too\x20few\x20options','pallet','There\x20is\x20no\x20Meteor\x20application\x20here','399873kMBfXc','minOptsLength','Both','mustHaveMeteorInstalled','aliases','mustBeInMakaProject','lib','includes','client','_handler','_generators','light','push','sep','colLocAnswer','name','findProjectDirectory','localeCompare','cwd','create','Generators:','Too\x20few\x20arguments','keys','Generator\x20requires\x20a\x20handler\x20function','Alias','notice','checkWhere','addGenerator','78264yxtYvE','Generator\x20','list','sort','root','dir','1311150IXbuTM','No\x20resource\x20name\x20specified','Too\x20many\x20arguments','handleGenerateError','LIGHT','getGlobalConfig','Generator.create\x20requires\x20a\x20handler\x20function!','\x20not\x20found','toString','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','3000609lNsMzx','tableList','Location','number','Client','where','server','function','requiredEngines','constructor','setColorMode','5254648EesbYC','Generator.create\x20requires\x20some\x20options!'];a97c=function(){return F;};return a97c();}function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x151;let f=c[d];return f;},a97d(a,b);}(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x18e))/0x1+-parseInt(q(0x17a))/0x2*(-parseInt(q(0x167))/0x3)+-parseInt(q(0x1aa))/0x4+parseInt(q(0x187))/0x5*(parseInt(q(0x1b0))/0x6)+-parseInt(q(0x177))/0x7+parseInt(q(0x165))/0x8+parseInt(q(0x15a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x9b2e9));const a97b=(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;};}()),a97a=a97b(this,function(){const r=a97d;return a97a[r(0x158)]()[r(0x172)](r(0x178))[r(0x158)]()[r(0x163)](a97a)['search'](r(0x178));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';import a97g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const s=a97d,c=process[s(0x1a0)]();let d=null;try{process[s(0x170)](a),d=await b();}finally{process[s(0x170)](c);}return d;}export class Generator extends Tool{['options'];[a97t(0x198)];constructor(a,b){const u=a97t;super();if(!a)throw new Error(u(0x171));if(!a[u(0x19d)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(u(0x1a5));this['_generators']=[],this[u(0x185)]=Object[u(0x174)]({},a),this['name']=this['options']['name'],this[u(0x197)]=b[u(0x182)](this);}static[a97t(0x1a1)](a,b,c){const v=a97t;if(!a)throw new Error(v(0x166));if(typeof b!==v(0x161))throw new Error(v(0x156));const d=new Generator(a,b);return c=c||a97g,Object['assign'](d,{'parent':c?.[v(0x185)]?.[v(0x19d)]}),c[v(0x1a9)](d),d;}['addGenerator'](a){const w=a97t;if(!(a instanceof Generator))throw new Error(w(0x16d));this[w(0x198)]['push'](a);}async[a97t(0x168)](a,b=[],c={}){const x=a97t;let d;try{const f=a?.[x(0x169)](':');if(!f||f[x(0x181)]===0x0)throw x(0x176);let g=this[x(0x198)],h;for(const i of f){h=g['find'](j=>j[x(0x17c)](i));if(!h)throw x(0x1ab)+i+x(0x157);await this['validateMakaSubscription'](h),g=h[x(0x198)];}if(h)d=await h[x(0x186)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log[x(0x173)](j);}return d;}async[a97t(0x186)](a,b){const y=a97t,c=a['slice']();b[y(0x18a)]=c[0x0];try{const d=await this[y(0x17f)][y(0x155)](),f=d[y(0x18c)]===y(0x199)?ColorMode[y(0x154)]:ColorMode[y(0x179)];Log[y(0x164)](f),await this['validateMakaSubscription'](this);const g=a[0x0]===_prevGen||a[y(0x181)]===0x0&&this[y(0x198)][y(0x181)]>=0x0,h=b['help']||b['h'];if(g&&h){if(this[y(0x198)][y(0x181)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][y(0x193)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[y(0x185)][y(0x191)]){const j=this[y(0x16a)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[y(0x185)][y(0x183)]==='number'){if(a['length']<this[y(0x185)]['minArgLength']){Log[y(0x173)](y(0x1a3));throw new UsageError();}}if(typeof this[y(0x185)][y(0x180)]===y(0x15d)){if(a[y(0x181)]>this[y(0x185)]['maxArgLength']){Log[y(0x173)](y(0x152));throw new UsageError();}}if(typeof this[y(0x185)][y(0x18f)]===y(0x15d)){if(Object[y(0x1a4)](b)[y(0x181)]<this[y(0x185)][y(0x18f)]){Log[y(0x173)](y(0x18b));throw new UsageError();}}if(typeof this['options'][y(0x16e)]===y(0x15d)){if(Object[y(0x1a4)](b)[y(0x181)]>=this[y(0x185)]['maxOptsLength']){Log[y(0x173)](y(0x16f));throw new UsageError();}}}this[y(0x185)][y(0x162)]&&this[y(0x175)](this[y(0x185)][y(0x162)]);await this['validateParams'](a,b,this[y(0x185)]);if(!b[y(0x18a)]&&!this[y(0x185)]['noNeedResource']){Log[y(0x173)](y(0x151));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[y(0x153)](k),process['exit'](0x1);}return await inside(b[y(0x1a0)],async()=>{const z=y;try{if(!b[z(0x1ae)]&&!this[z(0x17f)][z(0x19e)]())throw new MustBeInProjectError();const l=b['resourceName']?.['replace'](/\\/g,'/')['split']('/');!b[z(0x1af)]&&(l?.[z(0x181)]>0x1?(b[z(0x18a)]=l['pop'](),c[0x0]=b[z(0x18a)],b[z(0x1af)]=l[z(0x189)](m=>{return paramCase(m);})[z(0x184)](a97e[z(0x19b)])):b[z(0x1af)]='');if(this[z(0x185)][z(0x1a8)]){if(!b[z(0x15f)]){const n={'type':z(0x1ac),'name':z(0x19c),'message':z(0x15c),'choices':[{'name':z(0x15e),'value':z(0x196)},{'name':z(0x16b),'value':'server'},{'name':z(0x190),'value':'both'}]},{colLocAnswer:o}=await Actions[z(0x185)](n);o?b[z(0x15f)]=o:b['where']=z(0x17d);}const m=[z(0x17d),'client',z(0x160)];if(!m[z(0x195)](b[z(0x15f)])){Log[z(0x173)](z(0x159));throw new UsageError();}switch(b['where']){case'both':b[z(0x16c)]=z(0x194);break;case z(0x160):b[z(0x16c)]=z(0x160);break;case z(0x196):b[z(0x16c)]=z(0x196);break;default:b[z(0x16c)]='';}}return await this[z(0x197)]['call'](this,c,b);}catch(p){this[z(0x153)](p);}});}['listGenerators'](){const A=a97t;this[A(0x15b)](this[A(0x198)]);}[a97t(0x153)](a){const B=a97t,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this[B(0x185)];Log['usage'](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[B(0x1a7)](B(0x1a2)),this['tableList'](this[B(0x198)]);else{if(a instanceof MustBeInProjectError)Log[B(0x173)](B(0x17b));else{if(a instanceof NoMeteorFoundError)Log[B(0x173)](B(0x188)),Log[B(0x1a7)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[B(0x173)](B(0x18d));}}}[a97t(0x15b)](a){const C=a97t,b=new a97f({});b['push'](['Name',C(0x1a6),'Description']),a[C(0x1ad)]((c,d)=>{const D=C;return c['name'][D(0x19f)](d['name']);})['forEach'](c=>{const E=C;b[E(0x19a)]([c[E(0x19d)],c[E(0x192)](),c['shortDesc']()]);}),Log[C(0x17e)](b[C(0x158)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=-parseInt(f(0xf9))/0x1*(-parseInt(f(0xfe))/0x2)+-parseInt(f(0xfd))/0x3+parseInt(f(0x106))/0x4*(parseInt(f(0xfa))/0x5)+parseInt(f(0x102))/0x6+parseInt(f(0xff))/0x7*(parseInt(f(0x103))/0x8)+-parseInt(f(0xfb))/0x9+-parseInt(f(0x104))/0xa*(parseInt(f(0x101))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0xe0fc1));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a[h(0x105)]()['search']('(((.+)+)+)+$')[h(0x105)]()['constructor'](a98a)[h(0x100)](h(0xfc));});a98a();import'./services/_index.js';import'./api.js';function a98c(){var i=['10681992YHkQKg','440jELxpa','20mAdpTm','toString','66376vWppiR','apply','745qNaKBB','505CuIbgf','10247004UzncDF','(((.+)+)+)+$','4313307LDpyma','4254dyZHbB','196525OfHszx','search','16979622ZQGlvg'];a98c=function(){return i;};return a98c();}import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xf8;var f=c[d];return f;},a98d(a,b);}import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99x=a99d;(function(a,b){const u=a99d,c=a();while(!![]){try{const d=parseInt(u(0x204))/0x1+-parseInt(u(0x20a))/0x2*(parseInt(u(0x202))/0x3)+-parseInt(u(0x21e))/0x4*(parseInt(u(0x225))/0x5)+-parseInt(u(0x22f))/0x6+-parseInt(u(0x21c))/0x7+parseInt(u(0x212))/0x8+-parseInt(u(0x22e))/0x9*(-parseInt(u(0x20f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0xa8b5f));const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a99d;if(c){const e=c[v(0x214)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const w=a99d;return a99a[w(0x206)]()[w(0x1fd)](w(0x217))['toString']()[w(0x1fb)](a99a)[w(0x1fd)](w(0x217));});a99a();function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a99d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a99e from'../generators/maka.gen.js';function a99c(){const A=['rewriteDestinationPathForEngine','TypeDefs\x20}\x20from\x20\x27','9YtVqkZ','1506942rxnzln','none','.app-tests.','index.','-api\x27;','template','mongo','checkbox','withRest','api/register-api.js','if\x20\x5c(typeList','fsi','test','api/fixtures.js','apollo','processAndRunGenerator','getMakaProjectConfig','withValue','Fixtures','server','rpc-methods.','/imports/api','api/methods.js','injectIntoFile','\x27;\x0a','startup','error','const','withFixtures','maka:rest','publications.','api/resolvers.js','pathFromApp','typeDefs.','withGql','dir','import\x20{\x20typeDefs\x20as\x20','graphql','constructor','fixtures.','search','apiAnswers','api/tests.js','engines','resolverList.push(','6ZMIhaR','TypeDefs);\x0a','191909XDBmtb','create','toString','RPC\x20(Methods)','/graphql/resolvers','length','1164188tARZXG','typeList.push(','includes','import\x20\x27./register-','exit','25369390MUiPWl','ddp-rate-limiter','REST\x20API','6991032aQidjC','/graphql/typeDefs','apply','API\x20boundaries\x20to\x20create','api/api.js','(((.+)+)+)+$','rest','imports','rest-api.','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','7747446OZAzSn','tsx','34628IdlWhi','options','resolvers.','maka:check','push','\x0aimport\x20{\x20resolvers\x20as\x20','register-','225mMFyir','injectAtBeginningOfFile','api','api/publications.js','withPubs','checkMeteorPackage','withMethods'];a99c=function(){return A;};return a99c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a99x(0x205)]({'name':a99x(0x227),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a99x(0x21b),'validOpts':['dir'],'examples':['maka\x20g:api\x20Todos'],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const y=a99x;try{const c=this[y(0x23a)][y(0x23f)](),d=[{'name':y(0x207),'value':y(0x22b)},{'name':y(0x241),'value':y(0x1f1)},{'name':'Publications','value':y(0x229)}];c['engines']['api']===y(0x218)&&d[y(0x222)]({'name':y(0x211),'value':'withRest'});c[y(0x200)]['graphql']===y(0x23d)&&d[y(0x222)]({'name':'GraphQL','value':y(0x1f7)});const f={'type':y(0x236),'name':y(0x1fe),'message':y(0x215),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x21f)](f);g[y(0x209)]===0x0&&(Log[y(0x1ef)]('No\x20API\x20boundaries\x20selected'),process['exit'](0x1)),await this['fsi'][y(0x240)](c,async()=>{const z=y,h=b['resourceName'],i=paramCase(h),j=camelCase(h),k=b['dir']?'/'+b[z(0x1f8)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x200)][z(0x227)],'graphql':c[z(0x200)][z(0x1fa)],'test':c['engines'][z(0x23b)],'noRename':!![],'withPubs':g[z(0x20c)](z(0x229)),'withFixtures':g[z(0x20c)]('withFixtures'),'withMethods':g[z(0x20c)](z(0x22b)),'withRest':g['includes'](z(0x237))};let m='js';c[z(0x200)]['js']===z(0x21d)&&(m='ts');await this[z(0x23a)][z(0x22a)]([z(0x1f2),z(0x221),z(0x210),'mdg:validated-method',z(0x235)],{'shouldInstall':!![]}),await a99e[z(0x23e)]('collection',[i],{'config':c,'where':z(0x1e8)});c[z(0x200)][z(0x227)]===z(0x218)&&(l[z(0x237)]&&await this[z(0x23a)]['template']({'srcPath':z(0x216),'destPath':this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,z(0x21a)+m]}),'context':l,'config':c}));l[z(0x22b)]&&await this[z(0x23a)][z(0x234)]({'srcPath':z(0x1eb),'destPath':this['fsi'][z(0x1f5)]({'pathParts':['imports',z(0x227),b[z(0x1f8)],i,z(0x1e9)+m]}),'context':l,'config':c});l['withFixtures']&&await this[z(0x23a)][z(0x234)]({'srcPath':z(0x23c),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,z(0x1fc)+m]}),'context':l,'config':c});c[z(0x200)][z(0x23b)]!==z(0x230)&&this[z(0x23a)][z(0x234)]({'srcPath':z(0x1ff),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,i+z(0x231)+m]}),'context':l,'config':c});l[z(0x229)]&&await this['fsi'][z(0x234)]({'srcPath':z(0x228),'destPath':this['fsi']['pathFromApp']({'pathParts':['imports',z(0x227),b[z(0x1f8)],i,z(0x1f3)+m]}),'context':l,'config':c});if(c['engines']['graphql']===z(0x23d)){if(g[z(0x20c)](z(0x1f7))){const o=this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),z(0x1e8),z(0x232)+c[z(0x200)]['js']]}),p=this[z(0x23a)][z(0x22c)]({'pathParts':[o],'config':c}),q=this['fsi'][z(0x1f5)]({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,'graphql',z(0x1f6)+m]}),r=z(0x1ea)+k+i+z(0x213);this[z(0x23a)][z(0x234)]({'srcPath':'api/typeDefs.js','destPath':q,'context':l,'config':c}),await this[z(0x23a)]['injectAtBeginningOfFile']({'filePath':p,'content':z(0x1f9)+j+z(0x22d)+r+z(0x1ed)}),await this[z(0x23a)][z(0x1ec)]({'filePath':p,'content':z(0x20b)+j+z(0x203),'begin':z(0x1f0),'end':z(0x239)});const s=this[z(0x23a)]['pathFromApp']({'pathParts':[z(0x219),z(0x227),b[z(0x1f8)],i,'graphql',z(0x220)+m]}),t=z(0x1ea)+k+i+z(0x208);await this[z(0x23a)][z(0x234)]({'srcPath':z(0x1f4),'destPath':s,'context':l,'config':c}),await this[z(0x23a)][z(0x226)]({'filePath':p,'content':z(0x223)+j+'Resolvers\x20}\x20from\x20\x27'+t+'\x27;'}),await this['fsi']['injectIntoFile']({'filePath':p,'content':z(0x201)+j+'Resolvers);\x0a\x0a','begin':'const','end':z(0x239)});}}await this[z(0x23a)][z(0x234)]({'srcPath':z(0x238),'destPath':this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),z(0x1e8),z(0x224)+i+'-api.'+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x23a)][z(0x1f5)]({'pathParts':[z(0x219),z(0x1ee),'server','index.'+c['engines']['js']]});await this[z(0x23a)]['injectAtEndOfFile']({'filePath':n,'content':z(0x20d)+i+z(0x233)});});}catch(h){console[y(0x1ef)](h),process[y(0x20e)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a100m=a100d;(function(a,b){const j=a100d,c=a();while(!![]){try{const d=parseInt(j(0x8f))/0x1*(parseInt(j(0x75))/0x2)+parseInt(j(0x81))/0x3+parseInt(j(0x8b))/0x4*(parseInt(j(0x84))/0x5)+-parseInt(j(0x88))/0x6+parseInt(j(0x8e))/0x7+parseInt(j(0x72))/0x8*(-parseInt(j(0x91))/0x9)+-parseInt(j(0x79))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x93bbf));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a100d;if(c){const e=c[k(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x71)]()['search'](l(0x89))['toString']()[l(0x87)](a100a)['search'](l(0x89));});a100a();import{paramCase,pascalCase}from'change-case';function a100c(){const p=['pathFromApp','test','injectAtEndOfFile','tsx','none','collection/tests.js','toString','3552oEoFoe','mongo','import\x20\x27./collections','1930386muNVPf','template','create','checkMeteorPackage','7133310FyiJyJ','collection','startup','imports','dir','col','error','resourceName','2414625qskqpX','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','getMakaProjectConfig','38405mSGZgJ','collection/collection.js','collections','constructor','4908516rXqbCE','(((.+)+)+)+$','where','452OOQLpS','.app-tests.','fsi','1366057EqPvkK','1trsxwP','engines','14121hzlUDW','apply','appPathPrefix','index.'];a100c=function(){return p;};return a100c();}import{Generator}from'../generator.js';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x6c;let f=c[d];return f;},a100d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a100m(0x77)]({'name':a100m(0x7a),'aliases':[a100m(0x7e)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':['dir',a100m(0x8a)],'description':a100m(0x82),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a100m;try{const c=this['fsi'][n(0x83)]();await this[n(0x8d)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x80)]),f={'name':pascalCase(b[o(0x80)]),'collectionName':pascalCase(b['resourceName']),'fileName':d,'where':b[o(0x8a)],'test':c[o(0x90)][o(0x6c)],'noRename':!![]};let g='js';c[o(0x90)]['js']===o(0x6e)&&(g='ts');await this['fsi'][o(0x78)]([o(0x73),'maka:check'],{'shouldInstall':!![]}),await this[o(0x8d)][o(0x76)]({'srcPath':o(0x85),'destPath':this[o(0x8d)][o(0x95)]({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x86),b['dir'],d+'.'+g]}),'context':f,'config':c});c[o(0x90)]['test']!==o(0x6f)&&await this[o(0x8d)][o(0x76)]({'srcPath':o(0x70),'destPath':this[o(0x8d)]['pathFromApp']({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x86),b[o(0x7d)],d+o(0x8c)+g]}),'context':f,'config':c});const h=b[o(0x7d)]?'/'+b[o(0x7d)]+'/':'/',i=this[o(0x8d)][o(0x95)]({'pathParts':[o(0x7c),o(0x7b),b[o(0x93)],o(0x94)+c[o(0x90)]['js']]});await this[o(0x8d)][o(0x6d)]({'filePath':i,'content':o(0x74)+h+d+'\x27;'});});}catch(d){Log[n(0x7f)](d);}});
|