Skip to content

Commit

Permalink
[cleanup] Remove unused code. (#217)
Browse files Browse the repository at this point in the history
* [cleanup] Remove unused code.

* [deps] Bump dependencies.
  • Loading branch information
jessestuart committed Feb 22, 2018
1 parent 2c13183 commit b1bed56
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 343 deletions.
2 changes: 0 additions & 2 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ const plugins = [
// Styling-related plugins.
// ========================
'gatsby-plugin-styled-components',
// TODO: Temporary -- remove this.
'gatsby-plugin-glamor',
typographyPlugin,
// ==========================================
// Transformers for Markdown and image files.
Expand Down
19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@
"version": "1.0.0",
"author": "Jesse Stuart <hi@jessestuart.com>",
"dependencies": {
"gatsby": "^1.9.203",
"gatsby": "^1.9.206",
"gatsby-image": "^1.0.38",
"gatsby-link": "^1.6.37",
"gatsby-plugin-feed": "^1.3.18",
"gatsby-plugin-glamor": "^1.6.12",
"gatsby-plugin-google-analytics": "^1.0.19",
"gatsby-plugin-lodash": "^1.0.9",
"gatsby-plugin-netlify": "^1.0.18",
"gatsby-plugin-react-helmet": "^2.0.5",
"gatsby-plugin-react-next": "^1.0.9",
"gatsby-plugin-remove-trailing-slashes": "^1.0.5",
"gatsby-plugin-sentry": "^0.0.3",
"gatsby-plugin-sharp": "^1.6.31",
"gatsby-plugin-sharp": "^1.6.32",
"gatsby-plugin-styled-components": "^2.0.7",
"gatsby-plugin-typography": "^1.7.14",
"gatsby-remark-autolink-headers": "^1.4.12",
"gatsby-remark-copy-linked-files": "^1.5.27",
"gatsby-remark-images": "^1.5.47",
"gatsby-remark-images": "^1.5.48",
"gatsby-remark-prismjs": "^1.2.15",
"gatsby-remark-smartypants": "^1.4.11",
"gatsby-source-filesystem": "^1.5.21",
Expand All @@ -46,12 +45,12 @@
"classnames": "^2.2.5",
"codecov": "^3.0.0",
"concurrently": "^3.5.1",
"eslint": "^4.18.0",
"eslint": "^4.18.1",
"eslint-config-prettier": "^2.9.0",
"eslint-config-standard": "^11.0.0",
"eslint-friendly-formatter": "^3.0.0",
"eslint-loader": "1.9.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-node": "^6.0.0",
"eslint-plugin-prettier": "^2.6.0",
Expand All @@ -64,7 +63,7 @@
"greenkeeper-lockfile": "^1.13.2",
"husky": "^0.14.3",
"jest": "^22.4.0",
"lint-staged": "^6.1.1",
"lint-staged": "^7.0.0",
"lodash": "^4.17.5",
"onecolor": "^3.0.5",
"postcss": "^6.0.19",
Expand All @@ -82,9 +81,9 @@
"react-test-renderer": "^16.2.0",
"rimraf": "^2.6.2",
"scrollprogress": "^3.0.2",
"snyk": "^1.69.7",
"snyk": "^1.69.9",
"styled-components": "^3.1.6",
"stylelint": "^9.0.0",
"stylelint": "^9.1.1",
"stylelint-config-standard": "^18.1.0",
"textlint": "^10.1.4",
"textlint-rule-apostrophe": "^1.0.0",
Expand Down Expand Up @@ -146,7 +145,7 @@
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"update": "ncu -ua -x typeface-spectral && yarn",
"update": "ncu -ua && yarn -s",
"watch:s3-plugin": "yarn build:s3-plugin -w",
"willitpass": "concurrently 'yarn lint' 'yarn test'"
},
Expand Down
2 changes: 1 addition & 1 deletion plugins/gatsby-source-s3/src/source-nodes.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { createRemoteFileNode } = require('gatsby-source-filesystem')
const S3 = new AWS.S3({ apiVersion: '2006-03-01' })

// =========================
// Plugin-specific contants.
// Plugin-specific constants.
// =========================
const S3SourceGatsbyNodeType = 'S3ImageAsset'

Expand Down
180 changes: 0 additions & 180 deletions src/components/Photography/PhotoModal.js

This file was deleted.

Loading

0 comments on commit b1bed56

Please sign in to comment.