Skip to content

Commit d0c12ce

Browse files
authored
Merge pull request #39 from noxify/update-deps
update deps
2 parents ea2f0af + 1485360 commit d0c12ce

File tree

32 files changed

+2204
-2492
lines changed

32 files changed

+2204
-2492
lines changed

.changeset/wet-sites-juggle.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"create-vorsteh-queue": patch
3+
"@vorsteh-queue/adapter-drizzle": patch
4+
"@vorsteh-queue/adapter-kysely": patch
5+
"@vorsteh-queue/adapter-prisma": patch
6+
"@vorsteh-queue/core": patch
7+
---
8+
9+
updated versions

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
- name: Generate prisma client
4141
run: pnpm -F adapter-prisma prisma:generate
4242

43+
- name: Generate next routes
44+
run: pnpm -F docs typegen
45+
4346
- name: Lint
4447
run: pnpm lint
4548

@@ -65,6 +68,9 @@ jobs:
6568
- name: Generate prisma client
6669
run: pnpm -F adapter-prisma prisma:generate
6770

71+
- name: Generate next routes
72+
run: pnpm -F docs typegen
73+
6874
- name: Typecheck
6975
run: pnpm typecheck
7076

apps/docs/next.config.mjs

Lines changed: 15 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,22 @@
11
import createMDXPlugin from "@next/mdx"
2-
import { rehypePlugins } from "@renoun/mdx"
3-
import remarkRenounAddHeadings from "@renoun/mdx/remark/add-headings"
4-
import remarkRenounRemoveParagraphs from "@renoun/mdx/remark/remove-immediate-paragraphs"
5-
import remarkRenounRelativeLinks from "@renoun/mdx/remark/transform-relative-links"
6-
import rehypeMdxImportMedia from "rehype-mdx-import-media"
7-
import remarkFrontmatter from "remark-frontmatter"
8-
import remarkGfm from "remark-gfm"
9-
import remarkMdxFrontmatter from "remark-mdx-frontmatter"
10-
import remarkSqueezeParagraphs from "remark-squeeze-paragraphs"
11-
import remarkStripBadges from "remark-strip-badges"
122

133
const withMDX = createMDXPlugin({
144
options: {
5+
rehypePlugins: [
6+
"@renoun/mdx/rehype/add-code-block",
7+
"@renoun/mdx/rehype/add-reading-time",
8+
"rehype-mdx-import-media",
9+
],
1510
remarkPlugins: [
16-
remarkRenounAddHeadings,
17-
remarkFrontmatter,
18-
remarkMdxFrontmatter,
19-
remarkSqueezeParagraphs,
20-
remarkRenounRemoveParagraphs,
21-
remarkStripBadges,
22-
remarkRenounRelativeLinks,
23-
remarkGfm,
11+
"@renoun/mdx/remark/add-headings",
12+
"remark-frontmatter",
13+
"remark-mdx-frontmatter",
14+
"remark-squeeze-paragraphs",
15+
"@renoun/mdx/remark/remove-immediate-paragraphs",
16+
"remark-strip-badges",
17+
"@renoun/mdx/remark/transform-relative-links",
18+
"remark-gfm",
2419
],
25-
rehypePlugins: [...rehypePlugins, rehypeMdxImportMedia],
2620
},
2721
})
2822

@@ -38,23 +32,16 @@ const nextConfig = {
3832
"@vorsteh-queue/core",
3933
"@vorsteh-queue/adapter-drizzle",
4034
"@vorsteh-queue/adapter-prisma",
35+
"@vorsteh-queue/adapter-kysely",
4136
"create-vorsteh-queue",
4237
],
43-
eslint: {
44-
ignoreDuringBuilds: true,
45-
},
38+
4639
typescript: {
4740
ignoreBuildErrors: true,
4841
},
4942
images: {
5043
unoptimized: true,
5144
},
52-
webpack(config) {
53-
config.resolve.extensionAlias = {
54-
".js": [".ts", ".tsx", ".js"],
55-
}
56-
return config
57-
},
5845
}
5946

6047
export default withMDX(nextConfig)

apps/docs/package.json

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,26 @@
44
"private": true,
55
"type": "module",
66
"scripts": {
7-
"build": "renoun next build && pnpm generate-pagefind",
7+
"build": "next typegen && renoun next build && pnpm generate-pagefind",
88
"clean": "git clean -xdf .cache .turbo dist node_modules .next",
99
"clean:cache": "git clean -xdf .cache",
10-
"dev": "renoun next dev",
10+
"dev": "next typegen && renoun next dev",
1111
"format": "prettier --check . --ignore-path ../../.gitignore --ignore-path ../../.prettierignore",
1212
"generate-pagefind": "pagefind --site out --output-path out/pagefind",
1313
"lint": "eslint .",
1414
"lint:links": "node --import ./src/register.js --import tsx/esm src/link-check.ts",
1515
"matchtest": "tsx src/match.ts",
1616
"preview": "tsx src/localserver.ts",
17-
"typecheck": "tsc --noEmit"
17+
"typecheck": "tsc --noEmit",
18+
"typegen": "next typegen"
1819
},
1920
"prettier": "@vorsteh-queue/prettier-config",
2021
"dependencies": {
21-
"@icons-pack/react-simple-icons": "13.7.0",
22+
"@icons-pack/react-simple-icons": "13.8.0",
2223
"@mdx-js/loader": "3.1.1",
2324
"@mdx-js/node-loader": "3.1.1",
2425
"@mdx-js/react": "3.1.1",
25-
"@next/mdx": "15.5.4",
26+
"@next/mdx": "16.0.0",
2627
"@radix-ui/react-collapsible": "^1.1.12",
2728
"@radix-ui/react-compose-refs": "1.1.2",
2829
"@radix-ui/react-dialog": "^1.1.15",
@@ -37,37 +38,37 @@
3738
"class-variance-authority": "0.7.1",
3839
"clsx": "2.1.1",
3940
"date-fns": "^4.1.0",
40-
"globby": "14.1.0",
41+
"globby": "15.0.0",
4142
"interweave": "13.1.1",
42-
"lucide-react": "0.544.0",
43+
"lucide-react": "0.548.0",
4344
"multimatch": "7.0.0",
44-
"next": "15.5.4",
45+
"next": "16.0.0",
4546
"next-themes": "latest",
4647
"p-map": "7.0.3",
47-
"react": "19.1.1",
48-
"react-dom": "19.1.1",
48+
"react": "19.2.0",
49+
"react-dom": "19.2.0",
4950
"read-pkg": "^9.0.1",
5051
"rehype-mdx-import-media": "1.2.0",
5152
"remark-frontmatter": "5.0.0",
5253
"remark-gfm": "4.0.1",
5354
"remark-mdx-frontmatter": "5.2.0",
5455
"remark-squeeze-paragraphs": "6.0.0",
5556
"remark-strip-badges": "7.0.0",
56-
"renoun": "10.1.2",
57-
"tm-grammars": "1.24.13",
58-
"tm-themes": "1.10.9",
59-
"ts-morph": "27.0.0",
57+
"renoun": "10.7.0",
58+
"tm-grammars": "1.25.1",
59+
"tm-themes": "1.10.12",
60+
"ts-morph": "27.0.2",
6061
"tw-animate-css": "^1.4.0",
6162
"use-debounce": "10.0.6",
62-
"zod": "4.1.11"
63+
"zod": "4.1.12"
6364
},
6465
"devDependencies": {
65-
"@tailwindcss/postcss": "4.1.13",
66+
"@tailwindcss/postcss": "4.1.16",
6667
"@tailwindcss/typography": "0.5.19",
6768
"@types/mdx": "2.0.13",
68-
"@types/node": "22.18.6",
69-
"@types/react": "19.1.13",
70-
"@types/react-dom": "19.1.9",
69+
"@types/node": "22.18.12",
70+
"@types/react": "19.2.2",
71+
"@types/react-dom": "19.2.2",
7172
"@types/serve-handler": "6.1.4",
7273
"@vorsteh-queue/adapter-drizzle": "workspace:*",
7374
"@vorsteh-queue/adapter-kysely": "workspace:*",
@@ -76,16 +77,16 @@
7677
"@vorsteh-queue/eslint-config": "workspace:*",
7778
"@vorsteh-queue/prettier-config": "workspace:*",
7879
"@vorsteh-queue/tsconfig": "workspace:*",
79-
"eslint": "^9.36.0",
80+
"eslint": "^9.38.0",
8081
"next-validate-link": "1.6.3",
8182
"pagefind": "1.4.0",
8283
"postcss": "8.5.6",
8384
"prettier": "^3.6.2",
8485
"serve-handler": "6.1.6",
8586
"tailwind-merge": "3.3.1",
86-
"tailwindcss": "4.1.13",
87+
"tailwindcss": "4.1.16",
8788
"tailwindcss-animate": "1.0.7",
88-
"tsx": "4.20.5",
89-
"typescript": "^5.9.2"
89+
"tsx": "4.20.6",
90+
"typescript": "^5.9.3"
9091
}
9192
}

apps/docs/src/app/(site)/(docs)/[...slug]/page.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,7 @@ export async function generateStaticParams() {
1313
return slugs
1414
}
1515

16-
interface PageProps {
17-
params: Promise<{ slug?: string[] }>
18-
}
19-
20-
export async function generateMetadata(props: PageProps): Promise<Metadata> {
16+
export async function generateMetadata(props: PageProps<"/[...slug]">): Promise<Metadata> {
2117
const params = await props.params
2218
const breadcrumbItems = await getBreadcrumbItems(params.slug)
2319

@@ -28,9 +24,10 @@ export async function generateMetadata(props: PageProps): Promise<Metadata> {
2824
}
2925
}
3026

31-
export default async function DocsPage(props: PageProps) {
27+
export default async function DocsPage(props: PageProps<"/[...slug]">) {
3228
const params = await props.params
3329

30+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
3431
const searchParam = `/${params.slug?.join("/") ?? ""}`
3532

3633
const transformedEntry = (await transformedEntries()).find(

apps/docs/src/app/(site)/(docs)/layout.tsx

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,7 @@ export function AppSidebar({ items }: { items: TreeItem[] }) {
1414
)
1515
}
1616

17-
export default async function DocsLayout(
18-
props: Readonly<{
19-
params: Promise<{
20-
slug?: string[]
21-
}>
22-
children: React.ReactNode
23-
}>,
24-
) {
17+
export default async function DocsLayout(props: LayoutProps<"/">) {
2518
const recursiveCollections = await AllDocumentation.getEntries({
2619
recursive: true,
2720
})
@@ -41,7 +34,10 @@ export default async function DocsLayout(
4134
<SidebarInset className="bg-white dark:bg-secondary">
4235
<div className="flex flex-1 flex-col gap-4 pb-[calc(var(--footer-height)+1rem)]">
4336
<main className="flex w-full flex-1 flex-col transition-all duration-300 ease-in-out">
44-
{props.children}
37+
{
38+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
39+
props.children
40+
}
4541
</main>
4642
</div>
4743
</SidebarInset>

apps/docs/src/app/(site)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Footer from "~/components/footer"
22
import MainHeader from "~/components/main-header"
33

4-
export default function SiteLayout({ children }: { children: React.ReactNode }) {
4+
export default function SiteLayout({ children }: LayoutProps<"/">) {
55
return (
66
<div className="min-h-screen bg-cream-50 dark:bg-dark-200" data-pagefind-ignore>
77
{/* Header */}

apps/docs/src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const metadata: Metadata = {
1212
"A powerful, ORM-agnostic queue engine for PostgreSQL 12. Handle background jobs, scheduled tasks, and recurring processes with ease.",
1313
}
1414

15-
export default function RootLayout({ children }: { children: React.ReactNode }) {
15+
export default function RootLayout({ children }: LayoutProps<"/">) {
1616
return (
1717
<RenounProvider
1818
defaultPackageManager="pnpm"

apps/docs/src/components/client-only.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export const useClientOnly = () => {
1818
const [hasMounted, setHasMounted] = useState(false)
1919

2020
useEffect(() => {
21+
// eslint-disable-next-line react-hooks/set-state-in-effect
2122
setHasMounted(true)
2223
}, [])
2324

apps/docs/src/components/file-content.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export async function FileContent({
7474
className="prose mb-8 text-lg font-medium text-pretty text-muted-foreground sm:text-xl/8"
7575
/>
7676
),
77+
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
7778
code: (props) => <code>{props.children ?? ""}</code>,
7879
}}
7980
>
@@ -117,7 +118,7 @@ export async function FileContent({
117118
<Siblings transformedEntry={transformedEntry} />
118119
</div>
119120
{frontmatter?.toc ? (
120-
<div className="hidden w-[19.5rem] xl:sticky xl:top-[6.55rem] xl:-mr-6 xl:block xl:h-[calc(100vh-6.55rem)] xl:flex-none xl:overflow-y-auto xl:pr-6 xl:pb-16">
121+
<div className="hidden w-78 xl:sticky xl:top-[6.55rem] xl:-mr-6 xl:block xl:h-[calc(100vh-6.55rem)] xl:flex-none xl:overflow-y-auto xl:pr-6 xl:pb-16">
121122
<TableOfContents toc={headings} />
122123

123124
<div

0 commit comments

Comments
 (0)