Skip to content

Commit dccba7d

Browse files
committed
files updated using the pnpm run prettier-fix command
1 parent 3075b1d commit dccba7d

File tree

48 files changed

+113
-106
lines changed

Some content is hidden

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

48 files changed

+113
-106
lines changed

crates/next-error-code-swc-plugin/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ This plugin transforms Next.js source code by:
1818
## Build Process Details
1919

2020
- **Two-Pass Build:**
21-
2221
1. **First Pass:**
2322
- Extracts new errors and temporarily stores them in `packages/next/.errors/*.json`.
2423
- In CI, a build with new errors will fail.
@@ -31,7 +30,6 @@ This plugin transforms Next.js source code by:
3130
## Modifying the Plugin
3231

3332
- **WASM Rebuild Required:**
34-
3533
- After modifying the plugin, rebuild the WASM file via `pnpm build-error-code-plugin` and commit it to the repository.
3634
- **Reason:** Pre-built artifacts simplify the build process (`pnpm build` runs without requiring `cargo`).
3735

docs/01-app/02-guides/progressive-web-apps.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,8 @@ function InstallPrompt() {
331331
<span role="img" aria-label="plus icon">
332332
{' '}
333333
➕{' '}
334-
</span>.
334+
</span>
335+
.
335336
</p>
336337
)}
337338
</div>

docs/01-app/03-api-reference/02-components/image.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,6 @@ This `next/image` component uses browser native [lazy loading](https://caniuse.c
878878
- Use CSS `@supports (font: -apple-system-body) and (-webkit-appearance: none) { img[loading="lazy"] { clip-path: inset(0.6px) } }`
879879
- Use [`priority`](#priority) if the image is above the fold
880880
- [Firefox 67+](https://bugzilla.mozilla.org/show_bug.cgi?id=1556156) displays a white background while loading. Possible solutions:
881-
882881
- Enable [AVIF `formats`](#formats)
883882
- Use [`placeholder`](#placeholder)
884883

docs/01-app/03-api-reference/03-file-conventions/route-segment-config.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ export const dynamic = 'auto'
5252
5353
- **`'auto'`** (default): The default option to cache as much as possible without preventing any components from opting into dynamic behavior.
5454
- **`'force-dynamic'`**: Force [dynamic rendering](/docs/app/getting-started/partial-prerendering#dynamic-rendering), which will result in routes being rendered for each user at request time. This option is equivalent to:
55-
5655
- Setting the option of every `fetch()` request in a layout or page to `{ cache: 'no-store', next: { revalidate: 0 } }`.
5756
- Setting the segment config to `export const fetchCache = 'force-no-store'`
5857

docs/01-app/03-api-reference/04-functions/generate-metadata.mdx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ export default function Page({ params, searchParams }) {}
113113
`generateMetadata` function accepts the following parameters:
114114
115115
- `props` - An object containing the parameters of the current route:
116-
117116
- `params` - An object containing the [dynamic route parameters](/docs/app/api-reference/file-conventions/dynamic-routes) object from the root segment down to the segment `generateMetadata` is called from. Examples:
118117
119118
| Route | URL | `params` |
@@ -230,11 +229,9 @@ export const metadata = {
230229
> **Good to know**:
231230
>
232231
> - `title.template` applies to **child** route segments and **not** the segment it's defined in. This means:
233-
>
234232
> - `title.default` is **required** when you add a `title.template`.
235233
> - `title.template` defined in `layout.js` will not apply to a `title` defined in a `page.js` of the same route segment.
236234
> - `title.template` defined in `page.js` has no effect because a page is always the terminating segment (it doesn't have any children route segments).
237-
>
238235
> - `title.template` has **no effect** if a route has not defined a `title` or `title.default`.
239236
240237
##### `absolute`
@@ -284,11 +281,9 @@ export const metadata = {
284281
> **Good to know**:
285282
>
286283
> - `layout.js`
287-
>
288284
> - `title` (string) and `title.default` define the default title for child segments (that do not define their own `title`). It will augment `title.template` from the closest parent segment if it exists.
289285
> - `title.absolute` defines the default title for child segments. It ignores `title.template` from parent segments.
290286
> - `title.template` defines a new title template for child segments.
291-
>
292287
> - `page.js`
293288
> - If a page does not define its own title the closest parents resolved title will be used.
294289
> - `title` (string) defines the routes title. It will augment `title.template` from the closest parent segment if it exists.

errors/css-global.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ Consider the stylesheet named [`styles.css`](/docs/app/getting-started/css)
2121

2222
```css filename="styles.css"
2323
body {
24-
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica',
25-
'Arial', sans-serif;
24+
font-family:
25+
'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial',
26+
sans-serif;
2627
padding: 20px 20px 60px;
2728
max-width: 680px;
2829
margin: 0 auto;

errors/no-styled-jsx-in-document.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ For example, consider the following stylesheet named `styles.css`:
1616

1717
```css filename="styles.css"
1818
body {
19-
font-family: 'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica',
20-
'Arial', sans-serif;
19+
font-family:
20+
'SF Pro Text', 'SF Pro Icons', 'Helvetica Neue', 'Helvetica', 'Arial',
21+
sans-serif;
2122
padding: 20px 20px 60px;
2223
max-width: 680px;
2324
margin: 0 auto;

examples/auth0/components/layout.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ const Layout = ({ user, loading = false, children }: LayoutProps) => {
3030
body {
3131
margin: 0;
3232
color: #333;
33-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
34-
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
33+
font-family:
34+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
35+
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
3536
}
3637
`}</style>
3738
</>

examples/cms-sitecore-xmcloud/src/lib/extract-path/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export class PathExtractor {
1919
}
2020
let path = Array.isArray(params.path)
2121
? params.path.join("/")
22-
: params.path ?? "/";
22+
: (params.path ?? "/");
2323

2424
// Ensure leading '/'
2525
if (!path.startsWith("/")) {

examples/cms-wordpress/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&ut
8989
- WPGraphQL for ACF (optional)
9090
6. Do first-time install of Redirection. Recommended to enable monitor of changes
9191
7. Configure Yoast SEO with:
92-
9392
- Disable XML Sitemaps under Yoast SEO -> Settings
9493
- If you did not change the `Site Address (URL)` before installing Yoast, it will ask you to run optimize SEO data after changing permalinks, do so
9594
- Generate a robots.txt file under Yoast SEO -> Tools -> File Editor

0 commit comments

Comments
 (0)