-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update fixtures with Prettier formatting
- Loading branch information
James M. Greene
authored and
James M. Greene
committed
Aug 5, 2022
1 parent
d949e15
commit da85ca4
Showing
13 changed files
with
47 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| // Default Pages configuration for Gatsby | ||
| module.exports = { pathPrefix: "/docs/" } | ||
| module.exports = { pathPrefix: '/docs/' } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| // This file is not read by the test suite | ||
| // This file is not read by the test suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| module.exports = { | ||
| pathPrefix: "/docs/", | ||
| pathPrefix: '/docs/', | ||
| siteMetadata: { | ||
| title: `My Gatsby Site`, | ||
| siteUrl: `https://www.yourdomain.tld`, | ||
| siteUrl: `https://www.yourdomain.tld` | ||
| }, | ||
| plugins: [], | ||
| } | ||
| plugins: [] | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| module.exports = { | ||
| siteMetadata: { | ||
| title: `My Gatsby Site`, | ||
| siteUrl: `https://www.yourdomain.tld`, | ||
| siteUrl: `https://www.yourdomain.tld` | ||
| }, | ||
| plugins: [], | ||
| } | ||
| plugins: [] | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| // This file is not read by the test suite | ||
| // This file is not read by the test suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| /** @type {import('next').NextConfig} */ | ||
| const nextConfig = { | ||
| reactStrictMode: true, | ||
| swcMinify: true, | ||
| swcMinify: true | ||
| } | ||
|
|
||
| module.exports = nextConfig | ||
| module.exports = nextConfig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,17 @@ | ||
| const getAllDynamicRoute = async function() { | ||
| const getAllDynamicRoute = async function () { | ||
| const routes = await (async () => { | ||
| return ['/posts/hello-world', '/posts/hello-again']; | ||
| })(); | ||
| return routes; | ||
| }; | ||
| return ['/posts/hello-world', '/posts/hello-again'] | ||
| })() | ||
| return routes | ||
| } | ||
|
|
||
| export default { | ||
| target: 'static', | ||
| router: {base: '/docs/'}, | ||
| router: { base: '/docs/' }, | ||
| mode: 'universal', | ||
| generate: { | ||
| async routes () { | ||
| return getAllDynamicRoute(); | ||
| async routes() { | ||
| return getAllDynamicRoute() | ||
| } | ||
| } | ||
| }; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,15 @@ | ||
| const getAllDynamicRoute = async function() { | ||
| const getAllDynamicRoute = async function () { | ||
| const routes = await (async () => { | ||
| return ['/posts/hello-world', '/posts/hello-again']; | ||
| })(); | ||
| return routes; | ||
| }; | ||
| return ['/posts/hello-world', '/posts/hello-again'] | ||
| })() | ||
| return routes | ||
| } | ||
|
|
||
| export default { | ||
| mode: 'universal', | ||
| generate: { | ||
| async routes () { | ||
| return getAllDynamicRoute(); | ||
| async routes() { | ||
| return getAllDynamicRoute() | ||
| } | ||
| } | ||
| }; | ||
| } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| // Default Pages configuration for Nuxt | ||
| export default {target: 'static', router: {base: '/docs/'}} | ||
| export default { target: 'static', router: { base: '/docs/' } } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| // This file is not read by the test suite | ||
| // This file is not read by the test suite |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters