Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2] Topics/peer dependencies #3671

Merged
merged 10 commits into from
Feb 9, 2018
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-jss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby-plugin-jss/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -17,7 +17,9 @@
"author": "Vladimir Guguiev <[email protected]>",
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.26.0",
"babel-runtime": "^6.26.0"
},
"peerDependencies": {
"react-jss": "^7.0.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-lodash/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby-plugin-lodash/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ React.

## Install

`npm install --save gatsby-plugin-preact`
`npm install --save gatsby-plugin-preact preact preact-compat`

## How to use

Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby-plugin-preact/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -16,7 +16,9 @@
"author": "Kyle Mathews <[email protected]>",
"license": "MIT",
"dependencies": {
"babel-runtime": "^6.26.0",
"babel-runtime": "^6.26.0"
},
"peerDependencies": {
"preact": "^8.2.5",
"preact-compat": "^3.17.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-react-next/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
8 changes: 5 additions & 3 deletions packages/gatsby-plugin-react-next/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-typography/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby-plugin-typography/package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand Down
6 changes: 4 additions & 2 deletions packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down