A zero-config, out-of-the-box, multi-purpose toolbox and development environment.
It's really hard to define what
mhy(my) is, because it tries to create a unified developer experience for any stage of your project:
- a pre-configured development environment to not waste time with the set-up when starting a new project or just need a quick playground.
- a pre-configured production environment to help you reach production faster compiling/building your code without any necessary setup.
- an ecosystem to be able to run different task together at once, connected together perfectly.
- a toolbox help your work with the most common tasks.
- a solution for littering your machine with the same npm package over and over again.
- a config management tool to make necessary changes faster at a single place.
- an interoperable environment to be shared across multiple projects and ensure they are being build on the same principles/stack.
mhyhelps you to be able to focus on your code again rather then the tech behind it.
- a zero-configuration environment out-of-the-box.
- a portable codebase without any
- simple customization if you don't favor the default settings.
- package.json based customization for any configs value
- boot templates for easy setup.
- most common packages provided to your work.
- less boilerplate.
- configs/tools well-playing together (webpack+swc, jest+swc, storybook+webpack, webpack+typescript, etc.).
- pre-built and public Docker images for faster CI.
mhy's focus is on client side currently, but server side features are about to come.
npm install mhy -g
[email protected]peer dependencies are automatically being installed.
mhyuses some dependencies that are not prepared yet for this new mechanism. We cannot do anything, but wait for updates. You need to install
npm install mhy -g --legacy-peer-deps
Create an empty project with a single
index.jsfile that is being served using
webpack-dev-server(wds) pre-configured with Babel, React and React Fast-Refresh.
echo "console.log('Hello mhy!')" > src/index.js
Create a production ready library. From the
srcfolder it creates a complied
mhy babel ---mhy-env=prod
Create a production ready bundle for you website/app using pre-configured Webpack. From the
srcfolder it creates a
buildfolder with your bundle ready to be served supporting many popular features/loaders.
mhy webpack --mhy-env=prod
It'll run Jest, Webpack Dev Server, TypeScript compiler, Storybook at once in a single Terminal UI (TUI).
mhyis providing many common/popular packages _out-of-the_box. There are continuous adjustments being made to the includes to match the most common needs and being able to develop without the need of your own
npm installcommand ever again.