@maka/maka-cli 4.7.16 → 4.7.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +29 -29
- package/.mocharc.json +3 -3
- package/README.md +21 -21
- package/bundle/obf/package.json +126 -126
- package/bundle/obf/src/README.md +21 -21
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/api.js +11 -11
- package/bundle/obf/src/templates/meteor/api/api.js.ts +11 -11
- package/bundle/obf/src/templates/meteor/api/collection.js +86 -86
- package/bundle/obf/src/templates/meteor/api/collection.js.ts +94 -94
- package/bundle/obf/src/templates/meteor/api/fixtures.js +23 -23
- package/bundle/obf/src/templates/meteor/api/fixtures.js.ts +23 -23
- package/bundle/obf/src/templates/meteor/api/methods.js +136 -136
- package/bundle/obf/src/templates/meteor/api/methods.js.ts +137 -137
- package/bundle/obf/src/templates/meteor/api/publications.js +31 -31
- package/bundle/obf/src/templates/meteor/api/publications.js.ts +31 -31
- package/bundle/obf/src/templates/meteor/api/register-api.js +15 -15
- package/bundle/obf/src/templates/meteor/api/register-api.js.ts +15 -15
- package/bundle/obf/src/templates/meteor/api/resolvers.js +9 -9
- package/bundle/obf/src/templates/meteor/api/resolvers.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/api/tests.js +1 -1
- package/bundle/obf/src/templates/meteor/api/tests.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/api/typeDefs.js +5 -5
- package/bundle/obf/src/templates/meteor/api/typeDefs.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/app/client/body.html +3 -3
- package/bundle/obf/src/templates/meteor/app/client/head.html +15 -15
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.app-tests.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/client/main.js +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.jsx +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.ts +13 -13
- package/bundle/obf/src/templates/meteor/app/client/main.js.tsx +13 -13
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js +20 -20
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +117 -117
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.ts +20 -20
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +118 -118
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js +39 -39
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.jsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.ts +24 -24
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/routes.js.tsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/templates.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +21 -21
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +21 -21
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +48 -48
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +152 -152
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +152 -152
- package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js +24 -24
- package/bundle/obf/src/templates/meteor/app/imports/ui/test-helpers.js.ts +24 -24
- package/bundle/obf/src/templates/meteor/app/lib/main.js +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/app/lib/main.js.tsx +1 -1
- package/bundle/obf/src/templates/meteor/app/maka.d.ts +160 -160
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +955 -955
- package/bundle/obf/src/templates/meteor/app/public/manifest.json +27 -27
- package/bundle/obf/src/templates/meteor/app/public/sw.js +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.jsx +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.ts +30 -30
- package/bundle/obf/src/templates/meteor/app/public/sw.js.tsx +30 -30
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +179 -179
- package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +179 -179
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.jsx +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.ts +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.app-tests.js.tsx +9 -9
- package/bundle/obf/src/templates/meteor/app/server/main.js +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.ts +11 -11
- package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +11 -11
- package/bundle/obf/src/templates/meteor/app/tsconfig.json +40 -40
- package/bundle/obf/src/templates/meteor/collection/collection.js +85 -85
- package/bundle/obf/src/templates/meteor/collection/collection.js.ts +97 -97
- package/bundle/obf/src/templates/meteor/collection/tests.js +27 -27
- package/bundle/obf/src/templates/meteor/collection/tests.js.ts +27 -27
- package/bundle/obf/src/templates/meteor/config/docker-compose.yaml +17 -17
- package/bundle/obf/src/templates/meteor/config/pm2.config.js +25 -25
- package/bundle/obf/src/templates/meteor/config/process.env +5 -5
- package/bundle/obf/src/templates/meteor/config/settings.json +11 -11
- package/bundle/obf/src/templates/meteor/config/ssh.json +6 -6
- package/bundle/obf/src/templates/meteor/dbc/config.js +70 -70
- package/bundle/obf/src/templates/meteor/dbc/config.js.ts +70 -70
- package/bundle/obf/src/templates/meteor/dbc/conn.js +37 -37
- package/bundle/obf/src/templates/meteor/dbc/conn.js.ts +37 -37
- package/bundle/obf/src/templates/meteor/dbc/register-dbc.js +3 -3
- package/bundle/obf/src/templates/meteor/dbc/register-dbc.js.ts +3 -3
- package/bundle/obf/src/templates/meteor/method/method.js +48 -48
- package/bundle/obf/src/templates/meteor/method/method.js.ts +48 -48
- package/bundle/obf/src/templates/meteor/package/package.js +37 -37
- package/bundle/obf/src/templates/meteor/package/package.js.jsx +37 -37
- package/bundle/obf/src/templates/meteor/package/package.js.ts +36 -36
- package/bundle/obf/src/templates/meteor/package/package.js.tsx +37 -37
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.jsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/client/package.js.tsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.jsx +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.ts +5 -5
- package/bundle/obf/src/templates/meteor/package/tests/server/package.js.tsx +5 -5
- package/bundle/obf/src/templates/meteor/project/.maka/config.json +29 -29
- package/bundle/obf/src/templates/meteor/project/README.md +1 -1
- package/bundle/obf/src/templates/meteor/project/build/README +4 -4
- package/bundle/obf/src/templates/meteor/project/gitignore +7 -7
- package/bundle/obf/src/templates/meteor/project/package.json +20 -20
- package/bundle/obf/src/templates/meteor/publish/publish.js +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.js.jsx +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.js.tsx +3 -3
- package/bundle/obf/src/templates/meteor/publish/publish.ts +3 -3
- package/bundle/obf/src/templates/meteor/service/logger/logger.js +27 -27
- package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +27 -27
- package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css +5 -5
- package/bundle/obf/src/templates/meteor/stylesheet/stylesheet.css.less +5 -5
- package/bundle/obf/src/templates/meteor/template/template-tests.js +1 -1
- package/bundle/obf/src/templates/meteor/template/template-tests.js.jsx +55 -55
- package/bundle/obf/src/templates/meteor/template/template-tests.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/template/template-tests.js.tsx +55 -55
- package/bundle/obf/src/templates/meteor/template/template.css +3 -3
- package/bundle/obf/src/templates/meteor/template/template.css.less +3 -3
- package/bundle/obf/src/templates/meteor/template/template.css.scss +3 -3
- package/bundle/obf/src/templates/meteor/template/template.html +5 -5
- package/bundle/obf/src/templates/meteor/template/template.js +20 -20
- package/bundle/obf/src/templates/meteor/template/template.js.jsx +77 -77
- package/bundle/obf/src/templates/meteor/template/template.js.ts +1 -1
- package/bundle/obf/src/templates/meteor/template/template.js.tsx +89 -89
- package/bundle/obf/src/templates/react/component/component.css +6 -6
- package/bundle/obf/src/templates/react/component/component.css.less +6 -6
- package/bundle/obf/src/templates/react/component/component.css.scss +3 -3
- package/bundle/obf/src/templates/react/component/component.js.jsx +63 -63
- package/bundle/obf/src/templates/react/component/component.js.tsx +68 -68
- package/bundle/obf/src/templates/react/hook/hook.css +3 -3
- package/bundle/obf/src/templates/react/hook/hook.css.scss +3 -3
- package/bundle/obf/src/templates/react/hook/hook.js +1 -1
- package/bundle/obf/src/templates/react/hook/hook.js.jsx +24 -24
- package/bundle/obf/src/templates/react/hook/hook.js.tsx +23 -23
- package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.jsx +27 -27
- package/bundle/obf/src/templates/react/kit/esri/map/basic-map.js.tsx +29 -29
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.jsx +41 -41
- package/bundle/obf/src/templates/react/kit/mui/frame/app-bars/basic-app-bar.js.tsx +40 -40
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.jsx +118 -118
- package/bundle/obf/src/templates/react/kit/mui/frame/drawers/basic-drawer.js.tsx +116 -116
- package/bundle/obf/src/templates/react/route/route.js +8 -8
- package/bundle/obf/src/templates/react/route/route.js.jsx +8 -8
- package/bundle/obf/src/templates/react/route/route.js.ts +8 -8
- package/bundle/obf/src/templates/react/route/route.js.tsx +8 -8
- package/bundle/obf/src/templates/react/test/test.js +1 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +41 -41
- package/bundle/obf/src/templates/react/test/test.js.ts +1 -1
- package/bundle/obf/src/templates/react/test/test.js.tsx +41 -41
- package/bundle/obf/src/templates/service/docker/Dockerfile +54 -54
- package/bundle/obf/src/templates/service/eslint/eslintrc.json +33 -33
- package/bundle/obf/src/templates/service/i18n/i18n.js +33 -33
- package/bundle/obf/src/templates/service/i18n/i18n.js.ts +33 -33
- package/bundle/obf/src/templates/service/i18n/locales.js +3 -3
- package/bundle/obf/src/templates/service/i18n/locales.js.ts +3 -3
- package/bundle/obf/src/templates/service/openssl/openssl.conf +22 -22
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/jest.config.js +11 -11
- package/obfuscator.json +29 -29
- package/package.json +126 -126
- package/tsconfig.json +23 -23
- package/.vs/VSWorkspaceState.json +0 -15
- package/.vs/maka-cli-src/FileContentIndex/18ca123b-cf4e-4263-8cf0-ed1624e8e918.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/79ef20d9-272b-4d5b-9ece-bc61eda1bad6.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/93947812-c77d-4667-aaed-3f9a0df8b484.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/c4cbf57e-b360-4b2a-8b3d-fc8f800c195a.vsidx +0 -0
- package/.vs/maka-cli-src/FileContentIndex/c9d2ef23-4e6c-46eb-a405-3584022229ed.vsidx +0 -0
- package/.vs/maka-cli-src/config/applicationhost.config +0 -1016
- package/.vs/maka-cli-src/v17/.wsuo +0 -0
- package/.vs/maka-cli-src/v17/workspaceFileList.bin +0 -0
- package/.vs/slnx.sqlite +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a101c(){const q=['Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','(((.+)+)+)+$','className','fsi','none','apply','baseDir','true','template/template.css','7433060rPSCye','/imports/ui/','.css','.js','string','error','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','css','engines','872678CYaDjz','component/component.js','resourceName','injectTemplateModule','hooks','cssCaseName','126Zkzeje','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','pathFromProject','findAppDirectory','pages','client','48062NZLymk','injectAtBeginningOfFile','layouts','180104ZkaHBK','withTranslations','/imports/ui/components','102RClfSn','react','test','getMakaProjectConfig','checkNpmPackage','setTemplate','333JXcZuD','features','api','graphql','root','toString','dir','183636INeGTh','constructor','.tests.js','917250eZWNrc','assign','template','withValue','relative','fileName','163664ElSCnV','installNpmPackage','search','theme','warn','maka\x20g:comp\x20todos/todos-item','ramda'];a101c=function(){return q;};return a101c();}const a101n=a101d;(function(a,b){const k=a101d,c=a();while(!![]){try{const d=parseInt(k(0x132))/0x1+-parseInt(k(0x13f))/0x2*(parseInt(k(0x145))/0x3)+-parseInt(k(0x119))/0x4+-parseInt(k(0x155))/0x5+-parseInt(k(0x152))/0x6*(-parseInt(k(0x138))/0x7)+parseInt(k(0x142))/0x8*(parseInt(k(0x14b))/0x9)+-parseInt(k(0x129))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x73321));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a101d;if(c){const e=c[l(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const m=a101d;return a101a[m(0x150)]()[m(0x11b)](m(0x121))['toString']()[m(0x153)](a101a)[m(0x11b)](m(0x121));});a101a();import a101e from'path';import{camelCase,paramCase,pascalCase}from'change-case';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x118;let f=c[d];return f;},a101d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator['create']({'name':'component','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':a101n(0x120),'validOpts':[{'name':a101n(0x126),'values':[a101n(0x136),'components',a101n(0x13d),a101n(0x141)]}],'examples':[a101n(0x11e)]},async function(a,b){const o=a101n;try{const c=this[o(0x123)][o(0x13c)](),d=b['baseDir']?o(0x12a)+b[o(0x126)]:o(0x144),f=this[o(0x123)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0x134)]),paramCase(b[o(0x134)])]}),g=await this[o(0x123)][o(0x148)]();await this['fsi'][o(0x158)](g,async()=>{const p=o;typeof g[p(0x157)][p(0x147)]===p(0x12d)&&(g[p(0x157)][p(0x147)]=g[p(0x157)][p(0x147)]===p(0x127)?!![]:![],this[p(0x123)]['setTemplate'](p(0x147),g['template'][p(0x147)]));typeof g[p(0x157)][p(0x130)]==='string'&&(g['template']['css']=g[p(0x157)][p(0x130)]===p(0x127)?!![]:![],this[p(0x123)][p(0x14a)](p(0x130),g['template'][p(0x130)]));typeof g['template']['js']==='string'&&(g['template']['js']=g['template']['js']===p(0x127)?!![]:![],this[p(0x123)][p(0x14a)]('js',g[p(0x157)]['js']));!g[p(0x14c)]&&(g['features']={});!b[p(0x14f)]&&!this[p(0x123)][p(0x149)](p(0x11f))&&(Log[p(0x11d)](p(0x12f)),await this[p(0x123)][p(0x11a)](p(0x11f),{'cwd':c}));if(!b[p(0x14f)]&&!this[p(0x123)][p(0x149)](p(0x146))){Log[p(0x12e)](p(0x139));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a101e[p(0x159)](this[p(0x123)][p(0x13b)]({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x134)]),'camelCaseName':camelCase(b[p(0x134)]),'fileName':paramCase(b[p(0x134)]),'graphql':g[p(0x131)][p(0x14e)],'features':g[p(0x14c)],'client':g[p(0x131)][p(0x13e)],'api':g[p(0x131)][p(0x14d)],'ssr':g[p(0x131)][p(0x13a)],'test':g[p(0x131)][p(0x147)],'theme':g[p(0x131)][p(0x11c)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0x14c)][p(0x143)]};await this[p(0x123)][p(0x157)]({'srcPath':p(0x133),'destPath':f+p(0x12c),'context':h,'framework':p(0x146),'config':g});g[p(0x131)]['test']!==p(0x124)&&await this[p(0x123)][p(0x157)]({'srcPath':'test/test.js','destPath':f+p(0x154),'context':h,'framework':p(0x146),'config':g});g[p(0x157)]['css']&&(await this[p(0x123)]['template']({'srcPath':p(0x128),'destPath':f+p(0x12b),'context':Object[p(0x156)]({},h,{'className':paramCase(b[p(0x134)])}),'config':g}),await this[p(0x123)][p(0x140)]({'filePath':f+'.'+g[p(0x131)]['js'],'content':'import\x20\x27./'+h[p(0x137)]+'.'+g[p(0x131)]['css']+'\x27;'}));const i=b[p(0x151)]?'/'+b[p(0x151)]+'/':'/',j=''+d+i+h[p(0x118)]+'/'+h[p(0x118)];await this[p(0x123)][p(0x135)](h[p(0x122)],g,j);});}catch(h){Log[o(0x12e)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a102j=a102d;(function(a,b){const h=a102d,c=a();while(!![]){try{const d=-parseInt(h(0xbc))/0x1*(parseInt(h(0xce))/0x2)+parseInt(h(0xb9))/0x3*(parseInt(h(0xd4))/0x4)+parseInt(h(0xba))/0x5*(parseInt(h(0xc5))/0x6)+-parseInt(h(0xd9))/0x7+-parseInt(h(0xd8))/0x8*(parseInt(h(0xcc))/0x9)+parseInt(h(0xc1))/0xa*(-parseInt(h(0xc0))/0xb)+parseInt(h(0xc9))/0xc*(parseInt(h(0xc7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0x88a91));const a102b=(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;};}()),a102a=a102b(this,function(){const i=a102d;return a102a['toString']()[i(0xc3)]('(((.+)+)+)+$')[i(0xbd)]()[i(0xd3)](a102a)[i(0xc3)](i(0xc2));});function a102d(a,b){const c=a102c();return a102d=function(d,e){d=d-0xb9;let f=c[d];return f;},a102d(a,b);}a102a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a102j(0xd6)]({'name':a102j(0xcf),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a102j(0xd2),'validOpts':[a102j(0xc8)],'examples':[a102j(0xda)]},async function(a,b){const k=a102j,c=this[k(0xc6)]['getMakaProjectConfig']();await this[k(0xc6)][k(0xca)](c,async()=>{const l=k,d={'app':c[l(0xcd)],'appFileCase':paramCase(c[l(0xcd)]),'name':pascalCase(b[l(0xbf)]),'fileName':paramCase(b[l(0xbf)]),'camelCase':camelCase(b['resourceName']),'userName':l(0xc4),'isDocker':b['isDocker']};let e=b[l(0xbf)];if(e===l(0xd7))e=l(0xd5);else e===l(0xbe)&&(e=l(0xdb));const f=this[l(0xc6)]['pathFromProject']({'pathParts':['config',e,'settings.json']});await this[l(0xc6)]['template']({'srcPath':l(0xcb),'destPath':f,'context':d,'config':c});if(!b[l(0xc8)]){const g=this[l(0xc6)][l(0xbb)]({'pathParts':[l(0xcf),e,l(0xd1)]});await this[l(0xc6)][l(0xd0)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});function a102c(){const m=['constructor','8VmFogp','development','create','dev','4042672EyvxSk','4200623rseygo','maka\x20g:config\x20production','production','79449UhDKfj','10jJYvZx','pathFromProject','30973RnpDaB','toString','prod','resourceName','583GDswxQ','173890BqXheF','(((.+)+)+)+$','search','ubuntu','1467306FoWcum','fsi','65AMgRwq','isDocker','5948052uxrWeL','withValue','config/settings.json','9YRSydX','appName','28IHEMMU','config','template','process.env','Generate\x20configuration\x20settings.'];a102c=function(){return m;};return a102c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103m=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0xb7))/0x1+parseInt(j(0xed))/0x2*(parseInt(j(0xcd))/0x3)+parseInt(j(0xdf))/0x4*(-parseInt(j(0xe0))/0x5)+parseInt(j(0xe4))/0x6*(parseInt(j(0xca))/0x7)+-parseInt(j(0xdb))/0x8*(parseInt(j(0xe6))/0x9)+-parseInt(j(0xbf))/0xa*(parseInt(j(0xc9))/0xb)+-parseInt(j(0xbc))/0xc*(-parseInt(j(0xeb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xc5358));const a103b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a103d;if(c){const e=c[k(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a103a=a103b(this,function(){const l=a103d;return a103a[l(0xc1)]()[l(0xc4)](l(0xc2))['toString']()[l(0xec)](a103a)[l(0xc4)](l(0xc2));});function a103c(){const p=['engines','type','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','1694823caevvQ','constructor','235666LtqBzt','dbc/conn.js','dbc/register-dbc.js','1160644CYOttA','checkNpmPackage','import\x20\x27./register-','config.','tsx','60VHbYgw','dir','error','123110KRfWEm','imports','toString','(((.+)+)+)+$','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','search','withValue','dbc/config.js','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','installNpmPackage','847qaOOJw','7PJPQNL','create','maka\x20g:dbc\x20todos\x20--type=sqlite','30lrMMjL','resourceName','pathFromApp','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dbc','server','warn','sqlite','-dbc.','register-','fsi','better-sqlite3','-dbc\x27;','48szSppr','mssql','conn.','injectAtEndOfFile','52GAcNhX','513935DIkDif','template','getMakaProjectConfig','startup','6757410qJyVvG','apply','1537677zuKbOG','index.'];a103c=function(){return p;};return a103c();}a103a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xb6;let f=c[d];return f;},a103d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a103m(0xcb)]({'name':a103m(0xd2),'usage':a103m(0xd1),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a103m(0xbd)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a103m(0xe9),'values':[a103m(0xd0),'mssql',a103m(0xd5)]}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql',a103m(0xcc)]},async function(a,b){const n=a103m;try{const c=await this[n(0xd8)][n(0xe2)](),d=this['fsi']['pathFromApp']({}),f=paramCase(b[n(0xce)]),g={'name':pascalCase(b[n(0xce)]),'fileName':paramCase(b[n(0xce)]),'camelCase':camelCase(b['resourceName']),'type':b[n(0xe9)],'engine':c[n(0xe8)]['js'],'noRename':!![]};await this[n(0xd8)][n(0xc5)](c,async()=>{const o=n;let h='js';c[o(0xe8)]['js']===o(0xbb)&&(h='ts');b['type']===o(0xd0)&&!this[o(0xd8)][o(0xb8)]('pg')&&(Log[o(0xd4)](o(0xea)),await this[o(0xd8)][o(0xc8)]('pg',{'cwd':d}));b[o(0xe9)]===o(0xdc)&&!this[o(0xd8)][o(0xb8)](o(0xdc))&&(Log[o(0xd4)](o(0xc7)),await this[o(0xd8)][o(0xc8)](o(0xdc),{'cwd':d}));b[o(0xe9)]===o(0xd5)&&!this[o(0xd8)][o(0xb8)]('better-sqlite3')&&(Log[o(0xd4)](o(0xc3)),await this[o(0xd8)][o(0xc8)](o(0xd9),{'cwd':d}));await this[o(0xd8)][o(0xe1)]({'srcPath':o(0xc6),'destPath':this[o(0xd8)][o(0xcf)]({'pathParts':[o(0xc0),o(0xe3),'server',o(0xd2),b[o(0xbd)],f,o(0xba)+h]}),'context':g,'config':c}),await this[o(0xd8)][o(0xe1)]({'srcPath':o(0xee),'destPath':this[o(0xd8)]['pathFromApp']({'pathParts':[o(0xc0),o(0xe3),o(0xd3),'dbc',b['dir'],f,o(0xdd)+h]}),'context':g,'config':c}),await this['fsi'][o(0xe1)]({'srcPath':o(0xb6),'destPath':this[o(0xd8)][o(0xcf)]({'pathParts':[o(0xc0),o(0xe3),o(0xd3),o(0xd7)+f+o(0xd6)+h]}),'context':g,'config':c});const i=this[o(0xd8)]['pathFromApp']({'pathParts':[o(0xc0),'startup',o(0xd3),o(0xe7)+c[o(0xe8)]['js']]});await this['fsi'][o(0xde)]({'filePath':i,'content':o(0xb9)+f+o(0xda)});});}catch(h){Log[n(0xbe)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a104d(a,b){const c=a104c();return a104d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a104d(a,b);}const a104i=a104d;(function(a,b){const f=a104d,c=a();while(!![]){try{const d=-parseInt(f(0x1f2))/0x1*(-parseInt(f(0x208))/0x2)+parseInt(f(0x205))/0x3*(parseInt(f(0x204))/0x4)+parseInt(f(0x1f3))/0x5*(parseInt(f(0x200))/0x6)+parseInt(f(0x209))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x1fe))/0x9*(-parseInt(f(0x203))/0xa)+parseInt(f(0x1fb))/0xb+-parseInt(f(0x201))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0x363bf));const a104b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a104d;if(c){const e=c[g(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){const h=a104d;return a104a[h(0x1ed)]()[h(0x1f7)]('(((.+)+)+)+$')[h(0x1ed)]()[h(0x20b)](a104a)['search'](h(0x1f8));});a104a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a104e from'path';Generator['create']({'name':a104i(0x1f6),'usage':a104i(0x20c),'shortDesc':a104i(0x20a),'validOpts':[],'noNeedResource':!![],'examples':[a104i(0x1ef)]},async function(){const j=a104i;try{const a=await this[j(0x1f0)][j(0x206)](),b=await this[j(0x1f0)][j(0x1f1)](),c=this['fsi'][j(0x1fd)]();await this['fsi']['withValue'](a,async()=>{const k=j,d={'app':b[k(0x1ff)],'config':a,'appPath':a104e['join'](c,k(0x20f)),'bundlePath':a104e[k(0x1f5)](c,k(0x20e),k(0x207)),'useCert':this[k(0x1f0)][k(0x1fc)](b['cert'])};await this[k(0x1f0)][k(0x1fa)]({'srcPath':k(0x202),'destPath':a104e['join'](c,k(0x20d)),'framework':k(0x1f9),'context':d,'config':a});});}catch(d){Log['error'](d);}});function a104c(){const l=['service','template','3774595SLPzWI','isFile','findProjectDirectory','767061RbKNpM','appName','31092qborVT','19640076RtHnWf','docker/Dockerfile','50ORgYSJ','176308rsODRo','27emeHMW','getMakaProjectConfig','app.tar.gz','290410rrhVOa','7HsTnVU','Generate\x20an\x20updated\x20dockerfile','constructor','maka\x20{generate,\x20g}:dockerfile','Dockerfile','build','app','toString','apply','maka\x20g:dockerfile','fsi','getGlobalConfig','3YuuTJm','350BzaqNS','844176uqeZRB','join','dockerfile','search','(((.+)+)+)+$'];a104c=function(){return l;};return a104c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105o=a105d;(function(a,b){const l=a105d,c=a();while(!![]){try{const d=parseInt(l(0x167))/0x1*(parseInt(l(0x162))/0x2)+parseInt(l(0x14e))/0x3*(parseInt(l(0x14c))/0x4)+-parseInt(l(0x153))/0x5*(-parseInt(l(0x136))/0x6)+parseInt(l(0x161))/0x7+-parseInt(l(0x15f))/0x8*(-parseInt(l(0x129))/0x9)+parseInt(l(0x12d))/0xa*(parseInt(l(0x16a))/0xb)+-parseInt(l(0x13c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x45454));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a105d;if(c){const e=c[m(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const n=a105d;return a105a[n(0x138)]()[n(0x15d)](n(0x131))[n(0x138)]()['constructor'](a105a)[n(0x15d)](n(0x131));});function a105c(){const r=['Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','test/test.js','true','search','components','24RzBepN','withValue','3633721MKADCi','2UdQyxp','graphql','installNpmPackage','injectAtBeginningOfFile','baseDir','307423BpQLmI','apollo','apply','11GMAwBy','none','withTranslations','1144701hikEBA','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','hook/hook.js','import\x20\x27./','4075030ChxPwZ','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','notice','hook','(((.+)+)+)+$','@apollo/client','features','react','injectTemplateModule','786NvnHMU','/imports/ui/hooks','toString','pathFromProject','hooks','layouts','22509336CJRSUx','.js','/imports/ui/','\x20hook...','engines','pathFromApp','template/template.css','dir','test','maka\x20g:hook\x20cool-hook','css','checkNpmPackage','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','setTemplate','template','warn','508kXFtBW','Creating\x20','5697zmtmnU','.app-tests.js','className','string','fileName','11555rUnLLf','force','@apollo/client\x20isomorphic-fetch','.css','fsi','resourceName','\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'];a105c=function(){return r;};return a105c();}a105a();function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0x129;let f=c[d];return f;},a105d(a,b);}import a105e 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['create']({'name':a105o(0x130),'aliases':['h'],'checkWhere':![],'usage':a105o(0x148),'shortDesc':a105o(0x15a),'validOpts':[{'name':a105o(0x166),'values':[a105o(0x13a),a105o(0x15e),'pages',a105o(0x13b)]},{'name':a105o(0x154),'boolFlag':!![]}],'examples':[a105o(0x145)],'description':a105o(0x159)},async function(a,b){const p=a105o;Log[p(0x12f)](p(0x14d)+b[p(0x158)]+p(0x13f));try{const c=this[p(0x157)][p(0x147)]('react');if(!c){Log['error'](p(0x12e));throw new UsageError();}const d=this[p(0x157)][p(0x141)](b),f=b[p(0x166)]?p(0x13e)+b[p(0x166)]:p(0x137),g=this[p(0x157)]['pathFromApp']({'pathParts':[f,b[p(0x143)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this[p(0x157)]['getMakaProjectConfig']();await this['fsi'][p(0x160)](h,async()=>{const q=p;typeof h[q(0x14a)][q(0x146)]===q(0x151)&&(h[q(0x14a)][q(0x146)]=h[q(0x14a)][q(0x146)]===q(0x15c)?!![]:![],this[q(0x157)][q(0x149)](q(0x146),h['template'][q(0x146)]));h[q(0x140)]['graphql']===q(0x168)&&!this[q(0x157)]['checkNpmPackage'](q(0x132))&&(Log[q(0x14b)](q(0x12a)),await this[q(0x157)][q(0x164)](q(0x155),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h[q(0x140)][q(0x163)],'theme':h[q(0x140)]['theme'],'features':h[q(0x133)],'myPath':a105e['relative'](this[q(0x157)][q(0x139)]({}),g),'fileName':paramCase(b[q(0x158)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x133)][q(0x16c)]};await this[q(0x157)]['template']({'srcPath':q(0x12b),'destPath':g+q(0x13d),'context':i,'config':h,'framework':q(0x134),'force':b[q(0x154)]});h[q(0x14a)][q(0x146)]&&(await this['fsi']['template']({'srcPath':q(0x142),'destPath':g+q(0x156),'context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h,'force':b[q(0x154)]}),await this[q(0x157)][q(0x165)]({'filePath':g+'.'+h['engines']['js'],'content':q(0x12c)+i[q(0x152)]+'.'+h[q(0x140)][q(0x146)]+'\x27;'}));h['engines'][q(0x144)]!==q(0x16b)&&await this[q(0x157)]['template']({'srcPath':q(0x15b),'destPath':g+q(0x14f),'framework':q(0x134),'context':i,'config':h,'force':b[q(0x154)]});const j=b[q(0x143)]?'/'+b[q(0x143)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[q(0x152)];await this[q(0x157)][q(0x135)](i[q(0x150)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a106d,c=a();while(!![]){try{var d=-parseInt(f(0x1ce))/0x1*(parseInt(f(0x1c5))/0x2)+parseInt(f(0x1ca))/0x3+parseInt(f(0x1cc))/0x4*(parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1c3))/0x6+parseInt(f(0x1c4))/0x7+-parseInt(f(0x1c9))/0x8+-parseInt(f(0x1c1))/0x9*(parseInt(f(0x1c7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0x82104));var a106b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a106d;if(c){var e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){var h=a106d;return a106a['toString']()[h(0x1cd)](h(0x1c6))[h(0x1cb)]()[h(0x1c0)](a106a)[h(0x1cd)](h(0x1c6));});a106a();import'./kit.js';function a106d(a,b){var c=a106c();return a106d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a106d(a,b);}function a106c(){var i=['399332uuGmLR','search','43093NEpvjA','constructor','2609991IINrdX','15IpELMy','3120618FzbJVI','3268405iUHDcQ','4XHnsjS','(((.+)+)+)+$','10lQPqij','apply','944704ZkwRFm','2342106SxwMDV','toString'];a106c=function(){return i;};return a106c();}import'./mui/_index.js';import'./esri/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a107d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a107d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1*(-parseInt(f(0x11f))/0x2)+-parseInt(f(0x11b))/0x3+parseInt(f(0x120))/0x4*(-parseInt(f(0x124))/0x5)+-parseInt(f(0x125))/0x6*(-parseInt(f(0x11d))/0x7)+-parseInt(f(0x123))/0x8*(-parseInt(f(0x11a))/0x9)+parseInt(f(0x128))/0xa*(-parseInt(f(0x126))/0xb)+parseInt(f(0x11e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0x73c97));var a107b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a107d;if(c){var e=c[g(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a107a=a107b(this,function(){var h=a107d;return a107a[h(0x11c)]()[h(0x119)](h(0x118))[h(0x11c)]()[h(0x122)](a107a)[h(0x119)](h(0x118));});a107a();import'./esri.generator.js';function a107d(a,b){var c=a107c();return a107d=function(d,e){d=d-0x118;var f=c[d];return f;},a107d(a,b);}import'./map.esri.gen.js';function a107c(){var i=['139316KpaKCo','constructor','1882328LRqsCW','35dNqDLo','298482OgCqkK','42262KqJXYP','apply','450NkTFeL','(((.+)+)+)+$','search','9gVBAZR','1438245NQayJj','toString','133jIwMtD','5976180MNUNyV','2QaYksj','235780nlcEZz'];a107c=function(){return i;};return a107c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a108d(a,b){const c=a108c();return a108d=function(d,e){d=d-0x174;let f=c[d];return f;},a108d(a,b);}const a108h=a108d;(function(a,b){const f=a108d,c=a();while(!![]){try{const d=-parseInt(f(0x178))/0x1+-parseInt(f(0x177))/0x2+parseInt(f(0x176))/0x3+-parseInt(f(0x175))/0x4*(parseInt(f(0x17d))/0x5)+-parseInt(f(0x184))/0x6+-parseInt(f(0x17f))/0x7+-parseInt(f(0x181))/0x8*(-parseInt(f(0x185))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0x537a7));const a108b=(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;};}()),a108a=a108b(this,function(){const g=a108d;return a108a[g(0x17e)]()[g(0x174)](g(0x17b))[g(0x17e)]()['constructor'](a108a)[g(0x174)](g(0x17b));});a108a();import{Generator}from'../../../generator.js';function a108c(){const j=['704711swAXid','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','8CFrslk','create','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','829398HoPyWZ','12077982vkrqXG','search','176rMtOje','887283soSZwR','1303218gZQhjV','165561marnif','\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','NIE','(((.+)+)+)+$','esri','27245CHyxXd','toString'];a108c=function(){return j;};return a108c();}import a108e from'../kit.js';const EsriGen=Generator[a108h(0x182)]({'name':a108h(0x17c),'aliases':['e'],'usage':a108h(0x180),'noNeedResource':!![],'shortDesc':a108h(0x183),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a108h(0x179)},async function(){const i=a108h;throw i(0x17a);},a108e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a109s=a109d;function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0x165;let f=c[d];return f;},a109d(a,b);}(function(a,b){const p=a109d,c=a();while(!![]){try{const d=-parseInt(p(0x188))/0x1*(parseInt(p(0x17f))/0x2)+parseInt(p(0x17d))/0x3*(parseInt(p(0x165))/0x4)+parseInt(p(0x195))/0x5*(parseInt(p(0x16f))/0x6)+parseInt(p(0x16a))/0x7+parseInt(p(0x17c))/0x8*(-parseInt(p(0x184))/0x9)+parseInt(p(0x168))/0xa+-parseInt(p(0x173))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0xb6ad1));const a109b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a109d;if(c){const e=c[q(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a109a=a109b(this,function(){const r=a109d;return a109a[r(0x18c)]()['search'](r(0x172))[r(0x18c)]()[r(0x177)](a109a)[r(0x182)](r(0x172));});function a109c(){const v=['apply','replaceAll','/imports/ui/hooks','18ilOnYG','<div\x20id=\x22map-component\x22>','fsi','(((.+)+)+)+$','7834882QLwvXE','true','dir','Generate\x20an\x20Esri\x20map\x20component','constructor','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','template','@esri/react-arcgis','create','3571416eWINDG','10491VWbiTB','getMakaProjectConfig','24542uauPsQ','engines','appName','search','basic-map','27ZvNFpY','.js','injectImport','split','41yqsOEk','/imports/startup/client/templates','ssr','page','toString','/imports/ui/','baseDir','injectTemplateModule','findProjectDirectory','checkNpmPackage','injectIntoFile','\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','<div\x20id=\x22map-hook\x22>','1528260nbZpDJ','464DYNQgc','map','REACT','9440960OGpoUk','react','7253337RJcQNF','Generating\x20a\x20map\x20component'];a109c=function(){return v;};return a109c();}a109a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a109e from'./esri.generator.js';import a109f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a109s(0x17b)]({'name':a109s(0x166),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a109s(0x176),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a109s(0x167)],'ssr':SsrEngines['FALSE']},'description':a109s(0x193)},async function(a,b){const t=a109s;try{Log['bright'](t(0x16b));const c=t(0x183);await this[t(0x171)][t(0x191)]([t(0x17a),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x171)][t(0x190)](),f=this[t(0x171)][t(0x17e)](),g=f[t(0x180)][t(0x18a)]===t(0x174),h=await a109f['processAndRunGenerator'](t(0x18b),[t(0x166)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x181)])[t(0x16d)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x18e)]?t(0x18d)+b[t(0x18e)]:t(0x16e),k=this['fsi']['pathFromApp']({'pathParts':[j,b[t(0x175)],paramCase(c),paramCase(c)]});this[t(0x171)]['withValue'](f,async()=>{const u=t;this[u(0x171)][u(0x179)]({'srcPath':'kit/esri/map/'+c+u(0x185),'destPath':k+'.js','framework':u(0x169),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x175)]+'/'+c+'/'+c;await this[t(0x171)][t(0x18f)](c,f,l);const m=h[t(0x187)]('/'),n=this['fsi']['pathFromApp']({'pathParts':m});await this['fsi'][t(0x186)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x189),'isNamedExport':!![]}),await this[t(0x171)][t(0x192)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x178),'begin':[t(0x194),t(0x170)],'end':['</div>'],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},a109e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a110i=a110d;(function(a,b){const f=a110d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1+parseInt(f(0x1f9))/0x2+-parseInt(f(0x1f4))/0x3+-parseInt(f(0x1f1))/0x4*(-parseInt(f(0x1ea))/0x5)+-parseInt(f(0x1ee))/0x6+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1eb))/0x9*(-parseInt(f(0x1ed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x5d4d6));function a110c(){const j=['156108YedKLz','kit','maka\x20{generate,\x20g}:{kit}\x20<name>','20838zqZvVB','search','maka\x20g:k','5TrUjFn','18zpPkBD','7RxuRSd','747130hsHbDX','3115902fcdobx','toString','apply','1509964UBwrMK','5731816rfdrDU','create','1197381bceFOo','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','constructor','(((.+)+)+)+$','maka\x20g:kit'];a110c=function(){return j;};return a110c();}const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a110d;if(c){const e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const h=a110d;return a110a[h(0x1ef)]()[h(0x1fd)]('(((.+)+)+)+$')['toString']()[h(0x1f6)](a110a)[h(0x1fd)](h(0x1f7));});a110a();import{Generator}from'../../generator.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a110d(a,b);}const KitGen=Generator[a110i(0x1f3)]({'name':a110i(0x1fa),'aliases':['k'],'usage':a110i(0x1fb),'shortDesc':a110i(0x1f5),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a110i(0x1f8),a110i(0x1e9)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0xe6;var f=c[d];return f;},a111d(a,b);}(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0xef))/0x1+parseInt(f(0xf1))/0x2*(-parseInt(f(0xf0))/0x3)+parseInt(f(0xf2))/0x4*(-parseInt(f(0xec))/0x5)+-parseInt(f(0xe6))/0x6*(-parseInt(f(0xf3))/0x7)+parseInt(f(0xe7))/0x8*(parseInt(f(0xee))/0x9)+parseInt(f(0xe8))/0xa+parseInt(f(0xeb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x5aff9));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(0xed)]()[g(0xe9)](g(0xea))['toString']()['constructor'](a111a)[g(0xe9)](g(0xea));});function a111c(){var h=['(((.+)+)+)+$','3258013npMWuS','3397825bhpMsM','toString','2322666RVtQAK','123549zYSxOl','3eqggZN','170398ngKQQj','4SbTLvp','47159bNkoZM','222IZlfPb','8eKBPcZ','4575160GeWitS','search'];a111c=function(){return h;};return a111c();}a111a();import'./mui.generator.js';import'./frame.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0xd6;let f=c[d];return f;},a112d(a,b);}const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0xed))/0x1+parseInt(x(0xe9))/0x2*(parseInt(x(0xfa))/0x3)+-parseInt(x(0xfb))/0x4+parseInt(x(0xdc))/0x5*(parseInt(x(0x110))/0x6)+parseInt(x(0xe5))/0x7+parseInt(x(0xff))/0x8*(-parseInt(x(0xfc))/0x9)+parseInt(x(0xf7))/0xa*(parseInt(x(0x101))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x73dfa));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a['toString']()[z(0xf3)](z(0x100))[z(0x111)]()[z(0x109)](a112a)[z(0xf3)](z(0x100));});a112a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a112e from'path';function a112c(){const D=['tsx','<div\x20id=\x22','6aJYvZy','toString','injectIntoFile','template','{\x20this.props.children\x20}','join','checkbox','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','options','pathFromApp','app-tests','2963135vykXik','MATERIAL','jsx','getMakaProjectConfig','engines','{\x20props.children\x20}','getDirectories','error','injectTemplateModule','4580569eLvToc','-hook\x22>','react','frame','178gVNbih','{this.props.children}','No\x20layouts\x20selected','withValue','708085suMLLT','create','test','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','\x20/>\x0a','basic-drawer','search','.js','-component\x22>','layouts','4010CREaOO','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','length','6186tTKSNk','2912948xAmwGA','1057167AXumqh','injectImport','{props.children}','8HYkpml','(((.+)+)+)+$','16401uUDaTO','/imports/startup/client/templates','REACT','dir','baseDir','fsi','maka\x20generate:kit:mui:frame','true','constructor','tests','/imports/startup/lib/templates','session','apply'];a112c=function(){return D;};return a112c();}import a112f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112A(0xee)]({'name':a112A(0xe8),'aliases':['f'],'usage':a112A(0xd8),'shortDesc':a112A(0xf0),'validOpts':[a112A(0xf6)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a112A(0xdd)],'client':ClientEngines[a112A(0x103)]},'examples':[a112A(0x107),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a112A;try{const c='basic-app-bar',d=B(0xf2),f=this[B(0x106)][B(0xdf)](),g=f[B(0xe0)]['ssr']===B(0x108);await this['fsi']['checkMeteorPackage'](B(0x10c),{'shouldInstall':!![]});const h=this[B(0x106)]['findAppDirectory'](),i=a112e[B(0xd6)](h,'imports','ui','layouts'),j=this[B(0x106)][B(0xe2)](i),k=await Actions[B(0xd9)]({'type':B(0xd7),'name':B(0xf6),'message':B(0xf8),'choices':j});if(k[B(0xf6)][B(0xf9)]===0x0){Log[B(0xe3)](B(0xeb));return;}const l=b[B(0x105)]?'/imports/ui/'+b[B(0x105)]:'/imports/ui/hooks',m=this[B(0x106)]['pathFromApp']({'pathParts':[l,b[B(0x104)],paramCase(c),paramCase(c)]}),n=this[B(0x106)][B(0xda)]({'pathParts':[l,b[B(0x104)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f['appName'])['replaceAll']('-','\x20')};await this[B(0x106)][B(0xec)](f,async()=>{const C=B;await this[C(0x106)][C(0x113)]({'srcPath':'kit/mui/frame/app-bars/'+c+C(0xf4),'destPath':m+C(0xf4),'framework':C(0xe7),'context':o,'config':f,'force':![],'ignore':![]}),await this[C(0x106)][C(0x113)]({'srcPath':'kit/mui/frame/drawers/'+d+C(0xf4),'destPath':n+C(0xf4),'framework':C(0xe7),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x104)]+'/'+c+'/'+c;await this['fsi'][B(0xe4)](c,f,p);const q=''+l+b[B(0x104)]+'/'+d+'/'+d;await this[B(0x106)][B(0xe4)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x106)]['getFiles'](a112e[B(0xd6)](i,s),{'extensions':[B(0xde),B(0x10e)],'omit':[B(0xdb),B(0x10a),B(0xef)]});for(const u of t){const v=a112e['join'](i,s,u);await this[B(0x106)][B(0xfd)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x10b):B(0x102),'isNamedExport':!![]}),await this['fsi'][B(0x112)]({'filePath':v,'content':'<'+pascalCase(c)+B(0xf1),'begin':['<div\x20id=\x22'+s+B(0xf5),B(0x10f)+s+B(0xe6)],'end':[B(0xea),'{\x20this.props.children\x20}',B(0xfe),B(0xe1)]}),await this['fsi'][B(0xfd)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x10b):B(0x102),'isNamedExport':!![]}),await this['fsi'][B(0x112)]({'filePath':v,'content':'<'+pascalCase(d)+B(0xf1),'begin':[B(0x10f)+s+'-component\x22>',B(0x10f)+s+B(0xe6)],'end':['{this.props.children}',B(0x114),B(0xfe),'{\x20props.children\x20}']});}}}catch(w){Log[B(0xe3)](w);}},a112f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a113i=a113d;function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xa0;let f=c[d];return f;},a113d(a,b);}(function(a,b){const f=a113d,c=a();while(!![]){try{const d=-parseInt(f(0xaf))/0x1+parseInt(f(0xab))/0x2+-parseInt(f(0xad))/0x3*(-parseInt(f(0xb2))/0x4)+-parseInt(f(0xac))/0x5+parseInt(f(0xa4))/0x6+-parseInt(f(0xa7))/0x7*(-parseInt(f(0xb1))/0x8)+parseInt(f(0xa5))/0x9*(-parseInt(f(0xa1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xec863));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a113d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const h=a113d;return a113a[h(0xb0)]()[h(0xa8)](h(0xb3))[h(0xb0)]()['constructor'](a113a)[h(0xa8)]('(((.+)+)+)+$');});a113a();function a113c(){const k=['mui','5713926LNjYnc','9734166JmeRqb','NIE','7cupfKq','search','maka\x20g:kit:m','Material-UI\x20Kit','2727696mxelSX','5472025wBDwaQ','5349vJpGrU','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','58541ACikZi','toString','14280632fuFASv','412SDRbgn','(((.+)+)+)+$','apply','20uqcnEV','create'];a113c=function(){return k;};return a113c();}import{Generator}from'../../../generator.js';import a113e from'../kit.js';const MuiGen=Generator[a113i(0xa2)]({'name':a113i(0xa3),'aliases':['m'],'usage':a113i(0xae),'noNeedResource':!![],'shortDesc':a113i(0xaa),'validOpts':[''],'isPro':!![],'examples':[a113i(0xa9)]},async function(){const j=a113i;throw j(0xa6);},a113e);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a114n=a114d;(function(a,b){const l=a114d,c=a();while(!![]){try{const d=-parseInt(l(0x72))/0x1+-parseInt(l(0x8d))/0x2*(parseInt(l(0xa5))/0x3)+-parseInt(l(0x74))/0x4*(parseInt(l(0xa7))/0x5)+parseInt(l(0x9d))/0x6*(-parseInt(l(0x97))/0x7)+-parseInt(l(0x82))/0x8+parseInt(l(0x96))/0x9*(-parseInt(l(0x85))/0xa)+parseInt(l(0x76))/0xb*(parseInt(l(0xa8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xbfce4));const a114b=(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;};}()),a114a=a114b(this,function(){const m=a114d;return a114a['toString']()['search'](m(0x86))[m(0xa1)]()[m(0x94)](a114a)[m(0x9c)](m(0x86));});a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x72;let f=c[d];return f;},a114d(a,b);}import a114e from'path';import{Generator}from'../generator.js';function a114c(){const q=['fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fsi','react','template','includes','28lkDWtH','client','assign','test/test.js','dir','.css','Scaffolding\x20for\x20a\x20React\x20Layout.','constructor','features','126UAijsX','5118162iHxViP','.js','.app-tests.js','string','graphql','search','12RUbgvo','split','setTemplate','css','toString','template/template.css','withHook','api','71853QaaQGP','component/component.js','1905qjIJVS','204rMHBfg','injectAtBeginningOfFile','withHooks','checkNpmPackage','472102IJXCVJ','hook/hook.js','7884KFPtSn','warn','3070782IFPnXM','withTranslations','pathFromProject','resourceName','className','theme','ramda','test','engines','true','import\x20\x27./','ssr','4407128kWTBaZ','none','layout','277520ocaxYD','(((.+)+)+)+$'];a114c=function(){return q;};return a114c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a114n(0x84),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a114n(0x93),'validOpts':[],'examples':['maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari']},async function(a,b){const o=a114n,c='/imports/ui/layouts',d=this[o(0x89)]['findAppDirectory'](),e=this[o(0x89)]['pathFromApp']({'pathParts':[c,b[o(0x91)],paramCase(b['resourceName']),paramCase(b[o(0x79)])]}),f=this[o(0x89)]['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const p=o;typeof f[p(0x8b)][p(0x7d)]===p(0x9a)&&(f[p(0x8b)][p(0x7d)]=f[p(0x8b)]['test']===p(0x7f)?!![]:![],this['fsi'][p(0x9f)](p(0x7d),f[p(0x8b)][p(0x7d)]));typeof f['template'][p(0xa0)]===p(0x9a)&&(f[p(0x8b)][p(0xa0)]=f[p(0x8b)][p(0xa0)]===p(0x7f)?!![]:![],this['fsi'][p(0x9f)](p(0xa0),f['template'][p(0xa0)]));typeof f[p(0x8b)]['js']===p(0x9a)&&(f['template']['js']=f[p(0x8b)]['js']==='true'?!![]:![],this['fsi']['setTemplate']('js',f['template']['js']));!f[p(0x95)]&&(f[p(0x95)]={});const g=b['_']?b['_'][0x0][p(0x9e)](':')[0x1]:![],h=b['_']&&aliases[p(0x8c)](g);h&&!this[p(0xab)]('ramda')&&(Log[p(0x75)](p(0x88)),this[p(0x89)]['installNpmPackage'](p(0x7c),{'cwd':d}));if(h&&!this[p(0xab)](p(0x8a))){Log[p(0x75)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a114e['relative'](this[p(0x89)][p(0x78)]({}),e),'cssCaseName':paramCase(b[p(0x79)]),'className':pascalCase(b[p(0x79)]),'camelCaseName':camelCase(b[p(0x79)]),'fileName':paramCase(b[p(0x79)]),'graphql':f[p(0x7e)][p(0x9b)],'features':f[p(0x95)],'client':f[p(0x7e)][p(0x8e)],'api':f['engines'][p(0xa4)],'ssr':f[p(0x7e)][p(0x81)],'test':f[p(0x7e)]['test'],'theme':f[p(0x7e)][p(0x7b)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x77)]};f['features']?.[p(0xaa)]||b[p(0xa3)]?await this[p(0x89)][p(0x8b)]({'srcPath':p(0x73),'destPath':e+'.js','framework':p(0x8a),'context':i,'config':f}):await this[p(0x89)][p(0x8b)]({'srcPath':p(0xa6),'destPath':e+p(0x98),'framework':p(0x8a),'context':i,'config':f});f[p(0x7e)][p(0x7d)]!==p(0x83)&&await this[p(0x89)][p(0x8b)]({'srcPath':p(0x90),'destPath':e+p(0x99),'framework':p(0x8a),'context':i,'config':f});f['template'][p(0xa0)]&&(await this[p(0x89)][p(0x8b)]({'srcPath':p(0xa2),'destPath':e+p(0x92),'context':Object[p(0x8f)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x89)][p(0xa9)]({'filePath':e+'.'+f[p(0x7e)]['js'],'content':p(0x80)+i[p(0x87)]+'.'+f[p(0x7e)][p(0xa0)]+'\x27;'}));const j=b[p(0x91)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x87)]+'/'+i[p(0x87)];await this[p(0x89)]['injectTemplateModule'](i[p(0x7a)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=parseInt(f(0x18b))/0x1+parseInt(f(0x194))/0x2*(-parseInt(f(0x19e))/0x3)+parseInt(f(0x199))/0x4+-parseInt(f(0x196))/0x5*(parseInt(f(0x19c))/0x6)+parseInt(f(0x18f))/0x7*(parseInt(f(0x190))/0x8)+parseInt(f(0x19d))/0x9*(-parseInt(f(0x191))/0xa)+-parseInt(f(0x198))/0xb*(-parseInt(f(0x18d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xc99cd));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a[h(0x193)]()[h(0x192)]('(((.+)+)+)+$')[h(0x193)]()[h(0x18e)](a115a)[h(0x192)]('(((.+)+)+)+$');});function a115c(){const j=['apply','maka\x20{generate,\x20g}:<generator>\x20<name>','983289ohtruj','maka\x20generate:scaffold\x20todos','8002284ZNejgH','constructor','3045mgpkKO','2600qXlCZa','10ZtLNQl','search','toString','2402luITbM','maka\x20g:template\x20todos/todo_item','125iAWZuS','maka\x20g:package\x20package:name','11SbNiVn','6245968UATUqk','maka\x20g:route\x20todos/edit','generate','284766WqKWEb','10942011SDBqhe','312YElgLH'];a115c=function(){return j;};return a115c();}a115a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a115i(0x19b),'aliases':['g'],'usage':a115i(0x18a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a115i(0x18c),'maka\x20g:scaffold\x20todos',a115i(0x195),a115i(0x197),a115i(0x19a),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x189;let f=c[d];return f;},a115d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0x1f8))/0x1*(-parseInt(j(0x206))/0x2)+-parseInt(j(0x1f3))/0x3+-parseInt(j(0x208))/0x4+parseInt(j(0x1f2))/0x5*(parseInt(j(0x204))/0x6)+-parseInt(j(0x1ff))/0x7+-parseInt(j(0x1f9))/0x8+-parseInt(j(0x1ed))/0x9*(-parseInt(j(0x200))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6085e));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x1f4)]()[l(0x209)](l(0x1f7))[l(0x1f4)]()[l(0x20c)](a116a)[l(0x209)]('(((.+)+)+)+$');});function a116c(){const p=['create','(((.+)+)+)+$','1wYgtuZ','5231008DZcKjK','startup','import\x20\x27./methods','checkMeteorPackage','ddp-rate-limiter','error','4067896VxrzHx','1420hyaaWD','appPathPrefix','imports','apply','1904034piWver','tsx','1419358XOVTDt','-rpc-method\x27;','232228IYegbO','search','pathFromApp','resourceName','constructor','fsi','methods','125325QpoRPU','getMakaProjectConfig','engines','dir','index.','10FPODxy','641790IVdVLv','toString','injectAtEndOfFile'];a116c=function(){return p;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a116m(0x1f6)]({'name':'method','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a116m;try{const c=this[n(0x20d)][n(0x1ee)]();await this[n(0x20d)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x20b)]),f={'name':b[o(0x20b)],'fileName':d,'className':pascalCase(b[o(0x20b)]),'camelCase':camelCase(b[o(0x20b)]),'noRename':!![]};let g='js';c[o(0x1ef)]['js']===o(0x205)&&(g='ts');await this[o(0x20d)][o(0x1fc)](['maka:check',o(0x1fd),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x20d)]['template']({'srcPath':'method/method.js','destPath':this[o(0x20d)][o(0x20a)]({'pathParts':[o(0x202),o(0x1fa),b[o(0x201)],o(0x1ec),b[o(0x1f0)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1f0)]+'/':'/',i=this[o(0x20d)]['pathFromApp']({'pathParts':[o(0x202),o(0x1fa),b[o(0x201)],o(0x1f1)+c[o(0x1ef)]['js']]});await this[o(0x20d)][o(0x1f5)]({'filePath':i,'content':o(0x1fb)+h+d+o(0x207)});});}catch(d){Log[n(0x1fe)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x10f;let f=c[d];return f;},a117d(a,b);}const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x114))/0x1*(parseInt(l(0x112))/0x2)+parseInt(l(0x12c))/0x3*(-parseInt(l(0x115))/0x4)+-parseInt(l(0x11e))/0x5+-parseInt(l(0x113))/0x6+parseInt(l(0x11b))/0x7*(-parseInt(l(0x12e))/0x8)+parseInt(l(0x135))/0x9*(-parseInt(l(0x132))/0xa)+parseInt(l(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x53e7d));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x131)]()[n(0x124)]('(((.+)+)+)+$')[n(0x131)]()[n(0x13b)](a117a)[n(0x124)](n(0x137));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['2258478wJajOX','8909HfYtEE','4xcTCXY','maka\x20g:package\x20todos:package','/client/','features','theme','resourceName','938BwqhcP','component','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2492465kYeEzg','layout','graphql','tests/server','withValue','server','search','package','template','fsi','dir','package/package.js','template/template.js','pathFromApp','28758TWmrKa','ssr','39736WNnlYt','25383490fTSyfa','engines','toString','70cYWKzr','pathFromProject','apply','669537lOOZsr','package/','(((.+)+)+)+$','hasOwnProperty','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','constructor','store','client','packages','create','24lJaRVP'];a117c=function(){return r;};return a117c();}Generator[a117o(0x111)]({'name':a117o(0x125),'aliases':['p'],'usage':a117o(0x11d),'shortDesc':a117o(0x13a),'validOpts':[a117o(0x128)],'examples':[a117o(0x116)]},async function(a,b){const p=a117o,c=paramCase(b['resourceName']),d=this[p(0x127)][p(0x12b)]({'pathParts':[p(0x110),b['dir'],c]}),e=this['fsi']['pathFromAppWithNoReWrite']({'pathParts':[p(0x110),b[p(0x128)],c,'package.js']}),f=this[p(0x127)][p(0x139)]();await this[p(0x127)][p(0x122)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x11a)]),'myPath':a117e['relative'](this['fsi'][q(0x133)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x11a)]),'camelCaseName':camelCase(b[q(0x11a)]),'fileName':c,'client':f[q(0x130)][q(0x10f)],'graphql':f[q(0x130)][q(0x120)],'ssr':f[q(0x130)][q(0x12d)],'isComponent':b[q(0x138)](q(0x11c)),'isLayout':b[q(0x138)](q(0x11f)),'isStore':b[q(0x138)](q(0x13c)),'features':f[q(0x118)],'noRename':!![],'theme':f['engines'][q(0x119)]};await this['fsi'][q(0x126)]({'srcPath':q(0x129),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x117)+c+'.js';await this[q(0x127)][q(0x126)]({'srcPath':q(0x12a),'destPath':h,'context':g,'config':f});const i=['lib',q(0x123),'tests/client',q(0x121)];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x127)][q(0x126)]({'srcPath':q(0x136)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a118m=a118d;(function(a,b){const j=a118d,c=a();while(!![]){try{const d=-parseInt(j(0x15c))/0x1*(-parseInt(j(0x15a))/0x2)+parseInt(j(0x174))/0x3+-parseInt(j(0x191))/0x4*(-parseInt(j(0x170))/0x5)+-parseInt(j(0x164))/0x6+parseInt(j(0x18f))/0x7*(parseInt(j(0x179))/0x8)+parseInt(j(0x18c))/0x9+parseInt(j(0x168))/0xa*(-parseInt(j(0x173))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcf438));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a118d;if(c){const e=c[k(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const l=a118d;return a118a[l(0x197)]()[l(0x15f)](l(0x17d))[l(0x197)]()['constructor'](a118a)['search']('(((.+)+)+)+$');});a118a();import a118e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x159;let f=c[d];return f;},a118d(a,b);}const aliases=['p'];Generator[a118m(0x17c)]({'name':a118m(0x176),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a118m(0x17a),'validOpts':[{'name':a118m(0x190),'values':[a118m(0x171),'components',a118m(0x19c),'layouts']},{'name':a118m(0x196),'boolFlag':!![]}],'examples':[a118m(0x163)]},async function(a,b){const n=a118m,c=b[n(0x190)]?n(0x169)+b[n(0x190)]:n(0x18a),d=this['fsi']['pathFromApp'](b),e=this[n(0x17f)][n(0x194)]({'pathParts':[c,b[n(0x182)],paramCase(b[n(0x16e)]),paramCase(b[n(0x16e)])]}),f=this[n(0x17f)]['getMakaProjectConfig']();let g='';return await this[n(0x17f)][n(0x19e)](f,async()=>{const o=n;typeof f[o(0x198)][o(0x1a1)]==='string'&&(f[o(0x198)]['html']=f['template'][o(0x1a1)]===o(0x166)?!![]:![],this['fsi']['setTemplate'](o(0x1a1),f[o(0x198)][o(0x1a1)]));typeof f[o(0x198)][o(0x19f)]===o(0x184)&&(f[o(0x198)]['test']=f[o(0x198)][o(0x19f)]==='true'?!![]:![],this[o(0x17f)]['setTemplate'](o(0x19f),f[o(0x198)][o(0x19f)]));typeof f[o(0x198)][o(0x16f)]===o(0x184)&&(f['template'][o(0x16f)]=f[o(0x198)][o(0x16f)]===o(0x166)?!![]:![],this['fsi']['setTemplate']('css',f[o(0x198)][o(0x16f)]));typeof f[o(0x198)]['js']==='string'&&(f[o(0x198)]['js']=f[o(0x198)]['js']===o(0x166)?!![]:![],this[o(0x17f)][o(0x18b)]('js',f['template']['js']));!f[o(0x15e)]&&(f[o(0x15e)]={});!b[o(0x17e)]&&!this[o(0x17f)][o(0x17b)]('ramda')&&(Log[o(0x189)]('Updating\x20npm\x20packages\x20...'),this[o(0x17f)][o(0x19b)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0x16e)]),'myPath':a118e['relative'](this[o(0x17f)][o(0x185)]({}),e),'cssCaseName':paramCase(b[o(0x16e)]),'className':pascalCase(b[o(0x16e)]),'camelCaseName':camelCase(b[o(0x16e)]),'fileName':paramCase(b[o(0x16e)]),'graphql':f[o(0x180)][o(0x15d)],'features':f[o(0x15e)],'client':f[o(0x180)][o(0x172)],'api':f[o(0x180)][o(0x178)],'ssr':f['engines'][o(0x167)],'isStore':b[o(0x186)](o(0x192)),'isComponent':b['hasOwnProperty']('component'),'isLayout':b['hasOwnProperty'](o(0x188)),'withTranslations':f['features'][o(0x183)],'test':f['engines'][o(0x19f)],'theme':f[o(0x180)][o(0x16a)]};f['template'][o(0x1a1)]&&await this[o(0x17f)]['template']({'srcPath':'template/template.html','destPath':e+o(0x160),'context':h,'config':f});f[o(0x15e)]?.[o(0x162)]||b[o(0x196)]?await this[o(0x17f)][o(0x198)]({'srcPath':o(0x165),'destPath':e+o(0x18e),'framework':o(0x187),'context':h,'config':f}):await this[o(0x17f)][o(0x198)]({'srcPath':o(0x16b),'destPath':e+o(0x18e),'framework':o(0x187),'context':h,'config':f});f[o(0x180)][o(0x19f)]!==o(0x1a0)&&await this[o(0x17f)][o(0x198)]({'srcPath':o(0x195),'destPath':e+o(0x18d),'framework':o(0x187),'context':h,'config':f});f['template'][o(0x16f)]&&await this[o(0x17f)][o(0x198)]({'srcPath':o(0x193),'destPath':e+o(0x15b),'context':Object[o(0x161)]({},h,{'className':paramCase(b[o(0x16e)])}),'config':f});f[o(0x180)][o(0x172)]!==o(0x187)&&f[o(0x180)][o(0x172)]!==o(0x19a)?(f[o(0x198)][o(0x16f)]&&await this[o(0x17f)][o(0x177)]({'filePath':e+'.'+f['engines']['js'],'content':o(0x16d)+h['fileName']+'.'+f[o(0x180)][o(0x1a1)]+o(0x175)+o(0x16d)+h[o(0x159)]+'.'+f[o(0x180)][o(0x16f)]+'\x27;'}),!f[o(0x198)][o(0x16f)]&&await this[o(0x17f)][o(0x177)]({'filePath':e+'.'+f[o(0x180)]['js'],'content':o(0x16d)+h[o(0x159)]+'.'+f[o(0x180)][o(0x1a1)]+'\x27;'})):f[o(0x198)]['css']&&await this['fsi'][o(0x177)]({'filePath':e+'.'+f[o(0x180)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f[o(0x180)][o(0x16f)]+'\x27;'});const i=b[o(0x182)]?'/'+b[o(0x182)]+'/':'/';g=''+c+i+h[o(0x159)]+'/'+h['fileName'],await this[o(0x17f)]['injectTemplateModule'](h[o(0x16c)],f,g),!b[o(0x17e)]&&await a118f[o(0x199)](o(0x19d),[i+h[o(0x16c)]],b);}),g+'.'+f[n(0x180)]['js'];});function a118c(){const p=['none','html','fileName','14794pHEtum','.css','62XpbClD','graphql','features','search','.html','assign','withHooks','maka\x20g:page\x20todos/todos-item','4035810fZrsVp','hook/hook.js','true','ssr','84020cXJpjd','/imports/ui/','theme','component/component.js','className','import\x20\x27./','resourceName','css','567525tsWKBq','hooks','client','2882tVKuxi','1707279lUhfEB','\x27;\x0a','page','injectAtBeginningOfFile','api','280kcEPMu','Generate\x20a\x20page.','checkNpmPackage','create','(((.+)+)+)+$','root','fsi','engines','apply','dir','withTranslations','string','pathFromProject','hasOwnProperty','react','layout','warn','/imports/ui/pages','setTemplate','2655081sLUrNn','.app-tests.js','.js','207627sFSAWQ','baseDir','48etkrWu','store','template/template.css','pathFromApp','test/test.js','withHook','toString','template','processAndRunGenerator','vanilla','installNpmPackage','pages','route','withValue','test'];a118c=function(){return p;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a119d(a,b);}const a119k=a119d;(function(a,b){const h=a119d,c=a();while(!![]){try{const d=parseInt(h(0x1d8))/0x1+parseInt(h(0x1ea))/0x2+parseInt(h(0x1d7))/0x3*(-parseInt(h(0x1e8))/0x4)+parseInt(h(0x1e6))/0x5+-parseInt(h(0x1e9))/0x6+parseInt(h(0x1e3))/0x7+-parseInt(h(0x1da))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x6ce47));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a119d;if(c){const e=c[i(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const j=a119d;return a119a[j(0x1e2)]()[j(0x1e0)]('(((.+)+)+)+$')[j(0x1e2)]()[j(0x1d6)](a119a)[j(0x1e0)]('(((.+)+)+)+$');});a119a();import{paramCase}from'change-case';function a119c(){const n=['rewriteDestinationPathForEngine','resourceName','fsi','search','publish/publish.','toString','3927448fpkSgF','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','2828815ltPtrL','engines','121596nOogKc','953400gwRuqk','1186484oqBCXz','constructor','3XfohHg','34060wUSGic','create','8950456SiRvbd','apply','maka\x20g:publish\x20todos'];a119c=function(){return n;};return a119c();}import{Generator}from'../generator.js';Generator[a119k(0x1d9)]({'name':'publish','aliases':['p'],'usage':a119k(0x1e4),'shortDesc':a119k(0x1e5),'validOpts':[],'examples':[a119k(0x1dc)]},async function(a,b){const l=a119k,c=this[l(0x1df)]['getMakaProjectConfig']();await this[l(0x1df)]['withValue'](c,async()=>{const m=l,d={'name':b[m(0x1de)],'collection':paramCase(b[m(0x1de)]),'noRename':!![]};let e='js';c[m(0x1e7)]['js']==='tsx'&&(e='ts');const f=this[m(0x1df)][m(0x1dd)]({'pathParts':['server/publish.'+c[m(0x1e7)]['js']]}),g=this[m(0x1df)]['templateContent']({'srcPath':m(0x1e1)+e,'context':d,'config':c});await this['fsi']['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
|