-
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
axios in dependencies and peerDependencies #154
Comments
I don't think it belongs in peerDependencies. That seems like a mistake. |
I think it was a mistake to be in These are the original docs I wrote on the peerDeps https://github.com/social-native/elastic-composer#peer-dependencies |
If I were the king of the universe I would put it in peerDependencies and log an error if AxiosESClient is imported and it's not available. There's also optionalDependencies but it gets installed by default because npm always does the opposite of what you would expect. :) |
I did not know about this! Very cool! I just checked out the docs, there is also What are your thoughts about this situation? Leave as peer or try to clean up or something else? |
@parkerault I'm not fully awake. Just reread what you wrote. I like the idea of logging an error if missing. I think that plus |
I believe it should be one or the other, right? It generates a warning on npm install.
The text was updated successfully, but these errors were encountered: