-
-
Notifications
You must be signed in to change notification settings - Fork 573
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move eslint to devDependencies #4983
Conversation
✅ Deploy Preview for volto ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Passing run #6435 ↗︎
Details:
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. |
@wesleybl this being in deps has a reason :) How are you going to install ESlint now in the projects if it's not as a direct dependency? Like this one, there is a lot of deps in the same situation... the duality library/framework of Volto is difficult, and there is nothing out there like it. We could move it to its own package (as Razzle and others do), then install that package in the project, but we never made that move. |
@wesleybl Victor is right. For now, volto's devDependencies can only include packages that are used for developing volto itself but not for developing volto-based projects. If we want to split off the packages that are needed for developing volto-based projects but not at runtime, then we need a new package, |
@sneridagh @davisagli wouldn't it be the case if you put these packages in the generator and put an update note? |
The thing is that maintain the ones in the generator is a pain. The ones that are there is because it's strictly necessary for other reasons. We would like to reduce that list, instead of increasing it. The ideal scenario would be to have such a dev package that we mentioned, and a code-mod like script/process to update projects automatically. |
@sneridagh you say why are two places to update? Isn't having a new package that needs publishing more complicated? |
@wesleybl yes,
For these all reasons, sorry, this is not going to happen now. Believe me, we've been there thinking in a way to improve this situation quite some time ago before you did and yourself why it's like this. The only acceptable way to do this is building the pieces that we've pointed out in the other comments. Maybe could look into build them if you are up to, it would be an awesome and valuable addition. |
@sneridagh I can create a metapackage |
@wesleybl we can consider it, maybe you can give it a try. Not sure about the right naming. Let's allow @tiberiuichim to weigh in, since I know that he was trying it some time ago. |
Ref: #5872 |
Done in #5879 |
No description provided.