@maka/maka-cli 4.7.12 → 4.7.14
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/.vs/VSWorkspaceState.json +15 -0
- package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/4c0a1daa-da96-4fc9-bf6f-ad5a9148b26c.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 +1016 -0
- 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/README.md +21 -21
- package/bundle/obf/package.json +127 -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 +127 -127
- package/tsconfig.json +23 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82p=a82d;(function(a,b){const n=a82d,c=a();while(!![]){try{const d=parseInt(n(0xe1))/0x1*(-parseInt(n(0xf9))/0x2)+parseInt(n(0x102))/0x3*(-parseInt(n(0xf7))/0x4)+parseInt(n(0xdf))/0x5+-parseInt(n(0xf2))/0x6*(parseInt(n(0xed))/0x7)+parseInt(n(0xdc))/0x8*(-parseInt(n(0xda))/0x9)+parseInt(n(0xf3))/0xa*(parseInt(n(0xf5))/0xb)+parseInt(n(0xe5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x87d06));const a82b=(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;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xd9)]()['search'](o(0xe4))['toString']()[o(0xf1)](a82a)[o(0xeb)](o(0xe4));});a82a();import a82e from'fs';import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xd7;let f=c[d];return f;},a82d(a,b);}function a82c(){const r=['constructor','570846utBmWz','286570yVhHIE','readFileSync','77UkXzLu','Reconfigure\x20your\x20deployed\x20applications','38716ocpeyp','~/pm2.config.js','58424oTnDAP','create','uname\x20-a','fsi','Checking\x20remote\x20host\x20availability','settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','env','existsSync','327ymBSqd','Remote\x20host\x20connection\x20successful','scp','toString','747XcyPyD','\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\x20\x20','5872WbdWTP','notice','error','3334720MjtVbq','~/ses.json','32vopxUI','ssh','maka\x20reconfig','(((.+)+)+)+$','26582076youtUw','ses.json','getAppConfigPath','parse','reconfig','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','search','sshSync','35uMFGiH','pm2.config.js','join','exit'];a82c=function(){return r;};return a82c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a82p(0xfa)]({'name':a82p(0xe9),'validOpts':[''],'requiredOpts':[a82p(0x100)],'mustBeInMakaProject':!![],'usage':a82p(0xe3),'isPro':!![],'shortDesc':a82p(0xf6),'description':a82p(0xdb),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const q=a82p;try{const c=this[q(0xfc)][q(0xe7)](b[q(0x100)]),d=a82f[q(0xef)](c,'ssh.json'),f=a82e[q(0xf4)](d)['toString'](),g=JSON[q(0xe8)](f);Object['assign'](g,{'env':c}),Log[q(0xdd)](q(0xfd));const h=SSH['ping'](q(0xfb),g);if(!h)throw q(0xff);if(h)Log['success'](q(0xd7));const i=a82f[q(0xef)](c,'_keys',q(0xe6));if(a82e[q(0x101)](i)){const l={'source':i,'dest':q(0xe0),'verbose':!![]};SSH[q(0xd8)](l,{...g});}const j=a82f['join'](c,q(0xee));SSH[q(0xd8)]({'source':j,'dest':q(0xf8),'verbose':!![]},{...g});const k=a82f[q(0xef)](c,q(0xfe));SSH[q(0xd8)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[q(0xec)]('pm2\x20delete\x20all',g),await SSH[q(0xe2)](q(0xea),{...g},{'verbose':!![]});}catch(m){console[q(0xde)](m),process[q(0xf0)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0xc5))/0x1*(parseInt(f(0xc0))/0x2)+parseInt(f(0xc7))/0x3*(parseInt(f(0xbf))/0x4)+-parseInt(f(0xca))/0x5*(parseInt(f(0xcb))/0x6)+-parseInt(f(0xc4))/0x7+-parseInt(f(0xc3))/0x8+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xcd))/0xa)+parseInt(f(0xc9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xd5676));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0xc1)]()[h(0xc8)](h(0xcc))[h(0xc1)]()[h(0xc6)](a85a)[h(0xc8)]('(((.+)+)+)+$');});function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xbe;var f=c[d];return f;},a85d(a,b);}a85a();import'./run.command.js';import'./docker.sub.cmd.js';function a85c(){var i=['47440679QMeRDh','188830xFOhIg','174dXDweD','(((.+)+)+)+$','19120XBnkiz','apply','204PNXlSz','6ORrkLT','toString','1386XOGxAX','2955200IsoPSX','10883705FGKMMO','481189Hlivoq','constructor','42933EhjuJi','search'];a85c=function(){return i;};return a85c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83m=a83d;(function(a,b){const j=a83d,c=a();while(!![]){try{const d=-parseInt(j(0x10d))/0x1+parseInt(j(0x11f))/0x2+parseInt(j(0x120))/0x3*(parseInt(j(0x11e))/0x4)+-parseInt(j(0x117))/0x5*(-parseInt(j(0x113))/0x6)+-parseInt(j(0x123))/0x7+-parseInt(j(0x114))/0x8+parseInt(j(0x10e))/0x9*(parseInt(j(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xa654f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a83d;if(c){const e=c[k(0x10f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const l=a83d;return a83a['toString']()[l(0x125)](l(0x124))[l(0x107)]()[l(0x118)](a83a)[l(0x125)](l(0x124));});a83a();import a83e from'./run.command.js';import{execSync}from'child_process';function a83c(){const o=['fsi','\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','20OOqIdK','2400040dFeLOi','69699EskdSq','http://localhost','1153660jgNeSc','5068672yGfPjn','(((.+)+)+)+$','search','docker-compose.yaml','docker','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','toString','inherit','getAppConfigPath','\x20up\x20--remove-orphans','join','maka\x20run\x20docker','513023KTCtKf','63CHmPOS','apply','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','getMakaProjectConfig','6HFGjkj','7917136zdCggS','createFile','appName','3921545eBilZC','constructor','notice','templateContent','exit'];a83c=function(){return o;};return a83c();}import a83f from'path';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x106;let f=c[d];return f;},a83d(a,b);}import a83g from'fs';import a83h from'open';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':a83m(0x106),'description':a83m(0x11d),'usage':a83m(0x10c),'isPro':!![],'validOpts':['']},async function(){const n=a83m;try{const a=this[n(0x11c)][n(0x112)](),b=this['fsi'][n(0x109)](n(0x127)),c=a83f[n(0x10b)](b,n(0x126)),d=a83f[n(0x10b)](b,'pm2.config.js');Log[n(0x119)](n(0x111)+d),Log[n(0x119)]('Docker\x20Compose\x20Path:\x20'+c);if(!a83g['existsSync'](c)){const f={'app':a[n(0x116)],'appFileCase':paramCase(a[n(0x116)])},g=this[n(0x11c)][n(0x11a)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[n(0x11c)][n(0x115)]({'filePath':c,'data':g});}try{await a83h(n(0x121));}catch(h){}execSync(n(0x110)+b+n(0x10a),{'stdio':n(0x108)});}catch(i){process[n(0x11b)](0x1);}},a83e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a84t=a84d;(function(a,b){const p=a84d,c=a();while(!![]){try{const d=parseInt(p(0x1f3))/0x1+parseInt(p(0x1fd))/0x2+parseInt(p(0x1ff))/0x3+-parseInt(p(0x1e7))/0x4+-parseInt(p(0x1d8))/0x5+-parseInt(p(0x1dc))/0x6+parseInt(p(0x204))/0x7*(parseInt(p(0x1e0))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x53209));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a84d;if(c){const e=c[q(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const r=a84d;return a84a[r(0x1db)]()['search'](r(0x1d2))['toString']()['constructor'](a84a)['search'](r(0x1d2));});function a84c(){const w=['app','Node\x20Env\x20Config:\x20','settings','49wPFMsr','inspect','port','getAppConfigPath','isFile','mobileServer','excludeArchs','android','createFile','run','boolean','local','config','http://localhost:','exit','(((.+)+)+)+$','--production','isDirectory','split','rawLogs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1551985hRnbmN','notice','length','toString','2373198CqhykL','fsi','push','filter','131176MsoecC','sep','argv','verbose','splice','Meteor\x20Settings:\x20','forEach','2352808DXGlOY','invokeMeteorCommand','checkMeteorPackage','slice','settings.json','--settings','concat','env','.meteor','\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','production','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)','640605RZdEEq','cordova-build','ios','apply','join','development','web.browser.legacy','warn','extraPackages','findProjectDirectory','812950rJJtgf','autoupdate','1418286XugJuq','error'];a84c=function(){return w;};return a84c();}function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a84d(a,b);}a84a();import a84e from'path';import a84f from'fs';import a84g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a84h from'open';const syncSource=function(a){const s=a84d;a84f['openSync'](a,'r'),a84g[s(0x210)]({'path':a});},Run=Command['create']({'name':a84t(0x20d),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a84t(0x1f0),'validOpts':[a84t(0x1ee),a84t(0x1d6),a84t(0x206),a84t(0x205),a84t(0x209),a84t(0x1e3),'allowIncompatibleUpdate',a84t(0x1fb),'x',a84t(0x20a),'production','ci']},async function(a,b){const u=a84t;try{await this[u(0x1dd)][u(0x1e9)](u(0x1fe),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x1f5)){const l=this[u(0x1dd)][u(0x1fc)](),m=a84e[u(0x1f7)](l,u(0x201),u(0x1ef),u(0x20f),u(0x1f4));this['fsi'][u(0x1d4)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[u(0x1ed)](['--exclude-archs',u(0x1f9)]));if(b[u(0x209)]&&typeof b[u(0x209)]===u(0x20e))throw u(0x1f2);const d=b[u(0x1ee)]?b[u(0x1ee)]:u(0x1f8),f=this[u(0x1dd)][u(0x207)](d),g=a84e['join'](f,'process.env');let h=a84e[u(0x1f7)](f,u(0x1eb));b['settings']?h=b[u(0x203)]:h=a84e['join'](f,u(0x1eb));this[u(0x1dd)][u(0x208)](g)?(Log['notice'](u(0x202)+g),syncSource(g)):(Log['info']('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+g),this['fsi'][u(0x20c)]({'filePath':g,'data':''}));this[u(0x1dd)][u(0x208)](h)?(Log[u(0x1d9)](u(0x1e5)+h),a=a[u(0x1ed)]([u(0x1ec),h])):Log[u(0x1fa)](u(0x1d7)+h);const i=f[u(0x1d5)](a84e[u(0x1e1)]),j=i[i[u(0x1da)]-0x1];j===u(0x1f1)&&a[u(0x1de)](u(0x1d3));const k=process[u(0x1e2)][u(0x1ea)](0x2)[u(0x1df)](n=>n!==u(0x20d))['filter'](n=>n!==a[0x0]);k[u(0x1e6)]((n,o)=>{const v=u;n==='--env'&&k[v(0x1e4)](o,0x2),n==='-e'&&k['splice'](o,0x2);});try{c!=='ios'&&c!==u(0x20b)&&await a84h(u(0x211)+(b[u(0x206)]||0xbb8));}catch(n){}this['fsi'][u(0x1e8)](u(0x20d),a[u(0x1ed)](k));}catch(o){Log[u(0x200)](o),process[u(0x1d1)](0x1);}});export default Run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x95))/0x1+-parseInt(f(0xa3))/0x2*(-parseInt(f(0x96))/0x3)+-parseInt(f(0x9d))/0x4*(parseInt(f(0xa2))/0x5)+-parseInt(f(0x9f))/0x6*(parseInt(f(0x98))/0x7)+-parseInt(f(0x9e))/0x8+-parseInt(f(0x9a))/0x9*(parseInt(f(0x9c))/0xa)+parseInt(f(0xa1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x39cee));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x97)](h(0xa0))[h(0x99)]()[h(0xa4)](a89a)[h(0x97)]('(((.+)+)+)+$');});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x95;var f=c[d];return f;},a89d(a,b);}function a89c(){var i=['1164256JmdkHp','178962iLtNEw','(((.+)+)+)+$','16105584JTpdSm','335uoZCDN','2TwiHzO','constructor','311458RCgYtn','587415ZjZVnb','search','28qeTZoY','toString','27yoMXYc','apply','1423490NogsUo','25064cZQsaP'];a89c=function(){return i;};return a89c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86k=a86d;(function(a,b){const h=a86d,c=a();while(!![]){try{const d=-parseInt(h(0x8b))/0x1+-parseInt(h(0xaa))/0x2+parseInt(h(0xb6))/0x3*(-parseInt(h(0x95))/0x4)+parseInt(h(0xa6))/0x5*(-parseInt(h(0x8e))/0x6)+parseInt(h(0xa8))/0x7+parseInt(h(0xac))/0x8+parseInt(h(0xae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x98c47));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a86d;if(c){const e=c[i(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const j=a86d;return a86a[j(0x8c)]()[j(0x9b)]('(((.+)+)+)+$')[j(0x8c)]()[j(0x96)](a86a)[j(0x9b)](j(0xa9));});a86a();function a86c(){const m=['help','Set\x20workspace:\x20','success','dark','search','maka\x20set:global-config\x20--cacert\x20<path>','isFile','maka\x20set:gc\x20--workspace\x20<path>','setGlobalConfig','allowInsecure','apply','isDirectory','\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','openai','resolve','3773090BYJdtG','maka\x20set:global-config','7727664EDbLQq','(((.+)+)+)+$','2088122iUhtWD','pallet','5650664DAnvAA','maka\x20set:gc\x20--insecure\x20<path>','17417628uSVLTD','cacert','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20allowInsecure:\x20','disallowInsecure','One\x20or\x20the\x20other\x20buddy','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','24CPYgtd','722235cROeEA','toString','global-config','6zweNIK','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','Set\x20color\x20pallet\x20to:\x20','error','workspace','fsi','299464zMAvic','constructor'];a86c=function(){return m;};return a86c();}import a86e from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x8b;let f=c[d];return f;},a86d(a,b);}import a86f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a86k(0x8d),'usage':a86k(0xa7),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a86k(0xaf),'boolFlag':![]},{'name':a86k(0xa0),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a86k(0x93),'boolFlag':![]},{'name':a86k(0xa4),'boolFlag':![]},{'name':a86k(0x97),'boolFlag':!![]},{'name':a86k(0xab),'values':['light',a86k(0x9a)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a86k(0xa3),'examples':[a86k(0x9c),a86k(0xad),a86k(0x9e)]},async function(a,b){const l=a86k;try{if(b['cacert']){if(this['fsi'][l(0x9d)](b[l(0xaf)]))await this['fsi'][l(0x9f)]({'cert':b['cacert']}),Log[l(0x99)](l(0x90)+b[l(0xaf)]);else{const c=typeof b['cacert']==='boolean'?l(0xb0):l(0xb4)+b[l(0xaf)];throw Log[l(0x92)](c);}}if(b[l(0x93)]){const d=this[l(0x94)][l(0xa2)](b[l(0x93)]);if(d)await this[l(0x94)][l(0x9f)]({'workspace':a86e['resolve'](b[l(0x93)])}),Log[l(0x99)](l(0x98)+a86e[l(0xa5)](b[l(0x93)]));else throw Log['error'](l(0x8f));}b['openai']&&(await this['fsi'][l(0x9f)]({'openai':b[l(0xa4)]}),Log[l(0x99)]('Set\x20OpenAI\x20Key:\x20'+b[l(0xa4)]));b[l(0xab)]&&(await this[l(0x94)]['setGlobalConfig']({'pallet':b[l(0xab)]}),Log['success'](l(0x91)+b[l(0xab)]));if(b['allowInsecure']){if(b[l(0xa0)]&&b[l(0xb2)])throw Log[l(0x92)](l(0xb3));let f=b[l(0xa0)];b[l(0xb2)]&&(f=![]),await this[l(0x94)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x99)](l(0xb1)+f);}process['exit'](0x0);}catch(g){console[l(0x92)](g),process[l(0xb5)](0x0);}},a86f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a87i=a87d;(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x199))/0x1+-parseInt(f(0x197))/0x2+parseInt(f(0x1a3))/0x3+parseInt(f(0x19d))/0x4+parseInt(f(0x1a0))/0x5*(parseInt(f(0x196))/0x6)+parseInt(f(0x1a2))/0x7+parseInt(f(0x19e))/0x8*(-parseInt(f(0x19a))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x45789));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1a1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x1a6)]()[h(0x19f)](h(0x1a5))[h(0x1a6)]()[h(0x19b)](a87a)[h(0x19f)](h(0x1a5));});a87a();function a87c(){var k=['840474qhXKTV','local-config','(((.+)+)+)+$','toString','2941134rOSRnU','536228eMVJtJ','notice','173993goxjcL','9adkFxN','constructor','maka\x20set:local-config','978384pEOnQP','8200240MGMpvc','search','5koCHUp','apply','2721327TmiWdb'];a87c=function(){return k;};return a87c();}import a87e from'./set.command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x196;var f=c[d];return f;},a87d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a87i(0x1a4),'usage':a87i(0x19c),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a87i;Log[j(0x198)]('Sorry,\x20not\x20implemented\x20yet');},a87e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88i=a88d;(function(a,b){const f=a88d,c=a();while(!![]){try{const d=parseInt(f(0x10b))/0x1+parseInt(f(0x10a))/0x2*(-parseInt(f(0xfe))/0x3)+parseInt(f(0xff))/0x4*(-parseInt(f(0x104))/0x5)+-parseInt(f(0x10c))/0x6+-parseInt(f(0x105))/0x7*(parseInt(f(0xfd))/0x8)+-parseInt(f(0x106))/0x9+parseInt(f(0x101))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5d71f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a88d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const h=a88d;return a88a[h(0x109)]()[h(0x111)](h(0x103))['toString']()[h(0x108)](a88a)[h(0x111)](h(0x103));});a88a();function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xfd;let f=c[d];return f;},a88d(a,b);}function a88c(){const k=['apply','(((.+)+)+)+$','428555QBLJaQ','175231mcslAo','5357349xumEmh','set','constructor','toString','2HzITJn','26333Zmubhk','4084446RXBQFO','runSubCommand','maka\x20set:<sub-command>','\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','create','search','8OKzgNO','1158444wnyehP','20YXAhQO','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','24721560wrVMDD'];a88c=function(){return k;};return a88c();}import{Command}from'../../command.js';const SetCommand=Command[a88i(0x110)]({'name':a88i(0x107),'usage':a88i(0x10e),'shortDesc':a88i(0x100),'description':a88i(0x10f),'validOpts':[]},async function(a,b){const j=a88i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0x10d)](c,a,b);});export default SetCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90m=a90d;(function(a,b){const j=a90d,c=a();while(!![]){try{const d=parseInt(j(0x19b))/0x1*(parseInt(j(0x19a))/0x2)+-parseInt(j(0x1a0))/0x3+parseInt(j(0x1aa))/0x4*(parseInt(j(0x18e))/0x5)+parseInt(j(0x19e))/0x6*(-parseInt(j(0x192))/0x7)+parseInt(j(0x1a4))/0x8*(parseInt(j(0x18d))/0x9)+-parseInt(j(0x19d))/0xa+parseInt(j(0x196))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xdd0dd));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a90d;if(c){const e=c[k(0x18f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const l=a90d;return a90a['toString']()[l(0x190)]('(((.+)+)+)+$')[l(0x197)]()['constructor'](a90a)[l(0x190)](l(0x193));});a90a();function a90c(){const o=['(((.+)+)+)+$','getAppConfigPath','assign','11038731KLWWIL','toString','maka\x20ssh\x20--env\x20prod','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','1299686kSyBIX','2rmzUmr','readFileSync','14031840UmcECX','461190InDsjQ','maka\x20ssh\x20--env\x20staging','2832105cGwJob','maka\x20ssh\x20<command>','ssh','env','16IMprmE','length','error','exit','create','sshSync','5288mRtOwZ','4269123zgKEvM','875cbEbOz','apply','search','verbose','21gwgQZI'];a90c=function(){return o;};return a90c();}import a90e from'fs';import a90f from'path';import{Command}from'../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x18d;let f=c[d];return f;},a90d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a90m(0x1a8)]({'name':a90m(0x1a2),'usage':a90m(0x1a1),'mustBeInMakaProject':!![],'requiredOpts':[a90m(0x1a3)],'validOpts':[a90m(0x1a3),a90m(0x191)],'isPro':!![],'shortDesc':a90m(0x199),'examples':['maka\x20ssh\x20--env\x20dev',a90m(0x19f),a90m(0x198),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a90m;try{const c=this['fsi'][n(0x194)](b[n(0x1a3)]);let d='';a[n(0x1a5)]>0x0&&(d=a[0x0]);const f=a90f['join'](c,'ssh.json'),g=a90e[n(0x19c)](f)[n(0x197)](),h=JSON['parse'](g);Object[n(0x195)](h,{'env':c}),SSH[n(0x1a9)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x191)]});}catch(i){Log[n(0x1a6)](i),process[n(0x1a7)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x188;let f=c[d];return f;},a91d(a,b);}const a91y=a91d;(function(a,b){const v=a91d,c=a();while(!![]){try{const d=-parseInt(v(0x1c5))/0x1+-parseInt(v(0x189))/0x2+parseInt(v(0x19d))/0x3*(parseInt(v(0x18b))/0x4)+-parseInt(v(0x1aa))/0x5*(parseInt(v(0x1b2))/0x6)+parseInt(v(0x1c3))/0x7*(-parseInt(v(0x18c))/0x8)+-parseInt(v(0x19f))/0x9+parseInt(v(0x198))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x4e780));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a91d;if(c){const e=c[w(0x1b0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const x=a91d;return a91a[x(0x1c1)]()[x(0x1bc)](x(0x19e))[x(0x1c1)]()[x(0x196)](a91a)[x(0x1bc)](x(0x19e));});a91a();import a91e from'fs';import a91f from'path';import{Actions}from'../tools/actions/actions.class.js';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';function a91c(){const A=['getMakaProjectConfig','26184530zlXpOY','\x20--email\x20','existsSync','writeFileSync','letsencrypt','14103BxOKOf','(((.+)+)+)+$','3862908khHKRl','appName','fsi','Using\x20saved\x20letsencrypt\x20config','letsencrypt.json','Checking\x20remote\x20host\x20availability','parse','domainNames','genSSC','ssh','exit','2689325rcgLUp','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','start','error','.crt','email','apply','stringify','6nJovtw','New\x20CSR\x20written\x20to\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ssl','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','genCSR','[?]\x20Domains\x20to\x20register:\x20','.csr','readFileSync','ask','search','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','assign','env','toString','/ssh.json','965958gAAZGq','create','416477nludzP','Verifying\x20Letsencrypt\x20configuration','Remote\x20host\x20connection\x20successful','success','788844PmzCVe','.key','28epwgpF','32MQvkcS','sudo\x20snap\x20install\x20--classic\x20certbot','Email\x20to\x20use\x20for\x20auto-updates:\x20','domains','withSpinner','join','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','mkKeysDir','constructor'];a91c=function(){return A;};return a91c();}Command[a91y(0x1c4)]({'name':a91y(0x1b5),'usage':'maka\x20ssl\x20[command]','validOpts':[a91y(0x18f),a91y(0x1af)],'requiredOpts':[a91y(0x1c0)],'shortDesc':a91y(0x1b4),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a91y(0x1bd),a91y(0x1ab),a91y(0x192)]},async function(a,b){const z=a91y,c=this[z(0x1a1)][z(0x197)](),d=this[z(0x1a1)]['getAppConfigPath'](b['env']),f=this['fsi'][z(0x195)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x1b7)]({'keyName':c[z(0x1a0)]+z(0x18a),'csrName':c[z(0x1a0)]+z(0x1b9),'cwd':f});else{if(g==='generate-ssc'){if(!a91e[z(0x19a)](a91f[z(0x191)](f,c[z(0x1a0)]+z(0x18a))))throw z(0x1b6)+a91f['join'](f,c[z(0x1a0)]+z(0x18a));if(!a91e[z(0x19a)](a91f[z(0x191)](f,c[z(0x1a0)]+z(0x1b9))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a91f[z(0x191)](f,c[z(0x1a0)]+z(0x1b9));SSL[z(0x1a7)]({'keyName':c['appName']+z(0x18a),'crtName':c[z(0x1a0)]+z(0x1ae),'cwd':f}),Log['notice'](z(0x1b3)+f);}else{if(g===z(0x19c)){let h=b[z(0x18f)],i=b[z(0x1af)];try{const p=a91e[z(0x1ba)](a91f[z(0x191)](d,z(0x1a3)))[z(0x1c1)](),q=JSON[z(0x1a5)](p);h=b[z(0x18f)]?b[z(0x18f)]:q[z(0x1a6)],i=b[z(0x1af)]?b[z(0x1af)]:q['emailUpdate'],(!b['email']||!b[z(0x18f)])&&Log['notice'](z(0x1a2));}catch(r){}const j=JSON[z(0x1a5)](a91e[z(0x1ba)](d+z(0x1c2))[z(0x1c1)]());Object[z(0x1bf)](j,{'env':d}),Log['notice'](z(0x1a4));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x188)](z(0x1c7));}catch(t){Log[z(0x1ad)](t);return;}const k=Log[z(0x190)]();k[z(0x1ac)](z(0x1c6)),SSH[z(0x1a8)](z(0x1be),{...j}),SSH[z(0x1a8)](z(0x18d),{...j}),SSH['ssh'](z(0x193),{...j}),k[z(0x188)]();const l=h?h:await Actions[z(0x1bb)](z(0x1b8)),m=i?i:await Actions[z(0x1bb)](z(0x18e));SSH[z(0x1a8)](z(0x194)+l+z(0x199)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1b1)](n,null,0x2);a91e[z(0x19b)](a91f[z(0x191)](d,z(0x1a3)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x1ad)](u),process[z(0x1a9)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x195;let f=c[d];return f;},a92d(a,b);}const a92q=a92d;function a92c(){const t=['settings.json','438085ftvxkU','test-packages','toString','parse','Meteor\x20Settings:\x20','openSync','slice','4PcZoGN','(((.+)+)+)+$','--driver','sanjo:jasmine','notice','2488895mrgvSp','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','4013660BmysvO','testAppPath','19640840pXzLeo','driver','engines','invokeMeteorCommand','once','jasmine','554024DSHqXr','--packages','--settings','getAppConfigPath','argv','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','create','driverPackage','splice','constructor','none','Cannot\x20find\x20Node\x20Environment\x20File:\x20','inspect','Node\x20Env\x20Config:\x20','rawLogs','1855842JHMAaV','meteortesting:mocha','unit','isFile','search','mocha','811884jecafy','concat','packages','--env','fsi','join','error','9KLoREl','8lmnuRP','config','env','test','forEach','filter','apply','readFileSync'];a92c=function(){return t;};return a92c();}(function(a,b){const m=a92d,c=a();while(!![]){try{const d=-parseInt(m(0x195))/0x1+-parseInt(m(0x1ab))/0x2+-parseInt(m(0x1ba))/0x3+-parseInt(m(0x19c))/0x4*(-parseInt(m(0x1a1))/0x5)+-parseInt(m(0x1c0))/0x6+-parseInt(m(0x1a3))/0x7*(parseInt(m(0x1c8))/0x8)+-parseInt(m(0x1c7))/0x9*(-parseInt(m(0x1a5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x66682));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a92d;if(c){const e=c[n(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const o=a92d;return a92a[o(0x197)]()[o(0x1be)]('(((.+)+)+)+$')[o(0x197)]()[o(0x1b4)](a92a)[o(0x1be)](o(0x19d));});a92a();import a92e from'fs';import a92f from'path';import a92g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a92d;a92e[p(0x19a)](a,'r'),a92g[p(0x1c9)]({'path':a});};Command[a92q(0x1b1)]({'name':a92q(0x1cb),'mustBeInMakaProject':!![],'validOpts':[a92q(0x1a9),a92q(0x1c2),a92q(0x1a6),a92q(0x1b2),a92q(0x1bc),a92q(0x1ca),a92q(0x1b9),'port',a92q(0x1b7),a92q(0x1a4)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a92q;try{let c=this[r(0x1c4)]['getAppConfigPath']('development');b[r(0x1ca)]&&(c=this[r(0x1c4)][r(0x1ae)](b[r(0x1ca)]));(!b['unit']||!!b[r(0x1a9)])&&(a=a[r(0x1c1)](['--full-app']));b[r(0x1bc)]&&delete b[r(0x1bc)];let d=b['driver-package']||b[r(0x1a6)]||r(0x1b5);if(d==='none'){const j=JSON[r(0x198)](a92e[r(0x1cf)](a92f[r(0x1c5)](this[r(0x1c4)]['findProjectDirectory'](),'.maka','config.json'),'utf8'));if(j[r(0x1a7)][r(0x1cb)]===r(0x1aa))d=r(0x19f);else j[r(0x1a7)][r(0x1cb)]===r(0x1bf)&&(d=r(0x1bb));}if(d===r(0x1b5))throw r(0x1b0);(!b['driver-package']||!b[r(0x1a6)])&&(a=a['concat'](['--driver-package',d]));const f=a92f[r(0x1c5)](c,r(0x1d0));this[r(0x1c4)][r(0x1bd)](f)?(Log[r(0x1a0)](r(0x199)+f),a=a[r(0x1c1)]([r(0x1ad),f])):Log['warn'](r(0x1a2)+f);const g=a92f['join'](c,'process.env');this[r(0x1c4)][r(0x1bd)](g)?(Log[r(0x1a0)](r(0x1b8)+g),syncSource(g)):Log['warn'](r(0x1b6)+g);const h=process[r(0x1af)][r(0x19b)](0x2)[r(0x1cd)](k=>k!==r(0x1c3))[r(0x1cd)](k=>k!=='test')[r(0x1cd)](k=>k!==a[0x0]);h[r(0x1cc)]((k,l)=>{const s=r;(k===s(0x1c3)||k===s(0x19e))&&h['splice'](l,0x2),k===s(0x1ac)&&h[s(0x1b3)](l,0x1);});const i=b['packages']?r(0x196):r(0x1cb);this[r(0x1c4)][r(0x1a8)](i,a['concat'](h));}catch(k){console[r(0x1c6)](k),process['exit'](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93n=a93d;(function(a,b){const k=a93d,c=a();while(!![]){try{const d=parseInt(k(0x165))/0x1*(-parseInt(k(0x16b))/0x2)+-parseInt(k(0x188))/0x3+-parseInt(k(0x16a))/0x4*(parseInt(k(0x161))/0x5)+parseInt(k(0x15f))/0x6+-parseInt(k(0x164))/0x7+parseInt(k(0x170))/0x8*(-parseInt(k(0x168))/0x9)+parseInt(k(0x172))/0xa*(parseInt(k(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x8f570));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a93d;if(c){const e=c[l(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const m=a93d;return a93a[m(0x15b)]()['search'](m(0x174))[m(0x15b)]()[m(0x184)](a93a)[m(0x15d)](m(0x174));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x15b;let f=c[d];return f;},a93d(a,b);}import{execSync}from'child_process';import a93e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93c(){const p=['----------------------System----------------------------','constructor','fsi','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','25202573dgLCKt','654777dzMzCJ','replace','\x20node\x20-v','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','search','System\x27s\x20Node\x20Version\x20','4270902WlCIlf','node\x20-v','4390rgSqpU','verbose',')\x20to\x20at\x20least\x20meteor\x27s\x20(','4225655nEqEXR','188886RRGCSi','maka\x20version','isMakaProject','9csOijM','maka\x20version\x20--verbose','4036czFhqu','4YYgTgO','\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','win32','platform','exit','2641936aEqTMx','meteor.bat','10iJPour','majestic','(((.+)+)+)+$','error','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','System\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','warn','version','compareMakaToLatest','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','maka\x20v','apply','Project\x27s\x20Meteor\x20Version\x20','4.7.14','create'];a93c=function(){return p;};return a93c();}const pjson={'version':a93n(0x181)};Command[a93n(0x182)]({'name':a93n(0x17b),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a93n(0x162)],'shortDesc':a93n(0x17d),'examples':[a93n(0x17e),a93n(0x166),a93n(0x169)],'description':a93n(0x16c)},async function(a,b){const o=a93n;try{const c=process[o(0x16e)]===o(0x16d)?o(0x171):'meteor';Log[o(0x173)]('Maka\x20'+pjson['version']),await this['fsi']['compareMakaToLatest']();if(b[o(0x162)]){await this[o(0x185)][o(0x17c)](),Log[o(0x177)](o(0x183));const d=this[o(0x185)]['getGlobalMeteorVersion']();Log[o(0x177)]((o(0x178)+d)[o(0x189)]('\x0a',''));const f=execSync(c+o(0x18a))[o(0x15b)]()['replace'](/\r?\n|\r/,'')[o(0x189)]('v','');Log[o(0x177)](o(0x186)+f);const g=execSync(o(0x160))[o(0x15b)]()[o(0x189)](/\r?\n|\r/,'')[o(0x189)]('v','');a93e['gt'](f,g)?(Log[o(0x17a)](o(0x15e)+g),Log[o(0x17a)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x163)+f+')')):Log[o(0x177)]('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x167)]()){Log[o(0x177)]('----------------------Project----------------------------');const h=this[o(0x185)][o(0x179)]();a93e['gt'](d,h)?(Log[o(0x17a)](o(0x180)+h[o(0x189)]('\x0a','')),Log[o(0x17a)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log['notice']((o(0x180)+h)['replace']('\x0a',''));const i=await this[o(0x185)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x17a)](o(0x176)+i),Log[o(0x17a)](o(0x15c))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x177)]('\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');}}}catch(j){console[o(0x175)](j),process[o(0x16f)](0x0);}});
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x157))/0x1*(-parseInt(f(0x15b))/0x2)+-parseInt(f(0x15e))/0x3+-parseInt(f(0x15f))/0x4*(-parseInt(f(0x15c))/0x5)+parseInt(f(0x15d))/0x6+parseInt(f(0x158))/0x7+-parseInt(f(0x161))/0x8+-parseInt(f(0x162))/0x9*(parseInt(f(0x159))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x8653a));function a95c(){var h=['54hODozO','5290455GWAWud','2401644HHmcAG','3110274lLwwZq','4GWydQt','constructor','4977968OTqXyK','18hXrwZU','toString','(((.+)+)+)+$','941bUQVWA','7262514XsuLDO','1560340ejwRBj','search'];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(0x155)]()[g(0x15a)](g(0x156))['toString']()[g(0x160)](a95a)[g(0x15a)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x155;var f=c[d];return f;},a95d(a,b);}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
|
-
function a96c(){var
|
|
2
|
+
function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x6d;var f=c[d];return f;},a96d(a,b);}function a96c(){var j=['47365IVdAzR','1301360htZZLN','2094888rGSYBe','7925640sJAUly','search','18944009LgeguW','env','apply','toString','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','4173066hehHpI','(((.+)+)+)+$','165410qAmTNA'];a96c=function(){return j;};return a96c();}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x71))/0x1+-parseInt(f(0x70))/0x2+parseInt(f(0x6e))/0x3+parseInt(f(0x72))/0x4+parseInt(f(0x74))/0x5+parseInt(f(0x73))/0x6+-parseInt(f(0x76))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xc6cc9));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x79)]()[h(0x75)](h(0x6f))[h(0x79)]()['constructor'](a96a)[h(0x75)](h(0x6f));});a96a(),process[a96i(0x77)]['NODE_OPTIONS']=a96i(0x6d);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97v=a97d;(function(a,b){const q=a97d,c=a();while(!![]){try{const d=-parseInt(q(0x103))/0x1*(parseInt(q(0x156))/0x2)+parseInt(q(0xff))/0x3+parseInt(q(0x108))/0x4*(parseInt(q(0x15c))/0x5)+parseInt(q(0x166))/0x6*(parseInt(q(0x13a))/0x7)+parseInt(q(0x151))/0x8*(-parseInt(q(0x152))/0x9)+-parseInt(q(0x112))/0xa+parseInt(q(0x100))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0x40246));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a97d;if(c){const e=c[r(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const s=a97d;return a97a[s(0x150)]()[s(0x12f)]('(((.+)+)+)+$')[s(0x150)]()[s(0x149)](a97a)[s(0x12f)](s(0x14a));});a97a();import a97e from'path';import a97f from'cli-table';import{paramCase}from'change-case';function a97c(){const F=['search','validateParams','join','bind','map','call','bright','push','includes','options','requiredEngines','56BIeRiO','chdir','validateEngines','There\x20is\x20no\x20Meteor\x20application\x20here','help','addGenerator','sort','validateMakaSubscription','sep','find','minOptsLength','dir','_generators','mustBeInMakaProject','Server','constructor','(((.+)+)+)+$','maxArgLength','invoke','Location','Both','No\x20resource\x20name\x20specified','toString','320tmErOV','73935hJCynJ','Name','maxOptsLength','tableList','38PIbVmB','validateMakaProject','server','where','Generator.create\x20requires\x20a\x20handler\x20function!','_handler','130xXhoAv','Client','checkWhere','notice','replace','pallet','aliases','function','number','light','240060Zrfnsa','593736HxUZlo','8980268xANgyx','minArgLength','usage','25753mzhrkn','LIGHT','length','lib','Description','17148wYzjZP','Please\x20run\x20\x22maka\x20install\x20meteor\x22','client','appPathPrefix','handleGenerateError','both','Alias','validateMeteorInstall','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Too\x20many\x20arguments','3652090uCTsXl','name','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','resourceName','Generator.create\x20requires\x20some\x20options!','shortDesc','Too\x20few\x20options','create','apply','fsi','Too\x20few\x20arguments','noNeedResource','DARK','colLocAnswer','slice','match','keys','Generator\x20format\x20is\x20incorrect','Generator\x20','root','split','processAndRunGenerator','error','mustHaveMeteorInstalled','exit','addGenerator\x20requires\x20a\x20Generator\x20instance','cwd','Too\x20many\x20options','listGenerators'];a97c=function(){return F;};return a97c();}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';function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0xff;let f=c[d];return f;},a97d(a,b);}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';async function inside(a='.',b){const t=a97d,c=process['cwd']();let d=null;try{process[t(0x13b)](a),d=await b();}finally{process[t(0x13b)](c);}return d;}export class Generator extends Tool{['options'];['_generators'];constructor(a,b){const u=a97d;super();if(!a)throw new Error(u(0x114));if(!a[u(0x113)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==u(0x163))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[u(0x146)]=[],this[u(0x138)]=Object['assign']({},a),this['name']=this[u(0x138)][u(0x113)],this[u(0x15b)]=b[u(0x132)](this);}static[a97v(0x119)](a,b,c){const w=a97v;if(!a)throw new Error(w(0x116));if(typeof b!=='function')throw new Error(w(0x15a));const d=new Generator(a,b);return c=c||a97g,Object['assign'](d,{'parent':c?.[w(0x138)]?.[w(0x113)]}),c[w(0x13f)](d),d;}[a97v(0x13f)](a){const x=a97v;if(!(a instanceof Generator))throw new Error(x(0x12b));this[x(0x146)][x(0x136)](a);}async[a97v(0x127)](a,b=[],c={}){const y=a97v;let d;try{const f=a?.['split'](':');if(!f||f[y(0x105)]===0x0)throw y(0x123);let g=this[y(0x146)],h;for(const i of f){h=g[y(0x143)](j=>j[y(0x121)](i));if(!h)throw y(0x124)+i+'\x20not\x20found';await this[y(0x141)](h),g=h[y(0x146)];}if(h)d=await h[y(0x14c)](b,c);else throw'Generator\x20not\x20found';}catch(j){Log['error'](j);}return d;}async[a97v(0x14c)](a,b){const z=a97v,c=a[z(0x120)]();b[z(0x115)]=c[0x0];try{const d=await this[z(0x11b)]['getGlobalConfig'](),f=d[z(0x161)]===z(0x165)?ColorMode[z(0x104)]:ColorMode[z(0x11e)];Log['setColorMode'](f),await this[z(0x141)](this);const g=a[0x0]===_prevGen||a['length']===0x0&&this[z(0x146)][z(0x105)]>=0x0,h=b[z(0x13e)]||b['h'];if(g&&h){if(this[z(0x146)][z(0x105)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[z(0x138)][z(0x147)]){const i=this[z(0x157)]();if(!i)throw new MustBeInProjectError();}if(this[z(0x138)][z(0x129)]){const j=this[z(0x10f)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[z(0x138)][z(0x101)]==='number'){if(a[z(0x105)]<this[z(0x138)]['minArgLength']){Log['error'](z(0x11c));throw new UsageError();}}if(typeof this[z(0x138)][z(0x14b)]===z(0x164)){if(a[z(0x105)]>this[z(0x138)][z(0x14b)]){Log[z(0x128)](z(0x111));throw new UsageError();}}if(typeof this[z(0x138)][z(0x144)]===z(0x164)){if(Object['keys'](b)[z(0x105)]<this[z(0x138)][z(0x144)]){Log[z(0x128)](z(0x118));throw new UsageError();}}if(typeof this['options'][z(0x154)]===z(0x164)){if(Object[z(0x122)](b)[z(0x105)]>=this[z(0x138)][z(0x154)]){Log[z(0x128)](z(0x12d));throw new UsageError();}}}this[z(0x138)]['requiredEngines']&&this[z(0x13c)](this[z(0x138)][z(0x139)]);await this[z(0x130)](a,b,this[z(0x138)]);if(!b['resourceName']&&!this[z(0x138)][z(0x11d)]){Log[z(0x128)](z(0x14f));throw new UsageError();}_prevGen=a[0x0];}catch(k){this[z(0x10c)](k),process[z(0x12a)](0x1);}return await inside(b[z(0x12c)],async()=>{const A=z;try{if(!b[A(0x125)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const l=b[A(0x115)]?.[A(0x160)](/\\/g,'/')[A(0x126)]('/');!b['dir']&&(l?.['length']>0x1?(b[A(0x115)]=l['pop'](),c[0x0]=b['resourceName'],b['dir']=l[A(0x133)](m=>{return paramCase(m);})[A(0x131)](a97e[A(0x142)])):b[A(0x145)]='');if(this[A(0x138)][A(0x15e)]){if(!b[A(0x159)]){const n={'type':'list','name':A(0x11f),'message':A(0x14d),'choices':[{'name':A(0x15d),'value':'client'},{'name':A(0x148),'value':A(0x158)},{'name':A(0x14e),'value':'both'}]},{colLocAnswer:o}=await Actions[A(0x138)](n);o?b['where']=o:b[A(0x159)]=A(0x10d);}const m=[A(0x10d),A(0x10a),A(0x158)];if(!m[A(0x137)](b[A(0x159)])){Log[A(0x128)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[A(0x159)]){case A(0x10d):b[A(0x10b)]=A(0x106);break;case A(0x158):b[A(0x10b)]=A(0x158);break;case'client':b['appPathPrefix']=A(0x10a);break;default:b[A(0x10b)]='';}}return await this[A(0x15b)][A(0x134)](this,c,b);}catch(p){this['handleGenerateError'](p);}});}[a97v(0x12e)](){const B=a97v;this[B(0x155)](this['_generators']);}[a97v(0x10c)](a){const C=a97v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c}=this['options'];Log[C(0x102)](description,examples,usage,b,requiredOpts,c);if(a instanceof UsageErrorWithSubs)Log[C(0x15f)]('Generators:'),this[C(0x155)](this['_generators']);else{if(a instanceof MustBeInProjectError)Log[C(0x128)](C(0x110));else{if(a instanceof NoMeteorFoundError)Log[C(0x128)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[C(0x15f)](C(0x109));else a instanceof NoMeteorAppFoundError&&Log[C(0x128)](C(0x13d));}}}[a97v(0x155)](a){const D=a97v,b=new a97f({});b[D(0x136)]([D(0x153),D(0x10e),D(0x107)]),a[D(0x140)]()['forEach'](c=>{const E=D;b[E(0x136)]([c[E(0x113)],c[E(0x162)](),c[E(0x117)]()]);}),Log[D(0x135)](b[D(0x150)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0x111))/0x1+-parseInt(f(0x117))/0x2+-parseInt(f(0x10e))/0x3*(parseInt(f(0x116))/0x4)+-parseInt(f(0x112))/0x5*(-parseInt(f(0x114))/0x6)+parseInt(f(0x10c))/0x7*(parseInt(f(0x118))/0x8)+-parseInt(f(0x110))/0x9*(parseInt(f(0x11a))/0xa)+parseInt(f(0x10d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd8292));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a['toString']()[h(0x115)]('(((.+)+)+)+$')[h(0x10f)]()['constructor'](a124a)[h(0x115)](h(0x119));});a124a();import'./services/_index.js';import'./api.js';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';function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0x10c;var f=c[d];return f;},a124d(a,b);}import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a124c(){var i=['3917832FHidaR','(((.+)+)+)+$','20fawHhN','7dlyKCd','33155870NeyShj','18EjWMYO','toString','4671333ZeIjlp','34062UEXnxV','5cWGyTw','apply','8054406ROmNnF','search','950236vgkUbS','3063080QxylZl'];a124c=function(){return i;};return a124c();}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a98d(a,b){const c=a98c();return a98d=function(d,e){d=d-0x103;let f=c[d];return f;},a98d(a,b);}const a98x=a98d;(function(a,b){const u=a98d,c=a();while(!![]){try{const d=parseInt(u(0x14e))/0x1*(parseInt(u(0x126))/0x2)+parseInt(u(0x115))/0x3+-parseInt(u(0x111))/0x4*(-parseInt(u(0x124))/0x5)+-parseInt(u(0x106))/0x6*(-parseInt(u(0x154))/0x7)+parseInt(u(0x138))/0x8*(-parseInt(u(0x10f))/0x9)+parseInt(u(0x11c))/0xa*(parseInt(u(0x117))/0xb)+-parseInt(u(0x15b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x792cc));function a98c(){const A=['rewriteDestinationPathForEngine','injectAtBeginningOfFile','create','const','rest-api.','index.','/imports/api','injectAtEndOfFile','injectIntoFile','No\x20API\x20boundaries\x20selected','if\x20\x5c(typeList','graphql','mdg:validated-method','imports','.app-tests.','fsi','withPubs','304174ZJJkCv','api','\x27;\x0a','api/api.js','apiAnswers','/graphql/resolvers','24269oOLIbX','error','withRest','fixtures.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','toString','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','30043080TqSvVy','\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','-api.','Resolvers);\x0a\x0a','-api\x27;','1578urIbZQ','typeDefs.','engines','server','rest','typeList.push(','REST\x20API','template','startup','192870GGBxjb','test','1747796NhRyGY','API\x20boundaries\x20to\x20create','maka\x20g:api\x20Todos','includes','2274825ysfRQA','pathFromApp','22lSDYiL','tsx','apply','Fixtures','withMethods','1080220BEJTHS','options','getMakaProjectConfig','api/typeDefs.js','collection','(((.+)+)+)+$','push','GraphQL','10aTEtsH','ddp-rate-limiter','2TYhGeP','apollo','api/methods.js','api/publications.js','processAndRunGenerator','publications.','none','withFixtures','api/register-api.js','constructor','checkMeteorPackage','maka:rest','import\x20{\x20typeDefs\x20as\x20','checkbox','Resolvers\x20}\x20from\x20\x27','RPC\x20(Methods)','exit','dir','24lmVlSP','resolverList.push(','search','TypeDefs);\x0a','withGql'];a98c=function(){return A;};return a98c();}const a98b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a98d;if(c){const e=c[v(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){const w=a98d;return a98a[w(0x159)]()[w(0x13a)](w(0x121))[w(0x159)]()[w(0x12f)](a98a)['search'](w(0x121));});a98a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a98e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a98x(0x13f)]({'name':a98x(0x14f),'aliases':['a'],'usage':a98x(0x158),'shortDesc':a98x(0x15a),'validOpts':['dir'],'examples':[a98x(0x113)],'description':a98x(0x15c)},async function(a,b){const y=a98x;try{const c=this[y(0x14c)][y(0x11e)](),d=[{'name':y(0x135),'value':'withMethods'},{'name':y(0x11a),'value':'withFixtures'},{'name':'Publications','value':y(0x14d)}];c['engines']['api']==='rest'&&d[y(0x122)]({'name':y(0x10c),'value':'withRest'});c[y(0x108)][y(0x148)]===y(0x127)&&d[y(0x122)]({'name':y(0x123),'value':y(0x13c)});const f={'type':y(0x133),'name':y(0x152),'message':y(0x112),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[y(0x11d)](f);g['length']===0x0&&(Log[y(0x155)](y(0x146)),process[y(0x136)](0x1)),await this['fsi']['withValue'](c,async()=>{const z=y,h=b['resourceName'],i=paramCase(h),j=camelCase(h),k=b[z(0x137)]?'/'+b[z(0x137)]+'/':'/',l={'name':pascalCase(h),'fileName':i,'camelCase':pascalCase(h),'optsDir':k,'api':c[z(0x108)][z(0x14f)],'graphql':c[z(0x108)][z(0x148)],'test':c[z(0x108)][z(0x110)],'noRename':!![],'withPubs':g[z(0x114)](z(0x14d)),'withFixtures':g[z(0x114)](z(0x12d)),'withMethods':g[z(0x114)](z(0x11b)),'withRest':g[z(0x114)](z(0x156))};let m='js';c[z(0x108)]['js']===z(0x118)&&(m='ts');await this[z(0x14c)][z(0x130)]([z(0x131),'maka:check',z(0x125),z(0x149),'mongo'],{'shouldInstall':!![]}),await a98e[z(0x12a)](z(0x120),[i],{'config':c,'where':z(0x109)});c[z(0x108)][z(0x14f)]===z(0x10a)&&(l[z(0x156)]&&await this['fsi'][z(0x10d)]({'srcPath':z(0x151),'destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b['dir'],i,z(0x141)+m]}),'context':l,'config':c}));l[z(0x11b)]&&await this[z(0x14c)][z(0x10d)]({'srcPath':z(0x128),'destPath':this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,'rpc-methods.'+m]}),'context':l,'config':c});l[z(0x12d)]&&await this['fsi'][z(0x10d)]({'srcPath':'api/fixtures.js','destPath':this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,z(0x157)+m]}),'context':l,'config':c});c['engines'][z(0x110)]!==z(0x12c)&&this[z(0x14c)][z(0x10d)]({'srcPath':'api/tests.js','destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,i+z(0x14b)+m]}),'context':l,'config':c});l[z(0x14d)]&&await this['fsi'][z(0x10d)]({'srcPath':z(0x129),'destPath':this[z(0x14c)]['pathFromApp']({'pathParts':['imports',z(0x14f),b[z(0x137)],i,z(0x12b)+m]}),'context':l,'config':c});if(c[z(0x108)]['graphql']==='apollo'){if(g[z(0x114)]('withGql')){const o=this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x10e),'server','index.'+c[z(0x108)]['js']]}),p=this['fsi'][z(0x13d)]({'pathParts':[o],'config':c}),q=this['fsi'][z(0x116)]({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,z(0x148),z(0x107)+m]}),r=z(0x143)+k+i+'/graphql/typeDefs';this['fsi'][z(0x10d)]({'srcPath':z(0x11f),'destPath':q,'context':l,'config':c}),await this[z(0x14c)][z(0x13e)]({'filePath':p,'content':z(0x132)+j+'TypeDefs\x20}\x20from\x20\x27'+r+z(0x150)}),await this[z(0x14c)][z(0x145)]({'filePath':p,'content':z(0x10b)+j+z(0x13b),'begin':z(0x140),'end':z(0x147)});const s=this['fsi']['pathFromApp']({'pathParts':[z(0x14a),z(0x14f),b[z(0x137)],i,'graphql','resolvers.'+m]}),t=z(0x143)+k+i+z(0x153);await this['fsi'][z(0x10d)]({'srcPath':'api/resolvers.js','destPath':s,'context':l,'config':c}),await this[z(0x14c)][z(0x13e)]({'filePath':p,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+j+z(0x134)+t+'\x27;'}),await this[z(0x14c)][z(0x145)]({'filePath':p,'content':z(0x139)+j+z(0x104),'begin':z(0x140),'end':z(0x147)});}}await this['fsi']['template']({'srcPath':z(0x12e),'destPath':this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),z(0x10e),z(0x109),'register-'+i+z(0x103)+m]}),'context':l,'config':c,'force':!![]});const n=this[z(0x14c)][z(0x116)]({'pathParts':[z(0x14a),'startup',z(0x109),z(0x142)+c[z(0x108)]['js']]});await this['fsi'][z(0x144)]({'filePath':n,'content':'import\x20\x27./register-'+i+z(0x105)});});}catch(h){console[y(0x155)](h),process[y(0x136)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99m=a99d;(function(a,b){const j=a99d,c=a();while(!![]){try{const d=parseInt(j(0x163))/0x1+-parseInt(j(0x166))/0x2*(parseInt(j(0x15f))/0x3)+-parseInt(j(0x17e))/0x4*(-parseInt(j(0x167))/0x5)+parseInt(j(0x171))/0x6*(parseInt(j(0x170))/0x7)+parseInt(j(0x16a))/0x8+-parseInt(j(0x15e))/0x9*(-parseInt(j(0x17d))/0xa)+-parseInt(j(0x175))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x97196));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0x157;let f=c[d];return f;},a99d(a,b);}const a99b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a99d;if(c){const e=c[k(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a99a=a99b(this,function(){const l=a99d;return a99a[l(0x179)]()['search'](l(0x15c))['toString']()[l(0x16c)](a99a)[l(0x17a)](l(0x15c));});function a99c(){const p=['where','pathFromApp','none','fsi','template','(((.+)+)+)+$','maka\x20g:collection\x20todos','184239fwmyWJ','2994126FWzZdB','collection','imports','getMakaProjectConfig','1191139IBqlGr','mongo','error','2gXXLro','24385MeDPeL','.app-tests.','checkMeteorPackage','2526488hWhrCh','startup','constructor','appPathPrefix','collection/tests.js','injectAtEndOfFile','108941fxqnqV','30KuSXts','dir','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','collections','15029399xPaQwF','tsx','engines','apply','toString','search','maka:check','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','190YmDLsX','828KMDEAf','test','import\x20\x27./collections','withValue','resourceName'];a99c=function(){return p;};return a99c();}a99a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a99m(0x160),'aliases':['col'],'usage':a99m(0x173),'checkWhere':!![],'shortDesc':a99m(0x17c),'validOpts':[a99m(0x172),a99m(0x157)],'description':'\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','examples':[a99m(0x15d)]},async function(a,b){const n=a99m;try{const c=this['fsi'][n(0x162)]();await this[n(0x15a)][n(0x181)](c,async()=>{const o=n,d=paramCase(b[o(0x182)]),f={'name':pascalCase(b[o(0x182)]),'collectionName':pascalCase(b[o(0x182)]),'fileName':d,'where':b[o(0x157)],'test':c[o(0x177)][o(0x17f)],'noRename':!![]};let g='js';c[o(0x177)]['js']===o(0x176)&&(g='ts');await this['fsi'][o(0x169)]([o(0x164),o(0x17b)],{'shouldInstall':!![]}),await this[o(0x15a)][o(0x15b)]({'srcPath':'collection/collection.js','destPath':this['fsi'][o(0x158)]({'pathParts':['imports','startup',b[o(0x16d)],o(0x174),b[o(0x172)],d+'.'+g]}),'context':f,'config':c});c[o(0x177)][o(0x17f)]!==o(0x159)&&await this[o(0x15a)][o(0x15b)]({'srcPath':o(0x16e),'destPath':this['fsi'][o(0x158)]({'pathParts':[o(0x161),o(0x16b),b[o(0x16d)],'collections',b['dir'],d+o(0x168)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x172)]+'/':'/',i=this['fsi'][o(0x158)]({'pathParts':[o(0x161),o(0x16b),b[o(0x16d)],'index.'+c[o(0x177)]['js']]});await this['fsi'][o(0x16f)]({'filePath':i,'content':o(0x180)+h+d+'\x27;'});});}catch(d){Log[n(0x165)](d);}});
|