Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/neat-moose-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"create-vorsteh-queue": patch
"@vorsteh-queue/adapter-drizzle": patch
"@vorsteh-queue/adapter-kysely": patch
"@vorsteh-queue/adapter-prisma": patch
"@vorsteh-queue/core": patch
---

update dependencies
21 changes: 9 additions & 12 deletions apps/docs/content/docs/01.getting-started/02.installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,21 @@ If you prefer to add Vorsteh Queue to an existing project:

### Drizzle ORM (PostgreSQL)

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

### Prisma ORM (PostgreSQL)

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

### Kysely (PostgreSQL)

<PackageInstall
packages={["@vorsteh-queue/core", "@vorsteh-queue/adapter-kysely"]}
className={{ container: "not-prose", code: "not-prose" }}
/>
<Command variant="install" className={{ container: "not-prose", code: "not-prose" }}>
@vorsteh-queue/core @vorsteh-queue/adapter-kysely
</Command>

## Database Setup

Expand Down
7 changes: 3 additions & 4 deletions apps/docs/content/docs/02.packages/01.core.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ The core package contains the main queue engine and all essential functionality

## Installation

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

## Key Features

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/02.packages/adapter-drizzle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Drizzle adapter provides PostgreSQL support using Drizzle ORM, offering exce

## Installation

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

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/02.packages/adapter-kysely.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Kysely adapter provides PostgreSQL support using Kysely, offering excellent

## Installation

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

## Quick Start

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/content/docs/02.packages/adapter-prisma.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Prisma adapter provides PostgreSQL support using Prisma ORM, offering genera

## Installation

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

## Quick Start

Expand Down
26 changes: 13 additions & 13 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@mdx-js/loader": "3.1.1",
"@mdx-js/node-loader": "3.1.1",
"@mdx-js/react": "3.1.1",
"@next/mdx": "15.5.2",
"@next/mdx": "15.5.3",
"@radix-ui/react-collapsible": "^1.1.12",
"@radix-ui/react-compose-refs": "1.1.2",
"@radix-ui/react-dialog": "^1.1.15",
Expand All @@ -39,9 +39,9 @@
"date-fns": "^4.1.0",
"globby": "14.1.0",
"interweave": "13.1.1",
"lucide-react": "0.542.0",
"lucide-react": "0.544.0",
"multimatch": "7.0.0",
"next": "15.5.2",
"next": "15.5.3",
"next-themes": "latest",
"p-map": "7.0.3",
"react": "19.1.1",
Expand All @@ -53,20 +53,20 @@
"remark-mdx-frontmatter": "5.2.0",
"remark-squeeze-paragraphs": "6.0.0",
"remark-strip-badges": "7.0.0",
"renoun": "9.5.0",
"tm-grammars": "1.24.9",
"renoun": "10.1.0",
"tm-grammars": "1.24.13",
"tm-themes": "1.10.9",
"ts-morph": "26.0.0",
"ts-morph": "27.0.0",
"tw-animate-css": "^1.3.8",
"use-debounce": "10.0.6",
"zod": "4.1.5"
"zod": "4.1.11"
},
"devDependencies": {
"@tailwindcss/postcss": "4.1.12",
"@tailwindcss/typography": "0.5.16",
"@tailwindcss/postcss": "4.1.13",
"@tailwindcss/typography": "0.5.18",
"@types/mdx": "2.0.13",
"@types/node": "22.16.5",
"@types/react": "19.1.12",
"@types/react": "19.1.13",
"@types/react-dom": "19.1.9",
"@types/serve-handler": "6.1.4",
"@vorsteh-queue/adapter-drizzle": "workspace:*",
Expand All @@ -75,14 +75,14 @@
"@vorsteh-queue/eslint-config": "workspace:*",
"@vorsteh-queue/prettier-config": "workspace:*",
"@vorsteh-queue/tsconfig": "workspace:*",
"eslint": "^9.34.0",
"next-validate-link": "1.5.2",
"eslint": "^9.36.0",
"next-validate-link": "1.6.3",
"pagefind": "1.4.0",
"postcss": "8.5.6",
"prettier": "^3.6.2",
"serve-handler": "6.1.6",
"tailwind-merge": "3.3.1",
"tailwindcss": "4.1.12",
"tailwindcss": "4.1.13",
"tailwindcss-animate": "1.0.7",
"tsx": "4.20.5",
"typescript": "^5.9.2"
Expand Down
33 changes: 0 additions & 33 deletions apps/docs/renoun.json

This file was deleted.

14 changes: 7 additions & 7 deletions apps/docs/src/app/(site)/(home)/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Link from "next/link"
import { CheckCircle, Code, Heart, Info } from "lucide-react"
import pMap from "p-map"
import { CodeBlock, GitProviderLink, GitProviderLogo } from "renoun/components"
import { CodeBlock, Link as GitLink, Logo as GitLogo } from "renoun/components"

import type { AllowedIcon } from "~/lib/icon"
import { features } from "~/collections"
Expand Down Expand Up @@ -101,10 +101,10 @@ export default async function Home() {
variant="outline"
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"
>
<GitProviderLink>
<GitProviderLogo width="1em" height="1em" />
<GitLink variant="repository">
<GitLogo variant="gitHost" width="1em" height="1em" />
<span>View on GitHub</span>
</GitProviderLink>
</GitLink>
</Button>
</div>
</div>
Expand Down Expand Up @@ -254,10 +254,10 @@ export default async function Home() {
size="lg"
className="bg-orange-darker text-white hover:bg-orange-accessible"
>
<GitProviderLink>
<GitProviderLogo width="1em" height="1em" />
<GitLink variant="repository">
<GitLogo variant="gitHost" width="1em" height="1em" />
<span>View on GitHub</span>
</GitProviderLink>
</GitLink>
</Button>

<Button
Expand Down
63 changes: 49 additions & 14 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Metadata } from "next"
import type React from "react"
import { ThemeStyles } from "renoun/components"
import { RootProvider as RenounProvider } from "renoun"

import "./globals.css"

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

export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en" suppressHydrationWarning>
<body>
<ThemeStyles />
<ThemeProvider
attribute={["class", "data-theme"]}
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
<RenounProvider
defaultPackageManager="pnpm"
git={{
source: "https://github.com/noxify/vorsteh-queue",
branch: "main",
host: "github",
owner: "noxify",
repository: "vorsteh-queue",
baseUrl: "https://github.com",
}}
siteUrl="https://vorsteh-queue.dev"
languages={[
"css",
"javascript",
"jsx",
"typescript",
"tsx",
"markdown",
"mdx",
"shellscript",
"json",
"html",
"python",
"graphql",
"yaml",
"sql",
"xml",
"docker",
"prisma",
]}
theme={{
dark: "one-dark-pro",
light: "one-dark-pro",
}}
>
<html lang="en" suppressHydrationWarning>
<body>
<ThemeProvider
attribute={["class", "data-theme"]}
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
</ThemeProvider>
</body>
</html>
</RenounProvider>
)
}
20 changes: 17 additions & 3 deletions apps/docs/src/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { docSchema, featuresSchema } from "./validations"

export const features = new Directory({
path: "content/features",
include: "*.mdx",
filter: "*.mdx",

loader: {
mdx: withSchema(
Expand All @@ -22,8 +22,15 @@ export const features = new Directory({
export const DocumentationDirectory = new Directory({
path: `content/docs`,
basePathname: "docs",
repository: {
repository: "vorsteh-queue",
branch: "main",
host: "github",
owner: "noxify",
baseUrl: "https://github.com",
},
// hide hidden files ( starts with `_` ) and all asset directories ( `_assets` )
include: (entry) =>
filter: (entry) =>
!entry.getBaseName().startsWith("_") && !entry.getAbsolutePath().includes("_assets"),
loader: {
mdx: withSchema(docSchema, (path) => import(`../content/docs/${path}.mdx`)),
Expand All @@ -33,7 +40,14 @@ export const DocumentationDirectory = new Directory({
export const ExampleDirectory = new Directory({
path: `../../examples`,
basePathname: "docs/examples",
include: (entry) => {
repository: {
repository: "vorsteh-queue",
branch: "main",
host: "github",
owner: "noxify",
baseUrl: "https://github.com",
},
filter: (entry) => {
return (
!entry.getBaseName().startsWith("_") &&
!entry.getBaseName().startsWith(".") &&
Expand Down
8 changes: 4 additions & 4 deletions apps/docs/src/components/main-header.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image"
import Link from "next/link"
import { GitProviderLink, GitProviderLogo } from "renoun/components"
import { Link as GitLink, Logo as GitLogo } from "renoun/components"

import type { TreeItem } from "~/lib/navigation"
import { Search } from "~/components/search"
Expand Down Expand Up @@ -72,9 +72,9 @@ export default function MainHeader() {
<Search />
<ThemeToggle />
<Button variant={"ghost"} size={"icon"}>
<GitProviderLink>
<GitProviderLogo width="1.2rem" height="1.2rem" />
</GitProviderLink>
<GitLink variant="repository">
<GitLogo variant="gitHost" width="1.2rem" height="1.2rem" />
</GitLink>
</Button>
</div>
<MobileMenu items={links} />
Expand Down
4 changes: 2 additions & 2 deletions apps/docs/src/mdx-components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { MDXComponents } from "renoun/mdx"
import Image from "next/image"
import Link from "next/link"
import { ExternalLinkIcon } from "lucide-react"
import { CodeBlock, CodeInline, PackageInstall } from "renoun/components"
import { CodeBlock, CodeInline, Command } from "renoun/components"

import { Heading } from "~/components/heading"
import { Alert, AlertDescription, AlertTitle } from "~/components/ui/alert"
Expand Down Expand Up @@ -116,7 +116,7 @@ export function useMDXComponents() {

CodeInline,
CodeBlock,
PackageInstall,
Command,

RemoteCodeBlock: async (props: CodeBlockProps & { source: string }) => {
const directoryPath = join(process.cwd(), "../..")
Expand Down
2 changes: 1 addition & 1 deletion examples/drizzle-pglite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"db:push": "drizzle-kit push"
},
"dependencies": {
"@electric-sql/pglite": "^0.3.7",
"@electric-sql/pglite": "^0.3.8",
"@vorsteh-queue/adapter-drizzle": "workspace:*",
"@vorsteh-queue/core": "workspace:*",
"drizzle-orm": "^0.44.5"
Expand Down
Loading
Loading