@maka/maka-cli 5.1.17 → 5.1.19
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/bundle/obf/package.json +1 -1
- 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/cecr.sub.cmd.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/decr.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/lecr.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/profile.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/register.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/testCmd/_index.js +1 -1
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/uninstall.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -1
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/version/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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.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/auth.mui.gen.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/react/test/test.js +1 -0
- package/bundle/obf/src/templates/react/test/test.js.jsx +38 -0
- package/bundle/obf/src/templates/react/test/test.js.ts +1 -0
- package/bundle/obf/src/templates/react/test/test.js.tsx +38 -0
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +6 -0
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +7 -0
- 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/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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/package.json +1 -1
- package/test/integration/default.test.js +84 -0
- package/test/integration/fixtures/blaze/.maka/config.json +30 -0
- package/test/integration/fixtures/blaze/.tern-project +17 -0
- package/test/integration/fixtures/blaze/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/blaze/app/.meteor/.id +7 -0
- package/test/integration/fixtures/blaze/app/.meteor/packages +21 -0
- package/test/integration/fixtures/blaze/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/blaze/app/.meteor/release +1 -0
- package/test/integration/fixtures/blaze/app/.meteor/versions +78 -0
- package/test/integration/fixtures/blaze/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/client/body.html +2 -0
- package/test/integration/fixtures/blaze/app/client/head.html +8 -0
- package/test/integration/fixtures/blaze/app/client/main.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/index.js +3 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/routes.js +25 -0
- package/test/integration/fixtures/blaze/app/imports/startup/client/templates.js +15 -0
- package/test/integration/fixtures/blaze/app/imports/startup/lib/index.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/startup/server/index.js +1 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.html +3 -0
- package/test/integration/fixtures/blaze/app/imports/ui/layouts/master-layout/master-layout.js +29 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.html +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/home/home.js +53 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.html +5 -0
- package/test/integration/fixtures/blaze/app/imports/ui/pages/not-found/not-found.js +53 -0
- package/test/integration/fixtures/blaze/app/imports/ui/test-helpers.js +25 -0
- package/test/integration/fixtures/blaze/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/lib/main.js +1 -0
- package/test/integration/fixtures/blaze/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/blaze/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/app/server/main.js +1 -0
- package/test/integration/fixtures/blaze/bin/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/build/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/build/README +4 -0
- package/test/integration/fixtures/blaze/config/.gitkeep +1 -0
- package/test/integration/fixtures/blaze/config/development/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/development/settings.json +6 -0
- package/test/integration/fixtures/blaze/config/production/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/production/settings.json +6 -0
- package/test/integration/fixtures/blaze/config/staging/env.sh +9 -0
- package/test/integration/fixtures/blaze/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react/.maka/config.json +30 -0
- package/test/integration/fixtures/react/.tern-project +17 -0
- package/test/integration/fixtures/react/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react/app/.meteor/release +1 -0
- package/test/integration/fixtures/react/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/client/body.html +3 -0
- package/test/integration/fixtures/react/app/client/head.html +8 -0
- package/test/integration/fixtures/react/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/imports/startup/client/index.jsx +12 -0
- package/test/integration/fixtures/react/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/home/home.jsx +29 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react/app/imports/ui/pages/not-found/not-found.jsx +29 -0
- package/test/integration/fixtures/react/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react/build/.gitkeep +1 -0
- package/test/integration/fixtures/react/build/README +4 -0
- package/test/integration/fixtures/react/config/.gitkeep +1 -0
- package/test/integration/fixtures/react/config/development/env.sh +9 -0
- package/test/integration/fixtures/react/config/development/settings.json +6 -0
- package/test/integration/fixtures/react/config/production/env.sh +9 -0
- package/test/integration/fixtures/react/config/production/settings.json +6 -0
- package/test/integration/fixtures/react/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/.maka/config.json +30 -0
- package/test/integration/fixtures/react-apollo/.tern-project +17 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-apollo/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-apollo/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/client/body.html +3 -0
- package/test/integration/fixtures/react-apollo/app/client/head.html +8 -0
- package/test/integration/fixtures/react-apollo/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/index.jsx +20 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/imports/startup/server/index.jsx +25 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/home/home.jsx +34 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/pages/not-found/not-found.jsx +34 -0
- package/test/integration/fixtures/react-apollo/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/build/README +4 -0
- package/test/integration/fixtures/react-apollo/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-apollo/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-apollo/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/react-apollo-ssr/.tern-project +17 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/react-apollo-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/react-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-apollo-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-apollo-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/build/README +4 -0
- package/test/integration/fixtures/react-apollo-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-apollo-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-apollo-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-apollo-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-material/.maka/config.json +30 -0
- package/test/integration/fixtures/react-material/.tern-project +17 -0
- package/test/integration/fixtures/react-material/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-material/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-material/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-material/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-material/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-material/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-material/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/client/body.html +3 -0
- package/test/integration/fixtures/react-material/app/client/head.html +8 -0
- package/test/integration/fixtures/react-material/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/index.jsx +19 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/react-material/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/react-material/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/layouts/master-layout/master-layout.jsx +28 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/home/home.jsx +29 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/react-material/app/imports/ui/pages/not-found/not-found.jsx +29 -0
- package/test/integration/fixtures/react-material/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-material/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-material/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-material/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-material/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/build/README +4 -0
- package/test/integration/fixtures/react-material/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-material/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-material/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-material/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-material/config/staging/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/react-ssr/.tern-project +17 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/react-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/react-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/react-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/react-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/client/index.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/react-ssr/app/imports/startup/server/index.jsx +36 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/home/home.jsx +28 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/pages/not-found/not-found.jsx +28 -0
- package/test/integration/fixtures/react-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/react-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/react-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/build/README +4 -0
- package/test/integration/fixtures/react-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/react-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/react-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/react-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux/.tern-project +17 -0
- package/test/integration/fixtures/reflux/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/index.jsx +12 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/build/README +4 -0
- package/test/integration/fixtures/reflux/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-apollo/.tern-project +17 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-apollo/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-apollo/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-apollo/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-apollo/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/index.jsx +20 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/startup/server/index.jsx +25 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/home/home.jsx +38 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/pages/not-found/not-found.jsx +38 -0
- package/test/integration/fixtures/reflux-apollo/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/build/README +4 -0
- package/test/integration/fixtures/reflux-apollo/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-apollo-ssr/.tern-project +17 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/client/index.jsx +29 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/startup/server/index.jsx +65 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +27 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/build/README +4 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-apollo-ssr/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-material/.tern-project +17 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-material/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-material/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-material/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-material/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/index.jsx +19 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/routes.jsx +24 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/client/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/startup/server/index.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/layouts/master-layout/master-layout.jsx +31 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/home/home.jsx +33 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.css +5 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/pages/not-found/not-found.jsx +33 -0
- package/test/integration/fixtures/reflux-material/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-material/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-material/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/build/README +4 -0
- package/test/integration/fixtures/reflux-material/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-material/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-material/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-material/config/staging/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/.maka/config.json +30 -0
- package/test/integration/fixtures/reflux-ssr/.tern-project +17 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.finished-upgraders +17 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/.id +7 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/packages +21 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/platforms +2 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/release +1 -0
- package/test/integration/fixtures/reflux-ssr/app/.meteor/versions +78 -0
- package/test/integration/fixtures/reflux-ssr/app/client/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/client/body.html +3 -0
- package/test/integration/fixtures/reflux-ssr/app/client/head.html +8 -0
- package/test/integration/fixtures/reflux-ssr/app/client/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/api/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/client/index.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/index.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/routes.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/lib/templates.jsx +21 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/startup/server/index.jsx +36 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/layouts/master-layout/master-layout.jsx +30 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/home/home.jsx +32 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/pages/not-found/not-found.jsx +32 -0
- package/test/integration/fixtures/reflux-ssr/app/imports/ui/test-helpers.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/lib/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/lib/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/app/packages/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/private/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/public/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/public/favicon.ico +0 -0
- package/test/integration/fixtures/reflux-ssr/app/server/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/app/server/main.jsx +1 -0
- package/test/integration/fixtures/reflux-ssr/bin/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/build/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/build/README +4 -0
- package/test/integration/fixtures/reflux-ssr/config/.gitkeep +1 -0
- package/test/integration/fixtures/reflux-ssr/config/development/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/development/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/config/production/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/production/settings.json +6 -0
- package/test/integration/fixtures/reflux-ssr/config/staging/env.sh +9 -0
- package/test/integration/fixtures/reflux-ssr/config/staging/settings.json +6 -0
- package/test/integration/integration_helpers.js +60 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
const a97z=a97d;(function(a,b){const w=a97d,c=a();while(!![]){try{const d=-parseInt(w(
|
|
1
|
+
function a97d(a,b){const c=a97c();return a97d=function(d,e){d=d-0x183;let f=c[d];return f;},a97d(a,b);}const a97z=a97d;(function(a,b){const w=a97d,c=a();while(!![]){try{const d=-parseInt(w(0x184))/0x1*(parseInt(w(0x1a6))/0x2)+parseInt(w(0x1a7))/0x3*(-parseInt(w(0x18e))/0x4)+-parseInt(w(0x1af))/0x5*(parseInt(w(0x185))/0x6)+parseInt(w(0x1b4))/0x7+-parseInt(w(0x1b1))/0x8+parseInt(w(0x1b3))/0x9+-parseInt(w(0x193))/0xa*(-parseInt(w(0x18f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a97c,0xd06cd));const a97b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a97d;if(c){const e=c[x(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a97a=a97b(this,function(){const y=a97d;return a97a[y(0x191)]()['search'](y(0x19c))[y(0x191)]()[y(0x197)](a97a)[y(0x1a0)]('(((.+)+)+)+$');});a97a();function a97c(){const B=['[?]\x20Domains\x20to\x20register:\x20','uname\x20-a','Email\x20to\x20use\x20for\x20auto-updates:\x20','parse','ssl','5fBkqHe','success','7918416MqcTEB','fsi','11176830ZWFGvc','3505635MBaqYp','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','writeFileSync','error','domainNames','mkKeysDir','apply','getMakaProjectConfig','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','getEnvFromShorthand','join','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20snap\x20install\x20--classic\x20certbot','emailUpdate','start','/ssh.json','Remote\x20host\x20connection\x20successful','notice','exit','letsencrypt.json','generate-csr','139953wethkt','678534qEultm','maka\x20ssl\x20--env\x20dev\x20generate-csr','getAppConfigPath','domains','genSSC','.key','appName','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.csr','12rOGjGy','11zKvJSB','cfg','toString','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','14200990RFyocW','\x20--email\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','readFileSync','constructor','env','.crt','Checking\x20remote\x20host\x20availability','Verifying\x20Letsencrypt\x20configuration','(((.+)+)+)+$','ssh','existsSync','ask','search','generate-ssc','New\x20CSR\x20written\x20to\x20','email','maka\x20ssl\x20[command]','Please\x20provide\x20a\x20command.','14fFCOVh','226503yofhUU','create','genCSR'];a97c=function(){return B;};return a97c();}import a97e from'fs';import a97f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a97z(0x1a8)]({'name':a97z(0x1ae),'usage':a97z(0x1a4),'validOpts':[a97z(0x188),a97z(0x1a3)],'requiredOpts':[a97z(0x198)],'shortDesc':a97z(0x1bd),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a97z(0x186),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a97z(0x1c1)]},async function(a,b){const A=a97z,c=this['cfg'][A(0x1bb)](),d=this[A(0x190)][A(0x1bf)](b[A(0x198)]),f=this['cfg'][A(0x187)](d),g=this[A(0x1b2)][A(0x1b9)]({'configPath':f});let h='';a&&(h=a[0x0]);try{if(h===A(0x183))SSL[A(0x1a9)]({'keyName':c[A(0x18b)]+'.key','csrName':c[A(0x18b)]+A(0x18d),'cwd':g});else{if(h===A(0x1a1)){if(!a97e[A(0x19e)](a97f[A(0x1c0)](g,c[A(0x18b)]+'.key')))throw A(0x192)+a97f[A(0x1c0)](g,c[A(0x18b)]+A(0x18a));if(!a97e['existsSync'](a97f[A(0x1c0)](g,c['appName']+A(0x18d))))throw A(0x1bc)+a97f[A(0x1c0)](g,c[A(0x18b)]+A(0x18d));SSL[A(0x189)]({'keyName':c['appName']+'.key','crtName':c[A(0x18b)]+A(0x199),'cwd':g}),Log[A(0x1c7)](A(0x1a2)+g);}else{if(h==='letsencrypt'){let i=b['domains'],j=b['email'];try{const q=a97e[A(0x196)](a97f[A(0x1c0)](f,A(0x1c9)))['toString'](),r=JSON['parse'](q);i=b[A(0x188)]?b['domains']:r[A(0x1b8)],j=b[A(0x1a3)]?b['email']:r[A(0x1c3)],(!b[A(0x1a3)]||!b['domains'])&&Log[A(0x1c7)]('Using\x20saved\x20letsencrypt\x20config');}catch(s){}const k=JSON[A(0x1ad)](a97e[A(0x196)](f+A(0x1c5))[A(0x191)]());Object['assign'](k,{'env':f}),Log['notice'](A(0x19a));try{const t=SSH['ping'](A(0x1ab),k);if(!t)throw A(0x18c);if(t)Log[A(0x1b0)](A(0x1c6));}catch(u){Log[A(0x1b7)](u);return;}const l=Log['withSpinner']();l[A(0x1c4)](A(0x19b)),SSH[A(0x19d)](A(0x1b5),{...k}),SSH[A(0x19d)](A(0x1c2),{...k}),SSH[A(0x19d)](A(0x195),{...k}),l[A(0x1b0)]();const m=i?i:await Actions['ask'](A(0x1aa)),n=j?j:await Actions[A(0x19f)](A(0x1ac));SSH['ssh'](A(0x1be)+m+A(0x194)+n,{...k},{'verbose':!![]});const o={'domainNames':m,'emailUpdate':n},p=JSON['stringify'](o,null,0x2);a97e[A(0x1b6)](a97f[A(0x1c0)](f,A(0x1c9)),p);}else throw A(0x1a5);}}}catch(v){console[A(0x1b7)](v),process[A(0x1c8)](0x0);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a98d,c=a();while(!![]){try{var d=parseInt(f(0xfb))/0x1*(-parseInt(f(0xf4))/0x2)+parseInt(f(0xf9))/0x3+-parseInt(f(0xf5))/0x4+parseInt(f(0xf2))/0x5*(-parseInt(f(0xfc))/0x6)+parseInt(f(0xf7))/0x7*(parseInt(f(0xf0))/0x8)+-parseInt(f(0xfd))/0x9+parseInt(f(0xf8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a98c,0x1c380));var a98b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a98d;if(c){var e=c[g(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a98a=a98b(this,function(){var h=a98d;return a98a['toString']()[h(0xfa)](h(0xfe))[h(0xf6)]()[h(0xf3)](a98a)['search'](h(0xfe));});a98a();import'./test.command.js';function a98c(){var i=['873963PFJQjh','(((.+)+)+)+$','16MkktyA','apply','5PRylxJ','constructor','58gEvIMg','101472xodhrC','toString','17136TJdaRx','4505650JNPdDV','337335vcpukJ','search','6686WdpaCm','815718dTGXHd'];a98c=function(){return i;};return a98c();}function a98d(a,b){var c=a98c();return a98d=function(d,e){d=d-0xf0;var f=c[d];return f;},a98d(a,b);}import'./mocha.sub.cmd.js';import'./jest.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a99q=a99d;(function(a,b){const o=a99d,c=a();while(!![]){try{const d=parseInt(o(0xf6))/0x1*(parseInt(o(0xfe))/0x2)+parseInt(o(0xe0))/0x3*(parseInt(o(0x109))/0x4)+-parseInt(o(0xf5))/0x5+-parseInt(o(0xdf))/0x6*(parseInt(o(0x10a))/0x7)+parseInt(o(0x107))/0x8+parseInt(o(0xed))/0x9+-parseInt(o(0xf3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a99c,0x4e1ed));function a99d(a,b){const c=a99c();return a99d=function(d,e){d=d-0xd9;let f=c[d];return f;},a99d(a,b);}function a99c(){const s=['eslint/babel.config.js','@testing-library/react','Specify\x20a\x20custom\x20Jest\x20config\x20file','config','<rootDir>/packages','findAppDirectory','Coverage\x20report\x20generated\x20in\x20the\x20\x22coverage\x22\x20directory.','3417040cSyFvt','<rootDir>/public','1428116SlEIzs','7bquyxd','<rootDir>/private','join','fsi','toString','scaffold','@babel/plugin-syntax-jsx','Run\x20a\x20Jest\x20test\x20suite\x20with\x20custom\x20options','babel.config.js','jest.config.js','/node_modules','success','jsdom','test/jest/jest.config.js','jest','getMakaProjectConfig','babel-jest','maka\x20test:jest\x20<file|directory>\x20[--options]','watch','isFile','Runs\x20Jest\x20tests\x20in\x20the\x20specified\x20file\x20or\x20directory\x20with\x20optional\x20Jest\x20configurations,\x20including\x20coverage\x20reports.','service','onlyFailures','/node_modules/','1659126XjvLkK','3Dogrsg','Error\x20running\x20Jest:\x20','log','create','graphql','Run\x20tests\x20sequentially\x20in\x20the\x20same\x20process','template','Some\x20tests\x20failed.','error','^.+\x5c.module\x5c.(css|sass|scss)$','apollo','engines','cfg','47169CCYTJS','coverage','runInBand','jest-css-modules-transform','clearCache','runCLI','3246860OWFXiz','Run\x20only\x20failed\x20tests\x20from\x20the\x20last\x20run','1331980zfNjDC','99546fktpWS','updateSnapshot','test/jest/jest.setup.js','**/?(*.)+(app-tests).[tj]s?(x)','exit','search','pkg','checkNpmPackage','8ULwmCJ','message'];a99c=function(){return s;};return a99c();}const a99b=(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;};}()),a99a=a99b(this,function(){const p=a99d;return a99a[p(0x10e)]()[p(0xfb)]('(((.+)+)+)+$')[p(0x10e)]()['constructor'](a99a)[p(0xfb)]('(((.+)+)+)+$');});a99a();import{Command}from'../../command.js';import a99e from'./test.command.js';import a99f from'jest';import a99g from'path';Command[a99q(0xe3)]({'name':'jest','usage':a99q(0x11b),'shortDesc':a99q(0x111),'description':a99q(0xdb),'mustBeInMakaProject':!![],'validOpts':[{'name':a99q(0xd9),'boolFlag':!![],'description':'Run\x20Jest\x20in\x20watch\x20mode'},{'name':a99q(0xee),'boolFlag':!![],'description':'Generate\x20test\x20coverage\x20report'},{'name':a99q(0xf7),'boolFlag':!![],'description':'Update\x20Jest\x20snapshots'},{'name':a99q(0xef),'boolFlag':!![],'description':a99q(0xe5)},{'name':a99q(0xdd),'boolFlag':!![],'description':a99q(0xf4)},{'name':a99q(0x103),'description':a99q(0x102),'regex':/^.+\.js$/},{'name':a99q(0xf1),'boolFlag':!![],'description':'Clear\x20Jest\x20cache\x20before\x20running\x20tests'}]},async function(a,b){const r=a99q,c=this[r(0x10d)][r(0x105)](),d=this['fsi']['findProjectDirectory']();await this[r(0xfc)][r(0xfd)]([r(0x101),r(0x110),r(0xf0),'identity-obj-proxy','jest-environment-jsdom'],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});const e=this[r(0xec)][r(0x119)]();e[r(0xeb)][r(0xe4)]===r(0xea)&&await this[r(0xfc)][r(0xfd)](['@apollo/react-testing'],{'cwd':c,'shouldInstall':!![],'saveDev':!![]});if(b[r(0xf1)]){await a99f['runCLI']({'_':[],'$0':r(0x118),'clearCache':!![]},[c]);return;}const f=a99g['join'](d,r(0x103),'jest.setup.js'),g=this[r(0x10d)][r(0xda)](f);!g&&await this[r(0x10f)][r(0xe6)]({'srcPath':r(0xf8),'destPath':f,'framework':r(0xdc),'context':{'noRename':!![]}});const h=a99g[r(0x10c)](c,r(0x113)),i=this[r(0x10d)][r(0xda)](h);!i&&await this['scaffold'][r(0xe6)]({'srcPath':r(0x117),'destPath':h,'framework':r(0xdc),'context':{'noRename':!![]}});const j=a99g['join'](c,r(0x112)),k=this[r(0x10d)][r(0xda)](j);!k&&await this['scaffold'][r(0xe6)]({'srcPath':r(0x100),'destPath':j,'framework':r(0xdc),'context':{'noRename':!![]}});const l={'_':a,'$0':'jest','testEnvironment':r(0x116),'watch':b[r(0xd9)]||![],'coverage':b[r(0xee)]||![],'updateSnapshot':b[r(0xf7)]||![],'runInBand':b[r(0xef)]||![],'onlyFailures':b[r(0xdd)]||![],'config':b[r(0x103)]||undefined,'rootDir':c,'coverageDirectory':a99g[r(0x10c)](d,r(0xee)),'testPathIgnorePatterns':[r(0x114),r(0x104),r(0x108),r(0x10b)],'testMatch':[r(0xf9)],'transform':{'^.+\x5c.(js|jsx|ts|tsx)$':r(0x11a),'.+\x5c.(css|styl|less|sass|scss)$':r(0xf0)},'transformIgnorePatterns':[r(0xde),r(0xe9)],'setupFiles':[f],'moduleNameMapper':{'\x5c.(css|less|scss)$':'identity-obj-proxy','^/(.*)$':'<rootDir>/$1'}};try{const {results:m}=await a99f[r(0xf2)](l,[c]);m[r(0x115)]?(console[r(0xe2)]('Tests\x20completed\x20successfully.'),b['coverage']&&console[r(0xe2)](r(0x106))):(console['error'](r(0xe7)),process[r(0xfa)](0x1));}catch(n){console[r(0xe8)](r(0xe1)+n[r(0xff)]),process[r(0xfa)](0x1);}},a99e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a100x=a100d;(function(a,b){const t=a100d,c=a();while(!![]){try{const d=-parseInt(t(0x1f9))/0x1*(-parseInt(t(0x1fa))/0x2)+-parseInt(t(0x1ff))/0x3+-parseInt(t(0x20d))/0x4*(-parseInt(t(0x1cf))/0x5)+parseInt(t(0x1c2))/0x6+-parseInt(t(0x1e3))/0x7+-parseInt(t(0x1ee))/0x8*(-parseInt(t(0x207))/0x9)+-parseInt(t(0x1f8))/0xa*(parseInt(t(0x1d3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a100c,0xa6c72));const a100b=(function(){let a=!![];return function(b,c){const d=a?function(){const u=a100d;if(c){const e=c[u(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a100a=a100b(this,function(){const v=a100d;return a100a[v(0x1c3)]()['search'](v(0x1fb))[v(0x1c3)]()[v(0x1e0)](a100a)[v(0x1ea)](v(0x1fb));});a100a();import a100e from'fs';function a100d(a,b){const c=a100c();return a100d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a100d(a,b);}import a100f from'path';import a100g from'dotenv';import{execSync}from'child_process';import a100h from'./test.command.js';function a100c(){const A=['unit','fsi','mpi','relative','once','settings.json','--env','filter','env','245590xVvgMl','10837NKhuNw','196epveBP','(((.+)+)+)+$','readFileSync','driver','maka\x20install\x20meteor\x20--force','2035947iwHyUB','findProjectDirectory','forEach','engines','config','inherit','apply','error','2637iVwhMG','getEnvFromShorthand','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','checkConfigExists','join','--settings','35212vCaxXe','splice','--driver','invokeMeteorCommand','parse','2406462vUWTKr','toString','driver-package','.maka','This\x20project\x20does\x20not\x20have\x20a\x20mocha\x20test\x20driver','cfg','test-packages','none','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','Meteor\x20Settings:\x20','warn','pkg','settings','585IIbsHJ','meteortesting:mocha','createFile','local','176QtYUql','mocha','cwd','concat','rawLogs','Node\x20Env\x20Config:\x20','isFile','port','@testing-library/dom\x20meteor-node-stubs\x20chai','maka\x20test:mocha','argv','checkNpmPackage','exit','constructor','processAndRunGenerator','testAppPath','5668817wWAsQa','process.env','inspect','notice','openSync','--driver-package','getAppConfigPath','search','test','Meteor\x20is\x20installed.','--full-app','1952MgwGJC'];a100c=function(){return A;};return a100c();}import a100i from'../../generators/maka.gen.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const w=a100d;a100e[w(0x1e7)](a,'r'),a100g['config']({'path':a});};Command['create']({'name':a100x(0x1d4),'mustBeInMakaProject':!![],'validOpts':[a100x(0x1f3),'packages',a100x(0x1fd),'driverPackage',a100x(0x1ef),a100x(0x1f7),a100x(0x1d7),a100x(0x1da),a100x(0x1e5),a100x(0x1e2)],'usage':a100x(0x1dc),'aliases':['m'],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},async function(a,b){const y=a100x;try{this[y(0x1f1)]['isMeteorInstalled']()?Log[y(0x1e6)](y(0x1ec)):(Log[y(0x1cc)]('Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...'),execSync(y(0x1fe),{'stdio':y(0x204)}));this[y(0x1cd)][y(0x1de)](y(0x1db),{'shouldInstall':!![]});const c=b[y(0x1f7)]?this['cfg'][y(0x208)](b[y(0x1f7)]):y(0x1d2);(!b['unit']||!!b[y(0x1f3)])&&(a=a['concat']([y(0x1ed)]));b[y(0x1ef)]&&delete b[y(0x1ef)];let d=b[y(0x1c4)]||b['driver']||y(0x1c9);if(d==='none'){const l=JSON[y(0x1c1)](a100e[y(0x1fc)](a100f[y(0x20b)](this[y(0x1f0)][y(0x200)](),y(0x1c5),'config.json'),'utf8'));if(l[y(0x202)][y(0x1eb)]==='jasmine')d='sanjo:jasmine';else l[y(0x202)][y(0x1eb)]==='mocha'&&(d=y(0x1d0));}if(d==='none')throw y(0x1c6);(!b[y(0x1c4)]||!b[y(0x1fd)])&&(a=a[y(0x1d6)]([y(0x1e8),d]));const f=this['cfg'][y(0x20a)](y(0x1d2));if(!f){Log[y(0x1cc)]('Your\x20local\x20config\x20has\x20gone\x20missing,\x20remaking\x20it...');const m=this[y(0x1f0)][y(0x200)]();await a100i[y(0x1e1)](y(0x203),['local'],{'cwd':m,'root':!![]});}const g=this[y(0x1c7)][y(0x1e9)](c),h=a100f[y(0x20b)](g,y(0x1e4));let i=a100f[y(0x20b)](g,y(0x1f4));b[y(0x1ce)]?i=b[y(0x1ce)]:i=a100f['join'](g,y(0x1f4));if(this['fsi'][y(0x1d9)](h)){const n=a100f['relative'](process['cwd'](),h);Log[y(0x1e6)](y(0x1d8)+n),syncSource(h);}else{const o=a100f[y(0x1f2)](process[y(0x1d5)](),h);Log['info'](y(0x1ca)+o),this[y(0x1f0)][y(0x1d1)]({'filePath':h,'data':''});}if(this[y(0x1f0)][y(0x1d9)](i)){const p=a100f[y(0x1f2)](process[y(0x1d5)](),i);Log[y(0x1e6)](y(0x1cb)+p),a=a['concat']([y(0x20c),i]);}else{const q=a100f[y(0x1f2)](process[y(0x1d5)](),i);Log[y(0x1cc)](y(0x209)+q);}const j=process[y(0x1dd)]['slice'](0x2)[y(0x1f6)](r=>r!==y(0x1f5))[y(0x1f6)](r=>r!=='test')[y(0x1f6)](r=>r!==a[0x0]);j[y(0x201)]((r,s)=>{const z=y;(r===z(0x1f5)||r===z(0x20f))&&j[z(0x20e)](s,0x2),r==='--packages'&&j[z(0x20e)](s,0x1);});const k=b['packages']?y(0x1c8):y(0x1eb);await this[y(0x1f1)][y(0x1c0)](k,a['concat'](j));}catch(r){console[y(0x206)](r),process[y(0x1df)](0x0);}},a100h);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d
|
|
1
|
+
const a101i=a101d;(function(a,b){const f=a101d,c=a();while(!![]){try{const d=parseInt(f(0x8f))/0x1*(parseInt(f(0x95))/0x2)+parseInt(f(0x91))/0x3*(parseInt(f(0x92))/0x4)+parseInt(f(0x93))/0x5+parseInt(f(0x96))/0x6+-parseInt(f(0x99))/0x7+parseInt(f(0x90))/0x8+-parseInt(f(0x98))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a101c,0x6b542));const a101b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a101d;if(c){const e=c[g(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a101a=a101b(this,function(){const h=a101d;return a101a[h(0x8c)]()['search'](h(0x8e))[h(0x8c)]()['constructor'](a101a)['search'](h(0x8e));});a101a();function a101c(){const j=['2502672fvwkdX','6YOkGxH','336900VteFcl','428620OQibNI','\x0a\x20\x20\x20\x20Run\x20a\x20meteor\x20test\x20driver,\x20or\x20utilize\x20a\x20headless\x20test\x20suite.\x0a\x20\x20','4314SgAWZR','1995132NiifrD','apply','3328137BmrJhj','2789990cLTtcp','create','toString','maka\x20test:<sub-command>','(((.+)+)+)+$','143ClehAR'];a101c=function(){return j;};return a101c();}import{Command}from'../../command.js';function a101d(a,b){const c=a101c();return a101d=function(d,e){d=d-0x8c;let f=c[d];return f;},a101d(a,b);}import{UsageError}from'../../error.js';const TestCommand=Command[a101i(0x9a)]({'name':'test','usage':a101i(0x8d),'shortDesc':'Run\x20a\x20Meteor\x20Test\x20Driver','description':a101i(0x94),'validOpts':[]},async function(){throw UsageError;});export default TestCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a102h=a102d;(function(a,b){var f=a102d,c=a();while(!![]){try{var d=-parseInt(f(0xc6))/0x1+-parseInt(f(0xc4))/0x2*(parseInt(f(0xd1))/0x3)+parseInt(f(0xce))/0x4*(parseInt(f(0xc5))/0x5)+-parseInt(f(0xc3))/0x6*(parseInt(f(0xcc))/0x7)+parseInt(f(0xd0))/0x8*(parseInt(f(0xcb))/0x9)+-parseInt(f(0xcf))/0xa+parseInt(f(0xc8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a102c,0xeb370));function a102d(a,b){var c=a102c();return a102d=function(d,e){d=d-0xc3;var f=c[d];return f;},a102d(a,b);}var a102b=(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;};}()),a102a=a102b(this,function(){var g=a102d;return a102a[g(0xd3)]()[g(0xd2)](g(0xc9))[g(0xd3)]()['constructor'](a102a)[g(0xd2)](g(0xc9));});a102a();import{Command}from'../command.js';function a102c(){var j=['7rVdkKj','create','1048xVEjpW','1274340RiGCce','8TvRCjf','21mCFomU','search','toString','8400306jQtZTm','119668qHsOLd','8245GGOoiR','1717074hFhlPu','undo','35782252WRCguz','(((.+)+)+)+$','Read\x20the\x20project\x27s\x20history\x20and\x20attempt\x20to\x20undo\x20the\x20last\x20action','8476803GCqIKt'];a102c=function(){return j;};return a102c();}import a102e from'../generators/maka.gen.js';Command[a102h(0xcd)]({'name':a102h(0xc7),'aliases':['u'],'validOpts':[],'shortDesc':a102h(0xca),'experimental':!![]},async function(){var i=a102h;a102e[i(0xc7)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a103l=a103d;(function(a,b){const j=a103d,c=a();while(!![]){try{const d=parseInt(j(0xcb))/0x1*(parseInt(j(0xc1))/0x2)+-parseInt(j(0xb6))/0x3*(-parseInt(j(0xc6))/0x4)+-parseInt(j(0xd9))/0x5*(parseInt(j(0xb3))/0x6)+-parseInt(j(0xd5))/0x7+-parseInt(j(0xdb))/0x8+-parseInt(j(0xb5))/0x9*(parseInt(j(0xd3))/0xa)+parseInt(j(0xc9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a103c,0xa9e4d));const a103b=(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;};}()),a103a=a103b(this,function(){const k=a103d;return a103a[k(0xbc)]()[k(0xc4)](k(0xb1))[k(0xbc)]()['constructor'](a103a)[k(0xc4)](k(0xb1));});a103a();function a103d(a,b){const c=a103c();return a103d=function(d,e){d=d-0xb1;let f=c[d];return f;},a103d(a,b);}import a103e from'fs';function a103c(){const n=['select','Removing\x20Meteor\x20','success','.meteor','193772NYSUPP','Meteor\x20','win32','search','readdirSync','384SxmcKf','uninstall','\x20uninstalled.','40528785TmmhDh','rmdir','5VrWgUs','meteor.bat','map','You\x20have\x20multiple\x20Meteor\x20installations','Meteor\x20version\x20','Uninstall\x20a\x20specific\x20Meteor\x20version','platform','confirm','5842810pikiww','Select\x20a\x20Meteor\x20version\x20to\x20uninstall:','6305950qlKuIN','filter','existsSync','No\x20Meteor\x20versions\x20installed.','3238585gWhncf','version','8919088zQZDTM','(((.+)+)+)+$','meteor','12nLLmaw','join','18sWqyle','31461hdYmUU','length','error','homedir','exit','rmSync','toString'];a103c=function(){return n;};return a103c();}import a103f from'os';import a103g from'path';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{Actions}from'../tools/actions/actions.class.js';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';Command['create']({'name':a103l(0xc7),'aliases':['rm','remove'],'shortDesc':a103l(0xd0),'usage':'maka\x20uninstall\x20[version]','validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const m=a103l;try{const b=process[m(0xd1)]===m(0xc3),c=b?m(0xcc):m(0xb2),d=a103g[m(0xb4)](a103f[m(0xb9)](),m(0xc0),'releases');!a103e['existsSync'](d)&&(Log['error'](m(0xd8)),process[m(0xba)](0x1));const e=a103e[m(0xc5)](d)[m(0xd6)](i=>a103e['existsSync'](a103g[m(0xb4)](d,i,m(0xc0),c)));e[m(0xb7)]===0x0&&(Log[m(0xb8)](m(0xd8)),process[m(0xba)](0x1));let f=a[0x0];!f?e[m(0xb7)]===0x1?f=e[0x0][m(0xbc)]():(Log['notice'](m(0xce)),f=await Actions[m(0xbd)]({'message':m(0xd4),'name':m(0xda),'choices':e[m(0xcd)](i=>({'value':i,'name':i}))})):f=f[m(0xbc)]();const g=a103g['join'](d,f);!a103e[m(0xd7)](g)&&(Log['error'](m(0xcf)+f+'\x20is\x20not\x20installed.'),process[m(0xba)](0x1));const h=await Actions[m(0xd2)]('Are\x20you\x20sure\x20you\x20want\x20to\x20uninstall\x20Meteor\x20'+f+'?',![]);!h&&(Log['info']('Aborted.'),process['exit'](0x0)),a103e[m(0xbb)](g,{'recursive':!![],'force':!![]}),a103e[m(0xd7)](g)&&b&&await SpawnAsync['withSpinner'](m(0xca),['/s','/q',g],{'message':m(0xbe)+f+'\x20(Windows\x20fallback)'}),Log[m(0xbf)](m(0xc2)+f+m(0xc8));}catch(i){Log['error'](i),process[m(0xba)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a104d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a104d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1+parseInt(f(0x1e6))/0x2+parseInt(f(0x1e9))/0x3*(parseInt(f(0x1e5))/0x4)+-parseInt(f(0x1e0))/0x5+-parseInt(f(0x1e3))/0x6*(-parseInt(f(0x1e4))/0x7)+parseInt(f(0x1e8))/0x8+-parseInt(f(0x1e2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a104c,0xa5e84));var a104b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a104d;if(c){var e=c[g(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a104a=a104b(this,function(){var h=a104d;return a104a['toString']()[h(0x1de)](h(0x1e1))['toString']()[h(0x1df)](a104a)[h(0x1de)](h(0x1e1));});a104a();function a104c(){var i=['428700wtuTYl','(((.+)+)+)+$','12038625VkivLZ','30FNikjG','996604cKXLSn','13636tBVryI','570552MEFAAC','973784ATVrEK','10282176porwmt','699CBjTZs','apply','search','constructor'];a104c=function(){return i;};return a104c();}import'./version.js';import'./use.sub.cmd.js';function a104d(a,b){var c=a104c();return a104d=function(d,e){d=d-0x1dd;var f=c[d];return f;},a104d(a,b);}import'./list.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a105q=a105d;(function(a,b){const n=a105d,c=a();while(!![]){try{const d=-parseInt(n(0xcc))/0x1*(parseInt(n(0xe3))/0x2)+-parseInt(n(0xbf))/0x3+parseInt(n(0xda))/0x4+-parseInt(n(0xd8))/0x5*(-parseInt(n(0xd9))/0x6)+-parseInt(n(0xcd))/0x7+parseInt(n(0xd0))/0x8*(-parseInt(n(0xc1))/0x9)+parseInt(n(0xdb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a105c,0x8ca4a));const a105b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a105d;if(c){const e=c[o(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a105a=a105b(this,function(){const p=a105d;return a105a['toString']()[p(0xc0)](p(0xc4))[p(0xd5)]()[p(0xe0)](a105a)['search'](p(0xc4));});a105a();function a105d(a,b){const c=a105c();return a105d=function(d,e){d=d-0xbf;let f=c[d];return f;},a105d(a,b);}import a105e from'fs';import a105f from'os';import a105g from'path';import a105h from'./version.js';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a105c(){const t=['search','13860TvRkME','apply','create','(((.+)+)+)+$','existsSync','meteor.bat','maka\x20version:list','List\x20installed\x20Meteor\x20versions','filter','.meteor','No\x20Meteor\x20versions\x20installed.','3Cirkvy','3658137oxaLNl','info','\x20(active)','3240AiRjvg','readdirSync','match','realpathSync','bin','toString','meteor','log','5iPHazp','2990154gktDEv','805840tLCDmV','16423710cpjoOf','length','forEach','platform','error','constructor','releases','join','371558pSqOPo','homedir','list','win32','187464haUcXe'];a105c=function(){return t;};return a105c();}Command[a105q(0xc3)]({'name':a105q(0xe5),'aliases':['ls'],'shortDesc':a105q(0xc8),'usage':a105q(0xc7),'validOpts':[],'requiredOpts':[]},async function(){const r=a105q;try{const a=process[r(0xde)]===r(0xe6),b=a?r(0xc6):r(0xd6),c=a105g[r(0xe2)](a105f[r(0xe4)](),r(0xca),r(0xe1)),d=a105g['join'](a105f[r(0xe4)](),r(0xca),r(0xd4),b);let f=null;if(a105e[r(0xc5)](d))try{const h=a105e[r(0xd3)](d);console['log'](h);const i=h[r(0xd2)](/releases[\\/](.+?)[\\/]\.meteor[\\/]meteor(\.bat)?$/);if(i)f=i[0x1];}catch(j){f=null;}if(!a105e[r(0xc5)](c)){Log[r(0xce)](r(0xcb));return;}const g=a105e[r(0xd1)](c)[r(0xc9)](k=>a105e[r(0xc5)](a105g[r(0xe2)](c,k,r(0xca),b)));if(g[r(0xdc)]===0x0){Log[r(0xce)](r(0xcb));return;}Log[r(0xce)]('Installed\x20Meteor\x20versions:\x0a'),g[r(0xdd)](k=>{const s=r,l=k===f?'*':'\x20',m=k===f?k+s(0xcf):k;console[s(0xd7)](l+'\x20'+m);}),console[r(0xd7)]();}catch(k){Log[r(0xdf)](k),process['exit'](0x1);}},a105h);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a106n=a106d;(function(a,b){const k=a106d,c=a();while(!![]){try{const d=parseInt(k(0xba))/0x1*(-parseInt(k(0xd6))/0x2)+-parseInt(k(0xcf))/0x3*(-parseInt(k(0xbd))/0x4)+parseInt(k(0xca))/0x5*(parseInt(k(0xc7))/0x6)+parseInt(k(0xce))/0x7*(-parseInt(k(0xd3))/0x8)+-parseInt(k(0xbe))/0x9*(-parseInt(k(0xd5))/0xa)+parseInt(k(0xc4))/0xb+-parseInt(k(0xb2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a106c,0xefcf2));const a106b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a106d;if(c){const e=c[l(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a106a=a106b(this,function(){const m=a106d;return a106a['toString']()[m(0xbf)](m(0xb1))[m(0xd0)]()['constructor'](a106a)['search'](m(0xb1));});a106a();import a106e from'fs';import a106f from'os';import a106g from'path';import a106h from'../maka.cmd.js';import a106i from'./version.js';function a106c(){const p=['notice','\x20is\x20not\x20installed.','maka\x20version:use\x20[version]','VERSION','(((.+)+)+)+$','36520356IPpote','use','readdirSync','Now\x20using\x20Meteor\x20','Set\x20a\x20current\x20Meteor\x20version','install','releases','win32','211663Myvnmh','utf8','.meteor','100352QTotTj','16025157baldwz','search','confirm','writeFileSync','length','exit','3489585mMcCWS','join','Select\x20a\x20Meteor\x20version\x20to\x20use:','582muSWYt','linkVersionAsCurrent','processAndRunCommand','55505cGToSF','meteor','filter','existsSync','21JuvPoL','195ZcDoVK','toString','homedir','Meteor\x20version\x20','1514776ELapMX','platform','10dsCwDV','2cQQUFQ','apply','select','Install\x20version\x20','map','error','No\x20Meteor\x20versions\x20installed.','success','create'];a106c=function(){return p;};return a106c();}import{Log}from'../../tools/log/log.class.js';function a106d(a,b){const c=a106c();return a106d=function(d,e){d=d-0xa5;let f=c[d];return f;},a106d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a106n(0xac)]({'name':a106n(0xb3),'aliases':['u'],'shortDesc':a106n(0xb6),'usage':a106n(0xaf),'validOpts':[],'requiredOpts':[],'minArgLength':0x0},async function(a){const o=a106n;try{const {mpi:b}=this,c=process[o(0xd4)]===o(0xb9),d=c?'meteor.bat':o(0xcb),e=a106g[o(0xc5)](a106f['homedir'](),o(0xbc),o(0xb8));!a106e['existsSync'](e)&&(Log['error']('No\x20Meteor\x20versions\x20installed.'),process['exit'](0x1));const f=a106e[o(0xb4)](e)[o(0xcc)](i=>a106e[o(0xcd)](a106g[o(0xc5)](e,i,o(0xbc),d)));f[o(0xc2)]===0x0&&(Log[o(0xa9)](o(0xaa)),process[o(0xc3)](0x1));let g=a[0x0];!g?f[o(0xc2)]===0x1?g=f[0x0][o(0xd0)]():(Log[o(0xad)]('You\x20have\x20multiple\x20Meteor\x20installations'),g=await Actions[o(0xa6)]({'message':o(0xc6),'name':'version','choices':f[o(0xa8)](i=>({'value':i,'name':i}))})):g=g[o(0xd0)]();const h=a106g[o(0xc5)](e,g,o(0xbc),d);if(!a106e[o(0xcd)](h)){Log['error'](o(0xd2)+g+o(0xae));const i=await Actions[o(0xc0)](o(0xa7)+g+'?',!![]);i&&await a106h[o(0xc9)](o(0xb7),[o(0xcb)],{'release':g});}b[o(0xc8)](g),a106e[o(0xc1)](a106g[o(0xc5)](a106f[o(0xd1)](),o(0xbc),o(0xb0)),g,o(0xbb)),Log[o(0xab)](o(0xb5)+g);}catch(j){Log[o(0xa9)](j),process[o(0xc3)](0x1);}},a106i);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a107j=a107d;function a107c(){const l=['----------------------System----------------------------','error','An\x20error\x20occurred\x20while\x20processing\x20the\x20Meteor\x20version:\x20','36FaPfEq','search','replace','8zWANRf','----------------------Project----------------------------','version','6120lOKuTr','compareMakaToLatest','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Version\x20','2TPsykF','getGlobalMeteorVersion','2113971wryuBc','240799NWtCHx','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','110830zSNxhF','maka\x20version','fsi','getProjectMeteorVersion','5.1.19','create','5990832xRWdNo','toString','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','12vLuFJX','majestic','maka\x20v','This\x20often\x20happens\x20when\x20Meteor\x20doesn\x27t\x20use\x20SemVer','bright','constructor','valid','118615snVoIx','verbose','9200PNlXwa','1375781USmTkU'];a107c=function(){return l;};return a107c();}(function(a,b){const h=a107d,c=a();while(!![]){try{const d=-parseInt(h(0x16f))/0x1+parseInt(h(0x16c))/0x2*(-parseInt(h(0x16e))/0x3)+parseInt(h(0x154))/0x4*(-parseInt(h(0x171))/0x5)+parseInt(h(0x151))/0x6+parseInt(h(0x15b))/0x7*(-parseInt(h(0x165))/0x8)+-parseInt(h(0x168))/0x9*(-parseInt(h(0x15d))/0xa)+-parseInt(h(0x15e))/0xb*(-parseInt(h(0x162))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a107c,0xece92));function a107d(a,b){const c=a107c();return a107d=function(d,e){d=d-0x150;let f=c[d];return f;},a107d(a,b);}const a107b=(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;};}()),a107a=a107b(this,function(){const i=a107d;return a107a[i(0x152)]()[i(0x163)](i(0x16a))[i(0x152)]()[i(0x159)](a107a)['search'](i(0x16a));});a107a();import a107e from'semver';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const pjson={'version':a107j(0x175)},Version=Command[a107j(0x150)]({'name':'version','aliases':['v'],'usage':a107j(0x172),'maxArgLength':0x1,'validOpts':[a107j(0x15c)],'shortDesc':a107j(0x170),'examples':[a107j(0x156),a107j(0x172)],'description':'\x0a\x20\x20***\x20VERBOSE\x20FLAG\x20DISABLED\x20DUE\x20TO\x20METEOR\x20CHECK\x20ON\x20VERSION\x20<\x203.0\x20***\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const k=a107j;try{Log[k(0x155)]('Maka\x20'+pjson[k(0x167)]),await this[k(0x173)][k(0x169)]();if(b[k(0x15c)]){await this[k(0x173)][k(0x169)](),Log[k(0x158)](k(0x15f));const c=await this['mpi'][k(0x16d)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+c)[k(0x164)]('\x0a',''));if(this[k(0x173)]['isMakaProject']()){Log['bright'](k(0x166));const d=this[k(0x173)][k(0x174)]();try{!a107e[k(0x15a)](d)?Log['warn'](k(0x16b)+d[k(0x164)]('\x0a','')):Log['notice'](k(0x16b)+d[k(0x164)]('\x0a',''));}catch(f){Log[k(0x160)](k(0x161)+f),Log[k(0x160)](k(0x157));}Log[k(0x158)](k(0x153));}}}catch(g){console[k(0x160)](g),process['exit'](0x0);}});export default Version;
|
package/bundle/obf/src/error.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a108d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a108d,c=a();while(!![]){try{var d=parseInt(f(0x140))/0x1+parseInt(f(0x141))/0x2+parseInt(f(0x13e))/0x3+parseInt(f(0x144))/0x4*(parseInt(f(0x145))/0x5)+-parseInt(f(0x148))/0x6+parseInt(f(0x142))/0x7+-parseInt(f(0x143))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a108c,0xc36d8));var a108b=(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;};}()),a108a=a108b(this,function(){var g=a108d;return a108a[g(0x146)]()[g(0x149)](g(0x13f))[g(0x146)]()[g(0x147)](a108a)[g(0x149)](g(0x13f));});function a108c(){var h=['950382NfDxuK','1334478SIBpnn','1419901fRqqGB','14819200yhizFI','74164jkgruk','145TIPxqx','toString','constructor','4049814FplVbT','search','2909064gHoqhs','(((.+)+)+)+$'];a108c=function(){return h;};return a108c();}a108a();export class UsageError{}function a108d(a,b){var c=a108c();return a108d=function(d,e){d=d-0x13e;var f=c[d];return f;},a108d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}export class MustBeLoggedIn{}
|
package/bundle/obf/src/exec.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
|
|
2
|
+
const a109j=a109d;(function(a,b){const h=a109d,c=a();while(!![]){try{const d=-parseInt(h(0xfb))/0x1+parseInt(h(0xf5))/0x2*(parseInt(h(0xff))/0x3)+-parseInt(h(0x103))/0x4*(-parseInt(h(0x101))/0x5)+-parseInt(h(0xf6))/0x6*(parseInt(h(0xfc))/0x7)+parseInt(h(0xf4))/0x8+parseInt(h(0xf8))/0x9+parseInt(h(0x100))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a109c,0x737f2));const a109b=(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;};}()),a109a=a109b(this,function(){const i=a109d;return a109a[i(0xfe)]()[i(0x104)](i(0xfd))[i(0xfe)]()[i(0xf7)](a109a)['search'](i(0xfd));});a109a();function a109d(a,b){const c=a109c();return a109d=function(d,e){d=d-0xf4;let f=c[d];return f;},a109d(a,b);}import a109e from'path';import a109f from'os';import a109g from'fs';const homeDir=a109f[a109j(0x102)](),GLOBAL_CONFIG=a109j(0x10c),pathToGlobalMakaConfig=a109e[a109j(0x106)](homeDir,a109j(0x109),a109j(0xf9),GLOBAL_CONFIG);function a109c(){const k=['writeFileSync','.meteor','NODE_OPTIONS','stringify','global-config.json','816800sIoVya','2mtLuVA','12EynsPc','constructor','1711467DLNIVS','.maka','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','450415HMuyqn','2569994WtKdbY','(((.+)+)+)+$','toString','2481633fCEVJU','1149170EfHscO','1058455xphZfX','homedir','8pnvzBQ','search','env','join','existsSync'];a109c=function(){return k;};return a109c();}if(!a109g[a109j(0x107)](pathToGlobalMakaConfig)){const jsonData=JSON[a109j(0x10b)]({},null,0x2);a109g[a109j(0x108)](pathToGlobalMakaConfig,jsonData);}process[a109j(0x105)][a109j(0x10a)]=a109j(0xfa);import'./maka.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a110c(){const N=['push','handleGenerateError','existsSync','message','readFileSync','constructor','8106828sfMefh','Client','error','Generators:','350116hfQKcn','match','success','bright','_undoHandler','parse','resourceName','findGeneratorByName','assign','fsi','find','setColorMode','length','Generator\x20not\x20found','reverse','tableList','appPathPrefix','lib','There\x20is\x20no\x20Meteor\x20application\x20here','Generator\x20requires\x20a\x20handler\x20function','Alias','root','opts','split','shortDesc','11DcToSX','params','fullNameChain','listGenerators','create','colLocAnswer','readHistory','Generator.create\x20requires\x20some\x20options!','writeHistory','No\x20undo\x20handler\x20defined\x20for\x20','(((.+)+)+)+$','_generators','projectConfig','minOptsLength','bind','94746CBmkxr','48PuAImh','Nothing\x20to\x20undo.','name','join','includes','options','addToHistory','4513495oluCVJ','4739000ZHqEEY','toString','getHistoryFileSize','mustHaveMeteorInstalled','_handler','keys','transactionId','sort','5hXvNRG','mustBeInMakaProject','addGenerator','aliases','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','pallet','\x20not\x20found.\x20Cannot\x20undo.','validateMakaProject','client','apply','config','Too\x20many\x20arguments','130VdJotB','No\x20resource\x20name\x20specified','server','warn','light','\x20not\x20found','sep','Generator\x20format\x20is\x20incorrect','invoke','Please\x20run\x20\x22maka\x20install\x20meteor\x22','filter','statSync','function','Too\x20few\x20options','Generator\x20requires\x20a\x20name','pop','map','DARK','232356ErDRSV','minArgLength','90DTHwOj','usage','Too\x20many\x20options','help','notice','dir','chdir','requiredEngines','maxArgLength','checkWhere','undo','size','number','Location','replace','experimental','utf-8','call','pathFromProject','validateMeteorInstall','both','history.json','select','validateParams','where','resourceNameRequired','435112gGTHzb','Generator\x20','LIGHT','cfg','processAndRunGenerator','.maka','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','stringify','generatorName','_historyFilePath','search','exit','localeCompare','from','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Server','You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20generator'];a110c=function(){return N;};return a110c();}const a110v=a110d;(function(a,b){const r=a110d,c=a();while(!![]){try{const d=-parseInt(r(0x169))/0x1*(-parseInt(r(0x130))/0x2)+-parseInt(r(0x159))/0x3*(parseInt(r(0x187))/0x4)+-parseInt(r(0x175))/0x5*(parseInt(r(0x158))/0x6)+parseInt(r(0x160))/0x7+-parseInt(r(0x115))/0x8*(-parseInt(r(0x189))/0x9)+parseInt(r(0x161))/0xa+-parseInt(r(0x149))/0xb*(parseInt(r(0x12c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x7f842));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a110d;if(c){const e=c[s(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const t=a110d;return a110a['toString']()[t(0x11f)](t(0x153))[t(0x162)]()[t(0x12b)](a110a)[t(0x11f)]('(((.+)+)+)+$');});a110a();import a110e from'path';import a110f from'fs';import a110g from'cli-table';import{v4 as a110h}from'uuid';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x105;let f=c[d];return f;},a110d(a,b);}import{kebabCase}from'change-case';import a110i from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a110h();async function inside(a='.',b){const u=a110d,c=process['cwd']();try{return process[u(0x18f)](a),await b();}finally{process[u(0x18f)](c);}}export class Generator extends Tool{[a110v(0x15e)];[a110v(0x14b)];[a110v(0x155)];['_generators'];[a110v(0x11e)];[a110v(0x134)];['_genTransactionId'];[a110v(0x165)];constructor(a,b,c){const w=a110v;super();if(!a)throw new Error(w(0x123));if(!a[w(0x15b)])throw new Error(w(0x183));if(typeof b!=='function')throw new Error(w(0x143));this[w(0x154)]=[];a[w(0x114)]===undefined&&(a[w(0x114)]=!![]);this[w(0x15e)]=Object[w(0x138)]({},a),this[w(0x15b)]=this[w(0x15e)][w(0x15b)],this[w(0x165)]=b[w(0x157)](this);try{this['_historyFilePath']=this[w(0x139)][w(0x10d)]({'pathParts':['.maka',w(0x110)]})||a110e['join']('.',w(0x11a),w(0x110));}catch(d){Log[w(0x12e)](d);}c&&(this[w(0x134)]=c[w(0x157)](this));}[a110v(0x163)](){const x=a110v;if(a110f[x(0x128)](this['_historyFilePath'])){const a=a110f[x(0x180)](this['_historyFilePath']);return a[x(0x106)];}return 0x0;}[a110v(0x14f)](){const y=a110v;if(!a110f['existsSync'](this[y(0x11e)]))return[];return JSON[y(0x135)](a110f[y(0x12a)](this[y(0x11e)],y(0x10b)));}[a110v(0x151)](a){const z=a110v;this[z(0x11e)]&&!a110f[z(0x128)](this['_historyFilePath'])&&a110f['writeFileSync'](this[z(0x11e)],JSON[z(0x11c)]([])),a110f['writeFileSync'](this[z(0x11e)],JSON['stringify'](a,null,0x2));}[a110v(0x15f)](a){const A=a110v;try{a?.['params']?.[A(0x146)][A(0x173)]&&delete a[A(0x14a)][A(0x146)][A(0x173)];const b=this[A(0x14f)](),c={'generatorName':this[A(0x14b)],'transactionId':TRANSACTION_ID,'details':a};b[A(0x126)](c);const d=Buffer[A(0x122)](JSON[A(0x11c)](b))['length'];while(d>MAX_HISTORY_SIZE&&b[A(0x13c)]>0x0){b['shift']();}this[A(0x151)](b);}catch(f){Log[A(0x12e)](f);}}async[a110v(0x105)](){const B=a110v,a=this[B(0x14f)]();if(a[B(0x13c)]===0x0){Log[B(0x178)](B(0x15a));return;}const b=a[B(0x184)](),c=b[B(0x167)],d=a[B(0x17f)](e=>e['transactionId']===c);d[B(0x126)](b),d[B(0x13e)]();for(const e of d){const f=this[B(0x137)](e[B(0x11d)]);if(!f){Log[B(0x12e)]('Generator\x20'+e['generatorName']+B(0x16f));continue;}if(f['_undoHandler']){}else Log[B(0x178)](B(0x152)+e[B(0x11d)]+'\x20generator.\x20Skipping\x20undo.');}this[B(0x151)](a[B(0x17f)](g=>g[B(0x167)]!==c));}static[a110v(0x14d)](a,b,c,d){const C=a110v;if(!a)throw new Error(C(0x150));if(typeof b!==C(0x181))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const e=new Generator(a,b,c);d=d||a110i;const f=d?d[C(0x14b)]:'';return e['fullNameChain']=f?f+':'+a['name']:a[C(0x15b)],Object[C(0x138)](e,{'parent':d?.[C(0x15e)]?.['name']}),d[C(0x16b)](e),e;}[a110v(0x16b)](a){const D=a110v;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[D(0x154)][D(0x126)](a);}async[a110v(0x119)](a,b=[],c={}){const E=a110v;let d;try{const f=a?.[E(0x147)](':');if(!f||f['length']===0x0)throw E(0x17c);let g=this[E(0x154)],h;for(const i of f){h=g[E(0x13a)](j=>j[E(0x131)](i));if(!h)throw'Generator\x20'+i+E(0x17a);g=h[E(0x154)];}if(h)d=await h[E(0x17d)](b,c);else throw E(0x13d);}catch(j){Log[E(0x12e)](j);}return d;}[a110v(0x137)](a){const F=a110v,b=a?.[F(0x147)](':');if(!b||b[F(0x13c)]===0x0)return Log[F(0x12e)](F(0x17c)),null;let c=this[F(0x154)],d;for(const e of b){d=c[F(0x13a)](f=>f[F(0x131)](e));if(!d)return Log['error'](F(0x116)+e+F(0x17a)),null;c=d[F(0x154)];}return d||null;}async[a110v(0x17d)](a,b){const G=a110v,c=a['slice']();b[G(0x136)]=c[0x0];const {config:d}=b;try{const f=await this[G(0x118)]['getGlobalConfig'](),g=f[G(0x16e)]===G(0x179)?ColorMode[G(0x117)]:ColorMode[G(0x186)];Log[G(0x13b)](g);const h=a[0x0]===_prevGen||a['length']===0x0&&this[G(0x154)][G(0x13c)]>=0x0,i=b[G(0x18c)]||b['h'];if(h&&i){if(this[G(0x154)][G(0x13c)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!i){if(this[G(0x15e)][G(0x16a)]){if(!d){const j=this[G(0x170)]();if(!j)throw new MustBeInProjectError();this['projectConfig']=this[G(0x118)]['getMakaProjectConfig']();}else this['projectConfig']=d;}if(this[G(0x15e)][G(0x164)]){const k=this[G(0x10e)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[G(0x15e)][G(0x188)]===G(0x107)){if(a['length']<this[G(0x15e)]['minArgLength']){Log[G(0x12e)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[G(0x15e)]['maxArgLength']==='number'){if(a['length']>this[G(0x15e)][G(0x191)]){Log['error'](G(0x174));throw new UsageError();}}if(typeof this['options'][G(0x156)]===G(0x107)){if(Object[G(0x166)](b)['length']<this[G(0x15e)]['minOptsLength']){Log[G(0x12e)](G(0x182));throw new UsageError();}}if(typeof this['options']['maxOptsLength']===G(0x107)){if(Object[G(0x166)](b)[G(0x13c)]>=this[G(0x15e)]['maxOptsLength']){Log[G(0x12e)](G(0x18b));throw new UsageError();}}}this['options'][G(0x190)]&&this['validateEngines'](this[G(0x15e)][G(0x190)]);await this[G(0x112)](a,b,this[G(0x15e)]);if(!b[G(0x136)]&&this['options'][G(0x114)]){Log['error'](G(0x176));throw new UsageError();}_prevGen=a[0x0];}catch(l){this[G(0x127)](l),process[G(0x120)](0x1);}return await inside(b['cwd'],async()=>{const H=G;try{if(!b[H(0x145)]&&!this[H(0x139)]['findProjectDirectory']())throw new MustBeInProjectError();const m=b[H(0x136)]?.[H(0x109)](/\\/g,'/')[H(0x147)]('/');!b[H(0x18e)]&&(m?.[H(0x13c)]>0x1?(b[H(0x136)]=m[H(0x184)](),c[0x0]=b[H(0x136)],b['dir']=m[H(0x185)](o=>{return kebabCase(o);})[H(0x15c)](a110e[H(0x17b)])):b[H(0x18e)]='');if(this[H(0x15e)][H(0x192)]){if(!b[H(0x113)]){const p=await Actions[H(0x111)]({'message':H(0x108),'name':H(0x14e),'choices':[{'name':H(0x12d),'value':H(0x171)},{'name':H(0x124),'value':H(0x177)},{'name':'Both','value':H(0x10f)}]});b['where']=p;}const o=[H(0x10f),H(0x171),H(0x177)];if(!o[H(0x15d)](b[H(0x113)])){Log[H(0x12e)](H(0x11b));throw new UsageError();}switch(b['where']){case H(0x10f):b[H(0x140)]=H(0x141);break;case H(0x177):b[H(0x140)]=H(0x177);break;case H(0x171):b[H(0x140)]=H(0x171);break;default:b[H(0x140)]='';}}const n=await this['_handler'][H(0x10c)](this,c,b);return n&&this[H(0x15f)]({'params':{'args':c,'opts':this['fsi']['deepen'](b)},'success':n?.[H(0x132)],'message':n?.[H(0x129)],'details':n?.['details']}),n;}catch(q){this[H(0x127)](q);}});}[a110v(0x14c)](){const I=a110v;this['tableList'](this[I(0x154)]);}[a110v(0x127)](a){const J=a110v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this['options'];Log[J(0x18a)](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log['notice'](J(0x12f)),this['tableList'](this[J(0x154)]);else{if(a instanceof MustBeInProjectError)Log[J(0x12e)](J(0x125));else{if(a instanceof NoMeteorFoundError)Log[J(0x12e)](J(0x16d)),Log[J(0x18d)](J(0x17e));else a instanceof NoMeteorAppFoundError&&Log[J(0x12e)](J(0x142));}}}[a110v(0x13f)](a){const K=a110v,b=new a110g({});b[K(0x126)](['Name',K(0x144),'Description']),a[K(0x168)]((c,d)=>{const L=K;return c[L(0x15b)][L(0x121)](d[L(0x15b)]);})['forEach'](c=>{const M=K,d=c[M(0x10a)](),e=d?'(experimental)\x20'+c[M(0x148)]():c['shortDesc']();b[M(0x126)]([c[M(0x15b)],c[M(0x16c)](),e]);}),Log[K(0x133)](b[K(0x162)]());}}
|
|
1
|
+
const a110v=a110d;(function(a,b){const r=a110d,c=a();while(!![]){try{const d=-parseInt(r(0x181))/0x1+parseInt(r(0x168))/0x2*(parseInt(r(0x183))/0x3)+-parseInt(r(0x1d7))/0x4*(-parseInt(r(0x1b4))/0x5)+-parseInt(r(0x19d))/0x6*(parseInt(r(0x1a3))/0x7)+-parseInt(r(0x188))/0x8*(-parseInt(r(0x199))/0x9)+parseInt(r(0x1b9))/0xa+-parseInt(r(0x1e5))/0xb*(-parseInt(r(0x17b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a110c,0x25a6f));const a110b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a110d;if(c){const e=c[s(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a110a=a110b(this,function(){const t=a110d;return a110a[t(0x1e4)]()[t(0x16e)](t(0x1cc))[t(0x1e4)]()[t(0x1d6)](a110a)[t(0x16e)](t(0x1cc));});a110a();import a110e from'path';import a110f from'fs';import a110g from'cli-table';function a110c(){const N=['Too\x20many\x20options','appPathPrefix','notice','dir','writeHistory','message','call','toString','1067qliHZg','options','shortDesc','apply','Too\x20few\x20options','Both','Location','parse','maxArgLength','Generator\x20','resourceName','32938osPznq','root','validateParams','minArgLength','filter','deepen','search','colLocAnswer','_genTransactionId','Description','handleGenerateError','select','getMakaProjectConfig','readHistory','Generator\x20requires\x20a\x20handler\x20function','Generator.create\x20requires\x20some\x20options!','name','length','keys','26124yvrtiM','fullNameChain','maxOptsLength','There\x20is\x20no\x20Meteor\x20application\x20here','mustHaveMeteorInstalled','Generator\x20format\x20is\x20incorrect','149233knRYpy','generatorName','15jsDFqi','LIGHT','validateMeteorInstall','projectConfig','.maka','48SBBCVh','writeFileSync','client','cfg','error','Generator.create\x20requires\x20a\x20handler\x20function!','addGenerator','experimental','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','resourceNameRequired','fsi','params','addToHistory','bright','both','validateEngines','transactionId','51498puFuKL','\x20not\x20found','match','warn','48OefVVl','readFileSync','success','where','function','Alias','260498PEzxKg','push','minOptsLength','Client','create','Nothing\x20to\x20undo.','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','tableList','sep','from','bind','split','join','find','Generator\x20not\x20found','_historyFilePath','history.json','5Tavzrs','sort','opts','existsSync','exit','1316060JjVwyA','cwd','Name','pop','No\x20resource\x20name\x20specified','setColorMode','statSync','requiredEngines','light','Too\x20many\x20arguments','_generators','server','listGenerators','details','localeCompare','forEach','\x20not\x20found.\x20Cannot\x20undo.','_handler','stringify','(((.+)+)+)+$','number','\x20generator.\x20Skipping\x20undo.','Server','reverse','utf-8','addGenerator\x20requires\x20a\x20Generator\x20instance','assign','mustBeInMakaProject','config','constructor','566864cIkMAc','includes','findGeneratorByName','invoke','getHistoryFileSize','_undoHandler'];a110c=function(){return N;};return a110c();}import{v4 as a110h}from'uuid';import{kebabCase}from'change-case';import a110i from'./generators/maka.gen.js';function a110d(a,b){const c=a110c();return a110d=function(d,e){d=d-0x161;let f=c[d];return f;},a110d(a,b);}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,UsageErrorWithSubs}from'./error.js';let _prevGen='';const MAX_HISTORY_SIZE=0x64*0x400,TRANSACTION_ID=a110h();async function inside(a='.',b){const u=a110d,c=process[u(0x1ba)]();try{return process['chdir'](a),await b();}finally{process['chdir'](c);}}export class Generator extends Tool{[a110v(0x1e6)];[a110v(0x17c)];[a110v(0x186)];['_generators'];[a110v(0x1b2)];[a110v(0x1dc)];[a110v(0x170)];[a110v(0x1ca)];constructor(a,b,c){const w=a110v;super();if(!a)throw new Error(w(0x190));if(!a[w(0x178)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==w(0x1a1))throw new Error(w(0x176));this[w(0x1c3)]=[];a['resourceNameRequired']===undefined&&(a['resourceNameRequired']=!![]);this[w(0x1e6)]=Object['assign']({},a),this[w(0x178)]=this['options']['name'],this[w(0x1ca)]=b[w(0x1ad)](this);try{this[w(0x1b2)]=this[w(0x192)]['pathFromProject']({'pathParts':[w(0x187),'history.json']})||a110e[w(0x1af)]('.','.maka',w(0x1b3));}catch(d){Log[w(0x18c)](d);}c&&(this['_undoHandler']=c[w(0x1ad)](this));}[a110v(0x1db)](){const x=a110v;if(a110f['existsSync'](this[x(0x1b2)])){const a=a110f[x(0x1bf)](this[x(0x1b2)]);return a['size'];}return 0x0;}['readHistory'](){const y=a110v;if(!a110f[y(0x1b7)](this[y(0x1b2)]))return[];return JSON[y(0x164)](a110f[y(0x19e)](this[y(0x1b2)],y(0x1d1)));}[a110v(0x1e1)](a){const z=a110v;this['_historyFilePath']&&!a110f[z(0x1b7)](this['_historyFilePath'])&&a110f[z(0x189)](this[z(0x1b2)],JSON[z(0x1cb)]([])),a110f[z(0x189)](this['_historyFilePath'],JSON[z(0x1cb)](a,null,0x2));}[a110v(0x194)](a){const A=a110v;try{a?.[A(0x193)]?.[A(0x1b6)][A(0x1d5)]&&delete a[A(0x193)][A(0x1b6)]['config'];const b=this[A(0x175)](),c={'generatorName':this['fullNameChain'],'transactionId':TRANSACTION_ID,'details':a};b[A(0x1a4)](c);const d=Buffer[A(0x1ac)](JSON[A(0x1cb)](b))[A(0x179)];while(d>MAX_HISTORY_SIZE&&b[A(0x179)]>0x0){b['shift']();}this[A(0x1e1)](b);}catch(f){Log[A(0x18c)](f);}}async['undo'](){const B=a110v,a=this[B(0x175)]();if(a['length']===0x0){Log[B(0x19c)](B(0x1a8));return;}const b=a[B(0x1bc)](),c=b[B(0x198)],d=a[B(0x16c)](e=>e[B(0x198)]===c);d[B(0x1a4)](b),d[B(0x1d0)]();for(const e of d){const f=this['findGeneratorByName'](e[B(0x182)]);if(!f){Log[B(0x18c)](B(0x166)+e[B(0x182)]+B(0x1c9));continue;}if(f['_undoHandler']){}else Log[B(0x19c)]('No\x20undo\x20handler\x20defined\x20for\x20'+e['generatorName']+B(0x1ce));}this[B(0x1e1)](a[B(0x16c)](g=>g[B(0x198)]!==c));}static[a110v(0x1a7)](a,b,c,d){const C=a110v;if(!a)throw new Error(C(0x177));if(typeof b!=='function')throw new Error(C(0x18d));const e=new Generator(a,b,c);d=d||a110i;const f=d?d[C(0x17c)]:'';return e['fullNameChain']=f?f+':'+a[C(0x178)]:a[C(0x178)],Object[C(0x1d3)](e,{'parent':d?.['options']?.['name']}),d[C(0x18e)](e),e;}['addGenerator'](a){const D=a110v;if(!(a instanceof Generator))throw new Error(D(0x1d2));this[D(0x1c3)][D(0x1a4)](a);}async['processAndRunGenerator'](a,b=[],c={}){const E=a110v;let d;try{const f=a?.[E(0x1ae)](':');if(!f||f[E(0x179)]===0x0)throw'Generator\x20format\x20is\x20incorrect';let g=this[E(0x1c3)],h;for(const i of f){h=g[E(0x1b0)](j=>j[E(0x19b)](i));if(!h)throw'Generator\x20'+i+E(0x19a);g=h[E(0x1c3)];}if(h)d=await h['invoke'](b,c);else throw E(0x1b1);}catch(j){Log[E(0x18c)](j);}return d;}[a110v(0x1d9)](a){const F=a110v,b=a?.['split'](':');if(!b||b[F(0x179)]===0x0)return Log[F(0x18c)](F(0x180)),null;let c=this[F(0x1c3)],d;for(const e of b){d=c[F(0x1b0)](f=>f['match'](e));if(!d)return Log[F(0x18c)](F(0x166)+e+F(0x19a)),null;c=d[F(0x1c3)];}return d||null;}async[a110v(0x1da)](a,b){const G=a110v,c=a['slice']();b[G(0x167)]=c[0x0];const {config:d}=b;try{const f=await this[G(0x18b)]['getGlobalConfig'](),g=f['pallet']===G(0x1c1)?ColorMode[G(0x184)]:ColorMode['DARK'];Log[G(0x1be)](g);const h=a[0x0]===_prevGen||a['length']===0x0&&this['_generators'][G(0x179)]>=0x0,i=b['help']||b['h'];if(h&&i){if(this[G(0x1c3)]['length']>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!i){if(this[G(0x1e6)][G(0x1d4)]){if(!d){const j=this['validateMakaProject']();if(!j)throw new MustBeInProjectError();this['projectConfig']=this['cfg'][G(0x174)]();}else this['projectConfig']=d;}if(this[G(0x1e6)][G(0x17f)]){const k=this[G(0x185)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[G(0x1e6)][G(0x16b)]===G(0x1cd)){if(a[G(0x179)]<this['options'][G(0x16b)]){Log[G(0x18c)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options']['maxArgLength']===G(0x1cd)){if(a[G(0x179)]>this[G(0x1e6)][G(0x165)]){Log[G(0x18c)](G(0x1c2));throw new UsageError();}}if(typeof this['options']['minOptsLength']===G(0x1cd)){if(Object['keys'](b)['length']<this['options'][G(0x1a5)]){Log['error'](G(0x161));throw new UsageError();}}if(typeof this[G(0x1e6)][G(0x17d)]===G(0x1cd)){if(Object[G(0x17a)](b)[G(0x179)]>=this[G(0x1e6)][G(0x17d)]){Log[G(0x18c)](G(0x1dd));throw new UsageError();}}}this[G(0x1e6)][G(0x1c0)]&&this[G(0x197)](this[G(0x1e6)][G(0x1c0)]);await this[G(0x16a)](a,b,this['options']);if(!b[G(0x167)]&&this['options'][G(0x191)]){Log[G(0x18c)](G(0x1bd));throw new UsageError();}_prevGen=a[0x0];}catch(l){this[G(0x172)](l),process[G(0x1b8)](0x1);}return await inside(b[G(0x1ba)],async()=>{const H=G;try{if(!b[H(0x169)]&&!this['fsi']['findProjectDirectory']())throw new MustBeInProjectError();const m=b['resourceName']?.['replace'](/\\/g,'/')[H(0x1ae)]('/');!b['dir']&&(m?.[H(0x179)]>0x1?(b[H(0x167)]=m[H(0x1bc)](),c[0x0]=b['resourceName'],b[H(0x1e0)]=m['map'](o=>{return kebabCase(o);})[H(0x1af)](a110e[H(0x1ab)])):b['dir']='');if(this[H(0x1e6)]['checkWhere']){if(!b[H(0x1a0)]){const p=await Actions[H(0x173)]({'message':H(0x163),'name':H(0x16f),'choices':[{'name':H(0x1a6),'value':H(0x18a)},{'name':H(0x1cf),'value':'server'},{'name':H(0x162),'value':H(0x196)}]});b[H(0x1a0)]=p;}const o=[H(0x196),H(0x18a),H(0x1c4)];if(!o[H(0x1d8)](b[H(0x1a0)])){Log['error']('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[H(0x1a0)]){case H(0x196):b['appPathPrefix']='lib';break;case'server':b[H(0x1de)]=H(0x1c4);break;case H(0x18a):b[H(0x1de)]=H(0x18a);break;default:b[H(0x1de)]='';}}const n=await this[H(0x1ca)][H(0x1e3)](this,c,b);return n&&this['addToHistory']({'params':{'args':c,'opts':this[H(0x192)][H(0x16d)](b)},'success':n?.[H(0x19f)],'message':n?.[H(0x1e2)],'details':n?.[H(0x1c6)]}),n;}catch(q){this[H(0x172)](q);}});}[a110v(0x1c5)](){const I=a110v;this[I(0x1aa)](this[I(0x1c3)]);}[a110v(0x172)](a){const J=a110v,{usage:usage='',description:description='',examples:examples=[],shortDesc:b,requiredOpts:requiredOpts=[],validOpts:c,experimental:d}=this[J(0x1e6)];Log['usage'](description,examples,usage,b,requiredOpts,c,d);if(a instanceof UsageErrorWithSubs)Log[J(0x1df)]('Generators:'),this[J(0x1aa)](this[J(0x1c3)]);else{if(a instanceof MustBeInProjectError)Log[J(0x18c)]('You\x20must\x20be\x20in\x20a\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(a instanceof NoMeteorFoundError)Log['error'](J(0x1a9)),Log[J(0x1df)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else a instanceof NoMeteorAppFoundError&&Log[J(0x18c)](J(0x17e));}}}['tableList'](a){const K=a110v,b=new a110g({});b[K(0x1a4)]([K(0x1bb),K(0x1a2),K(0x171)]),a[K(0x1b5)]((c,d)=>{const L=K;return c[L(0x178)][L(0x1c7)](d['name']);})[K(0x1c8)](c=>{const M=K,d=c[M(0x18f)](),e=d?'(experimental)\x20'+c[M(0x1e7)]():c[M(0x1e7)]();b[M(0x1a4)]([c['name'],c['aliases'](),e]);}),Log[K(0x195)](b['toString']());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a111d,c=a();while(!![]){try{var d=-parseInt(f(0x9f))/0x1+parseInt(f(0xa0))/0x2*(-parseInt(f(0x9e))/0x3)+parseInt(f(0x97))/0x4+-parseInt(f(0x9c))/0x5+parseInt(f(0x9d))/0x6+parseInt(f(0x9a))/0x7*(-parseInt(f(0x96))/0x8)+parseInt(f(0x95))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a111c,0x5b54e));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(0x99)]()[g(0x9b)](g(0x98))[g(0x99)]()[g(0x94)](a111a)['search']('(((.+)+)+)+$');});a111a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';function a111c(){var h=['search','2933825EFNawz','3887130qMUugu','67701sxpKFA','532047lBzpzt','56locUzt','constructor','12841245AdElAS','56PCYNqO','1476980VYBYCK','(((.+)+)+)+$','toString','319123wapAZL'];a111c=function(){return h;};return a111c();}import'./kits/_index.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';function a111d(a,b){var c=a111c();return a111d=function(d,e){d=d-0x94;var f=c[d];return f;},a111d(a,b);}import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';import'./aws/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a112A=a112d;(function(a,b){const x=a112d,c=a();while(!![]){try{const d=-parseInt(x(0x1b3))/0x1*(-parseInt(x(0x1a0))/0x2)+-parseInt(x(0x1a1))/0x3*(-parseInt(x(0x1af))/0x4)+-parseInt(x(0x1b0))/0x5+parseInt(x(0x1b9))/0x6+-parseInt(x(0x19d))/0x7+parseInt(x(0x189))/0x8*(-parseInt(x(0x18c))/0x9)+-parseInt(x(0x1ab))/0xa*(-parseInt(x(0x1b1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x5850b));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a112d;if(c){const e=c[y(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const z=a112d;return a112a[z(0x178)]()[z(0x186)]('(((.+)+)+)+$')['toString']()['constructor'](a112a)[z(0x186)](z(0x184));});a112a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x167;let f=c[d];return f;},a112d(a,b);}import a112e from'path';function a112c(){const C=['search','graphql-tag','\x27)\x20},','3680048dJlmfi','ask','GraphQL','9tkwjWu','api/api.js','{\x20name:\x20\x27','\x27,\x20url:\x20Meteor.absoluteUrl(\x27graphql/','express-rate-limit','import\x20\x27/imports/api/apollo-gateway.','findAppDirectory','-api\x27;','resolvers.','maka\x20{generate,\x20g}:{api}\x20<resource-name>','create','Do\x20you\x20want\x20to\x20enable\x20Apollo\x20Gateway?\x20(recommended)','REST\x20API','mdg:validated-method','projectConfig','withRest','normalize','3211810FfiYhL','template','ddp-rate-limiter','26hRdGyB','54SJtnDl','server','/imports/api/apollo-gateway.','engines.api','test','index.','api','typeDefs.','api/typeDefs.js','injectAtEndOfFile','10HFHMou','setProjectConfig','exit','scaffold','128096PRyKJX','2800605isvGoZ','1719982kcjkJE','@apollo/subgraph','46033JCaqYQ','push','startup','-rpc-methods.','apiAnswers','@apollo/gateway','3056838EbJZVX','pathFromApp','pkg','withMethods','api/register-api.js','-rest-api.','withGql','checkMeteorPackage','dir','injectIntoFile','fsi','\x0a\x20\x20Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20create\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20API\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','imports','express','graphql','@apollo/server','isFile','apply','subgraphs:\x20[','-graphql-api.','toString','engines','resourceName','error','tsx','API\x20Version?\x20[v1]','checkbox','api/resolvers.js','includes','length','api/methods.js','maka:rest','(((.+)+)+)+$','No\x20API\x20boundaries\x20selected'];a112c=function(){return C;};return a112c();}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a112A(0x196)]({'name':'api','aliases':['a'],'usage':a112A(0x195),'shortDesc':'Scaffolding\x20for\x20an\x20API\x20boundary\x20(i.e.\x20Todos).','validOpts':[a112A(0x16c)],'examples':['maka\x20g:api\x20Todos'],'mustBeInMakaProject':!![],'description':a112A(0x16f)},async function(a,b){const B=a112A;try{const {scaffold:c}=this,d=this[B(0x19a)],f=[{'name':'RPC\x20(Methods)','value':B(0x167)}];f['push']({'name':B(0x198),'value':'withRest'}),f[B(0x1b4)]({'name':B(0x18b),'value':B(0x16a)});const g={'message':'API\x20boundaries\x20to\x20create','name':B(0x1b7),'choices':f},h=await Actions[B(0x18a)](B(0x17d))||'v1',i=await Actions[B(0x17e)](g);i[B(0x181)]===0x0&&(Log['error'](B(0x185)),process[B(0x1ad)](0x1));let j='js';d[B(0x179)]['js']===B(0x17c)&&(j='ts');const k=this['fsi'][B(0x192)](),l=k+a112e[B(0x19c)](B(0x1a3)+j),m=this[B(0x16e)][B(0x174)](l);!m&&d['engines'][B(0x172)]==='apollo'&&Log['info']('Apollo\x20Gateway\x20is\x20a\x20way\x20to\x20combine\x20multiple\x20GraphQL\x20APIs\x20into\x20a\x20single\x20API.\x20It\x20is\x20a\x20way\x20to\x20federate\x20multiple\x20GraphQL\x20APIs.');const n=b[B(0x17a)],o=kebabCase(n),p=b['dir']?'/'+b[B(0x16c)]+'/':'/',q={'name':pascalCase(n),'apiVersion':h,'fileName':o,'camelCase':camelCase(n),'optsDir':p,'api':d[B(0x179)][B(0x1a7)],'graphql':d[B(0x179)][B(0x172)],'test':d['engines'][B(0x1a5)],'noRename':!![],'withMethods':i[B(0x180)](B(0x167)),'withRest':i[B(0x180)](B(0x19b)),'withGql':i[B(0x180)](B(0x16a))};let r=![];q[B(0x16a)]&&(r=m?![]:await Actions['confirm'](B(0x197)));q['withRest']&&(this['cfg'][B(0x1ac)](B(0x1a4),'rest'),await this[B(0x1bb)][B(0x16b)]([B(0x183)],{'shouldInstall':!![]}),await this[B(0x1ae)][B(0x19e)]({'srcPath':B(0x18d),'destPath':this[B(0x1ae)][B(0x1ba)]({'pathParts':[B(0x170),'api',h,p,o,o+'-'+h+B(0x169)+j]}),'context':q,'config':d}));q[B(0x167)]&&(await this[B(0x1bb)][B(0x16b)]([B(0x19f),B(0x199)],{'shouldInstall':!![]}),await this[B(0x1ae)][B(0x19e)]({'srcPath':B(0x182),'destPath':this['scaffold'][B(0x1ba)]({'pathParts':[B(0x170),B(0x1a7),h,p,o,o+'-'+h+B(0x1b6)+j]}),'context':q,'config':d}));if(q[B(0x16a)]){await this['pkg']['checkNpmPackage']([B(0x171),B(0x173),B(0x1b2),B(0x187),B(0x190),B(0x172)],{'shouldInstall':!![]}),await this[B(0x1ae)]['template']({'srcPath':'api/graphql-api.js','destPath':this['scaffold']['pathFromApp']({'pathParts':[B(0x170),B(0x1a7),h,p,o,o+'-'+h+B(0x177)+j]}),'context':q,'config':d});const t=this['scaffold'][B(0x1ba)]({'pathParts':[B(0x170),'api',h,p,o,B(0x172),B(0x1a8)+j]});await this[B(0x1ae)][B(0x19e)]({'srcPath':B(0x1a9),'destPath':t,'context':q,'config':d});const u=this[B(0x1ae)][B(0x1ba)]({'pathParts':['imports','api',h,p,o,B(0x172),B(0x194)+j]});await this['scaffold'][B(0x19e)]({'srcPath':B(0x17f),'destPath':u,'context':q,'config':d});if(r){await this[B(0x1bb)]['checkNpmPackage']([B(0x1b8),'express'],{'shouldInstall':!![]}),await this[B(0x1ae)][B(0x19e)]({'srcPath':'api/apollo-gateway.js','destPath':l,'context':q,'config':d}),await c['injectIntoFile']({'filePath':l,'content':B(0x18e)+o+h+B(0x18f)+h+'/'+o+B(0x188),'begin':B(0x176),'end':']'});const v=this[B(0x1ae)][B(0x1ba)]({'pathParts':[B(0x170),B(0x1b5),B(0x1a2),B(0x1a6)+d[B(0x179)]['js']]});await this[B(0x1ae)]['injectAtEndOfFile']({'filePath':v,'content':B(0x191)+j+'\x27;'});}m&&await c[B(0x16d)]({'filePath':l,'content':'{\x20name:\x20\x27'+o+h+B(0x18f)+h+'/'+o+B(0x188),'begin':B(0x176),'end':']'});}await this[B(0x1ae)]['template']({'srcPath':B(0x168),'destPath':this[B(0x1ae)][B(0x1ba)]({'pathParts':[B(0x170),B(0x1b5),B(0x1a2),'register-'+o+'-api.'+j]}),'context':q,'config':d,'force':!![]});const s=this[B(0x1ae)][B(0x1ba)]({'pathParts':[B(0x170),B(0x1b5),B(0x1a2),B(0x1a6)+d[B(0x179)]['js']]});await this[B(0x1ae)][B(0x1aa)]({'filePath':s,'content':'import\x20\x27./register-'+o+B(0x193)});}catch(w){console[B(0x17b)](w),process[B(0x1ad)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a113d,c=a();while(!![]){try{var d=parseInt(f(0x1f1))/0x1+-parseInt(f(0x1ee))/0x2*(-parseInt(f(0x1f0))/0x3)+-parseInt(f(0x1f9))/0x4+-parseInt(f(0x1f7))/0x5+-parseInt(f(0x1f3))/0x6+parseInt(f(0x1f2))/0x7*(-parseInt(f(0x1f4))/0x8)+-parseInt(f(0x1ed))/0x9*(-parseInt(f(0x1f6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x20bdc));var a113b=(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;};}()),a113a=a113b(this,function(){var g=a113d;return a113a[g(0x1f5)]()[g(0x1ef)](g(0x1f8))[g(0x1f5)]()[g(0x1fa)](a113a)[g(0x1ef)](g(0x1f8));});a113a();function a113d(a,b){var c=a113c();return a113d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a113d(a,b);}import'./aws.js';function a113c(){var h=['350559brUGDu','34TfOAnd','search','11694wjyLCT','1289rwgAng','7gpqRoW','737058FhdqlK','1083856NbfofH','toString','190NxTAFm','1259200gNqmHe','(((.+)+)+)+$','653404qYagJS','constructor'];a113c=function(){return h;};return a113c();}import'./cloudformation/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114i=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x171;let f=c[d];return f;},a114d(a,b);}const a114i=a114d;(function(a,b){const f=a114d,c=a();while(!![]){try{const d=-parseInt(f(0x184))/0x1*(parseInt(f(0x17d))/0x2)+parseInt(f(0x181))/0x3*(parseInt(f(0x171))/0x4)+-parseInt(f(0x177))/0x5+-parseInt(f(0x182))/0x6+-parseInt(f(0x17b))/0x7*(-parseInt(f(0x179))/0x8)+parseInt(f(0x176))/0x9+-parseInt(f(0x17c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xcc893));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a114d;if(c){const e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const h=a114d;return a114a[h(0x178)]()[h(0x180)]('(((.+)+)+)+$')[h(0x178)]()[h(0x183)](a114a)['search'](h(0x17e));});function a114c(){const j=['583478PdEryg','(((.+)+)+)+$','Generate\x20AWS\x20templates','search','1281VSCuMF','3307938OPDRaD','constructor','2bWRkPT','10556XXAxgQ','aws','create','maka\x20g:aws','apply','10298313GJilpo','4977195XcvVbH','toString','8QzGPIo','maka\x20{generate,\x20g}:{aws}:<name>','5080551rfHCkj','288840lLmldO'];a114c=function(){return j;};return a114c();}a114a();import{Generator}from'../../generator.js';const AWSGen=Generator[a114i(0x173)]({'name':a114i(0x172),'usage':a114i(0x17a),'shortDesc':a114i(0x17f),'minArgLength':0x1,'isPro':![],'validOpts':[],'resourceNameRequired':![],'examples':[a114i(0x174)],'experimental':!![]},async function(){});export default AWSGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a115d,c=a();while(!![]){try{var d=parseInt(f(0x1d1))/0x1*(parseInt(f(0x1d6))/0x2)+-parseInt(f(0x1d2))/0x3+-parseInt(f(0x1d9))/0x4+parseInt(f(0x1d8))/0x5+-parseInt(f(0x1d3))/0x6+-parseInt(f(0x1d5))/0x7+parseInt(f(0x1db))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x8360d));function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x1d1;var f=c[d];return f;},a115d(a,b);}var a115b=(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;};}()),a115a=a115b(this,function(){var g=a115d;return a115a[g(0x1d4)]()[g(0x1d7)](g(0x1da))[g(0x1d4)]()['constructor'](a115a)['search'](g(0x1da));});a115a();import'./cloudformation.js';function a115c(){var h=['11001448KfOyJU','28841cnseAG','3073164XwtbsI','2406258hKYlIJ','toString','207956TfpNTK','58azzrLe','search','939590mrBduW','1624896locIVg','(((.+)+)+)+$'];a115c=function(){return h;};return a115c();}import'./create-ec2-instance.cf.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a116h=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x130))/0x1+-parseInt(f(0x129))/0x2*(parseInt(f(0x12f))/0x3)+-parseInt(f(0x12d))/0x4+parseInt(f(0x12b))/0x5*(parseInt(f(0x122))/0x6)+parseInt(f(0x12c))/0x7+parseInt(f(0x127))/0x8+parseInt(f(0x12a))/0x9*(-parseInt(f(0x128))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x69a24));const a116b=(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;};}()),a116a=a116b(this,function(){const g=a116d;return a116a[g(0x123)]()[g(0x121)](g(0x124))[g(0x123)]()['constructor'](a116a)[g(0x121)](g(0x124));});a116a();function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x121;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../../../generator.js';import a116e from'../aws.js';function a116c(){const i=['6MxRVHI','499385xsdYtv','search','3531786gzUeFj','toString','(((.+)+)+)+$','cloudformation','create','6435248JciaJg','60PdNXrY','740870YicFgw','579060LPWhqM','5akyRME','1765379lZWQFF','2340132Ijyoob','maka\x20g:aws:cf'];a116c=function(){return i;};return a116c();}const CFGen=Generator[a116h(0x126)]({'name':a116h(0x125),'aliases':['cf'],'usage':'maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}','shortDesc':'AWS\x20Cloudformation\x20templates','resourceNameRequired':![],'validOpts':[''],'isPro':![],'examples':[a116h(0x12e)],'experimental':!![]},async function(){},async function(){},a116e);export default CFGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117r=a117d;function a117c(){const t=['
|
|
1
|
+
const a117r=a117d;function a117c(){const t=['4fgYBXJ','711808fDpLoj','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','110seqgrx','exit','1007506JAcvpU','create-ec2-instance.template','aws','3ZeCVQF','Setting\x20the\x20key-pair\x20to:\x20','Please\x20choose\x20a\x20key\x20to\x20use:\x20','search','594836xLXsfA','cloudformation/create-ec2-instance.template','chooseSecurityGroup','join','2842488fppBUu','create-ec2-instance','maka\x20g:aws:cf:cec2i','maka\x20{generate,\x20g}:{aws}:{cloudformation,\x20cf}:cec2i','constructor','1568SVXSCG','ask','3783625FQcZxP','toString','ami-055744c75048d8296','No\x20instance\x20has\x20been\x20created.','AWS\x20Cloudformation\x20template\x20for\x20creating\x20an\x20EC2\x20instance','(((.+)+)+)+$','appName','create','success','cloudformation','template','replaceAll','3918pIfsJW','error','name','5229568ueVjgk','apply'];a117c=function(){return t;};return a117c();}(function(a,b){const o=a117d,c=a();while(!![]){try{const d=-parseInt(o(0xfc))/0x1+-parseInt(o(0x100))/0x2*(parseInt(o(0x103))/0x3)+-parseInt(o(0xfb))/0x4*(-parseInt(o(0xea))/0x5)+-parseInt(o(0xf6))/0x6*(-parseInt(o(0xe8))/0x7)+parseInt(o(0xf9))/0x8+-parseInt(o(0x10b))/0x9+parseInt(o(0xfe))/0xa*(parseInt(o(0x107))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x97668));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a117d;if(c){const e=c[p(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const q=a117d;return a117a['toString']()[q(0x106)](q(0xef))[q(0xeb)]()[q(0xe7)](a117a)[q(0x106)](q(0xef));});a117a();import a117e from'path';import{Actions}from'../../../tools/actions/actions.class.js';import{capitalCase}from'change-case';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117f from'./cloudformation.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xe5;let f=c[d];return f;},a117d(a,b);}const CEC2Gen=Generator[a117r(0xf1)]({'name':a117r(0x10c),'aliases':['cec2i'],'usage':a117r(0xe6),'resourceNameRequired':![],'shortDesc':a117r(0xee),'mustBeInMakaProject':!![],'validOpts':[''],'isPro':![],'examples':[a117r(0xe5)],'experimental':!![]},async function(){const s=a117r,{aws:a,fsi:b,scaffold:c,projectConfig:d}=this;try{const f=b['findProjectDirectory'](),g=a117e[s(0x10a)](f,s(0xf3)),h=await a['ec2describeKeys'](),i=await Actions[s(0xe9)](s(0x105))||'-1';if(parseInt(i)<0x0){Log[s(0xf7)](s(0xfd)),Log['notice'](s(0xed));return;}let j='';if(h)for(const m of h){if(parseInt(i)===m['id']){j=m[s(0xf8)],Log[s(0xf2)](s(0x104)+j);break;}}const k=await a[s(0x109)](),l={'amiId':s(0xec),'keyPair':j,'sgId':k,'instanceName':capitalCase(d[s(0xf0)])[s(0xf5)]('-','\x20')};await c[s(0xf4)]({'srcPath':s(0x108),'destPath':a117e[s(0x10a)](g,s(0x101)),'framework':s(0x102),'context':l,'config':d,'ignore':![]});}catch(n){Log[s(0xf7)](n),process[s(0xff)](0x1);}},async function(){},a117f);export default CEC2Gen;
|