Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/blog/gatsbygram-case-study/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -442,10 +442,10 @@ module.exports = {
// several other plugins.
`gatsby-plugin-sharp`,
// This plugin identifies file nodes that are images and
// extends these to create new "ImageSharp" nodes.
`gatsby-parser-sharp`,
// This plugin parses JSON file nodes.
`gatsby-parser-json`,
// transforms these to create new ImageSharp nodes.
`gatsby-transformer-sharp`,
// This plugin transforms JSON file nodes.
`gatsby-transformer-json`,
`gatsby-typegen-filesystem`,
// This plugin adds GraphQL fields to the ImageSharp
// GraphQL type. With them you can resize images and
Expand Down
8 changes: 4 additions & 4 deletions examples/gatsbygram/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ module.exports = {
// several other plugins.
`gatsby-plugin-sharp`,
// This plugin identifies file nodes that are images and
// extends these to create new “ImageSharp” nodes.
`gatsby-parser-sharp`,
// This plugin parses JSON file nodes.
`gatsby-parser-json`,
// transforms these to create new “ImageSharp” nodes.
`gatsby-transformer-sharp`,
// This plugin transforms JSON file nodes.
`gatsby-transformer-json`,
`gatsby-typegen-filesystem`,
// This plugin adds GraphQL fields to the ImageSharp
// GraphQL type. With them you can resize images and
Expand Down
4 changes: 2 additions & 2 deletions examples/gatsbygram/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const slash = require("slash")
// called after the Gatsby bootstrap is finished so you have
// access to any information necessary to programatically
// create pages.
exports.createPages = ({ graphql, actionCreators }) => {
const { upsertPage } = actionCreators
exports.createPages = ({ graphql, boundActionCreators }) => {
const { upsertPage } = boundActionCreators

return new Promise((resolve, reject) => {
// The “graphql” function allows us to run arbitrary
Expand Down
26 changes: 13 additions & 13 deletions examples/gatsbygram/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@
"version": "1.0.0",
"author": "Kyle Mathews <[email protected]>",
"dependencies": {
"gatsby": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-link": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-parser-json": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-parser-sharp": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-plugin-glamor": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-plugin-google-analytics": "^1.0.0-alpha12-alpha.1fdb9004",
"gatsby-plugin-manifest": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-plugin-offline": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-plugin-sharp": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-source-filesystem": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-typegen-filesystem": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby-typegen-sharp": "1.0.0-alpha12-alpha.1fdb9004",
"gatsby": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-link": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-transformer-json": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-transformer-sharp": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-plugin-glamor": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-plugin-google-analytics": "^1.0.0-alpha12-alpha.51e1923f",
"gatsby-plugin-manifest": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-plugin-offline": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-plugin-sharp": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-source-filesystem": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-typegen-filesystem": "1.0.0-alpha12-alpha.51e1923f",
"gatsby-typegen-sharp": "1.0.0-alpha12-alpha.51e1923f",
"instagram-screen-scrape": "^2.0.0",
"lodash": "^4.16.4",
"mkdirp": "^0.5.1",
"mousetrap": "^1.6.0",
"progress": "^1.1.8",
"react-gravatar": "^2.6.1",
"react-icons": "^2.2.3",
"react-modal": "^1.6.5",
"react-modal": "^1.7.6",
"react-typography": "^0.15.0",
"request": "^2.79.0",
"slug": "^0.9.1",
Expand Down
3 changes: 1 addition & 2 deletions examples/gatsbygram/src/html.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from "react"
import DocumentTitle from "react-document-title"

//import { prefixLink } from 'gatsby-helpers'
import { GoogleFont, TypographyStyle } from "react-typography"

import typography from "./utils/typography"
import logo from "!file-loader!../static/images/logo.png"

Expand Down
1 change: 1 addition & 0 deletions examples/gatsbygram/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Index extends React.Component {
}

render() {
console.log(this.props)
this.context.setEdges(this.props.data.allPosts.edges)
return (
<div
Expand Down
Loading