From d6070efd26261f0da9f8bc2a4e2051575720028e Mon Sep 17 00:00:00 2001 From: Flip Date: Tue, 23 Jan 2018 10:53:50 -0600 Subject: [PATCH] move glamor to peerDependencies (#3657) --- packages/gatsby-plugin-glamor/README.md | 2 +- packages/gatsby-plugin-glamor/package.json | 4 +++- yarn.lock | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/packages/gatsby-plugin-glamor/README.md b/packages/gatsby-plugin-glamor/README.md index 3193564262bc1..2fb4ffa8d95ef 100644 --- a/packages/gatsby-plugin-glamor/README.md +++ b/packages/gatsby-plugin-glamor/README.md @@ -10,7 +10,7 @@ rendering and start writing React components that carry their styles with them. ## Install -`npm install --save gatsby-plugin-glamor` +`npm install --save gatsby-plugin-glamor glamor` ## How to use diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index 8f6b5deaa2d96..c2bbb1e306e40 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -4,7 +4,9 @@ "version": "2.0.0-alpha.f20ac0ed", "author": "Kyle Mathews ", "dependencies": { - "babel-runtime": "^6.26.0", + "babel-runtime": "^6.26.0" + }, + "peerDependencies": { "glamor": "^2.20.29" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 5c2cf60027513..ec965a6e4ff70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5342,6 +5342,22 @@ gatsby-remark-smartypants@canary: retext-smartypants "^2.0.0" unist-util-visit "^1.1.1" +gatsby-source-filesystem@^1.5.14: + version "1.5.14" + resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-1.5.14.tgz#2d016615ca03e32f1ec0e453d4c7e87fd7966f15" + dependencies: + babel-cli "^6.26.0" + babel-runtime "^6.26.0" + bluebird "^3.5.0" + chokidar "^1.7.0" + fs-extra "^4.0.1" + got "^7.1.0" + md5-file "^3.1.1" + mime "^1.3.6" + pretty-bytes "^4.0.2" + slash "^1.0.0" + valid-url "^1.0.9" + gatsby-source-filesystem@canary: version "2.0.0-alpha.aeb05561" resolved "https://registry.yarnpkg.com/gatsby-source-filesystem/-/gatsby-source-filesystem-2.0.0-alpha.aeb05561.tgz#486f348930b4b1dbbb18445aa7c89e13deb2d936"