Skip to content

Commit

Permalink
refactor(imports): fix dependency structure and make sharp optional
Browse files Browse the repository at this point in the history
fixes #23904
  • Loading branch information
axe312ger committed Jul 8, 2020
1 parent 864aeda commit 099d0e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
7 changes: 4 additions & 3 deletions packages/gatsby-source-contentful/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@
"dependencies": {
"@babel/runtime": "^7.10.3",
"@contentful/rich-text-react-renderer": "^14.1.1",
"@contentful/rich-text-types": "^13.4.0",
"@hapi/joi": "^15.1.1",
"axios": "^0.19.2",
"base64-img": "^1.0.4",
"bluebird": "^3.7.2",
"chalk": "^2.4.2",
"contentful": "^7.14.5",
"deep-map": "^1.5.0",
"contentful-resolve-response": "^1.1.4",
"fs-extra": "^8.1.0",
"gatsby-core-utils": "^1.3.11",
"gatsby-plugin-sharp": "^2.6.18",
"gatsby-source-filesystem": "^2.3.18",
"is-online": "^8.4.0",
"json-stringify-safe": "^5.0.1",
"lodash": "^4.17.15",
"progress": "^2.0.3",
"qs": "^6.9.4"
},
"devDependencies": {
Expand All @@ -40,7 +40,8 @@
],
"license": "MIT",
"peerDependencies": {
"gatsby": "^2.12.1"
"gatsby": "^2.12.1",
"gatsby-plugin-sharp": "^2.6.14"
},
"repository": {
"type": "git",
Expand Down
1 change: 0 additions & 1 deletion packages/gatsby-source-contentful/src/rich-text.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// import { fixId } from "./normalize"
import { documentToReactComponents } from "@contentful/rich-text-react-renderer"
import resolveResponse from "contentful-resolve-response"

Expand Down

0 comments on commit 099d0e8

Please sign in to comment.