This script enables some shortcuts for the Mews JS monorepo
mews hi
: welcomes you and reminds the available commandsmews commander
: runs the Commander appmews navigator
: runs the Navigator appmews navigator:sb
: runs the Navigator Storybook appmews distributor
: runs the Distributor app and opens a new browser tab loading the URL mandatory params for the app to load properlymews distributor:sb
: runs the Distributor Storybook appmews storybook
: runs the Design System Storybook servermews optimus:test
: runs the Design System unit test suitemews pull-js
: updates the master branch of the Mews JS monorepomews ts [workspace]
: runs ts command on selected workspaceoptimus
commander
: runs on core, backend-bridge and mews-commandernavigator
distributor
framework
all
: run all previous, slow
This commands run globally, from any directory you would be in.
- Fork the repo to a folder of your choice in your computer
- Modify the
MY_MEWS_JS_DIRECTORY_PATH
value in theconfig
file, matching your directory path - Add this script to your
.bash
or.zshrc
file, something like:source ~/[my-path]/[my-folder]/mews-commands/mews.sh
- Reload the terminal session or open another one
- Type
mews hi
, a greeting should appear in the terminal prompt - If so, all set! Please contribute with useful commands and shortcuts for Mews developers!