You can always generate TOML files yourself and pass them in. Dynamic configuration is a mess. Config invalidation becomes a mess. What are the dependencies of the config? When do I need to rerun it? Do people want TS support? Increases surface area drastically.
-
-
Replying to @sebmck @kentcdodds
For a tool like Rome, knowing all the possible config variants is extremely useful.
1 reply 0 retweets 6 likes -
Replying to @sebmck
I understand that it's a challenge, but personally I've found it to be a real pain to build an opinionated tool with little-to-no config (similar to react-scripts) on top of tool that doesn't support dynamic configuration.
1 reply 0 retweets 1 like -
Replying to @kentcdodds @sebmck
More context about the kind of thing I'm talking about:https://kentcdodds.com/blog/concerning-toolkits …
1 reply 0 retweets 2 likes -
Replying to @kentcdodds @sebmck
If I generate the toml file, then I as the user of Rome would have to worry about cache invalidation/config regeneration. I suppose that's the trade-off that's being made. It's understandable that you'd prefer to keep it simpler for the more common case
1 reply 0 retweets 1 like -
Replying to @kentcdodds
What sort of configuration would you want to generate?
1 reply 0 retweets 0 likes -
Replying to @sebmck
For babel, kcd-scripts adds the react preset if the host project's package.json includes a dependency on react. Does similar for eslint. For jest, it adds setupFilesAfterEnv if the host project has a file under tests/setup-env.js Stuff like that.
2 replies 0 retweets 5 likes -
Replying to @kentcdodds
Those examples aren't super compelling since Rome will have the functionality of all those tools listed
2 replies 0 retweets 9 likes -
Replying to @sebmck @kentcdodds
I can't even tell you how excited I am for an advancement in JS tooling that'll eliminate the need for all these app scaffolding frameworks, boilerplates, etc etc etc. No pressure! :)
2 replies 0 retweets 1 like -
If a tool gets in the way of me fixing a build issue, I'll never use it. Too many edge cases. Set my defaults and hand me a webpack merge to ruin things for myself, or not.
1 reply 0 retweets 0 likes
Sebastian Retweeted Sebastian
Sebastian added,
-
-
I think you want to build something widely valuable. I also don't think you can predict edge cases. The worst case scenario is you paint someone into a corner that they can't see coming and they hit it 6 months into a contract.
1 reply 0 retweets 0 likes -
That can happen with existing tools already though?
3 replies 0 retweets 1 like - 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 