GitXplorerGitXplorer
d

gatsby-starter-typescript-rebass-netlifycms

public
83 stars
15 forks
14 issues

Commits

List of commits on branch master.
Verified
94ced8f53d8c4805bc266dd7cdca8c399bac7ce9

Merge pull request #7 from jspizziri/patch-3

ddamassi committed 5 years ago
Verified
a4d587033fdb74ac38fd99aa7e67af42f4c846ec

Merge pull request #6 from jspizziri/patch-1

ddamassi committed 5 years ago
Verified
5cb63ec2df61ac7f10a890bf082cbb9a2bc85a87

fix(pages/index.tsx): disambiguate query name

jjspizziri committed 5 years ago
Verified
3a4f39fb3229c2833c42f85a3b51d482b3adf5e4

fix(gatsby-config.js): fix build errors

jjspizziri committed 5 years ago
Verified
f53e9bfce60f147868f9a82a3c61cec778f11d13

Merge pull request #5 from whoisryosuke/patch-1

ddamassi committed 5 years ago
Verified
177c3cd3674e82fffc978f9ef5552c51a262a637

Add Yarn requirement note

wwhoisryosuke committed 5 years ago

README

The README file for this repository.

Barebones Gatsby Starter

This starter was extracted from an earlier iteration I completed while working on Palette, Artsy's design system. Check out the docs site for a more full-featured example (including some interesting live-coding capabilities) or the source-code.

Development

yarn start
yarn clean
yarn type-check

Please note that Yarn is required, as NPM may not install dependencies correctly, causing issues for development.

Deployment

yarn build

Demo

demo

GraphQL Validation

Validation has been added via eslint-plugin-graphql:

screen shot 2019-01-26 at 6 49 01 pm

TODO: Figure out how to generate usable types for TypeScript with apollo-cli.

Gatsby API Details
  1. gatsby-browser.js: This file is where Gatsby expects to find any usage of the Gatsby browser APIs (if any). These allow customization/extension of default Gatsby settings affecting the browser.
  2. gatsby-config.js: This is the main configuration file for a Gatsby site. This is where you can specify information about your site (metadata) like the site title and description, which Gatsby plugins you’d like to include, etc. (Check out the config docs for more detail).
  3. gatsby-node.js: This file is where Gatsby expects to find any usage of the Gatsby Node APIs (if any). These allow customization/extension of default Gatsby settings affecting pieces of the site build process.
  4. gatsby-ssr.js: This file is where Gatsby expects to find any usage of the Gatsby server-side rendering APIs (if any). These allow customization of default Gatsby settings affecting server-side rendering.