Skip to content

Commit

Permalink
chore(*): replace gatsby.app with gatsby.dev (#12153)
Browse files Browse the repository at this point in the history
## Description

Replace gatsby.app with gatsby.dev

Command used to find all files:

```
grep -rl 'gatsby\.app' --exclude-dir=.git --exclude-dir=.idea --exclude-dir=node_modules .
```

Command used to replace files: 

```
grep -rl 'gatsby\.app' --exclude-dir=.git --exclude-dir=.idea --exclude-dir=node_modules ./ | xargs sed -i 's/gatsby.app/gatsby.dev/g'
```

## Related Issues
Fixes #12152
  • Loading branch information
piotrkwiecinski authored and DSchau committed Feb 27, 2019
1 parent afa0f1e commit 66ebe95
Show file tree
Hide file tree
Showing 32 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ about: Usage question or discussion about Gatsby.
Gatsby has several community support channels, try asking your question on:
- Discord: https://gatsby.app/discord
- Discord: https://gatsby.dev/discord
- Spectrum: https://spectrum.chat/gatsby-js
- Twitter: https://twitter.com/gatsbyjs
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
Have any questions? Check out the contributing docs at https://gatsby.app/contribute, or
Have any questions? Check out the contributing docs at https://gatsby.dev/contribute, or
ask in this Pull Request and a Gatsby maintainer will be happy to help :)
-->

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<span> · </span>
Support: <a href="https://spectrum.chat/gatsby-js">Spectrum</a>
<span> & </span>
<a href="https://gatsby.app/discord">Discord</a>
<a href="https://gatsby.dev/discord">Discord</a>
</h3>

Gatsby is a modern framework for blazing fast websites.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,6 @@ reactions and what kind of problems you face that you think Gatsby will help
with.

If you're interested in contributing, please join the
[Gatsby Discord](https://gatsby.app/discord), check out the
[Gatsby Discord](https://gatsby.dev/discord), check out the
[issues](https://github.com/gatsbyjs/gatsby/issues), and help bikeshed on names
and APIs and other ideas.
2 changes: 1 addition & 1 deletion docs/blog/2018-09-07-gatsby-values/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ While we need to stick to our roadmap and make steady progress toward our compan

Open source doesn’t have the best reputation for being friendly and welcoming, and that makes us sad. **Everyone belongs in open source, and Gatsby is dedicated to making you feel welcome.**

We will never judge, condescend, or exclude anyone. Instead, we will go above and beyond to support the community, through [pair programming](https://gatsby.app/pairing), offering [free swag for contributors](https://gatsby.app/swag), giving control to the community by [auto-inviting all contributors to the Gatsby GitHub org](https://github.com/gatsbyjs/gatsby/pull/7699#issuecomment-416665803), an open and inclusive [code of conduct](/contributing/code-of-conduct/), and other means that empower and embrace the incredible community that makes Gatsby possible.
We will never judge, condescend, or exclude anyone. Instead, we will go above and beyond to support the community, through [pair programming](https://gatsby.dev/pairing), offering [free swag for contributors](https://gatsby.dev/swag), giving control to the community by [auto-inviting all contributors to the Gatsby GitHub org](https://github.com/gatsbyjs/gatsby/pull/7699#issuecomment-416665803), an open and inclusive [code of conduct](/contributing/code-of-conduct/), and other means that empower and embrace the incredible community that makes Gatsby possible.

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Huge shoutout to <a href="https://twitter.com/gatsbyjs?ref_src=twsrc%5Etfw">@gatsbyjs</a>. Not only have hey been the perfect open source project for Lambda School students to contribute to, but the whole community goes above and beyond in helping students understand the OSS ecosystem generally</p>&mdash; Austen Allred (@AustenAllred) <a href="https://twitter.com/AustenAllred/status/1038084753008652289?ref_src=twsrc%5Etfw">September 7, 2018</a></blockquote>

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/community-contributions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ We welcome all contributions from you in the community, and would be thrilled to
- [Submit to Starter Library](/contributing/submit-to-starter-library/)
- [Submit to Plugin Library](/contributing/submit-to-plugin-library/)

Peruse through the rest of our contributor docs and reach out to us on [Twitter](https://twitter.com/gatsbyjs), [Discord](https://gatsby.app/discord), or in a [GitHub issue](/contributing/how-to-file-an-issue/) if you have any questions about contributing!
Peruse through the rest of our contributor docs and reach out to us on [Twitter](https://twitter.com/gatsbyjs), [Discord](https://gatsby.dev/discord), or in a [GitHub issue](/contributing/how-to-file-an-issue/) if you have any questions about contributing!
2 changes: 1 addition & 1 deletion docs/contributing/community.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tagged with **gatsby** or
### Discord

If you need an answer right away, check out the
[Gatsby Discord](https://gatsby.app/discord). Community & team members are happy to help you out or point you to
[Gatsby Discord](https://gatsby.dev/discord). Community & team members are happy to help you out or point you to
useful resources.

### Hashnode
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/gatsby-style-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ it in a clear, accurate, and objective manner. You'll likely go through several
rounds of proofreading and editing before you're happy with your writing.

Also, there's a community of contributors to support you. Bounce ideas off of them and ask for input on your writing in the
[Gatsby Discord](https://gatsby.app/discord) and in the [GitHub repo](https://github.com/gatsbyjs/gatsby).
[Gatsby Discord](https://gatsby.dev/discord) and in the [GitHub repo](https://github.com/gatsbyjs/gatsby).

## Word choice

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/how-to-file-an-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ If you want your issue to be resolved quickly, please include in your issue:
`gatsby-node.js`, `gatsby-browser.js` `gatsby-ssr.js` files depending on
changes you've made there.

Please do not use the issue tracker for personal support requests. [Stack Overflow](http://stackoverflow.com/questions/ask?tags=gatsby) (**gatsby** tag) and the [Gatsby Discord](https://gatsby.app/discord) are better places to get help.
Please do not use the issue tracker for personal support requests. [Stack Overflow](http://stackoverflow.com/questions/ask?tags=gatsby) (**gatsby** tag) and the [Gatsby Discord](https://gatsby.dev/discord) are better places to get help.

### Special Note on Issues

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/where-to-participate.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ We want contributing to Gatsby to be fun, enjoyable, and educational for anyone
- Adding unit or functional tests
- Triaging [GitHub issues](https://github.com/gatsbyjs/gatsby/issues) -- especially determining whether an issue still persists or is reproducible
- [Reporting bugs or issues](/contributing/how-to-file-an-issue/)
- Searching for Gatsby on [Discord](https://gatsby.app/discord) or [Spectrum](https://spectrum.chat/gatsby-js) and helping someone else who needs help
- Searching for Gatsby on [Discord](https://gatsby.dev/discord) or [Spectrum](https://spectrum.chat/gatsby-js) and helping someone else who needs help
- Teaching others how to contribute to Gatsby's repo!

As our way of saying “thank you” to our contributors, **_all contributors_ are eligible for [free Gatsby swag](/contributing/contributor-swag/)** — whether you’re contributing code, docs, a talk, an article, or something else that helps the Gatsby community. [Learn how to claim free swag for contributors.](/contributing/contributor-swag/)
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/development-runtime/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ module.exports = {
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.app/offline
// To learn more, visit: https://gatsby.dev/offline
// 'gatsby-plugin-offline',
],
}
4 changes: 2 additions & 2 deletions e2e-tests/development-runtime/src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import Img from "gatsby-image"
* component, rather than having to pass the image data down from pages.
*
* For more information, see the docs:
* - `gatsby-image`: https://gatsby.app/gatsby-image
* - `StaticQuery`: https://gatsby.app/staticquery
* - `gatsby-image`: https://gatsby.dev/gatsby-image
* - `StaticQuery`: https://gatsby.dev/staticquery
*/

const Image = () => (
Expand Down
4 changes: 2 additions & 2 deletions examples/using-jest/src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import Img from 'gatsby-image'
* component, rather than having to pass the image data down from pages.
*
* For more information, see the docs:
* - `gatsby-image`: https://gatsby.app/gatsby-image
* - `StaticQuery`: https://gatsby.app/staticquery
* - `gatsby-image`: https://gatsby.dev/gatsby-image
* - `StaticQuery`: https://gatsby.dev/staticquery
*/

const Image = () => (
Expand Down
2 changes: 1 addition & 1 deletion examples/using-js-search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"develop": "gatsby develop",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.app/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
},
"dependencies": {
"axios": "^0.18.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/using-shopify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"develop": "gatsby develop",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.app/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions integration-tests/gatsby-pipeline/src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import Img from "gatsby-image"
* component, rather than having to pass the image data down from pages.
*
* For more information, see the docs:
* - `gatsby-image`: https://gatsby.app/gatsby-image
* - `StaticQuery`: https://gatsby.app/staticquery
* - `gatsby-image`: https://gatsby.dev/gatsby-image
* - `StaticQuery`: https://gatsby.dev/staticquery
*/

const Image = () => (
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-link/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ class GatsbyLink extends React.Component {
const LOCAL_URL = /^\/(?!\/)/
if (process.env.NODE_ENV !== `production` && !LOCAL_URL.test(to)) {
console.warn(
`External link ${to} was detected in a Link component. Use the Link component only for internal links. See: https://gatsby.app/internal-links`
`External link ${to} was detected in a Link component. Use the Link component only for internal links. See: https://gatsby.dev/internal-links`
)
}

Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-source-contentful/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
resolve: `gatsby-source-contentful`,
options: {
spaceId: `your_space_id`,
// Learn about environment variables: https://gatsby.app/env-vars
// Learn about environment variables: https://gatsby.dev/env-vars
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
},
},
Expand All @@ -43,7 +43,7 @@ module.exports = {
resolve: `gatsby-source-contentful`,
options: {
spaceId: `your_space_id`,
// Learn about environment variables: https://gatsby.app/env-vars
// Learn about environment variables: https://gatsby.dev/env-vars
accessToken: process.env.CONTENTFUL_ACCESS_TOKEN,
host: `preview.contentful.com`,
},
Expand Down Expand Up @@ -249,4 +249,4 @@ After adding the transformer plugin you can use the following query to get the h
```

[dotenv]: https://github.com/motdotla/dotenv
[envvars]: https://gatsby.app/env-vars
[envvars]: https://gatsby.dev/env-vars
4 changes: 2 additions & 2 deletions packages/gatsby-source-graphql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ module.exports = {
url: "https://api.github.com/graphql",
// HTTP headers
headers: {
// Learn about environment variables: https://gatsby.app/env-vars
// Learn about environment variables: https://gatsby.dev/env-vars
Authorization: `bearer ${process.env.GITHUB_TOKEN}`,
},
// Additional options to pass to node-fetch
Expand Down Expand Up @@ -156,4 +156,4 @@ module.exports = {
```
[dotenv]: https://github.com/motdotla/dotenv
[envvars]: https://gatsby.app/env-vars
[envvars]: https://gatsby.dev/env-vars
2 changes: 1 addition & 1 deletion packages/gatsby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<span> · </span>
Support: <a href="https://spectrum.chat/gatsby-js">Spectrum</a>
<span> & </span>
<a href="https://gatsby.app/discord">Discord</a>
<a href="https://gatsby.dev/discord">Discord</a>
</h3>

Gatsby is a modern framework for blazing fast websites.
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby/src/bootstrap/load-plugins/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ const getBadExportsMessage = (badExports, exportType, apis) => {
const badExportsMigrationMap = {
modifyWebpackConfig: {
replacement: `onCreateWebpackConfig`,
migrationLink: `https://gatsby.app/update-webpack-config`,
migrationLink: `https://gatsby.dev/update-webpack-config`,
},
wrapRootComponent: {
replacement: `wrapRootElement`,
migrationLink: `https://gatsby.app/update-wraprootcomponent`,
migrationLink: `https://gatsby.dev/update-wraprootcomponent`,
},
}
const isOldAPI = Object.keys(badExportsMigrationMap).includes(
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/src/bootstrap/resolve-module-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ You'll need to edit the file to use just one or the other.
plugin: ${modulePath}.js
This didn't cause a problem in Gatsby v1 so you might want to review the migration doc for this:
https://gatsby.app/no-mixed-modules
https://gatsby.dev/no-mixed-modules
`
)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/src/commands/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ module.exports = async function build(program: BuildArgs) {
: ``
}
See our docs page on debugging HTML builds for help https://gatsby.app/debug-html
See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html
`,
err
)
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby/src/commands/develop.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function startServer(program) {
report.stripIndent`
There was an error compiling the html.js component for the development server.
See our docs page on debugging HTML builds for help https://gatsby.app/debug-html
See our docs page on debugging HTML builds for help https://gatsby.dev/debug-html
`,
err
)
Expand Down Expand Up @@ -385,11 +385,11 @@ module.exports = async (program: any) => {
const fixMap = {
boundActionCreators: {
newName: `actions`,
docsLink: `https://gatsby.app/boundActionCreators`,
docsLink: `https://gatsby.dev/boundActionCreators`,
},
pathContext: {
newName: `pageContext`,
docsLink: `https://gatsby.app/pathContext`,
docsLink: `https://gatsby.dev/pathContext`,
},
}
const deprecatedLocations = {}
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/src/utils/api-runner-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const runAPI = (plugin, api, args) => {
`graphql`
)} or http requests).
For more info and debugging tips: see ${chalk.bold(
`https://gatsby.app/sync-actions`
`https://gatsby.dev/sync-actions`
)}
`),
]
Expand Down
2 changes: 1 addition & 1 deletion starters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<span> · </span>
Support: <a href="https://spectrum.chat/gatsby-js">Spectrum</a>
<span> & </span>
<a href="https://gatsby.app/discord">Discord</a>
<a href="https://gatsby.dev/discord">Discord</a>
</h3>

Gatsby is a modern framework for blazing fast websites. This repository is our monorepo for managing all the great GatsbyJS starters for the community.
Expand Down
2 changes: 1 addition & 1 deletion starters/blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"format": "prettier --write src/**/*.{js,jsx}",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.app/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
}
}
2 changes: 1 addition & 1 deletion starters/default/gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.app/offline
// To learn more, visit: https://gatsby.dev/offline
// 'gatsby-plugin-offline',
],
}
2 changes: 1 addition & 1 deletion starters/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"format": "prettier --write src/**/*.{js,jsx}",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.app/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions starters/default/src/components/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import Img from "gatsby-image"
* component, rather than having to pass the image data down from pages.
*
* For more information, see the docs:
* - `gatsby-image`: https://gatsby.app/gatsby-image
* - `StaticQuery`: https://gatsby.app/staticquery
* - `gatsby-image`: https://gatsby.dev/gatsby-image
* - `StaticQuery`: https://gatsby.dev/staticquery
*/

const Image = () => (
Expand Down
2 changes: 1 addition & 1 deletion starters/hello-world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"format": "prettier --write src/**/*.{js,jsx}",
"start": "npm run develop",
"serve": "gatsby serve",
"test": "echo \"Write tests! -> https://gatsby.app/unit-testing\""
"test": "echo \"Write tests! -> https://gatsby.dev/unit-testing\""
},
"dependencies": {
"gatsby": "^2.1.18",
Expand Down
2 changes: 1 addition & 1 deletion www/src/components/navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const Navigation = ({ pathname }) => {
[presets.Hd]: { display: `flex` },
}}
>
<SocialNavItem href="https://gatsby.app/discord" title="Discord">
<SocialNavItem href="https://gatsby.dev/discord" title="Discord">
<DiscordIcon overrideCSS={{ verticalAlign: `text-top` }} />
</SocialNavItem>
<SocialNavItem href="https://twitter.com/gatsbyjs" title="Twitter">
Expand Down

0 comments on commit 66ebe95

Please sign in to comment.