@maka/maka-cli 4.7.12 → 4.7.13
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 +12 -0
- package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/69d2de39-b193-48d9-b520-96bdb73b7b61.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 a100m=a100d;(function(a,b){const k=a100d,c=a();while(!![]){try{const d=-parseInt(k(0x85))/0x1+parseInt(k(0x97))/0x2*(-parseInt(k(0xa3))/0x3)+-parseInt(k(0xa6))/0x4+-parseInt(k(0x9c))/0x5+parseInt(k(0x8c))/0x6*(parseInt(k(0xb2))/0x7)+parseInt(k(0x7c))/0x8+-parseInt(k(0x91))/0x9*(-parseInt(k(0xa1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0x6ae50));const a100b=(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;};}()),a100a=a100b(this,function(){const l=a100d;return a100a[l(0x8d)]()[l(0x90)](l(0xaf))['toString']()['constructor'](a100a)[l(0x90)](l(0xaf));});a100a();import a100e from'path';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x7c;let f=c[d];return f;},a100d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a100c(){const p=['.css','graphql','none','string','test','pathFromApp','825226bTiUUY','dir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','components','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','css','42yYFREd','toString','api','checkNpmPackage','search','90TTJxid','ssr','true','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','engines','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','4HPSjEU','component/component.js','template','withTranslations','cssCaseName','1590795MccaIw','import\x20\x27./','setTemplate','hooks','getMakaProjectConfig','917550xTLATT','findAppDirectory','64767tTUnVV','component','template/template.css','3147836iDqERb','injectTemplateModule','baseDir','resourceName','/imports/ui/','root','withValue','className','react','(((.+)+)+)+$','features','installNpmPackage','799253oFSdri','/imports/ui/components','pathFromProject','fsi','assign','5556472AOibiN','injectAtBeginningOfFile','warn'];a100c=function(){return p;};return a100c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator['create']({'name':a100m(0xa4),'aliases':aliases,'usage':a100m(0x96),'shortDesc':a100m(0x94),'validOpts':[{'name':a100m(0xa8),'values':[a100m(0x9f),a100m(0x89),'pages','layouts']}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const n=a100m;try{const c=this[n(0xb5)][n(0xa2)](),d=b[n(0xa8)]?n(0xaa)+b[n(0xa8)]:n(0xb3),f=this[n(0xb5)][n(0x84)]({'pathParts':[d,b[n(0x86)],paramCase(b[n(0xa9)]),paramCase(b['resourceName'])]}),g=await this['fsi'][n(0xa0)]();await this[n(0xb5)][n(0xac)](g,async()=>{const o=n;typeof g[o(0x99)][o(0x83)]===o(0x82)&&(g[o(0x99)][o(0x83)]=g[o(0x99)][o(0x83)]===o(0x93)?!![]:![],this[o(0xb5)][o(0x9e)](o(0x83),g['template'][o(0x83)]));typeof g[o(0x99)][o(0x8b)]==='string'&&(g[o(0x99)][o(0x8b)]=g[o(0x99)][o(0x8b)]==='true'?!![]:![],this['fsi'][o(0x9e)]('css',g[o(0x99)][o(0x8b)]));typeof g[o(0x99)]['js']===o(0x82)&&(g[o(0x99)]['js']=g[o(0x99)]['js']===o(0x93)?!![]:![],this[o(0xb5)][o(0x9e)]('js',g['template']['js']));!g['features']&&(g['features']={});!b[o(0xab)]&&!this[o(0xb5)][o(0x8f)]('ramda')&&(Log[o(0x7e)](o(0x87)),await this[o(0xb5)][o(0xb1)]('ramda',{'cwd':c}));if(!b['root']&&!this['fsi']['checkNpmPackage'](o(0xae))){Log['error'](o(0x8a));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a100e['relative'](this[o(0xb5)][o(0xb4)]({}),f),'cssCaseName':paramCase(b[o(0xa9)]),'className':pascalCase(b[o(0xa9)]),'camelCaseName':camelCase(b[o(0xa9)]),'fileName':paramCase(b[o(0xa9)]),'graphql':g['engines'][o(0x80)],'features':g[o(0xb0)],'client':g[o(0x95)]['client'],'api':g[o(0x95)][o(0x8e)],'ssr':g[o(0x95)][o(0x92)],'test':g['engines'][o(0x83)],'theme':g['engines']['theme'],'isLayout':![],'isComponent':!![],'withTranslations':g[o(0xb0)][o(0x9a)]};await this[o(0xb5)][o(0x99)]({'srcPath':o(0x98),'destPath':f+'.js','context':h,'framework':o(0xae),'config':g});g[o(0x95)]['test']!==o(0x81)&&await this[o(0xb5)]['template']({'srcPath':'test/test.js','destPath':f+'.tests.js','context':h,'framework':o(0xae),'config':g});g['template']['css']&&(await this[o(0xb5)][o(0x99)]({'srcPath':o(0xa5),'destPath':f+o(0x7f),'context':Object[o(0xb6)]({},h,{'className':paramCase(b[o(0xa9)])}),'config':g}),await this[o(0xb5)][o(0x7d)]({'filePath':f+'.'+g[o(0x95)]['js'],'content':o(0x9d)+h[o(0x9b)]+'.'+g['engines'][o(0x8b)]+'\x27;'}));const i=b['dir']?'/'+b[o(0x86)]+'/':'/',j=''+d+i+h['fileName']+'/'+h[o(0x88)];await this[o(0xb5)][o(0xa7)](h[o(0xad)],g,j);});}catch(h){Log['error'](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a101k=a101d;(function(a,b){const h=a101d,c=a();while(!![]){try{const d=parseInt(h(0x128))/0x1*(-parseInt(h(0x130))/0x2)+-parseInt(h(0x124))/0x3+-parseInt(h(0x136))/0x4+-parseInt(h(0x126))/0x5*(-parseInt(h(0x132))/0x6)+-parseInt(h(0x140))/0x7+parseInt(h(0x12f))/0x8*(parseInt(h(0x125))/0x9)+-parseInt(h(0x12e))/0xa*(-parseInt(h(0x13e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x60c87));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a101d;if(c){const e=c[i(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const j=a101d;return a101a[j(0x13d)]()[j(0x12b)](j(0x142))['toString']()[j(0x135)](a101a)[j(0x12b)](j(0x142));});function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x121;let f=c[d];return f;},a101d(a,b);}a101a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a101c(){const n=['maka\x20g:config\x20production','development','constructor','2797976PVKmwN','ubuntu','create','Generate\x20configuration\x20settings.','isDocker','fsi','resourceName','toString','5053246bfkeUI','getMakaProjectConfig','3799614GWclBZ','production','(((.+)+)+)+$','apply','template','config/settings.json','dev','2018208tlPXyl','76473kLUQzu','525UaMsEl','pathFromProject','114340EBUjAv','prod','appName','search','config','settings.json','50bmzsWr','80ZUoDzk','4PgDTRY','maka\x20{generate,\x20g}:{config}\x20<name>','9042quneXb'];a101c=function(){return n;};return a101c();}Generator[a101k(0x138)]({'name':a101k(0x12c),'usage':a101k(0x131),'shortDesc':a101k(0x139),'validOpts':[a101k(0x13a)],'examples':[a101k(0x133)]},async function(a,b){const l=a101k,c=this[l(0x13b)][l(0x13f)]();await this[l(0x13b)]['withValue'](c,async()=>{const m=l,d={'app':c[m(0x12a)],'appFileCase':paramCase(c[m(0x12a)]),'name':pascalCase(b[m(0x13c)]),'fileName':paramCase(b[m(0x13c)]),'camelCase':camelCase(b[m(0x13c)]),'userName':m(0x137),'isDocker':b['isDocker']};let e=b[m(0x13c)];if(e===m(0x123))e=m(0x134);else e===m(0x129)&&(e=m(0x141));const f=this[m(0x13b)][m(0x127)]({'pathParts':[m(0x12c),e,m(0x12d)]});await this['fsi'][m(0x121)]({'srcPath':m(0x122),'destPath':f,'context':d,'config':c});if(!b[m(0x13a)]){const g=this[m(0x13b)]['pathFromProject']({'pathParts':[m(0x12c),e,'process.env']});await this['fsi'][m(0x121)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102m=a102d;(function(a,b){const j=a102d,c=a();while(!![]){try{const d=-parseInt(j(0x1f0))/0x1*(parseInt(j(0x1ee))/0x2)+-parseInt(j(0x1ce))/0x3+parseInt(j(0x1eb))/0x4+parseInt(j(0x1e3))/0x5*(parseInt(j(0x1ed))/0x6)+-parseInt(j(0x1cc))/0x7*(-parseInt(j(0x1e2))/0x8)+parseInt(j(0x1f4))/0x9*(parseInt(j(0x1d2))/0xa)+-parseInt(j(0x1d1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xaad53));const a102b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a102d;if(c){const e=c[k(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a102a=a102b(this,function(){const l=a102d;return a102a['toString']()['search'](l(0x1c8))['toString']()[l(0x1ea)](a102a)['search'](l(0x1c8));});function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a102d(a,b);}a102a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a102c(){const p=['pathFromApp','1349079fEIZoG','-dbc\x27;','getMakaProjectConfig','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','64836yvUfTP','checkNpmPackage','dbc/config.js','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','create','injectAtEndOfFile','fsi','tsx','dbc','(((.+)+)+)+$','resourceName','server','-dbc.','133TtiTNW','dbc/conn.js','1086075DUNUkq','index.','maka\x20g:dbc\x20todos\x20--type=sqlite','15411sgyrJx','90CgGxbl','startup','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20azure\x20--type=mssql','dir','installNpmPackage','register-','imports','mssql','sqlite','type','warn','apply','error','import\x20\x27./register-','better-sqlite3','424616UucdTs','30MgOrnT','conn.','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','withValue','maka\x20g:dbc\x20geoserver\x20--type=pgsql','engines','template','constructor','2121052KjMowg','dbc/register-dbc.js','808674egmesC','2GoinGp'];a102c=function(){return p;};return a102c();}import{Log}from'../tools/log/log.class.js';Generator[a102m(0x1c3)]({'name':'dbc','usage':a102m(0x1e5),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a102m(0x1d6)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a102m(0x1dc),'values':['pgsql',a102m(0x1da),a102m(0x1db)]}],'examples':[a102m(0x1e7),a102m(0x1d5),a102m(0x1d0)]},async function(a,b){const n=a102m;try{const c=await this[n(0x1c5)][n(0x1f2)](),d=this[n(0x1c5)][n(0x1ef)]({}),f=paramCase(b[n(0x1c9)]),g={'name':pascalCase(b[n(0x1c9)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[n(0x1c9)]),'type':b['type'],'engine':c[n(0x1e8)]['js'],'noRename':!![]};await this['fsi'][n(0x1e6)](c,async()=>{const o=n;let h='js';c[o(0x1e8)]['js']===o(0x1c6)&&(h='ts');b[o(0x1dc)]==='pgsql'&&!this[o(0x1c5)][o(0x1f5)]('pg')&&(Log[o(0x1dd)](o(0x1f3)),await this['fsi'][o(0x1d7)]('pg',{'cwd':d}));b[o(0x1dc)]==='mssql'&&!this[o(0x1c5)][o(0x1f5)](o(0x1da))&&(Log[o(0x1dd)](o(0x1d4)),await this[o(0x1c5)][o(0x1d7)](o(0x1da),{'cwd':d}));b[o(0x1dc)]===o(0x1db)&&!this[o(0x1c5)][o(0x1f5)](o(0x1e1))&&(Log['warn'](o(0x1c2)),await this[o(0x1c5)][o(0x1d7)](o(0x1e1),{'cwd':d}));await this[o(0x1c5)][o(0x1e9)]({'srcPath':o(0x1f6),'destPath':this['fsi'][o(0x1ef)]({'pathParts':[o(0x1d9),'startup','server',o(0x1c7),b['dir'],f,'config.'+h]}),'context':g,'config':c}),await this[o(0x1c5)]['template']({'srcPath':o(0x1cd),'destPath':this[o(0x1c5)][o(0x1ef)]({'pathParts':[o(0x1d9),'startup',o(0x1ca),o(0x1c7),b[o(0x1d6)],f,o(0x1e4)+h]}),'context':g,'config':c}),await this['fsi'][o(0x1e9)]({'srcPath':o(0x1ec),'destPath':this[o(0x1c5)][o(0x1ef)]({'pathParts':['imports',o(0x1d3),o(0x1ca),o(0x1d8)+f+o(0x1cb)+h]}),'context':g,'config':c});const i=this['fsi'][o(0x1ef)]({'pathParts':[o(0x1d9),o(0x1d3),o(0x1ca),o(0x1cf)+c['engines']['js']]});await this[o(0x1c5)][o(0x1c4)]({'filePath':i,'content':o(0x1e0)+f+o(0x1f1)});});}catch(h){Log[n(0x1df)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a103c(){const l=['Generate\x20an\x20updated\x20dockerfile','toString','app','(((.+)+)+)+$','isFile','705362BDgYlu','apply','12EOAFxG','322125fjbgWB','96474klyCXF','16254apxAmL','findProjectDirectory','getGlobalConfig','7741400quPfhj','dockerfile','constructor','fsi','49187kjkfeS','522510uShjcd','appName','template','withValue','service','error','search'];a103c=function(){return l;};return a103c();}const a103i=a103d;function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a103d(a,b);}(function(a,b){const f=a103d,c=a();while(!![]){try{const d=-parseInt(f(0x1fa))/0x1+-parseInt(f(0x207))/0x2+-parseInt(f(0x1fb))/0x3+parseInt(f(0x209))/0x4*(-parseInt(f(0x20a))/0x5)+-parseInt(f(0x20b))/0x6+-parseInt(f(0x20c))/0x7+parseInt(f(0x1f6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0x2bef9));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a103d;if(c){const e=c[g(0x208)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const h=a103d;return a103a[h(0x203)]()[h(0x201)](h(0x205))[h(0x203)]()[h(0x1f8)](a103a)['search'](h(0x205));});a103a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a103e from'path';Generator['create']({'name':a103i(0x1f7),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a103i(0x202),'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(){const j=a103i;try{const a=await this['fsi']['getMakaProjectConfig'](),b=await this[j(0x1f9)][j(0x1f5)](),c=this['fsi'][j(0x1f4)]();await this[j(0x1f9)][j(0x1fe)](a,async()=>{const k=j,d={'app':b[k(0x1fc)],'config':a,'appPath':a103e['join'](c,k(0x204)),'bundlePath':a103e['join'](c,'build','app.tar.gz'),'useCert':this[k(0x1f9)][k(0x206)](b['cert'])};await this[k(0x1f9)][k(0x1fd)]({'srcPath':'docker/Dockerfile','destPath':a103e['join'](c,'Dockerfile'),'framework':k(0x1ff),'context':d,'config':a});});}catch(d){Log[j(0x200)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a104n=a104d;function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x79;let f=c[d];return f;},a104d(a,b);}function a104c(){const q=['2369199GRuLnd','pages','hook/hook.js','template','string','pathFromApp','create','apollo','warn','css','setTemplate','relative','components','609200jsySjq','7355733euBFdl','checkNpmPackage','true','none','hooks','fsi','167285deHZwU','2FNeiDr','4BZBrbk','.app-tests.js','react','notice','@apollo/client','hook','template/template.css','injectTemplateModule','className','Creating\x20','fileName','installNpmPackage','resourceName','layouts','import\x20\x27./','2628033FisoRg','maka\x20g:hook\x20cool-hook','assign','dir','engines','9KHhqdB','\x20hook...','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20Hooks\x20are\x20created\x20in\x20the\x20imports/ui/hooks\x20directory\x20by\x20default,\x20but\x20can\x20be\x20created\x20in\x0a\x20\x20the\x20imports/ui/components,\x20imports/ui/pages,\x20or\x20imports/ui/layouts\x20directories\x20by\x0a\x20\x20using\x20the\x20--baseDir\x20option\x20with\x20the\x20appropriate\x20directory\x20name.\x0a\x0a\x20\x20To\x20create\x20a\x20hook\x20in\x20a\x20subdirectory\x20of\x20the\x20hooks\x20directory,\x20add\x20the\x20path\x20to\x20the\x0a\x20\x20hook\x20name.\x20For\x20example,\x20maka\x20g:hook\x20myHooks/useCoolHook\x20will\x20create\x20a\x20hook\x20in\x0a\x20\x20imports/ui/hooks/my-hooks/use-cool-hook.jsx\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','error','test/test.js','2873152oleUON','@apollo/client\x20isomorphic-fetch','constructor','search','features','/imports/ui/','445950AQfJem','30pcNBeE','withValue','graphql','baseDir','theme','.js','force'];a104c=function(){return q;};return a104c();}(function(a,b){const l=a104d,c=a();while(!![]){try{const d=parseInt(l(0x9b))/0x1*(parseInt(l(0x7e))/0x2)+-parseInt(l(0xab))/0x3*(-parseInt(l(0x9c))/0x4)+parseInt(l(0x9a))/0x5*(-parseInt(l(0x7f))/0x6)+parseInt(l(0x86))/0x7+-parseInt(l(0xb5))/0x8+parseInt(l(0xb0))/0x9*(parseInt(l(0x93))/0xa)+-parseInt(l(0x94))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x8077e));const a104b=(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;};}()),a104a=a104b(this,function(){const m=a104d;return a104a['toString']()['search']('(((.+)+)+)+$')['toString']()[m(0x7a)](a104a)[m(0x7b)]('(((.+)+)+)+$');});a104a();import a104e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a104n(0x8c)]({'name':a104n(0xa1),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a104n(0x82),'values':[a104n(0x98),a104n(0x92),a104n(0x87),a104n(0xa9)]},{'name':a104n(0x85),'boolFlag':!![]}],'examples':[a104n(0xac)],'description':a104n(0xb2)},async function(a,b){const o=a104n;Log[o(0x9f)](o(0xa5)+b[o(0xa8)]+o(0xb1));try{const c=this[o(0x99)][o(0x95)](o(0x9e));if(!c){Log['error']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[o(0x99)][o(0x8b)](b),f=b[o(0x82)]?o(0x7d)+b[o(0x82)]:'/imports/ui/hooks',g=this['fsi'][o(0x8b)]({'pathParts':[f,b[o(0xae)],paramCase(b['resourceName']),paramCase(b[o(0xa8)])]}),h=await this[o(0x99)]['getMakaProjectConfig']();await this['fsi'][o(0x80)](h,async()=>{const p=o;typeof h[p(0x89)]['css']===p(0x8a)&&(h['template'][p(0x8f)]=h[p(0x89)][p(0x8f)]===p(0x96)?!![]:![],this[p(0x99)][p(0x90)](p(0x8f),h['template'][p(0x8f)]));h[p(0xaf)][p(0x81)]===p(0x8d)&&!this['fsi'][p(0x95)](p(0xa0))&&(Log[p(0x8e)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this['fsi'][p(0xa7)](p(0x79),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0xa8)]),'camelCaseName':camelCase(b[p(0xa8)]),'className':pascalCase(b[p(0xa8)]),'name':pascalCase(b[p(0xa8)]),'graphql':h[p(0xaf)][p(0x81)],'theme':h[p(0xaf)][p(0x83)],'features':h[p(0x7c)],'myPath':a104e[p(0x91)](this[p(0x99)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0xa8)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x7c)]['withTranslations']};await this[p(0x99)]['template']({'srcPath':p(0x88),'destPath':g+p(0x84),'context':i,'config':h,'framework':p(0x9e),'force':b[p(0x85)]});h['template'][p(0x8f)]&&(await this[p(0x99)][p(0x89)]({'srcPath':p(0xa2),'destPath':g+'.css','context':Object[p(0xad)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b['force']}),await this[p(0x99)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[p(0xaf)]['js'],'content':p(0xaa)+i[p(0xa6)]+'.'+h[p(0xaf)][p(0x8f)]+'\x27;'}));h['engines']['test']!==p(0x97)&&await this['fsi']['template']({'srcPath':p(0xb4),'destPath':g+p(0x9d),'framework':'react','context':i,'config':h,'force':b[p(0x85)]});const j=b[p(0xae)]?'/'+b[p(0xae)]+'/':'/',k=''+f+j+i[p(0xa6)]+'/'+i[p(0xa6)];await this[p(0x99)][p(0xa3)](i[p(0xa4)],h,k);});}catch(i){Log[o(0xb3)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a112d,c=a();while(!![]){try{var d=parseInt(f(0x151))/0x1+parseInt(f(0x152))/0x2*(parseInt(f(0x154))/0x3)+-parseInt(f(0x160))/0x4*(-parseInt(f(0x15f))/0x5)+-parseInt(f(0x15e))/0x6*(-parseInt(f(0x15b))/0x7)+parseInt(f(0x15c))/0x8*(-parseInt(f(0x15a))/0x9)+parseInt(f(0x161))/0xa*(-parseInt(f(0x155))/0xb)+parseInt(f(0x153))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x924da));function a112c(){var i=['7692CuMVeW','5rjyGCn','1440356CofEAc','18410azbHuN','139348PIGAQQ','1180dWlxrU','2932644zCIitS','1587kaahZp','3938frCVaB','(((.+)+)+)+$','toString','apply','constructor','18vBXpSN','4081ZVZRgd','2180016AvbADi','search'];a112c=function(){return i;};return a112c();}var a112b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a112d;if(c){var e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){var h=a112d;return a112a[h(0x157)]()[h(0x15d)](h(0x156))['toString']()[h(0x159)](a112a)['search'](h(0x156));});a112a();import'./kit.js';function a112d(a,b){var c=a112c();return a112d=function(d,e){d=d-0x151;var f=c[d];return f;},a112d(a,b);}import'./mui/_index.js';import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-
|
|
1
|
+
function a107c(){var h=['constructor','921393tDgzMz','237118jMexxH','42kpQFgL','15ALofgM','10211310dotnHs','532864NVkTQU','(((.+)+)+)+$','4tiUtyW','4605150QiMejQ','search','156105AIDMGM','toString','536000WJoQhb'];a107c=function(){return h;};return a107c();}function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0xb9;var f=c[d];return f;},a107d(a,b);}(function(a,b){var f=a107d,c=a();while(!![]){try{var d=-parseInt(f(0xbd))/0x1+-parseInt(f(0xb9))/0x2*(parseInt(f(0xbb))/0x3)+-parseInt(f(0xbf))/0x4*(-parseInt(f(0xc2))/0x5)+parseInt(f(0xc0))/0x6+-parseInt(f(0xba))/0x7*(parseInt(f(0xc4))/0x8)+parseInt(f(0xc6))/0x9+parseInt(f(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x60563));var a107b=(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;};}()),a107a=a107b(this,function(){var g=a107d;return a107a[g(0xc3)]()[g(0xc1)](g(0xbe))[g(0xc3)]()[g(0xc5)](a107a)[g(0xc1)](g(0xbe));});a107a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105i=a105d;(function(a,b){const f=a105d,c=a();while(!![]){try{const d=parseInt(f(0x1fb))/0x1+-parseInt(f(0x1f5))/0x2*(-parseInt(f(0x1ff))/0x3)+-parseInt(f(0x1ee))/0x4+-parseInt(f(0x1fd))/0x5*(-parseInt(f(0x1f9))/0x6)+-parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f6))/0x8)+-parseInt(f(0x1f0))/0x9*(parseInt(f(0x1f3))/0xa)+parseInt(f(0x200))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x74dbc));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a105d;if(c){const e=c[g(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const h=a105d;return a105a[h(0x1ed)]()[h(0x1fa)](h(0x1fc))[h(0x1ed)]()[h(0x1f4)](a105a)[h(0x1fa)](h(0x1fc));});function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a105d(a,b);}a105a();import{Generator}from'../../../generator.js';import a105e from'../kit.js';const EsriGen=Generator[a105i(0x1f7)]({'name':a105i(0x1fe),'aliases':['e'],'usage':a105i(0x1ef),'noNeedResource':!![],'shortDesc':a105i(0x201),'validOpts':[''],'isPro':!![],'examples':[a105i(0x1eb)],'description':a105i(0x1f2)},async function(){const j=a105i;throw j(0x1f1);},a105e);export default EsriGen;function a105c(){const k=['309YlxpFp','18580078YiVuMk','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20g:kit:e','1344KFlOfg','toString','1921428TPiYNs','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','1548UhKLtL','NIE','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','47020rsnQAF','constructor','798KrSotP','33344BhsbAD','create','apply','30bItWfx','search','355809jVBcqm','(((.+)+)+)+$','482005Vvvenn','esri'];a105c=function(){return k;};return a105c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a106r=a106d;(function(a,b){const p=a106d,c=a();while(!![]){try{const d=-parseInt(p(0x15a))/0x1+-parseInt(p(0x142))/0x2*(parseInt(p(0x14e))/0x3)+parseInt(p(0x148))/0x4+-parseInt(p(0x16d))/0x5+-parseInt(p(0x168))/0x6*(-parseInt(p(0x16b))/0x7)+parseInt(p(0x162))/0x8*(-parseInt(p(0x145))/0x9)+-parseInt(p(0x158))/0xa*(-parseInt(p(0x160))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xd644f));const a106b=(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;};}()),a106a=a106b(this,function(){const q=a106d;return a106a[q(0x16e)]()[q(0x169)](q(0x167))['toString']()[q(0x144)](a106a)[q(0x169)](q(0x167));});function a106c(){const u=['50ruAZim','findProjectDirectory','1169697dxYVlD','<div\x20id=\x22map-component\x22>','dir','kit/esri/map/','pathFromApp','injectIntoFile','9023157gjBTrS','.js','256wqQWjn','getMakaProjectConfig','/imports/startup/lib/templates','true','/imports/ui/hooks','(((.+)+)+)+$','138228KjaKTo','search','esri-loader','259tzOLGH','/imports/startup/client/templates','5227850eMIxXJ','toString','fsi','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','bright','/imports/ui/','<div\x20id=\x22map-hook\x22>','error','baseDir','checkNpmPackage','211522ffoixU','ssr','constructor','278460fMxFgM','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','map','1170096lUFYfE','withValue','exit','Generating\x20a\x20map\x20component','split','injectTemplateModule','33tJXYdT','injectImport','appName','create','Generate\x20an\x20Esri\x20map\x20component','@esri/react-arcgis','basic-map','react','FALSE','page'];a106c=function(){return u;};return a106c();}a106a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a106e from'./esri.generator.js';import a106f from'../../../generators/maka.gen.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0x13b;let f=c[d];return f;},a106d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a106r(0x151)]({'name':a106r(0x147),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a106r(0x152),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a106r(0x156)]},'description':a106r(0x13b)},async function(a,b){const s=a106r;try{Log[s(0x13c)](s(0x14b));const c=s(0x154);await this[s(0x16f)][s(0x141)]([s(0x153),s(0x16a)],{'shouldInstall':!![]});const d=this[s(0x16f)][s(0x159)](),f=this[s(0x16f)][s(0x163)](),g=f['engines'][s(0x143)]===s(0x165),h=await a106f['processAndRunGenerator'](s(0x157),[s(0x147)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x150)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x140)]?s(0x13d)+b[s(0x140)]:s(0x166),k=this['fsi'][s(0x15e)]({'pathParts':[j,b[s(0x15c)],paramCase(c),paramCase(c)]});this['fsi'][s(0x149)](f,async()=>{const t=s;this['fsi']['template']({'srcPath':t(0x15d)+c+t(0x161),'destPath':k+'.js','framework':t(0x155),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x15c)]+'/'+c+'/'+c;await this[s(0x16f)][s(0x14d)](c,f,l);const m=h[s(0x14c)]('/'),n=this[s(0x16f)][s(0x15e)]({'pathParts':m});await this[s(0x16f)][s(0x14f)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x164):s(0x16c),'isNamedExport':!![]}),await this[s(0x16f)][s(0x15f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x146),'begin':[s(0x13e),s(0x15b)],'end':['</div>'],'replace':!![]});}catch(o){Log[s(0x13f)](o),process[s(0x14a)](0x1);}},a106e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a108i=a108d;function a108c(){const j=['search','maka\x20g:k','5531224IjFNJC','3437112oDidmI','2883010soNfgm','4501224AewMnm','(((.+)+)+)+$','constructor','2839860FzPhCm','create','4qlTfXz','1093771rwUpbu','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','222892kOQBIQ','apply','toString','9uPYATD'];a108c=function(){return j;};return a108c();}(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0xb4))/0x1*(parseInt(f(0xb0))/0x2)+parseInt(f(0xae))/0x3+parseInt(f(0xa9))/0x4+-parseInt(f(0xaa))/0x5+-parseInt(f(0xab))/0x6+-parseInt(f(0xb1))/0x7+parseInt(f(0xa8))/0x8*(parseInt(f(0xa5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x8ac8a));function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0xa5;let f=c[d];return f;},a108d(a,b);}const a108b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a108d;if(c){const e=c[g(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a108a=a108b(this,function(){const h=a108d;return a108a['toString']()[h(0xa6)](h(0xac))[h(0xb6)]()[h(0xad)](a108a)['search'](h(0xac));});a108a();import{Generator}from'../../generator.js';const KitGen=Generator[a108i(0xaf)]({'name':a108i(0xb3),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a108i(0xb2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a108i(0xa7)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=parseInt(f(0x1a8))/0x1*(parseInt(f(0x1a0))/0x2)+parseInt(f(0x1a4))/0x3*(parseInt(f(0x1a9))/0x4)+parseInt(f(0x19f))/0x5*(parseInt(f(0x1a7))/0x6)+-parseInt(f(0x1aa))/0x7+parseInt(f(0x1a1))/0x8+-parseInt(f(0x1a5))/0x9*(-parseInt(f(0x19e))/0xa)+-parseInt(f(0x1a6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0xaa68c));var a111b=(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;};}()),a111a=a111b(this,function(){var g=a111d;return a111a[g(0x19d)]()['search'](g(0x1a3))[g(0x19d)]()['constructor'](a111a)[g(0x1a2)](g(0x1a3));});function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x19d;var f=c[d];return f;},a111d(a,b);}a111a();import'./mui.generator.js';import'./frame.mui.gen.js';function a111c(){var h=['toString','86170DVIMAJ','5sqxMLT','164pwvToR','7679224ZShvRM','search','(((.+)+)+)+$','9bHFimY','1359ixCEbl','52725431IAvnwi','7631634FafDxE','14878DoVjuL','1633792afhFTi','3409924OoBIcp'];a111c=function(){return h;};return a111c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109A=a109d;function a109c(){const D=['getFiles','replaceAll','18VzUQLR','fsi','1949448fJRvvV','21RsZNUw','basic-app-bar','basic-drawer','{\x20this.props.children\x20}','template','2270736VUNHFY','2915602hDxNof','5284510jHwbbL','appName','injectTemplateModule','maka\x20generate:kit:mui:frame','injectIntoFile','947634IBxHun','pathFromApp','test','20SlOhrg','constructor','{\x20props.children\x20}','options','length','jsx','checkMeteorPackage','dir','react','withValue','<div\x20id=\x22','engines','709617vDFnYV','findAppDirectory','apply','toString','search','imports','No\x20layouts\x20selected','ssr','getDirectories','-component\x22>','(((.+)+)+)+$','/imports/startup/client/templates','join','{props.children}','create','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','tsx','4857556aWfvIH','layouts','app-tests','5LMQQFJ','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x20/>\x0a','getMakaProjectConfig','frame','MATERIAL','.js','-hook\x22>','injectImport','baseDir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','maka\x20g:k:m:f','error'];a109c=function(){return D;};return a109c();}(function(a,b){const x=a109d,c=a();while(!![]){try{const d=-parseInt(x(0x150))/0x1+-parseInt(x(0x17d))/0x2+parseInt(x(0x17c))/0x3+parseInt(x(0x162))/0x4*(parseInt(x(0x165))/0x5)+-parseInt(x(0x183))/0x6*(-parseInt(x(0x177))/0x7)+-parseInt(x(0x176))/0x8*(parseInt(x(0x174))/0x9)+-parseInt(x(0x186))/0xa*(-parseInt(x(0x17e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb7636));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a109d;if(c){const e=c[y(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const z=a109d;return a109a[z(0x153)]()['search'](z(0x15a))['toString']()[z(0x187)](a109a)[z(0x154)](z(0x15a));});a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x149;let f=c[d];return f;},a109d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a109e from'path';import a109f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109A(0x15e)]({'name':a109A(0x169),'aliases':['f'],'usage':a109A(0x16f),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a109A(0x16a)],'client':ClientEngines['REACT']},'examples':[a109A(0x181),a109A(0x170)],'description':a109A(0x160)},async function(a,b){const B=a109A;try{const c=B(0x178),d=B(0x179),f=this[B(0x175)][B(0x168)](),g=f[B(0x14f)][B(0x157)]==='true';await this[B(0x175)][B(0x14a)]('session',{'shouldInstall':!![]});const h=this[B(0x175)][B(0x151)](),i=a109e['join'](h,B(0x155),'ui','layouts'),j=this[B(0x175)][B(0x158)](i),k=await Actions[B(0x189)]({'type':'checkbox','name':'layouts','message':B(0x166),'choices':j});if(k[B(0x163)][B(0x18a)]===0x0){Log[B(0x171)](B(0x156));return;}const l=b[B(0x16e)]?'/imports/ui/'+b[B(0x16e)]:'/imports/ui/hooks',m=this[B(0x175)][B(0x184)]({'pathParts':[l,b[B(0x14b)],paramCase(c),paramCase(c)]}),n=this['fsi'][B(0x184)]({'pathParts':[l,b[B(0x14b)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x17f)])[B(0x173)]('-','\x20')};await this[B(0x175)][B(0x14d)](f,async()=>{const C=B;await this[C(0x175)][C(0x17b)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0x16b),'destPath':m+C(0x16b),'framework':C(0x14c),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/frame/drawers/'+d+C(0x16b),'destPath':n+'.js','framework':C(0x14c),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b['dir']+'/'+c+'/'+c;await this[B(0x175)][B(0x180)](c,f,p);const q=''+l+b['dir']+'/'+d+'/'+d;await this[B(0x175)][B(0x180)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x175)][B(0x172)](a109e['join'](i,s),{'extensions':[B(0x149),B(0x161)],'omit':[B(0x164),'tests',B(0x185)]});for(const u of t){const v=a109e[B(0x15c)](i,s,u);await this['fsi'][B(0x16d)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':B(0x15b),'isNamedExport':!![]}),await this[B(0x175)][B(0x182)]({'filePath':v,'content':'<'+pascalCase(c)+B(0x167),'begin':[B(0x14e)+s+'-component\x22>',B(0x14e)+s+B(0x16c)],'end':['{this.props.children}',B(0x17a),B(0x15d),B(0x188)]}),await this[B(0x175)][B(0x16d)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?'/imports/startup/lib/templates':B(0x15b),'isNamedExport':!![]}),await this[B(0x175)][B(0x182)]({'filePath':v,'content':'<'+pascalCase(d)+B(0x167),'begin':[B(0x14e)+s+B(0x159),B(0x14e)+s+'-hook\x22>'],'end':[B(0x15f),'{\x20this.props.children\x20}','{props.children}',B(0x188)]});}}}catch(w){Log[B(0x171)](w);}},a109f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a110i=a110d;function a110c(){const j=['30526CtTpER','1875pQNXAq','9biOQmF','8UfqPWq','apply','create','constructor','160jZHfmM','2466270BVzNRs','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','(((.+)+)+)+$','maka\x20g:kit:m','toString','4367510PpFTlz','mui','4911795dKvXUV','787377gZJSiu','2061636lIaUGC'];a110c=function(){return j;};return a110c();}(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x1cf))/0x1*(-parseInt(f(0x1cd))/0x2)+-parseInt(f(0x1cb))/0x3+-parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1ce))/0x5)+parseInt(f(0x1cc))/0x6+parseInt(f(0x1c8))/0x7*(-parseInt(f(0x1d0))/0x8)+parseInt(f(0x1ca))/0x9+parseInt(f(0x1d5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x6222e));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x1c7)]()[h(0x1c3)](h(0x1c5))[h(0x1c7)]()[h(0x1d3)](a110a)[h(0x1c3)](h(0x1c5));});function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a110d(a,b);}a110a();import{Generator}from'../../../generator.js';import a110e from'../kit.js';const MuiGen=Generator[a110i(0x1d2)]({'name':a110i(0x1c9),'aliases':['m'],'usage':a110i(0x1c4),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a110i(0x1c6)]},async function(){throw'NIE';},a110e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113n=a113d;(function(a,b){const l=a113d,c=a();while(!![]){try{const d=parseInt(l(0x132))/0x1+-parseInt(l(0x109))/0x2+-parseInt(l(0x119))/0x3+parseInt(l(0x12e))/0x4+-parseInt(l(0x107))/0x5+-parseInt(l(0x110))/0x6*(-parseInt(l(0x113))/0x7)+parseInt(l(0x126))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x56e29));const a113b=(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;};}()),a113a=a113b(this,function(){const m=a113d;return a113a['toString']()['search'](m(0x12b))[m(0x10b)]()[m(0x115)](a113a)[m(0x111)](m(0x12b));});a113a();import a113e from'path';import{Generator}from'../generator.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xfd;let f=c[d];return f;},a113d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a113c(){const q=['fileName','react','injectTemplateModule','3485685Ughbqp','warn','370408XYHpsC','split','toString','test','string','checkNpmPackage','template','1249650uxOCuu','search','resourceName','14pfWfhS','assign','constructor','pathFromProject','api','injectAtBeginningOfFile','1876887gLVsFL','/imports/ui/layouts','withHook','import\x20\x27./','ssr','className','features','engines','setTemplate','graphql','component/component.js','findAppDirectory','pathFromApp','4983848KhNMrG','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','client','create','(((.+)+)+)+$','css','hook/hook.js','1406272LMVoGx','fsi','ramda','maka\x20g:l\x20web/safari','472752vgkUds','Scaffolding\x20for\x20a\x20React\x20Layout.','theme','maka\x20g:layout\x20mobile/iPhone8','dir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.js','true','getMakaProjectConfig'];a113c=function(){return q;};return a113c();}const aliases=['l'];Generator[a113n(0x12a)]({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a113n(0x133),'validOpts':[],'examples':[a113n(0xfe),a113n(0x131)]},async function(a,b){const o=a113n,c=o(0x11a),d=this[o(0x12f)][o(0x124)](),e=this[o(0x12f)][o(0x125)]({'pathParts':[c,b[o(0xff)],paramCase(b[o(0x112)]),paramCase(b['resourceName'])]}),f=this[o(0x12f)][o(0x103)]();await this[o(0x12f)]['withValue'](f,async()=>{const p=o;typeof f[p(0x10f)][p(0x10c)]==='string'&&(f['template'][p(0x10c)]=f['template']['test']==='true'?!![]:![],this[p(0x12f)]['setTemplate']('test',f[p(0x10f)][p(0x10c)]));typeof f[p(0x10f)]['css']==='string'&&(f[p(0x10f)][p(0x12c)]=f[p(0x10f)]['css']===p(0x102)?!![]:![],this['fsi'][p(0x121)]('css',f[p(0x10f)]['css']));typeof f[p(0x10f)]['js']===p(0x10d)&&(f[p(0x10f)]['js']=f['template']['js']===p(0x102)?!![]:![],this['fsi'][p(0x121)]('js',f[p(0x10f)]['js']));!f[p(0x11f)]&&(f[p(0x11f)]={});const g=b['_']?b['_'][0x0][p(0x10a)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x10e)](p(0x130))&&(Log['warn'](p(0x100)),this[p(0x12f)]['installNpmPackage'](p(0x130),{'cwd':d}));if(h&&!this[p(0x10e)]('react')){Log[p(0x108)](p(0x128));return;}const i={'name':pascalCase(b[p(0x112)]),'myPath':a113e['relative'](this[p(0x12f)][p(0x116)]({}),e),'cssCaseName':paramCase(b[p(0x112)]),'className':pascalCase(b[p(0x112)]),'camelCaseName':camelCase(b[p(0x112)]),'fileName':paramCase(b[p(0x112)]),'graphql':f['engines'][p(0x122)],'features':f['features'],'client':f[p(0x120)][p(0x129)],'api':f[p(0x120)][p(0x117)],'ssr':f[p(0x120)][p(0x11d)],'test':f[p(0x120)][p(0x10c)],'theme':f[p(0x120)][p(0xfd)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x11f)]['withTranslations']};f[p(0x11f)]?.['withHooks']||b[p(0x11b)]?await this[p(0x12f)][p(0x10f)]({'srcPath':p(0x12d),'destPath':e+p(0x101),'framework':p(0x105),'context':i,'config':f}):await this['fsi']['template']({'srcPath':p(0x123),'destPath':e+'.js','framework':p(0x105),'context':i,'config':f});f[p(0x120)][p(0x10c)]!=='none'&&await this[p(0x12f)][p(0x10f)]({'srcPath':'test/test.js','destPath':e+p(0x127),'framework':p(0x105),'context':i,'config':f});f[p(0x10f)][p(0x12c)]&&(await this[p(0x12f)][p(0x10f)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object[p(0x114)]({},i,{'className':paramCase(b[p(0x112)])}),'config':f}),await this['fsi'][p(0x118)]({'filePath':e+'.'+f[p(0x120)]['js'],'content':p(0x11c)+i[p(0x104)]+'.'+f[p(0x120)][p(0x12c)]+'\x27;'}));const j=b[p(0xff)]?'/'+b[p(0xff)]+'/':'/',k=''+c+j+i[p(0x104)]+'/'+i[p(0x104)];await this[p(0x12f)][p(0x106)](i[p(0x11e)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a114i=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=parseInt(f(0x192))/0x1*(parseInt(f(0x19d))/0x2)+-parseInt(f(0x19e))/0x3*(parseInt(f(0x19a))/0x4)+parseInt(f(0x19b))/0x5+parseInt(f(0x196))/0x6+-parseInt(f(0x1a3))/0x7*(parseInt(f(0x193))/0x8)+-parseInt(f(0x19c))/0x9+parseInt(f(0x194))/0xa*(-parseInt(f(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xc69fd));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a114d;if(c){const e=c[g(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const h=a114d;return a114a[h(0x191)]()[h(0x1a1)](h(0x1a2))[h(0x191)]()['constructor'](a114a)[h(0x1a1)](h(0x1a2));});function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x190;let f=c[d];return f;},a114d(a,b);}function a114c(){const j=['generate','search','(((.+)+)+)+$','2653eCYIUC','apply','maka\x20g:scaffold\x20todos','toString','1dLwNFK','17672xWlosS','83030EoKnpi','maka\x20g:dbc\x20geoserver\x20--type=pgsql','8101506ipvSdn','maka\x20g:package\x20package:name','297TMutva','maka\x20g:route\x20todos/edit','4fHnpLv','3725865xTWTky','11890314PagZll','2935480aoVoKe','1101183mnEtoT','maka\x20{generate,\x20g}:<generator>\x20<name>'];a114c=function(){return j;};return a114c();}a114a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a114i(0x1a0),'aliases':['g'],'usage':a114i(0x19f),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':['maka\x20generate:scaffold\x20todos',a114i(0x190),'maka\x20g:template\x20todos/todo_item',a114i(0x197),a114i(0x199),'maka\x20g:api\x20trucks',a114i(0x195)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x133;let f=c[d];return f;},a115d(a,b);}const a115m=a115d;(function(a,b){const j=a115d,c=a();while(!![]){try{const d=-parseInt(j(0x146))/0x1*(parseInt(j(0x153))/0x2)+parseInt(j(0x13a))/0x3+-parseInt(j(0x138))/0x4*(parseInt(j(0x148))/0x5)+-parseInt(j(0x14b))/0x6+parseInt(j(0x151))/0x7+parseInt(j(0x143))/0x8+-parseInt(j(0x149))/0x9*(parseInt(j(0x134))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x5822e));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a115d;if(c){const e=c[k(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const l=a115d;return a115a[l(0x133)]()['search']('(((.+)+)+)+$')[l(0x133)]()[l(0x145)](a115a)['search']('(((.+)+)+)+$');});a115a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a115c(){const p=['mdg:validated-method','2068HZAFdj','import\x20\x27./methods','2084226DmxkAe','appPathPrefix','resourceName','pathFromApp','method/method.js','-rpc-method.','index.','maka:check','maka\x20g:method\x20todos','4280152dXQttY','imports','constructor','25306ivXSax','dir','3075VOdCUK','9ZNGhin','tsx','1082538BPULVU','engines','apply','methods','template','startup','3136448DKSzIt','error','56vxRSkE','fsi','injectAtEndOfFile','toString','1098730LKcpcr','withValue','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html'];a115c=function(){return p;};return a115c();}Generator['create']({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a115m(0x136),'validOpts':[a115m(0x147)],'examples':[a115m(0x142)]},async function(a,b){const n=a115m;try{const c=this[n(0x154)]['getMakaProjectConfig']();await this[n(0x154)][n(0x135)](c,async()=>{const o=n,d=paramCase(b[o(0x13c)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x13c)]),'camelCase':camelCase(b[o(0x13c)]),'noRename':!![]};let g='js';c[o(0x14c)]['js']===o(0x14a)&&(g='ts');await this[o(0x154)]['checkMeteorPackage']([o(0x141),'ddp-rate-limiter',o(0x137)],{'shouldInstall':!![]}),await this[o(0x154)][o(0x14f)]({'srcPath':o(0x13e),'destPath':this['fsi'][o(0x13d)]({'pathParts':[o(0x144),o(0x150),b[o(0x13b)],o(0x14e),b[o(0x147)],d+o(0x13f)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x147)]+'/':'/',i=this[o(0x154)][o(0x13d)]({'pathParts':[o(0x144),'startup',b[o(0x13b)],o(0x140)+c[o(0x14c)]['js']]});await this[o(0x154)][o(0x155)]({'filePath':i,'content':o(0x139)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x152)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0x176))/0x1+parseInt(l(0x19a))/0x2+-parseInt(l(0x177))/0x3+-parseInt(l(0x18f))/0x4*(-parseInt(l(0x18d))/0x5)+parseInt(l(0x197))/0x6*(parseInt(l(0x189))/0x7)+parseInt(l(0x195))/0x8*(parseInt(l(0x192))/0x9)+parseInt(l(0x18c))/0xa*(parseInt(l(0x187))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x83be4));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x173;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x18a)]()[n(0x17a)](n(0x17c))[n(0x18a)]()[n(0x181)](a116a)[n(0x17a)]('(((.+)+)+)+$');});a116a();import a116e from'path';import{Generator}from'../generator.js';function a116c(){const r=['store','component','280665BFWTYc','tests/server','21TfBLys','toString','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','20cCrYiu','1305OLwkxc','server','6472puuDRo','package','pathFromApp','405TtzZUe','hasOwnProperty','package/','78072OgMylJ','dir','1217382eHlxCT','package/package.js','package.js','378512GQgvjE','pathFromProject','theme','engines','apply','1045837wCMIqP','374919lGJbiy','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template','search','noRename','(((.+)+)+)+$','fsi','create','client','layout','constructor','tests/client','lib','resourceName'];a116c=function(){return r;};return a116c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116o(0x17e)]({'name':a116o(0x190),'aliases':['p'],'usage':a116o(0x178),'shortDesc':a116o(0x18b),'validOpts':[a116o(0x196)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a116o,c=paramCase(b[p(0x184)]),d=this[p(0x17d)][p(0x191)]({'pathParts':['packages',b[p(0x196)],c]}),e=this['fsi']['pathFromAppWithNoReWrite']({'pathParts':['packages',b[p(0x196)],c,p(0x199)]}),f=this[p(0x17d)]['getMakaProjectConfig']();await this[p(0x17d)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a116e['relative'](this[q(0x17d)][q(0x19b)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x184)]),'fileName':c,'client':f[q(0x174)][q(0x17f)],'graphql':f[q(0x174)]['graphql'],'ssr':f[q(0x174)]['ssr'],'isComponent':b[q(0x193)](q(0x186)),'isLayout':b['hasOwnProperty'](q(0x180)),'isStore':b[q(0x193)](q(0x185)),'features':f['features'],'noRename':!![],'theme':f[q(0x174)][q(0x173)]};await this['fsi'][q(0x179)]({'srcPath':q(0x198),'destPath':e,'context':g,'config':f}),g[q(0x17b)]=![];const h=d+'/client/'+c+'.js';await this[q(0x17d)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x183),q(0x18e),q(0x182),q(0x188)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi']['template']({'srcPath':q(0x194)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a117d(a,b);}const a117m=a117d;(function(a,b){const j=a117d,c=a();while(!![]){try{const d=-parseInt(j(0x1e9))/0x1+parseInt(j(0x20b))/0x2*(parseInt(j(0x1f1))/0x3)+parseInt(j(0x1ff))/0x4+-parseInt(j(0x1d9))/0x5+parseInt(j(0x1f2))/0x6*(-parseInt(j(0x206))/0x7)+parseInt(j(0x1e8))/0x8+parseInt(j(0x211))/0x9*(parseInt(j(0x1d2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2e95b));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a117d;if(c){const e=c[k(0x210)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const l=a117d;return a117a['toString']()[l(0x1d1)]('(((.+)+)+)+$')[l(0x1f8)]()[l(0x1e5)](a117a)[l(0x1d1)](l(0x20f));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a117f from'../generators/maka.gen.js';function a117c(){const p=['resourceName','theme','constructor','pathFromProject','import\x20\x27./','173648LTHwVE','119337hyLVcY','setTemplate','.css','withHook','className','hasOwnProperty','api','html','45777wIoagR','568170dlZQKl','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','test','pathFromApp','.js','layouts','toString','withHooks','client','route','checkNpmPackage','.app-tests.js','page','797468ilvYQl','relative','maka\x20g:page\x20todos/todos-item','fileName','features','template','component','7eULiAH','withTranslations','dir','graphql','processAndRunGenerator','8gBZxws','assign','/imports/ui/pages','withValue','(((.+)+)+)+$','apply','1984761kYIpEh','template/template.html','injectAtBeginningOfFile','vanilla','ramda','injectTemplateModule','search','20XXXPKE','true','hooks','ssr','.html','create','engines','1591620GfUbfX','warn','css','string','hook/hook.js','Updating\x20npm\x20packages\x20...','react','fsi','installNpmPackage','baseDir'];a117c=function(){return p;};return a117c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a117m(0x1d7)]({'name':a117m(0x1fe),'aliases':aliases,'usage':a117m(0x1f3),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a117m(0x1e2),'values':[a117m(0x1d4),'components','pages',a117m(0x1f7)]},{'name':a117m(0x1ec),'boolFlag':!![]}],'examples':[a117m(0x201)]},async function(a,b){const n=a117m,c=b[n(0x1e2)]?'/imports/ui/'+b[n(0x1e2)]:n(0x20d),d=this[n(0x1e0)][n(0x1f5)](b),e=this['fsi'][n(0x1f5)]({'pathParts':[c,b[n(0x208)],paramCase(b['resourceName']),paramCase(b[n(0x1e3)])]}),f=this['fsi']['getMakaProjectConfig']();let g='';return await this['fsi'][n(0x20e)](f,async()=>{const o=n;typeof f[o(0x204)][o(0x1f0)]===o(0x1dc)&&(f[o(0x204)]['html']=f[o(0x204)]['html']===o(0x1d3)?!![]:![],this[o(0x1e0)][o(0x1ea)](o(0x1f0),f[o(0x204)][o(0x1f0)]));typeof f['template'][o(0x1f4)]===o(0x1dc)&&(f['template'][o(0x1f4)]=f[o(0x204)]['test']===o(0x1d3)?!![]:![],this[o(0x1e0)][o(0x1ea)](o(0x1f4),f[o(0x204)]['test']));typeof f[o(0x204)][o(0x1db)]===o(0x1dc)&&(f[o(0x204)][o(0x1db)]=f[o(0x204)][o(0x1db)]===o(0x1d3)?!![]:![],this[o(0x1e0)][o(0x1ea)](o(0x1db),f[o(0x204)][o(0x1db)]));typeof f[o(0x204)]['js']==='string'&&(f['template']['js']=f[o(0x204)]['js']===o(0x1d3)?!![]:![],this['fsi'][o(0x1ea)]('js',f[o(0x204)]['js']));!f[o(0x203)]&&(f['features']={});!b['root']&&!this[o(0x1e0)][o(0x1fc)]('ramda')&&(Log[o(0x1da)](o(0x1de)),this[o(0x1e0)][o(0x1e1)](o(0x215),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a117e[o(0x200)](this['fsi'][o(0x1e6)]({}),e),'cssCaseName':paramCase(b[o(0x1e3)]),'className':pascalCase(b[o(0x1e3)]),'camelCaseName':camelCase(b[o(0x1e3)]),'fileName':paramCase(b[o(0x1e3)]),'graphql':f[o(0x1d8)][o(0x209)],'features':f[o(0x203)],'client':f['engines'][o(0x1fa)],'api':f[o(0x1d8)][o(0x1ef)],'ssr':f[o(0x1d8)][o(0x1d5)],'isStore':b['hasOwnProperty']('store'),'isComponent':b['hasOwnProperty'](o(0x205)),'isLayout':b[o(0x1ee)]('layout'),'withTranslations':f[o(0x203)][o(0x207)],'test':f[o(0x1d8)][o(0x1f4)],'theme':f[o(0x1d8)][o(0x1e4)]};f[o(0x204)][o(0x1f0)]&&await this[o(0x1e0)][o(0x204)]({'srcPath':o(0x212),'destPath':e+o(0x1d6),'context':h,'config':f});f[o(0x203)]?.[o(0x1f9)]||b[o(0x1ec)]?await this[o(0x1e0)][o(0x204)]({'srcPath':o(0x1dd),'destPath':e+o(0x1f6),'framework':o(0x1df),'context':h,'config':f}):await this[o(0x1e0)][o(0x204)]({'srcPath':'component/component.js','destPath':e+o(0x1f6),'framework':o(0x1df),'context':h,'config':f});f[o(0x1d8)][o(0x1f4)]!=='none'&&await this[o(0x1e0)][o(0x204)]({'srcPath':'test/test.js','destPath':e+o(0x1fd),'framework':o(0x1df),'context':h,'config':f});f[o(0x204)][o(0x1db)]&&await this['fsi'][o(0x204)]({'srcPath':'template/template.css','destPath':e+o(0x1eb),'context':Object[o(0x20c)]({},h,{'className':paramCase(b[o(0x1e3)])}),'config':f});f[o(0x1d8)][o(0x1fa)]!==o(0x1df)&&f[o(0x1d8)][o(0x1fa)]!==o(0x214)?(f['template']['css']&&await this[o(0x1e0)][o(0x213)]({'filePath':e+'.'+f[o(0x1d8)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f['engines'][o(0x1f0)]+'\x27;\x0a'+o(0x1e7)+h[o(0x202)]+'.'+f[o(0x1d8)][o(0x1db)]+'\x27;'}),!f[o(0x204)][o(0x1db)]&&await this[o(0x1e0)][o(0x213)]({'filePath':e+'.'+f[o(0x1d8)]['js'],'content':o(0x1e7)+h[o(0x202)]+'.'+f[o(0x1d8)][o(0x1f0)]+'\x27;'})):f[o(0x204)]['css']&&await this['fsi'][o(0x213)]({'filePath':e+'.'+f[o(0x1d8)]['js'],'content':o(0x1e7)+h[o(0x202)]+'.'+f[o(0x1d8)]['css']+'\x27;'});const i=b['dir']?'/'+b[o(0x208)]+'/':'/';g=''+c+i+h[o(0x202)]+'/'+h[o(0x202)],await this[o(0x1e0)][o(0x216)](h[o(0x1ed)],f,g),!b['root']&&await a117f[o(0x20a)](o(0x1fb),[i+h[o(0x1ed)]],b);}),g+'.'+f[n(0x1d8)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a118c(){const n=['apply','create','publish/publish.','publish','8490536sTrcCA','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','server/publish.','fsi','2984619QatpcH','engines','maka\x20g:publish\x20todos','5lbYZKC','5660058yRbhlQ','toString','533324WXaNgG','getMakaProjectConfig','templateContent','search','3022859JjUygc','withValue','1286736UViaFG','resourceName','(((.+)+)+)+$','2517800NwkwXl'];a118c=function(){return n;};return a118c();}const a118k=a118d;(function(a,b){const h=a118d,c=a();while(!![]){try{const d=parseInt(h(0x6c))/0x1+parseInt(h(0x6f))/0x2+parseInt(h(0x78))/0x3+-parseInt(h(0x7e))/0x4+parseInt(h(0x7b))/0x5*(-parseInt(h(0x7c))/0x6)+-parseInt(h(0x6a))/0x7+-parseInt(h(0x74))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xecfb9));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x68;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a118d;if(c){const e=c[i(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const j=a118d;return a118a[j(0x7d)]()[j(0x69)](j(0x6e))[j(0x7d)]()['constructor'](a118a)[j(0x69)]('(((.+)+)+)+$');});a118a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a118k(0x71)]({'name':a118k(0x73),'aliases':['p'],'usage':a118k(0x75),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[],'examples':[a118k(0x7a)]},async function(a,b){const l=a118k,c=this['fsi'][l(0x7f)]();await this[l(0x77)][l(0x6b)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b[m(0x6d)]),'noRename':!![]};let e='js';c['engines']['js']==='tsx'&&(e='ts');const f=this[m(0x77)]['rewriteDestinationPathForEngine']({'pathParts':[m(0x76)+c[m(0x79)]['js']]}),g=this[m(0x77)][m(0x68)]({'srcPath':m(0x72)+e,'context':d,'config':c});await this[m(0x77)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|