Comments (3)
Thanks for the suggestions. There are definitely several areas for improvements.
For the dependency issues I already have similar solution in mind in the form of presets and keeping mhy to be a thin client but it needs a lot of changes.
One of mhy's mission is making the tools work well together using the latest versions. Installing the latest versions automatically won't guarantee that the tools will work together. For example ESLint 6 is out but they have some radical changes which broke how several other projects and mhy was using it. Having the latest installed automatically would break all tools in mhy.
mhy is basically running the command's of the respective tool. For example when you run mhy wds
you basically run webpack-dev-server --config=mhy/configs/webpack
. This means an additional workflow has to be implemented for every process that might use a port and IF port !== default AND occupied THEN change config to another port
. What I mean is that port allocation is not directly done by mhy. Also this method rises another concern: when there is an issue with mhy and a process doesn't closed correctly for some reason, instead of killing the previous zombie process you end up running more zombie processes on more ports... But there are some workarounds to prevent this, exit if too many times free port not found for example.
Btw for dependency management I've added some tooling that will help you manage dependencies coming from mhy, but it's not finished yet.
from mhy.
We can have a config for specific projects like airbnb or whatever, with json of packages which you need for this project and if it's needed the version can be specified in this config. It should solve issues like eslint has now.
from mhy.
And yes, it should be tiny with dependencies, that's the main concern which everyone has i guess using it, because everyone has it's own lovely set of packages, so if you have a good idea how can we implement this i would be love to help.
from mhy.
Related Issues (8)
- Continuous TODO list HOT 2
- Storybook: get proptypes from TypeScript React components HOT 1
- Rewrite name and bin key HOT 1
- unable to find image 'mhy:latest' locally HOT 1
- How you're using mhy?
- Depth flag for config output HOT 4
- Dashboard UI : scroll in a box makes it not responding (or too slow to respond) (mac os) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mhy.