Skip to content

Commit 13ae542

Browse files
committed
update deps
1 parent 6e5b82c commit 13ae542

File tree

12 files changed

+96
-83
lines changed

12 files changed

+96
-83
lines changed

apps/docs/content/docs/01.getting-started/02.installation.mdx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,24 +41,21 @@ If you prefer to add Vorsteh Queue to an existing project:
4141

4242
### Drizzle ORM (PostgreSQL)
4343

44-
<PackageInstall
45-
packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-drizzle"]}
46-
className={{ container: "not-prose", code: "not-prose" }}
47-
/>
44+
<Command variant="install" className={{ container: "not-prose", code: "not-prose" }}>
45+
@vorsteh-queue/core @vorsteh-queue/adapter-drizzle
46+
</Command>
4847

4948
### Prisma ORM (PostgreSQL)
5049

51-
<PackageInstall
52-
packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-prisma"]}
53-
className={{ container: "not-prose", code: "not-prose" }}
54-
/>
50+
<Command variant="install" className={{ container: "not-prose", code: "not-prose" }}>
51+
@vorsteh-queue/core @vorsteh-queue/adapter-prisma
52+
</Command>
5553

5654
### Kysely (PostgreSQL)
5755

58-
<PackageInstall
59-
packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-kysely"]}
60-
className={{ container: "not-prose", code: "not-prose" }}
61-
/>
56+
<Command variant="install" className={{ container: "not-prose", code: "not-prose" }}>
57+
@vorsteh-queue/core @vorsteh-queue/adapter-kysely
58+
</Command>
6259

6360
## Database Setup
6461

apps/docs/content/docs/02.packages/01.core.mdx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ The core package contains the main queue engine and all essential functionality
88

99
## Installation
1010

11-
<PackageInstall
12-
packages={["@vorsteh-queue/core"]}
13-
className={{ container: "not-prose", code: "not-prose" }}
14-
/>
11+
<Command variant="install" className={{ container: "not-prose", code: "not-prose" }}>
12+
@vorsteh-queue/core
13+
</Command>
1514

1615
## Key Features
1716

apps/docs/content/docs/02.packages/adapter-drizzle.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Drizzle adapter provides PostgreSQL support using Drizzle ORM, offering exce
88

99
## Installation
1010

11-
<PackageInstall packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-drizzle"]} />
11+
<Command variant="install">@vorsteh-queue/core @vorsteh-queue/adapter-drizzle</Command>
1212

1313
## Quick Start
1414

apps/docs/content/docs/02.packages/adapter-kysely.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Kysely adapter provides PostgreSQL support using Kysely, offering excellent
88

99
## Installation
1010

11-
<PackageInstall packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-kysely"]} />
11+
<Command variant="install">@vorsteh-queue/core @vorsteh-queue/adapter-kysely</Command>
1212

1313
## Quick Start
1414

apps/docs/content/docs/02.packages/adapter-prisma.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Prisma adapter provides PostgreSQL support using Prisma ORM, offering genera
88

99
## Installation
1010

11-
<PackageInstall packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-prisma"]} />
11+
<Command variant="install">@vorsteh-queue/core @vorsteh-queue/adapter-prisma"</Command>
1212

1313
## Quick Start
1414

apps/docs/renoun.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

apps/docs/src/app/(site)/(home)/page.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Link from "next/link"
22
import { CheckCircle, Code, Heart, Info } from "lucide-react"
33
import pMap from "p-map"
4-
import { CodeBlock, GitProviderLink, GitProviderLogo } from "renoun/components"
4+
import { CodeBlock, Link as GitLink, Logo as GitLogo } from "renoun/components"
55

66
import type { AllowedIcon } from "~/lib/icon"
77
import { features } from "~/collections"
@@ -101,10 +101,10 @@ export default async function Home() {
101101
variant="outline"
102102
className="border-2 border-orange-darker bg-transparent text-orange-darker hover:bg-orange-darker hover:text-white dark:border-orange-light dark:text-orange-light dark:hover:bg-orange-light dark:hover:text-dark-200"
103103
>
104-
<GitProviderLink>
105-
<GitProviderLogo width="1em" height="1em" />
104+
<GitLink variant="repository">
105+
<GitLogo variant="gitHost" width="1em" height="1em" />
106106
<span>View on GitHub</span>
107-
</GitProviderLink>
107+
</GitLink>
108108
</Button>
109109
</div>
110110
</div>
@@ -254,10 +254,10 @@ export default async function Home() {
254254
size="lg"
255255
className="bg-orange-darker text-white hover:bg-orange-accessible"
256256
>
257-
<GitProviderLink>
258-
<GitProviderLogo width="1em" height="1em" />
257+
<GitLink variant="repository">
258+
<GitLogo variant="gitHost" width="1em" height="1em" />
259259
<span>View on GitHub</span>
260-
</GitProviderLink>
260+
</GitLink>
261261
</Button>
262262

263263
<Button

apps/docs/src/app/layout.tsx

Lines changed: 49 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Metadata } from "next"
22
import type React from "react"
3-
import { ThemeStyles } from "renoun/components"
3+
import { RootProvider as RenounProvider } from "renoun"
44

55
import "./globals.css"
66

@@ -14,18 +14,53 @@ export const metadata: Metadata = {
1414

1515
export default function RootLayout({ children }: { children: React.ReactNode }) {
1616
return (
17-
<html lang="en" suppressHydrationWarning>
18-
<body>
19-
<ThemeStyles />
20-
<ThemeProvider
21-
attribute={["class", "data-theme"]}
22-
defaultTheme="system"
23-
enableSystem
24-
disableTransitionOnChange
25-
>
26-
{children}
27-
</ThemeProvider>
28-
</body>
29-
</html>
17+
<RenounProvider
18+
defaultPackageManager="pnpm"
19+
git={{
20+
source: "https://github.com/noxify/vorsteh-queue",
21+
branch: "main",
22+
host: "github",
23+
owner: "noxify",
24+
repository: "vorsteh-queue",
25+
baseUrl: "https://github.com",
26+
}}
27+
siteUrl="https://vorsteh-queue.dev"
28+
languages={[
29+
"css",
30+
"javascript",
31+
"jsx",
32+
"typescript",
33+
"tsx",
34+
"markdown",
35+
"mdx",
36+
"shellscript",
37+
"json",
38+
"html",
39+
"python",
40+
"graphql",
41+
"yaml",
42+
"sql",
43+
"xml",
44+
"docker",
45+
"prisma",
46+
]}
47+
theme={{
48+
dark: "one-dark-pro",
49+
light: "one-dark-pro",
50+
}}
51+
>
52+
<html lang="en" suppressHydrationWarning>
53+
<body>
54+
<ThemeProvider
55+
attribute={["class", "data-theme"]}
56+
defaultTheme="system"
57+
enableSystem
58+
disableTransitionOnChange
59+
>
60+
{children}
61+
</ThemeProvider>
62+
</body>
63+
</html>
64+
</RenounProvider>
3065
)
3166
}

apps/docs/src/collections.ts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { docSchema, featuresSchema } from "./validations"
99

1010
export const features = new Directory({
1111
path: "content/features",
12-
include: "*.mdx",
12+
filter: "*.mdx",
1313

1414
loader: {
1515
mdx: withSchema(
@@ -22,8 +22,15 @@ export const features = new Directory({
2222
export const DocumentationDirectory = new Directory({
2323
path: `content/docs`,
2424
basePathname: "docs",
25+
repository: {
26+
repository: "vorsteh-queue",
27+
branch: "main",
28+
host: "github",
29+
owner: "noxify",
30+
baseUrl: "https://github.com",
31+
},
2532
// hide hidden files ( starts with `_` ) and all asset directories ( `_assets` )
26-
include: (entry) =>
33+
filter: (entry) =>
2734
!entry.getBaseName().startsWith("_") && !entry.getAbsolutePath().includes("_assets"),
2835
loader: {
2936
mdx: withSchema(docSchema, (path) => import(`../content/docs/${path}.mdx`)),
@@ -33,7 +40,14 @@ export const DocumentationDirectory = new Directory({
3340
export const ExampleDirectory = new Directory({
3441
path: `../../examples`,
3542
basePathname: "docs/examples",
36-
include: (entry) => {
43+
repository: {
44+
repository: "vorsteh-queue",
45+
branch: "main",
46+
host: "github",
47+
owner: "noxify",
48+
baseUrl: "https://github.com",
49+
},
50+
filter: (entry) => {
3751
return (
3852
!entry.getBaseName().startsWith("_") &&
3953
!entry.getBaseName().startsWith(".") &&

apps/docs/src/components/main-header.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Image from "next/image"
22
import Link from "next/link"
3-
import { GitProviderLink, GitProviderLogo } from "renoun/components"
3+
import { Link as GitLink, Logo as GitLogo } from "renoun/components"
44

55
import type { TreeItem } from "~/lib/navigation"
66
import { Search } from "~/components/search"
@@ -72,9 +72,9 @@ export default function MainHeader() {
7272
<Search />
7373
<ThemeToggle />
7474
<Button variant={"ghost"} size={"icon"}>
75-
<GitProviderLink>
76-
<GitProviderLogo width="1.2rem" height="1.2rem" />
77-
</GitProviderLink>
75+
<GitLink variant="repository">
76+
<GitLogo variant="gitHost" width="1.2rem" height="1.2rem" />
77+
</GitLink>
7878
</Button>
7979
</div>
8080
<MobileMenu items={links} />

0 commit comments

Comments
 (0)