-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
Gatsby 1.0 contributing #643
Comments
Hey awesome! Really looking forward to your help! You'll want to start reading the 1.0 issue and issues linked from it if you haven't already #419 I've been off the past couple of months doing a big R&D push for 1.0 which I'm actually in process of rolling up into a new alpha release early next week. There's a lot there I'll be talking about soon. All of that has been happening on this branch https://github.com/gatsbyjs/gatsby/tree/unist-graphql Gatsby is now using Lerna which facilitates creating a "monorepo". So all those packages are now here: https://github.com/gatsbyjs/gatsby/tree/unist-graphql/packages I'll be writing up release notes along with the new alpha plus a lot of documentation about how different things work e.g. the plugin system that'll aid in getting started helping out on 1.0. The gatsby project page is out of date but I'll be updating this as well https://github.com/gatsbyjs/gatsby/projects/1 Lots to do! Things are starting to settle down in my mind with how everything should work so will be writing this up more for feedback and refinements + getting help filling in missing pieces. |
Could you elaborate a little about your workflow? I mean, unit tests are the way to go, but I like to validate my changes visually, wherever possible. So, let's say I'm in the Now, I make a change to one of the packages Does it mean we need to compile and somehow redeploy all the packages locally, every single change? How do you streamline this? I guess it has to do with:
|
It's... a bit convoluted. Right now my dev practice is to symlink the compiled file of a particular package from my checked out version of the monorepo into a site I'm working on. So say I'm developing site A using 10 gatsby packages and discover one of them has a bug or missing feature (a very common occurrence atm haha :D). What I do at that point is run I'm also leveraging Lerna's "canary release" ability heavily to make changes, commit, publish to NPM (tagged with canary), and then point sites at the canary release and deploy. Very quick iterations this way. I'm planning on adding a script to Travis CI to release canaries on every successful test pass on the 1.0 branch. |
Some other contributors and I have been building out a nice how-to-contribute page on the website that should serve as the getting started guide to developing on 1.0. Please help make that page better! |
I decided, to invest some time into the
gatsby 1.0
development.Actually, I wanted to start by reading the sources, but couldn't find any.
Kyle, do you have any written roadmap, specs, guidelines, plugins/typegens structure description, relevant docs?
And, is there a public repository for the following packages?
The text was updated successfully, but these errors were encountered: