-
Notifications
You must be signed in to change notification settings - Fork 1
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
Base configuration #1
Comments
One question: should this be two repos, or a monorepo? (see e.g. https://github.com/airbnb/javascript/) |
this is different from a plugin |
The long-term goal was to create a plugin that allowed for lots of different configuration options |
@itsthatguy okay, I'm unclear on the distinction between using a plugin and extending a configuration. I think that the airbnb approach is using "configuration objects;" what is the benefit of using a plugin over a configuration? Can you explain what those long-term goals mean in the context of what I'm proposing? I'm just looking to get a basic config that does not depend on babel or react stuff. If my needs conflict with your goals, I'm happy to just create a distinct |
A |
@rylnd the preference here is to make |
@itsthatguy if it all lives in one repo and is published as a single npm package, wouldn't that mean that the superset of dependencies is required regardless of which config you're using? Like I said, I'd been basing my architectural decisions on airbnb's repo (single repo, publishes multiple npm packages as configs, not plugins). If that's still the desire, could you point me to an example of a multi-plugin repo? |
@rylnd I say do whatever makes sense to you now. nothing is permanent. |
I'm interested in the plugin approach, but I think this merits addressing: if it's true, then plugins probably isn't the way to go. All the more reason that I'm interested in an example of a multi-plugin repo. |
a node module is a node module... when you install the node module, you get all of that modules dependencies. a plugin is a node module |
I was a bit surprised to find that this configuration repo has over 150 dependencies. After looking over similar repositories (airbnb), that seems to be the norm for a full-fledged react app with a whole bunch of build tools.
However, given the flexibility of
extends
, I think we'd be wise to extract an "adorable-base" configuration repo that is not dependent on react or babel, and build an "adorable-react" configuration repo from that.If anyone has interest in doing this just assign yourself to the repo; otherwise I'll probably get to it in the next week or so.
The text was updated successfully, but these errors were encountered: