-
Notifications
You must be signed in to change notification settings - Fork 7
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
How to contribute? #135
Comments
Closing for donejs/donejs#295 |
Reopening this because it won’t be covered by donejs/donejs#295 |
If you just want to work on the generators specifically, you can follow the Running the Generator steps from http://yeoman.io/authoring/index.html. Perhaps we should just link to that? |
@phillipskevin The yeoman docs did help with that respective part of the initial steps. However, the yeoman docs did not help when it came to testing a modified generator in concert with other repos I had cloned locally that consume said generator (specifically, Imagine if I was updating some dependencies across all three of these repos, and I wanted to make sure everything was working nicely together without having to publish to NPM and reinstall DoneJS or something crazy like that; this is when the workflow outlined above is absolutely necessary and not documented anywhere. For example, it's the only way that I imagine to test specific version combinations of the repos locally, and I felt it was probably most responsible to test my generator modifications within the context of the entire ecosystem like that workflow outlined in the guides. |
At least, I think that's where I was going with this; it's been a while. |
Related No. 1 — Using DoneJS with local copy of CLI to generate app: Not sure if there's a better way of doing this without editing that file and hard-coding the path? |
Related No. 2 — How To: Integrate Third Party Packages into a DoneJS Plugin: |
@leoj3n, for using a local copy of the CLI, can't you just use |
@phillipskevin In regards to your question about "Related No. 1": Unfortunately, IIRC, that won't work because that npm command will overwrite whatever you |
I would have benefited from a
hacking.md
or Contributing section added to the README.After grokking how
generator-donejs
ties into bothdonejs/cli
anddonejs/donejs
, I was able finally to deduce the following steps, and see the result of my edits ingenerator-donejs/plugin
:donejs/generator-donejs
.npm link
within the cloned directory.npm link generator-donejs
within that new testing directory.donejs add plugin
will use the linked generator, because it already exists there.If there is a better way of setting up this project to hack on it and test generator changes, I'd like to know.
Assuming documentation does not already exist regarding how to set this up, an explanation of these steps would be very helpful for new contributors like me! Thanks 👍
The text was updated successfully, but these errors were encountered: