-
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
Browsable/searchable list of starters #56
Comments
Starters are a key part of where I see Gatsby going. Great starters are key because:
|
@fson suggested on Slack that instead of maintaining a central yaml file, just standardize around a "gatsby-starter" tag in package.json. 👍 from me for that. |
That would only work if the starter is published to npm but the starter is hosted on github? |
No the indexer could read the package.json from github just fine. |
But then you still need to provide a central place for telling about the github repo with that package.json |
Right, starters will be manually added here via PRs. |
It's actually possible to scan the whole npm registry looking for specific tags inside the packages. Not sure about Github's API. |
There might (hopefully) be a day where there's too many Gatsby starters to easily manually curate but I'd guess we're a long ways off from that :) So for now, creating a registry maintained here seems like a reasonable approach. So until then, adding Github repos to the registry which then get scanned for metadata (most likely added to the package.json) and added to the Gatsby website seems like the right approach. |
@gesposito https://www.npmjs.com/browse/keyword/http :) it pretty simple, but gatsby starters is git repos and not npm modules |
Oh, I did forget about #20. If/when that lands, then the "base" sites would almost certainly be installed via NPM. E.g. you'd install the |
Some CLI inspiration https://github.com/drjekyllthemes/drjekyll |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
closing this issue as active discussion has moved to #3003 |
Use frontmatter in page-plugin context so people can make queries based on it
* Added Repository Field to package.json https://docs.npmjs.com/files/package.json#repository * Update package.json
The Gatsby website should have a list of starters.
This would be derived from a YAML file within this repo.
People can create a PR to add their starter.
There should be tests which:
These two tests will ensure the quality of starters remain high without a lot of manual intervention.
Perhaps when a starter test fails, auto email the author?
Setup http://greenkeeper.io/ for each community starter?
Perhaps run install + build tests weekly and then generate a screenshot from that? On a failure, create a PR on their repo to update. If they don't fix by the following week, comment them out of the community listing until they've fixed themselves. If they fix their starter before the following week, they can manually create a PR against Gatsby to re-add themselves.
The text was updated successfully, but these errors were encountered: