-
Notifications
You must be signed in to change notification settings - Fork 9
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
feat: Support integration with other Node application #18
Comments
Hello, Could you, please, describe more thoroughly the use case you want the program to be used in? Thank you. |
Sure, for example, if I were to write something similar to create-react-app, I would want to programmatically add a set of dependencies from inside another node.js application. Currently, I can't just |
Ah yes i actually ran into this issue today trying to refactor my build script further, i.e say i wanted to go
then i would expect to be able to do something like
or something like that. the reason for me wanting this is simply due to the fact that package.json doesn't allow for multi lines but this does change it from a cli only package |
Expected Behavior
Instead of just being used as a CLI, make npm-add-dependencies reusable by making it a module that can used programmatically.
Actual Behavior
Cannot be called programmatically.
The text was updated successfully, but these errors were encountered: