Skip to content

Commit

Permalink
gatsby-remark-images: moved gatsby-plugin-sharp to dependencies (#1785)
Browse files Browse the repository at this point in the history
Having it in peer dependencies is wrong, as @nickmaltsev mentioned
and I realised, as it's used in a source.

The only thing it does being in peerDependencies is only warning
users about missing dep, but can be easily dismissed.
  • Loading branch information
viatsko authored and KyleAMathews committed Aug 14, 2017
1 parent 87ef218 commit 390fd60
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/gatsby-remark-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@
},
"dependencies": {
"cheerio": "^1.0.0-rc.2",
"gatsby-plugin-sharp": "^1.6.1",
"image-size": "^0.5.1",
"is-relative-url": "^2.0.0",
"lodash": "^4.17.4",
"slash": "^1.0.0",
"unist-util-select": "^1.5.0"
},
"peerDependencies": {
"gatsby-plugin-sharp": "^1.6.0"
},
"scripts": {
"build": "babel src --out-dir . --ignore __tests__",
"watch": "babel -w src --out-dir . --ignore __tests__"
Expand Down

0 comments on commit 390fd60

Please sign in to comment.