diff --git a/packages/gatsby-plugin-jss/README.md b/packages/gatsby-plugin-jss/README.md index 685d1fc9b25fe..fdf175a7c663f 100644 --- a/packages/gatsby-plugin-jss/README.md +++ b/packages/gatsby-plugin-jss/README.md @@ -5,7 +5,7 @@ Provide drop-in support for using the css-in-js library ## Install -`npm install --save gatsby-plugin-jss` +`npm install --save gatsby-plugin-jss react-jss` ## How to use diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 905f7fbe9651b..344bd45937330 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-jss", - "version": "1.5.10", + "version": "2.0.0", "description": "Gatsby plugin that adds SSR support for JSS", "main": "index.js", "scripts": { @@ -17,7 +17,9 @@ "author": "Vladimir Guguiev ", "license": "MIT", "dependencies": { - "babel-runtime": "^6.26.0", + "babel-runtime": "^6.26.0" + }, + "peerDependencies": { "react-jss": "^7.0.2" }, "devDependencies": { diff --git a/packages/gatsby-plugin-lodash/README.md b/packages/gatsby-plugin-lodash/README.md index 6a5c520475019..0874f8d227ec5 100644 --- a/packages/gatsby-plugin-lodash/README.md +++ b/packages/gatsby-plugin-lodash/README.md @@ -4,7 +4,7 @@ Adds the Lodash webpack & Babel plugins for easy modular, small Lodash builds. ## Install -`npm install --save gatsby-plugin-lodash` +`npm install --save gatsby-plugin-lodash lodash` ## How to use diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index b848a7ab0ba19..50f0e3dc0bb17 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-lodash", - "version": "1.0.8", + "version": "2.0.0", "description": "Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build", "main": "index.js", "scripts": { @@ -16,9 +16,11 @@ "dependencies": { "babel-plugin-lodash": "^3.2.11", "babel-runtime": "^6.26.0", - "lodash": "^4.17.4", "lodash-webpack-plugin": "^0.11.4" }, + "peerDependencies": { + "lodash": "^4.17.4" + }, "devDependencies": { "babel-cli": "^6.26.0", "cross-env": "^5.0.5" diff --git a/packages/gatsby-plugin-preact/README.md b/packages/gatsby-plugin-preact/README.md index 8a4d950fc6ecf..d78626e2a0998 100644 --- a/packages/gatsby-plugin-preact/README.md +++ b/packages/gatsby-plugin-preact/README.md @@ -8,7 +8,7 @@ React. ## Install -`npm install --save gatsby-plugin-preact` +`npm install --save gatsby-plugin-preact preact preact-compat` ## How to use diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index de4c0320a9b2a..d1097ccb5ad0a 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-preact", - "version": "2.0.0-alpha.f20ac0ed", + "version": "2.0.0", "description": "A Gatsby plugin which replaces React with Preact", "main": "index.js", "scripts": { @@ -16,7 +16,9 @@ "author": "Kyle Mathews ", "license": "MIT", "dependencies": { - "babel-runtime": "^6.26.0", + "babel-runtime": "^6.26.0" + }, + "peerDependencies": { "preact": "^8.2.5", "preact-compat": "^3.17.0" }, diff --git a/packages/gatsby-plugin-react-next/README.md b/packages/gatsby-plugin-react-next/README.md index 627338aa2c5e4..980cea244750c 100644 --- a/packages/gatsby-plugin-react-next/README.md +++ b/packages/gatsby-plugin-react-next/README.md @@ -7,7 +7,7 @@ site is drop-in upgrade to React 16. ## Install -`npm install --save gatsby-plugin-react-next` +`npm install --save gatsby-plugin-react-next react react-dom` ## How to use diff --git a/packages/gatsby-plugin-react-next/package.json b/packages/gatsby-plugin-react-next/package.json index 2e5022f1c7e71..dc5c91512608f 100644 --- a/packages/gatsby-plugin-react-next/package.json +++ b/packages/gatsby-plugin-react-next/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-react-next", - "version": "1.0.8", + "version": "2.0.0", "description": "Use React 16 with your Gatsby v1 site", "main": "index.js", "scripts": { @@ -16,10 +16,12 @@ "dependencies": { "babel-runtime": "^6.26.0", "core-js": "^2.5.1", - "react": "^16.0.0", - "react-dom": "^16.0.0", "resolve": "^1.5.0" }, + "peerDependencies": { + "react": "^16.0.0", + "react-dom": "^16.0.0" + }, "devDependencies": { "babel-cli": "^6.26.0", "cross-env": "^5.0.5" diff --git a/packages/gatsby-plugin-typography/README.md b/packages/gatsby-plugin-typography/README.md index 139668c5ff1b7..8593a4a941948 100644 --- a/packages/gatsby-plugin-typography/README.md +++ b/packages/gatsby-plugin-typography/README.md @@ -8,7 +8,7 @@ See it in action in the [Tutorial](https://www.gatsbyjs.org/tutorial/part-two/) ## Install -`npm install --save gatsby-plugin-typography` +`npm install --save gatsby-plugin-typography react-typography typography` ## Why to use diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index 197cff2e450a3..d2ddb22d6393e 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -1,10 +1,12 @@ { "name": "gatsby-plugin-typography", - "version": "1.7.12", + "version": "2.0.0", "description": "Gatsby plugin to setup server rendering of Typography.js' CSS", "main": "index.js", "dependencies": { - "babel-runtime": "^6.26.0", + "babel-runtime": "^6.26.0" + }, + "peerDependencies": { "react-typography": "^0.16.1", "typography": "^0.16.0" }, diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 89f6171536fbf..86ae9c5613fae 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -90,9 +90,7 @@ "postcss-loader": "^2.0.6", "postcss-reporter": "^5.0.0", "raw-loader": "^0.5.1", - "react": "^16.2.0", "react-dev-utils": "^4.2.1", - "react-dom": "^16.2.0", "react-error-overlay": "^3.0.0", "react-hot-loader": "^3.0.0-beta.6", "react-router": "^4.1.1", @@ -121,6 +119,10 @@ "webpack-stats-plugin": "^0.1.5", "yaml-loader": "^0.5.0" }, + "peerDependencies": { + "react": "^16.2.0", + "react-dom": "^16.2.0" + }, "devDependencies": { "babel-cli": "^6.26.0", "chokidar": "^2.0.0",