-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge into core #1
Comments
Agreed, however, I'd like to see a redesign before doing so mateodelnorte/meta#49 |
coming up! :) |
I was thinking about merging this library with |
I lean toward keeping them small, simple, and separate. The smaller a module is, the easier it is to update. And the pattern of having a new module introduce new functionality to the .meta file could be repeated easily by copying the module and modifying it to do something different. What are the arguments for merging? |
The main benefit is to simplify writing plugins. Instead of needing to learn of, install, and update the const { resolveConfig, editConfig } = require('meta');
const configPath = resolveConfig(process.cwd(), { assertExists: true });
assert(!configPath || path.basename(configPath) === '.meta');
editConfig(configPath, (config) => {
config.projects.pop();
}); It's good to consolidate here, because reading/writing Meta configuration will be a common task for plugins. |
I should clarify: I still think |
Hmm, I think I just want |
Any time you work on meta, you should be |
Are you saying that any plugin developer must/should fork the |
Nope. You don't need to fork. |
You'd only fork |
Okay, good! But now I don't see how this relates to re-exporting |
Here are some examples: https://github.com/mateodelnorte/meta/blob/master/package.json#L58-L61. All of these provide default functionality when you |
@mateodelnorte Yeah, I'm aware of the core plugins. I wrote the new plugin-finding algo! :P |
Heh. Don't think it does. I think the moral of the story is that we'll update |
Yea, I know you know. Just being explicit with all the info. |
Didn't mean to derail this issue, so I'll open a new issue now. Sorry! 😅 |
I think this plugin belongs in Meta core.
/cc @mateodelnorte
The text was updated successfully, but these errors were encountered: