Skip to content
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

Support for non cli #21

Closed
wants to merge 15 commits into from
Closed

Conversation

phyzical
Copy link

Fixes #18

Proposed Changes

  • added a run function
  • added default construct params
  • moved the end of the cli init to a common function for use via node js

have tested both node and cli both seem to work as intended :)

jack added 8 commits June 19, 2020 21:46
…f github.com:phyzical/npm-add-dependencies into Trying-To-Support-non-cli # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
@phyzical phyzical changed the title Trying to support non cli support for non cli Jun 19, 2020
@phyzical phyzical changed the title support for non cli Support for non cli Jun 19, 2020
@phyzical
Copy link
Author

Hey again @arfeo !

this was simpler than i thought.

the only thing i cant figure out is how to have the export in the index.js and still allow the cli, do you happen to know how this goes down?

@phyzical
Copy link
Author

Just going to close this as ive decided to add tests while im at it :)

and will reopen once done

@phyzical phyzical closed this Jun 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Support integration with other Node application
1 participant