-
Notifications
You must be signed in to change notification settings - Fork 108
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
Wireit Configuration File #152
Comments
Thanks for filing! I'm a little torn on this.
So, for right now I'm thinking we should probably stick with the |
Very excited to try out wireit! Big +1 for configuration outside of When/if you do consider it, it could be an explicit option on top of a default |
This seems like something that would be good as an option - many tools allow you to provide configuration either in a dedicated file or package.json. Depending on the situation, sometimes I find it valuable to have configuration explicitly separated out, but it can also be nice to limit the amount of files that are floating around in the root of a package. |
I'd also be interested in this. 👍
Could you give examples of the kinds of features in wireit today that are specifically depend on or align most with npm? The reason I ask is I wonder if the general implementation / data model could be reused if say I had a collection of tasks in a DAG for my Python software project, or my Ruby project, or etc. The main difference I'd see is I'd have to invoke some tasks some other way, like All that said, I totally respect the choice to focus on just making this opinionated and optimized for one kind of language ecosystem. 😄 This is a pretty cool tool. |
This would be 100% amazing 👍 |
My sincerest question: why not use the |
@ScottAwesome package.json is too long |
I always love tools that give me a choice between |
+1 on this. I'm trying to integrate wireit in a large monorepo (~30 packages with many dependencies). Changing all the scripts to I'd rather keep My proposal is either a per-package |
Interesting! I agree about not wanting to "marry" the tool, but I actually see the current approach as an advantage, not a disadvantage, in this respect. The current approach means that individual scripts can opt-in to using wireit, and the tool that launches the script doesn't need to know anything about it. You can use wireit with npm, yarn, pnpm, even lerna or other monorepo-managing tools. So you don't have to change anything about your workflow or learn any new commands. Whereas the tools that require you to replace standard tools like npm, yarn, pnpm with their specialized cli or the whole system breaks down feel more like a marriage, to me. |
This is exactly what I implemented in a yarn plugin. I can still |
We would prefer a JS module file over JSON to allow us to build up the configuration. We have a LOT of config duplication in our monorepo, especially for tasks that use the same input file patterns. If this were a JS file with a JSON |
Would be super clean if we could remove the clutter from the
package.json
file to a Wireit configuration file. It currently spans 200 lines for my player build right now which has a lot of steps and artificats.wireit.json
is short and sweet IMO.The text was updated successfully, but these errors were encountered: