Skip to content

Commit 699c526

Browse files
authored
fix(docs): Remove --save from install prompts (#26985)
1 parent 1b87ef6 commit 699c526

File tree

60 files changed

+76
-76
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+76
-76
lines changed

docs/docs/add-a-manifest-file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Quoting [Google](https://developers.google.com/web/fundamentals/web-app-manifest
2121
1. Install the plugin:
2222

2323
```shell
24-
npm install --save gatsby-plugin-manifest
24+
npm install gatsby-plugin-manifest
2525
```
2626

2727
2. Add a favicon for your app under `src/images/icon.png`. The icon is necessary to build all images for the manifest. For more information look at the docs of [`gatsby-plugin-manifest`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-manifest/README.md).

docs/docs/add-a-service-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can use this plugin together with the [manifest plugin](https://www.npmjs.co
1616

1717
## Installing `gatsby-plugin-offline`
1818

19-
`npm install --save gatsby-plugin-offline`
19+
`npm install gatsby-plugin-offline`
2020

2121
Add this plugin to your `gatsby-config.js`
2222

docs/docs/add-offline-support-with-a-service-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ We recommend using this plugin together with the [manifest plugin](https://www.n
2121

2222
## Installing `gatsby-plugin-offline`
2323

24-
`npm install --save gatsby-plugin-offline`
24+
`npm install gatsby-plugin-offline`
2525

2626
Add this plugin to your `gatsby-config.js`
2727

docs/docs/add-page-metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Gatsby's [react helmet plugin](/packages/gatsby-plugin-react-helmet/) provides d
1515
1. Install both packages:
1616

1717
```shell
18-
npm install --save gatsby-plugin-react-helmet react-helmet
18+
npm install gatsby-plugin-react-helmet react-helmet
1919
```
2020

2121
2. Add the plugin to the `plugins` array in your `gatsby-config.js` file.

docs/docs/adding-an-rss-feed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Think of it as a syndicated distribution channel for your site's content.
1313
To generate an RSS feed, you can use the [`gatsby-plugin-feed`](/packages/gatsby-plugin-feed/) package. To install this package, run the following command:
1414

1515
```shell
16-
npm install --save gatsby-plugin-feed
16+
npm install gatsby-plugin-feed
1717
```
1818

1919
## How to use [gatsby-plugin-feed](/packages/gatsby-plugin-feed/)

docs/docs/adding-analytics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Now, it's time to configure Gatsby to send page views to your Google Analytics a
3333
We are going to use `gatsby-plugin-google-analytics`. For other analytics options (including Google Analytics gtag.js and Google Tag Manager), check [other Gatsby analytics plugins](#other-gatsby-analytics-plugins).
3434

3535
```shell
36-
npm install --save gatsby-plugin-google-analytics
36+
npm install gatsby-plugin-google-analytics
3737
```
3838

3939
```js:title=gatsby-config.js

docs/docs/adding-markdown-pages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use the plugin [`gatsby-source-filesystem`](/packages/gatsby-source-filesystem/#
1919

2020
### Install
2121

22-
`npm install --save gatsby-source-filesystem`
22+
`npm install gatsby-source-filesystem`
2323

2424
### Add plugin
2525

@@ -47,7 +47,7 @@ You'll use the plugin [`gatsby-transformer-remark`](/packages/gatsby-transformer
4747

4848
### Install transformer plugin
4949

50-
`npm install --save gatsby-transformer-remark`
50+
`npm install gatsby-transformer-remark`
5151

5252
### Configure plugin
5353

docs/docs/adding-page-transitions-with-plugin-transition-link.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For other page transition options, see the [overview on adding page animations](
1717
First, install the plugin:
1818

1919
```shell
20-
npm install --save gatsby-plugin-transition-link
20+
npm install gatsby-plugin-transition-link
2121
```
2222

2323
Make sure to add the plugin to your `gatsby-config.js`:
@@ -43,7 +43,7 @@ You can use the `AniLink` component to add page transitions without having to de
4343
To use AniLink, you will need to install the `gsap` animation library:
4444
4545
```shell
46-
npm install --save gsap
46+
npm install gsap
4747
```
4848
4949
Then, import the AniLink component:

docs/docs/adding-search-with-js-search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ After the process is complete, some additional packages are needed.
2525
Change directories to the `js-search-example` folder and issue the following command:
2626

2727
```shell
28-
npm install --save js-search axios
28+
npm install js-search axios
2929
```
3030

3131
Or if Yarn is being used:

docs/docs/building-an-ecommerce-site-with-shopify.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you are already comfortable with Gatsby and Shopify, you might want to check
2020
2. Install the [`gatsby-source-shopify`](/packages/gatsby-source-shopify/) plugin and [`shopify-buy`](https://github.com/Shopify/js-buy-sdk) package.
2121

2222
```shell
23-
npm install --save gatsby-source-shopify shopify-buy
23+
npm install gatsby-source-shopify shopify-buy
2424
```
2525

2626
3. Enable and configure the plugin in your `gatsby-config.js` file, replacing [some-shop] with your shop name and [token] with your Storefront access token.

docs/docs/creating-a-sitemap.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Think of it as a map for your website. It shows what all of the pages are on you
1313
To generate an XML sitemap, you will use the [`gatsby-plugin-sitemap`](/packages/gatsby-plugin-sitemap/) package.
1414

1515
Install the package by running the following command:
16-
`npm install --save gatsby-plugin-sitemap`
16+
`npm install gatsby-plugin-sitemap`
1717

1818
### How to configure
1919

docs/docs/creating-a-transformer-plugin.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Now, transform the newly created `File` nodes by hooking into the `onCreateNode`
107107
If you're following along in an example project, install the following packages:
108108

109109
```shell
110-
npm install --save js-yaml lodash
110+
npm install js-yaml lodash
111111
```
112112

113113
Now, in `gatsby-node.js`:

docs/docs/creating-slugs-for-pages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The logic for creating slugs from file names can get tricky, the `gatsby-source-
66

77
## Install
88

9-
`npm install --save gatsby-source-filesystem`
9+
`npm install gatsby-source-filesystem`
1010

1111
## Create slugs in gatsby-node.js
1212

docs/docs/data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ In order to fetch data at build time, you can use a source plugin or source data
3232
To source data using an existing source plugin you need to install a plugin and add it to your [config](/docs/api-files-gatsby-config/). To use `gatsby-source-graphql`, first install it:
3333

3434
```shell
35-
npm install --save gatsby-source-graphql
35+
npm install gatsby-source-graphql
3636
```
3737

3838
Then, add the plugin to your `gatsby-config`:

docs/docs/emotion.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ gatsby new emotion-tutorial https://github.com/gatsbyjs/gatsby-starter-hello-wor
1717
Second, install the necessary dependencies for Emotion and Gatsby.
1818

1919
```shell
20-
npm install --save gatsby-plugin-emotion @emotion/core @emotion/styled
20+
npm install gatsby-plugin-emotion @emotion/core @emotion/styled
2121
```
2222

2323
And then add the plugin to your site's `gatsby-config.js`:
@@ -123,7 +123,7 @@ To start, create a new Gatsby site with the [hello world starter](https://github
123123
```shell
124124
gatsby new global-styles https://github.com/gatsbyjs/gatsby-starter-hello-world
125125
cd global-styles
126-
npm install --save gatsby-plugin-emotion @emotion/core @emotion/styled
126+
npm install gatsby-plugin-emotion @emotion/core @emotion/styled
127127
```
128128

129129
Create `gatsby-config.js` and add the Emotion plugin:

docs/docs/gatsby-image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To start working with Gatsby Image, install the `gatsby-image` package along wit
1515
A common way to source images is to install and use `gatsby-source-filesystem` to connect your local files, but other source plugins can be used as well, such as `gatsby-source-contentful`, `gatsby-source-datocms` and `gatsby-source-sanity`.
1616

1717
```shell
18-
npm install --save gatsby-image gatsby-plugin-sharp gatsby-transformer-sharp
18+
npm install gatsby-image gatsby-plugin-sharp gatsby-transformer-sharp
1919
```
2020

2121
```js:title=gatsby-config.js

docs/docs/glossary/decoupled-drupal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A decoupled Drupal architecture offers two key advantages over a tightly coupled
2323
To use Drupal as a content source for Gatsby, add the [`gatsby-source-drupal`](/packages/gatsby-source-drupal/) plugin to your project. As with Gatsby itself, you install the `gatsby-source-drupal` plugin using [npm](/docs/glossary/#npm).
2424

2525
```shell
26-
npm install --save gatsby-source-drupal
26+
npm install gatsby-source-drupal
2727
```
2828

2929
A decoupled Drupal architecture lets you use the full power of Drupal's content management tools while gaining the performance advantages of a static Gatsby site.

docs/docs/glossary/headless-wordpress.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The WordPress REST API, on the other hand, returns JSON instead of HTML. Using a
1818
Gatsby [supports WordPress](/docs/sourcing-from-wordpress/) as a content source with the [`gatsby-source-wordpress`](/packages/gatsby-source-wordpress/) plugin. As with Gatsby, you can install the `gatsby-source-wordpress` plugin using [npm](/docs/glossary/#npm):
1919

2020
```shell
21-
npm install --save gatsby-source-wordpress
21+
npm install gatsby-source-wordpress
2222
```
2323

2424
The `gatsby-source-wordpress` plugin works with self-hosted WordPress sites, and those hosted by WordPress.com. Be aware, however, that the WordPress.com API supports a smaller set of features than that of self-hosted WordPress sites. It's also compatible with the [Advanced Custom Fields](https://www.advancedcustomfields.com/) plugin.

docs/docs/glossary/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ When converted to HTML, the preceding Markdown will become the markup below.
5050
You can use Markdown files as a content source for your Gatsby site. To do so, you'll need to install two plugins: [`gatsby-source-filesystem`](/packages/gatsby-source-filesystem) and [`gatsby-transformer-remark`](/packages/gatsby-transformer-remark/). As with Gatsby itself, you can install both using [npm](/docs/glossary/#npm).
5151

5252
```shell
53-
npm install --save gatsby-source-filesystem gatsby-transformer-remark
53+
npm install gatsby-source-filesystem gatsby-transformer-remark
5454
```
5555

5656
The `gatsby-source-filesystem` plugin reads files from your computer. The `gatsby-transformer-remark` plugin makes the contents of your Markdown files available to GraphQL.

docs/docs/glossary/mdx.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gatsby new my-mdx-starter https://github.com/ChristopherBiscardi/gatsby-starter-
5656
To use MDX with an existing Gatsby site, add the [`gatsby-plugin-mdx`](/packages/gatsby-plugin-mdx/?=gatsby-plugin-mdx) plugin. As with Gatsby itself, you can install it using [npm](/docs/glossary/#npm). You'll also need to install MDX itself, and the React implementation of MDX.
5757

5858
```shell
59-
npm install --save gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
59+
npm install gatsby-plugin-mdx @mdx-js/mdx @mdx-js/react
6060
```
6161

6262
Then add `gatsby-plugin-mdx` to your plugins list in `gatsby-config.js`, and set the [configuration options](/packages/gatsby-plugin-mdx/?=gatsby-plugin-mdx#configuration) you prefer.

docs/docs/glossary/wpgraphql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ You'll need to do two more things before you can use your WordPress-backed Graph
4242
Use [npm](/docs/glossary#npm) to install [gatsby-source-graphql](/docs/third-party-graphql/).
4343

4444
```shell
45-
npm install --save gatsby-source-graphql
45+
npm install gatsby-source-graphql
4646
```
4747

4848
Then update `gatsby-config.js`. Add the plugin to your Gatsby instance. Specify the URL of the GraphQL endpoint and set other [configuration options](/packages/gatsby-source-graphql/).

docs/docs/migrating-from-v0-to-v1.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ git mv utils src
2727
automatically prefixes urls and handles prefetching. Add `gatsby-link` to your
2828
project by running:
2929

30-
`npm install --save gatsby-link`
30+
`npm install gatsby-link`
3131

3232
`gatsby-link` auto-detects whether to use a plain `<Link>` or `<NavLink>` based
3333
on what props you pass it. There's no need to wrap `<IndexLink>` because it was
@@ -123,7 +123,7 @@ Here's an example of migrating a markdown wrapper to Gatsby v1.
123123

124124
Install Gatsby plugins for handling markdown files.
125125

126-
`npm install --save gatsby-source-filesystem@next gatsby-transformer-remark@next gatsby-remark-copy-linked-files@next gatsby-remark-prismjs@next gatsby-remark-responsive-iframe@next gatsby-remark-images@next gatsby-remark-smartypants@next gatsby-plugin-sharp@next`
126+
`npm install gatsby-source-filesystem@next gatsby-transformer-remark@next gatsby-remark-copy-linked-files@next gatsby-remark-prismjs@next gatsby-remark-responsive-iframe@next gatsby-remark-images@next gatsby-remark-smartypants@next gatsby-plugin-sharp@next`
127127

128128
Next add them to your `gatsby-config.js` file. Make your config file look
129129
something like the following:

docs/docs/migrating-from-v1-to-v2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Use [`gatsby-plugin-postcss`](https://github.com/gatsbyjs/gatsby/tree/master/pac
345345

346346
#### 1. Install the dependencies
347347

348-
`npm install --save gatsby-plugin-postcss postcss-import postcss-cssnext postcss-browser-reporter postcss-reporter`
348+
`npm install gatsby-plugin-postcss postcss-import postcss-cssnext postcss-browser-reporter postcss-reporter`
349349

350350
**NOTE**: `postcss-cssnext` is [deprecated](https://moox.io/blog/deprecating-cssnext/) and it is better to use `postcss-preset-env`.
351351

docs/docs/porting-an-html-site-to-gatsby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default function Home() {
134134
You might have noticed that the component in `/src/pages/index.js` doesn't include `<html>`, `<head>` or `<body>`. Gatsby makes a default HTML structure for each page and places the output from `/src/pages/index.js` into its body. More `<head>` child elements and HTML attributes are added to the output page with a module called [React Helmet](https://github.com/nfl/react-helmet). React Helmet is added to a Gatsby project in the command line with npm and then to the Gatsby config file:
135135

136136
```shell
137-
npm install --save react-helmet gatsby-plugin-react-helmet
137+
npm install react-helmet gatsby-plugin-react-helmet
138138
```
139139

140140
Gatsby projects have a config file at `/gatsby-config.js` where site metadata and options can be specified and plugins added. Add a plugin line with `gatsby-plugin-react-helmet` to your config file:

docs/docs/porting-from-create-react-app-to-gatsby.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ In order to transition your codebase over to using Gatsby, a few things need to
4444
In order to use Gatsby, you have to install it:
4545

4646
```shell
47-
npm install --save gatsby
47+
npm install gatsby
4848
```
4949

5050
> **Note**: rather than using the `gatsby new` command like you would initializing a new Gatsby site, this will install Gatsby as a dependency in your project

docs/docs/post-css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This guide assumes that you have a Gatsby project set up. If you need to set up
1111
1. Install the Gatsby plugin [gatsby-plugin-postcss](/packages/gatsby-plugin-postcss/).
1212

1313
```shell
14-
npm install --save gatsby-plugin-postcss
14+
npm install gatsby-plugin-postcss
1515
```
1616

1717
2. Include the plugin in your `gatsby-config.js` file.

docs/docs/recipes/sourcing-data.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export const pageQuery = graphql`
220220
1. Install the `gatsby-source-wordpress` plugin by running the following command:
221221

222222
```shell
223-
npm install gatsby-source-wordpress --save
223+
npm install gatsby-source-wordpress
224224
```
225225

226226
2. Configure the plugin by modifying the `gatsby-config.js` file such that it includes the following:
@@ -377,7 +377,7 @@ contentful space accesstoken create -s '<space ID>' --name 'Example token'
377377
5. Install the `gatsby-source-contentful` plugin in your Gatsby site:
378378

379379
```shell
380-
npm install --save gatsby-source-contentful
380+
npm install gatsby-source-contentful
381381
```
382382

383383
6. Edit the file `gatsby-config.js` and add the `gatsby-source-contentful` to the `plugins` array to enable the plugin. You should strongly consider using [environment variables](/docs/environment-variables/) to store your space ID and token for security purposes.
@@ -550,7 +550,7 @@ export default function AllPokemon({ pageContext: { allPokemon } }) {
550550
1. Install the `gatsby-source-drupal` plugin.
551551

552552
```shell
553-
npm install --save gatsby-source-drupal
553+
npm install gatsby-source-drupal
554554
```
555555

556556
2. Edit your `gatsby-config.js` file to enable the plugin and configure it.

docs/docs/recipes/styling-css.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ Sass will compile `.scss` and `.sass` files to `.css` files for you, so you can
232232

233233
1. Install the Gatsby plugin [gatsby-plugin-sass](/plugins/gatsby-plugin-sass/) and `node-sass`.
234234

235-
`npm install --save node-sass gatsby-plugin-sass`
235+
`npm install node-sass gatsby-plugin-sass`
236236

237237
2. Include the plugin in your `gatsby-config.js` file.
238238

@@ -323,7 +323,7 @@ If fonts are not updating following steps above, make sure to replace the existi
323323
1. Install the [Gatsby Emotion plugin](/packages/gatsby-plugin-emotion/) and Emotion packages.
324324

325325
```shell
326-
npm install --save gatsby-plugin-emotion @emotion/core @emotion/styled
326+
npm install gatsby-plugin-emotion @emotion/core @emotion/styled
327327
```
328328

329329
2. Add the `gatsby-plugin-emotion` plugin to your `gatsby-config.js` file:
@@ -399,9 +399,9 @@ Hosting your own [Google Fonts](https://fonts.google.com/) locally within a proj
399399

400400
### Directions
401401

402-
1. Run `npm install --save typeface-your-chosen-font`, replacing `your-chosen-font` with the name of the font you want to install from [the typefaces project](https://github.com/KyleAMathews/typefaces).
402+
1. Run `npm install typeface-your-chosen-font`, replacing `your-chosen-font` with the name of the font you want to install from [the typefaces project](https://github.com/KyleAMathews/typefaces).
403403

404-
An example to load the popular 'Source Sans Pro' font would be: `npm install --save typeface-source-sans-pro`.
404+
An example to load the popular 'Source Sans Pro' font would be: `npm install typeface-source-sans-pro`.
405405

406406
2. Add `import "typeface-your-chosen-font"` to a layout template, page component, or `gatsby-browser.js`.
407407

docs/docs/sass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This guide assumes that you have a Gatsby project set up. If you need to set up
1414

1515
1. Install the Gatsby plugin [**gatsby-plugin-sass**](/packages/gatsby-plugin-sass/) and `node-sass`, a required peer dependency as of v2.0.0.
1616

17-
`npm install --save node-sass gatsby-plugin-sass`
17+
`npm install node-sass gatsby-plugin-sass`
1818

1919
2. Include the plugin in your `gatsby-config.js` file.
2020

docs/docs/setting-up-gatsby-without-gatsby-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Fill out the prompts for the `package.json` file that is generated. If you'd lik
3131
Now, you'll need to install the necessary packages that Gatsby relies on to work its magic.
3232

3333
```shell
34-
npm install --save gatsby react react-dom
34+
npm install gatsby react react-dom
3535
```
3636

3737
Next, you'll add a `src` directory and a `pages` directory inside your project.

docs/docs/sourcing-content-from-json-or-yaml.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ For this example, you will need to add an extra dependency so that the file cont
133133
Open your terminal, navigate to the folder containing the Gatsby site, and issue the following command:
134134

135135
```shell
136-
npm install --save js-yaml
136+
npm install js-yaml
137137
```
138138

139139
This newly added package will be responsible for loading and parsing the YAML file safely.

docs/docs/sourcing-from-contentful.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ As far as pushing data out to your site goes, we suggest to you to use this fant
2323
## Install
2424

2525
```shell
26-
npm install --save gatsby-source-contentful
26+
npm install gatsby-source-contentful
2727
```
2828

2929
## How to use

docs/docs/sourcing-from-flotiq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Here are the steps to use this source plugin in other Gatsby projects:
7474
7575
1. Install the plugin:
7676
```shell
77-
npm install --save gatsby-source-flotiq
77+
npm install gatsby-source-flotiq
7878
```
7979
2. Provide API credentials in `.env` (see above for more details)
8080
3. Register the source plugin in `gatsby-config.js`:

docs/docs/sourcing-from-gentics-mesh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Additionally, you need the `gatsby-source-graphql` plugin. Because Gentics Mesh
3939
Install the plugin:
4040

4141
```shell
42-
npm install --save gatsby-source-graphql
42+
npm install gatsby-source-graphql
4343
```
4444

4545
### Configure the plugin

docs/docs/sourcing-from-ghost.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The fastest way to get started is with the official **Gatsby Starter Ghost** rep
2626
If you prefer to start from scratch or integrate the Ghost Content API into an existing site, you can set up the **Gatsby Source Ghost** plugin.
2727

2828
```shell
29-
npm install --save gatsby-source-ghost
29+
npm install gatsby-source-ghost
3030
```
3131

3232
### Configuration

docs/docs/sourcing-from-graphcms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can install this component with:
3030

3131
```shell
3232
# Optionally with `npm install`
33-
npm install --save gatsby-source-graphql
33+
npm install gatsby-source-graphql
3434
```
3535

3636
### Configure the plugin

0 commit comments

Comments
 (0)