Skip to content

Commit 154cfd3

Browse files
committed
format
1 parent 407e52e commit 154cfd3

File tree

5 files changed

+15
-10
lines changed

5 files changed

+15
-10
lines changed

docs/src/components/Navigation.astro

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,18 @@ const currentPageMatch = currentPage.endsWith('/')
3030
<li>
3131
<a
3232
href={link.link}
33-
class={`flex gap-2 items-start border-l pl-3 ${
33+
class={`flex items-start gap-2 border-l pl-3 ${
3434
currentPageMatch === link.link
3535
? 'border-current text-violet-500 dark:text-violet-400'
3636
: 'border-transparent text-gray-700 hover:border-current hover:border-gray-500 dark:text-gray-300 dark:hover:border-gray-400'
3737
}`}
3838
>
3939
<span>{link.title}</span>
40-
{link.badge && (<span class="text-xs py-0.5 px-1.5 rounded-lg bg-pink-600 text-white">{link.badge}</span>)}
40+
{link.badge && (
41+
<span class="rounded-lg bg-pink-600 px-1.5 py-0.5 text-xs text-white">
42+
{link.badge}
43+
</span>
44+
)}
4145
</a>
4246
</li>
4347
))}

docs/src/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ export const examples: Example[] = [
107107
},
108108
{
109109
name: 'Rust-free and driver adapter',
110-
description: 'NestJS app with prisma-client (Rust-free), driver adapter and nestjs-prisma.',
110+
description:
111+
'NestJS app with prisma-client (Rust-free), driver adapter and nestjs-prisma.',
111112
link: 'https://github.com/notiz-dev/nestjs-prisma/tree/main/examples/driver',
112113
},
113114
{

docs/src/content/docs/query-logging-extension.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Create a PrismaClient extension to log all queries performed by the PrismaClient
66

77
## Add query logging extension
88

9-
Prisma provides an example for [Prisma Client Extension - Query Logging](https://github.com/prisma/prisma-client-extensions/tree/main/query-logging). You need to create a new `PrismaClient` instance with `$extends` where you will define the query logging extension.
9+
Prisma provides an example for [Prisma Client Extension - Query Logging](https://github.com/prisma/prisma-client-extensions/tree/main/query-logging). You need to create a new `PrismaClient` instance with `$extends` where you will define the query logging extension.
1010

1111
```ts
1212
// prisma.extension.ts
@@ -115,7 +115,7 @@ export const queryLoggingExtension = (logger: Logger) =>
115115
});
116116
```
117117

118-
Now you can import and use `queryLoggingExtension(new Logger(...))` in `$extends(...)`.
118+
Now you can import and use `queryLoggingExtension(new Logger(...))` in `$extends(...)`.
119119

120120
```ts
121121
// prisma.extension.ts

docs/src/content/docs/rust-free-and-driver-adapter.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ title: Rust-free and driver adapter
44

55
> Rust-free Prisma Client is Generally Available with [v6.16.0](https://github.com/prisma/prisma/releases/tag/6.16.0).
66
7-
Learn how to use the new `prisma-client` provider with a custom output path and adapter driver. For more information see the [No Rust engine](https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/no-rust-engine) guide on Prisma docs.
7+
Learn how to use the new `prisma-client` provider with a custom output path and adapter driver. For more information see the [No Rust engine](https://www.prisma.io/docs/orm/prisma-client/setup-and-configuration/no-rust-engine) guide on Prisma docs.
88

99
Make sure you have `prisma` and `@prisma/client` v6.16.0 or later installed.
1010

1111
## Configure Rust-free Prisma Client
1212

13-
Configure your Prisma schema to use the new `prisma-client` provider and set a output directory. You can include the output directory in git, because it doesn't contain the rust query engine binary.
13+
Configure your Prisma schema to use the new `prisma-client` provider and set a output directory. You can include the output directory in git, because it doesn't contain the rust query engine binary.
1414

1515
```prisma
1616
// prisma/schema.prisma
@@ -146,4 +146,4 @@ export class AppService {
146146

147147
## Example
148148

149-
Checkout the [Rust-free and driver adapter](https://github.com/notiz-dev/nestjs-prisma/blob/main/examples/extensions/src/query-logging.extension.ts) example on GitHub.
149+
Checkout the [Rust-free and driver adapter](https://github.com/notiz-dev/nestjs-prisma/blob/main/examples/extensions/src/query-logging.extension.ts) example on GitHub.

docs/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"strict": true,
1414
"importsNotUsedAsValues": "error",
1515
"jsx": "react-jsx",
16-
"jsxImportSource": "react",
17-
},
16+
"jsxImportSource": "react"
17+
}
1818
}

0 commit comments

Comments
 (0)