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

Contributing Guide for 1.0 #727

Merged
merged 7 commits into from
Mar 21, 2017
Merged

Contributing Guide for 1.0 #727

merged 7 commits into from
Mar 21, 2017

Conversation

thekevinbrown
Copy link
Contributor

It looks like the contributing.md file for 1.0 isn't up to date. I still can't get it to work, but this is closer. I've never built a global cli tool with node before that needed to be linked, so when you throw lerna in on top of that I'm not sure how to get started.

@thekevinbrown thekevinbrown changed the base branch from master to 1.0 March 19, 2017 02:24
@gatsbybot
Copy link
Collaborator

gatsbybot commented Mar 19, 2017

Deploy preview ready!

Built with commit 88cf034

https://deploy-preview-727--gatsbyjs.netlify.com

@gatsbybot
Copy link
Collaborator

gatsbybot commented Mar 19, 2017

Deploy preview ready!

Built with commit 88cf034

https://deploy-preview-727--gatsbygram.netlify.com

@KyleAMathews
Copy link
Contributor

Hey! This looks great and very needed. Could you also symlink the file to /docs/docs/how-to-contribute.md so it shows up at https://www.gatsbyjs.org/docs/how-to-contribute/ ?

@thekevinbrown
Copy link
Contributor Author

@KyleAMathews, sure can, how does that look?

@KyleAMathews
Copy link
Contributor

Oh cool that worked! I wasn't entirely sure if it would or not :-)

https://deploy-preview-727--gatsbyjs.netlify.com/docs/how-to-contribute/

Could you also add a:

# How to contribute

At the top?

@thekevinbrown
Copy link
Contributor Author

Yup, sure can.

CONTRIBUTING.md Outdated
* Install dependencies: `yarn && lerna bootstrap`
* Make sure tests are passing for you: `lerna run test`
* Create a topic branch: `git checkout -b topics/new-feature-name`
* Run `yarn build && yarn watch` to watch code and compile your changes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

watching also builds all the files when it starts up the watcher.

Also it's yarn run watch not yarn watch.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What I was seeing was if there were build errors, watch was completely silent, while build would actually build and show the errors. So it looked on my machine that watch didn't actually build if there were errors, and you couldn't see these errors, so I more wanted those to be front and centre for people if they're just getting started.

Also, yarn watch is actually equivalent (today at least) to yarn run watch, but I'm happy to change that over. It's true that if they do ever create a true yarn watch proper then this would suddenly stop working, while yarn run watch would continue to work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KyleAMathews I think in my latest changes I've actioned this feedback. If not please let me know!

@rewop
Copy link

rewop commented Mar 20, 2017

This is great.

I would suggest also to add a section on how to "link" the development repo to a test repository. I shared my experience trying to do it in #731, despite I didn't succeed yet.

@KyleAMathews
Copy link
Contributor

Thanks for the improvements here! Merging and let's all keep making improvements here to help people new to Gatsby dev.

@KyleAMathews KyleAMathews merged commit 508537e into gatsbyjs:1.0 Mar 21, 2017
@thekevinbrown thekevinbrown deleted the topic/update-contributing-for-1.0 branch March 21, 2017 23:11
@jlengstorf
Copy link
Contributor

Hiya @blargity! 👋

This is definitely late, but on behalf of the entire Gatsby community, I wanted to say thank you for being here.

Gatsby is built by awesome people like you. Let us say “thanks” in two ways:

  1. We’d like to send you some Gatsby swag. As a token of our appreciation, you can go to the Gatsby Swag Store and log in with your GitHub account to get a coupon code good for one free piece of swag. (We’ve got t-shirts and hats, plus some socks that are really razzing our berries right now.)
  2. If you’re not already part of it, we just invited you to join the Gatsby organization on GitHub. This will add you to our team of maintainers. You’ll receive an email shortly asking you to confirm. By joining the team, you’ll be able to label issues, review pull requests, and merge approved pull requests.

If you have questions, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’.

Thanks again! 💪💜

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.

5 participants