Skip to content

Commit f55ea8a

Browse files
fix(deps): update nextra monorepo to v3 (major) (#52)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: ktmouk <ktmouk@gmail.com>
1 parent e9b9990 commit f55ea8a

28 files changed

+1650
-1142
lines changed

components/Feature.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ type Props = {
99

1010
export const Feature = ({ icon, color, title, description }: Props) => {
1111
return (
12-
<div className="bg-gray-50 dark:bg-neutral-900 flex gap-4 rounded p-4 px-6 h-full items-center">
12+
<div className="flex gap-4 m-4 h-full items-center">
1313
<div
1414
aria-hidden
1515
className={`flex-shrink-0 size-9 flex items-center justify-center rounded ${color}`}

components/UseCases.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const UseCases = ({ codes }: Props) => {
3232
{["Testing", "API Mocking", "E2E", "Seeding"].map((tab) => (
3333
<Tab
3434
key={tab}
35-
className="first:rounded-l last:rounded-r text-sm !ring-0 bg-neutral-100 dark:bg-neutral-800 !ring-offset-0 text-neutral-900 data-[focus]:bg-neutral-700 data-[selected]:bg-neutral-900 dark:data-[selected]:bg-neutral-900 dark:text-neutral-50 py-2.5 px-6 data-[selected]:text-white data-[hover]:bg-neutral-700 dark:data-[hover]:bg-neutral-800 data-[hover]:text-white"
35+
className="first:rounded-l last:rounded-r text-sm !ring-0 bg-gray-100 dark:bg-neutral-800 !ring-offset-0 text-neutral-900 data-[focus]:bg-neutral-700 data-[selected]:bg-neutral-900 dark:data-[selected]:bg-neutral-900 dark:text-neutral-50 py-2.5 px-6 data-[selected]:text-white data-[hover]:bg-neutral-700 dark:data-[hover]:bg-neutral-800 data-[hover]:text-white"
3636
>
3737
{tab}
3838
</Tab>

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"@headlessui/react": "^2.1.1",
2020
"@radix-ui/react-tooltip": "^1.1.2",
2121
"next": "^14.2.4",
22-
"nextra": "^2.13.4",
23-
"nextra-theme-docs": "^2.13.4",
22+
"nextra": "^3.0.0",
23+
"nextra-theme-docs": "^3.0.0",
2424
"react": "^18.3.1",
2525
"react-dom": "^18.3.1",
2626
"react-icons": "^5.2.1",

pages/_app.mdx

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

pages/_app.tsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import type { AppProps } from "next/app";
2+
import "../globals.css";
3+
4+
export default function MyApp({ Component, pageProps }: AppProps) {
5+
return <Component {...pageProps} />;
6+
}

pages/_meta.json

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

pages/_meta.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
const meta = {
2+
index: {
3+
display: "hidden",
4+
theme: {
5+
layout: "raw",
6+
},
7+
},
8+
"get-started": "Get Started",
9+
guide: "Guide",
10+
"prisma-plugin": "Prisma Plugin",
11+
"other-orms": "Other ORMs",
12+
};
13+
14+
export default meta;

pages/get-started.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
title: Get Started
3+
---
4+
15
import { Tabs } from "nextra/components";
26
import { Callout } from "nextra/components";
37

pages/guide/_meta.json

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

pages/guide/_meta.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export const meta = {
2+
"defining-factory": "Defining Factory",
3+
property: "Property",
4+
placeholder: "Placeholder",
5+
variable: "Variable",
6+
sequence: "Sequence",
7+
"after-hook": "After Hook",
8+
trait: "Trait",
9+
"extending-factory": "Extending Factory",
10+
};
11+
12+
export default meta;

0 commit comments

Comments
 (0)