14.0.16 • Published 1 year ago

mhy v14.0.16

Weekly downloads
276
License
MIT
Repository
github
Last release
1 year ago

Summary

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.

mhy helps you to be able to focus on your code again rather then the tech behind it.

Using mhy you'll have

  • a zero-configuration environment out-of-the-box.
  • a portable codebase without any npm install.
  • simple customization if you don't favor the default settings.
  • package.json based customization for any configs value mhy provides.
  • boot templates for easy setup.
  • most common packages provided to your work.
  • less boilerplate.
  • configs/tools well-playing together (webpack+swc, jest+swc, storybook+swc, webpack+typescript, etc.).
  • pre-built and public Docker images for faster CI.

Note that mhy's focus is on client side currently, but server side features are about to come.

Setup

Install

npm install mhy -g

From npm@7.0.0 peer dependencies are automatically being installed. mhy uses some dependencies that are not prepared yet for this new mechanism. We cannot do anything, but wait for updates. You need to install mhy using the --legacy-peer-deps or --force flag.

npm install mhy -g --legacy-peer-deps

Start a new Webpack project

Create an empty project with a single index.js file that is being served using webpack-dev-server (wds) pre-configured with Babel, React and React Fast-Refresh.

mkdir src
echo "console.log('Hello mhy!')" > src/index.js
mhy wds

Compile library

Create a production ready library. From the src folder it creates a complied dist folder.

mhy babel --mhy-env=prod

Build bundle

Create a production ready bundle for you website/app using pre-configured Webpack. From the src folder it creates a build folder with your bundle ready to be served supporting many popular features/loaders.

mhy webpack --mhy-env=prod

Start the default ecosystem

It'll run Jest, Webpack Dev Server, TypeScript compiler, Storybook at once in a single Terminal UI (TUI).

mhy

That's not all

These are only a few examples from all the possibilities mhy provides. Start exploring on https://mhy.js.org

Supported packages

mhy is providing many common/popular packages. 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 install command ever again. It's in plan to accurately list these on the site, for now the best is to check the dependencies of our package.json for the included packages, and I also advice you to check out our sources for more details.

Contributors ✨

❤ Thank you all! ❤

Credits ❤

I'm using Webpack's logo to build an M shape from multiple blocks. I'd like to say Thank You for their great logo.

I also would like to thank to every developer's hard work which I'm using as a dependency in mhy. It would be really hard to collect all those people, but in case you find your work in our package.json, please feel free to create a pull request and add your logo and link.


@apollo/client@apollo/react-testing@cryptic-css/core@cryptic-css/plugin-gutter@cryptic-css/plugin-ratio@cryptic-css/prop-keyframes@cryptic-css/prop-mq@cryptic-css/prop-scroll@emotion/core@emotion/styled@mdx-js/loader@pmmmwh/react-refresh-webpack-plugin@popperjs/core@reduxjs/toolkit@storybook/addon-a11y@storybook/addon-actions@storybook/addon-controls@storybook/addon-docs@storybook/addon-links@storybook/addon-storysource@storybook/addon-viewport@storybook/addons@storybook/builder-webpack5@storybook/cli@storybook/core@storybook/manager-webpack5@storybook/react@svgr/webpack@swc/cli@swc/core@swc/jest@swc/register@testing-library/dom@testing-library/react@testing-library/react-hooks@testing-library/user-event@types/enzyme@types/enzyme-to-json@types/faker@types/fs-extra@types/history@types/html-webpack-plugin@types/jest@types/js-cookie@types/node@types/prop-types@types/react@types/react-dom@types/react-query@types/react-router@types/react-router-dom@types/react-test-renderer@types/styled-components@types/webpack@types/ws@types/yargs@typescript-eslint/eslint-plugin@typescript-eslint/parser@ungap/global-this@w11r/use-breakpoint@webpack-cli/serve@welldone-software/why-did-you-render@wojtekmaj/enzyme-adapter-react-17@you-eye/babel-plugin-react@you-eye/styledaccept-language-parseracornanimejsapollo-link-restasync-redisaxiosbrowserslistccsschalkcommonizerconcurrentlyconsole-feedcookiecookie-parsercopy-dircore-jscross-envcss-loadercss-minimizer-webpack-plugincssnanodate-fnsdayjsdebugdecompressdepcheckearly-hintsenzymeenzyme-to-jsones-cookieeslinteslint-config-airbnbeslint-config-prettiereslint-global-patcheslint-plugin-importeslint-plugin-jesteslint-plugin-jsx-a11yeslint-plugin-reacteslint-plugin-react-hooksexpressexpress-http-proxyfast-globfiguresfile-loaderfinal-formflegform-dataformdata-polyfillframer-motionfs-extraglobgraphqlgraphql-anywheregraphql-tag.macrohistoryhtml-webpack-inline-source-pluginhtml-webpack-pluginhttp-proxy-middlewarehuskyidentity-obj-proxyimage-webpack-loaderimmerintersection-observerjestjest-canvas-mockjest-clijest-date-mockjest-enzymejest-fetch-mockjest-styled-componentsjimpjs-cookiejson-colorizerjson-mergerloader-utilslodash-esmarkdown-to-jsxmini-css-extract-pluginmiragejsmodule-aliasmomentmoment-rangemoment-timezonemqpackernode-gzipnode-persistnode-require-contextnodemonnormalizrnull-loaderoptimismpath-to-regexpphrame2postcsspostcss-importpostcss-loaderpostcss-preset-envpreactpreact-render-to-stringprettierpromisify-child-processprop-typesreactreact-dev-utilsreact-devtools-corereact-domreact-error-boundaryreact-helmetreact-hook-formreact-iconsreact-intersection-observerreact-markdownreact-popperreact-queryreact-query-devtoolsreact-reduxreact-refreshreact-routerreact-router-domreact-sharereact-syntax-highlighterreact-test-rendererreact-usereduxredux-sagaredux-thunkrehype-rawremark-gfmresolve-tspathsrimrafslugifysocket.iosocket.io-clientspeed-measure-webpack-pluginstandard-versionstyle-loaderstyled-componentsstylisswc-loadersymlink-dirterser-webpack-plugintransformedtree-killtrue-case-pathts-invarianttslibtypescriptundiciurl-loaderuse-error-boundaryuse-httpvalidatewebpackwebpack-bundle-analyzerwebpack-cliwebpack-dev-serverwebpack-dev-server-status-barwebpack-manifest-pluginwebpack-strip-blockworker-loaderwrite-pkgwsyargs
14.0.16

1 year ago

13.1.5

2 years ago

13.1.6

2 years ago

13.1.3

2 years ago

13.1.4

2 years ago

13.1.1

2 years ago

13.1.2

2 years ago

13.1.0

2 years ago

14.0.9

2 years ago

13.2.0

2 years ago

14.0.0

2 years ago

14.0.1

2 years ago

14.0.2

2 years ago

14.0.3

2 years ago

14.0.4

2 years ago

14.0.5

2 years ago

14.0.6

2 years ago

14.0.7

2 years ago

14.0.13

2 years ago

14.0.12

2 years ago

14.0.11

2 years ago

14.0.10

2 years ago

14.0.15

2 years ago

14.0.14

2 years ago

13.0.0

2 years ago

12.2.7

2 years ago

11.5.4

2 years ago

12.0.0

2 years ago

12.0.1

2 years ago

12.2.5

2 years ago

12.2.6

2 years ago

12.2.1

2 years ago

12.2.2

2 years ago

12.2.3

2 years ago

12.2.4

2 years ago

12.2.0

2 years ago

12.1.2

2 years ago

12.1.3

2 years ago

12.1.0

2 years ago

12.1.1

2 years ago

11.5.1

2 years ago

11.5.2

2 years ago

11.5.0

2 years ago

11.5.3

2 years ago

11.4.0

3 years ago

11.4.1

3 years ago

11.2.3

3 years ago

11.3.3

3 years ago

11.2.2

3 years ago

11.2.1

3 years ago

11.1.4

3 years ago

11.1.1

3 years ago

11.1.2

3 years ago

11.0.0

3 years ago

11.0.1

3 years ago

11.1.0

3 years ago

10.3.3

3 years ago

10.3.2

3 years ago

10.3.1

3 years ago

10.2.3

3 years ago

10.2.4

3 years ago

10.2.2

3 years ago

10.2.1

3 years ago

10.2.0

3 years ago

10.1.0

3 years ago

10.1.1

3 years ago

10.0.3

3 years ago

10.0.2

3 years ago

10.0.1

3 years ago

10.0.0

3 years ago

9.2.0

3 years ago

9.1.9

3 years ago

9.1.8

3 years ago

9.1.7

3 years ago

9.1.6

3 years ago

9.1.5

3 years ago

9.1.4

4 years ago

9.1.3

4 years ago

9.1.2

4 years ago

9.1.1

4 years ago

9.0.0

4 years ago

9.1.0

4 years ago

8.0.5

4 years ago

8.0.6

4 years ago

8.0.4

4 years ago

8.0.3

4 years ago

8.0.1

4 years ago

8.0.2

4 years ago

8.0.0

4 years ago

7.3.1

4 years ago

7.3.0

4 years ago

7.2.1

4 years ago

7.2.0

4 years ago

7.1.0

4 years ago

7.0.0

4 years ago

6.8.6

4 years ago

6.8.5

4 years ago

6.8.4

4 years ago

6.8.3

4 years ago

6.8.2

4 years ago

6.8.1

4 years ago

6.8.0

4 years ago

6.7.3

4 years ago

6.7.2

4 years ago

6.7.0

4 years ago

6.7.1

4 years ago

6.6.1

4 years ago

6.6.0

4 years ago

6.5.0

4 years ago

6.4.5

4 years ago

6.4.4

4 years ago

6.4.3

4 years ago

6.4.2

4 years ago

6.4.1

4 years ago

6.4.0

4 years ago

6.3.0

4 years ago

6.2.0

4 years ago

6.1.2

4 years ago

6.1.1

4 years ago

6.1.3

4 years ago

6.1.0

4 years ago

6.0.3

4 years ago

6.0.2

4 years ago

6.0.1

4 years ago

6.0.0

4 years ago

5.0.0

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.11

4 years ago

4.1.10

4 years ago

4.1.8

4 years ago

4.1.9

4 years ago

4.1.7

4 years ago

4.1.6

4 years ago

4.1.5

4 years ago

4.1.4

4 years ago

4.1.3

4 years ago

4.1.2

4 years ago

4.1.1

4 years ago

4.0.0

4 years ago

3.0.0

4 years ago

2.20.0

4 years ago

2.19.0

4 years ago

2.18.12

4 years ago

2.18.11

4 years ago

2.18.10

4 years ago

2.18.9

4 years ago

2.18.7

4 years ago

2.18.8

4 years ago

2.18.6

4 years ago

2.18.5

4 years ago

2.18.4

4 years ago

2.18.3

4 years ago

2.18.2

4 years ago

2.18.1

4 years ago

2.18.0

4 years ago

2.17.3

4 years ago

2.17.2

4 years ago

2.17.1

4 years ago

2.17.0

4 years ago

2.16.1

4 years ago

2.16.0

5 years ago

2.15.11

5 years ago

2.15.10

5 years ago

2.15.9

5 years ago

2.15.8

5 years ago

2.15.7

5 years ago

2.15.6

5 years ago

2.15.5

5 years ago

2.15.4

5 years ago

2.15.3

5 years ago

2.15.2

5 years ago

2.15.1

5 years ago

2.15.0

5 years ago

2.14.0

5 years ago

2.13.0

5 years ago

2.12.0

5 years ago

2.11.1

5 years ago

2.11.0

5 years ago

2.10.0

5 years ago

2.9.0

5 years ago

2.8.0

5 years ago

2.7.1

5 years ago

2.6.2

5 years ago

2.6.1

5 years ago

2.6.0

5 years ago

2.5.0

5 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.5

5 years ago

2.2.4

5 years ago

2.2.3

5 years ago

2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.24.0

5 years ago

1.23.3

5 years ago

1.23.2

5 years ago

1.23.1

5 years ago

1.23.0

5 years ago

1.22.12

5 years ago

1.22.11

5 years ago

1.22.10

5 years ago

1.22.8

5 years ago

1.22.6

5 years ago

1.22.5

5 years ago

1.22.4

5 years ago

1.22.2

5 years ago

1.22.0

5 years ago

1.21.5

5 years ago

1.21.4

5 years ago

1.21.3

5 years ago

1.21.2

5 years ago

1.21.1

5 years ago

1.21.0

5 years ago

1.20.0

5 years ago

1.19.0

5 years ago

1.18.3

5 years ago

1.18.2

5 years ago

1.18.1

5 years ago

1.18.0

5 years ago

1.17.0

5 years ago

1.16.0

5 years ago

1.15.0

5 years ago

1.14.1

5 years ago

1.14.0

5 years ago

1.13.0

5 years ago

1.12.0

5 years ago

1.11.0

5 years ago

1.10.1

5 years ago

1.10.0

5 years ago

1.9.11

5 years ago

1.9.10

5 years ago

1.9.9

5 years ago

1.9.8

5 years ago

1.9.7

5 years ago

1.9.6

5 years ago

1.9.5

5 years ago

1.9.0

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.1

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.2

5 years ago

1.4.1

5 years ago

1.4.0

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.2

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago

1.0.0-alpha.30

5 years ago

1.0.0-alpha.29

5 years ago

1.0.0-alpha.28

5 years ago

1.0.0-alpha.27

5 years ago

1.0.0-alpha.26

5 years ago

1.0.0-alpha.25

5 years ago

1.0.0-alpha.24

5 years ago

1.0.0-alpha.23

5 years ago

1.0.0-alpha.22

5 years ago

1.0.0-alpha.21

5 years ago

1.0.0-alpha.20

5 years ago

1.0.0-alpha.19

5 years ago

1.0.0-alpha.18

5 years ago

1.0.0-alpha.17

5 years ago

1.0.0-alpha.16

5 years ago

1.0.0-alpha.15

5 years ago

1.0.0-alpha.14

5 years ago

1.0.0-alpha.13

5 years ago

1.0.0-alpha.12

5 years ago

1.0.0-alpha.11

5 years ago

1.0.0-alpha.10

5 years ago

1.0.0-alpha.9

5 years ago

1.0.0-alpha.8

5 years ago

1.0.0-alpha.7

5 years ago

1.0.0-alpha.6

5 years ago

1.0.0-alpha.5

5 years ago

1.0.0-alpha.4

5 years ago

1.0.0-alpha.3

5 years ago

1.0.0-alpha.2

5 years ago

1.0.0-alpha.1

5 years ago

1.0.0-alpha.0

5 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago