diff --git a/.env.example b/.env.example index 2ce497b0..1aa4a763 100644 --- a/.env.example +++ b/.env.example @@ -25,7 +25,6 @@ DATABASE_NAME=YOUR_DB_NAME # Email (Resend) # ----------------------------------------------------------------------------- RESEND_API_KEY=re_ -TEST_EMAIL_ADDRESS='delivered@resend.dev' # Stripe STRIPE_API_KEY="sk_test_" @@ -35,12 +34,6 @@ NEXT_PUBLIC_STRIPE_STD_MONTHLY_PRICE_ID="price_" NEXT_PUBLIC_STRIPE_PRO_PRODUCT_ID="prod_" NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PRICE_ID="price_" -# ----------------------------------------------------------------------------- -# Uploads (EdgeStore) -# ----------------------------------------------------------------------------- -EDGE_STORE_ACCESS_KEY=acckey_ -EDGE_STORE_SECRET_KEY=secKey_ - # ----------------------------------------------------------------------------- # OpenBanking # ----------------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index 3f955e3f..718bf757 100644 --- a/.gitignore +++ b/.gitignore @@ -39,8 +39,5 @@ yarn-error.log* # email .react-email/ -# contentlayer -.contentlayer - # turbo .turbo \ No newline at end of file diff --git a/apps/www/.gitignore b/apps/www/.gitignore index 51a0b1a8..797114e3 100644 --- a/apps/www/.gitignore +++ b/apps/www/.gitignore @@ -40,6 +40,5 @@ next-env.d.ts /.react-email/ .vscode -.contentlayer venv \ No newline at end of file diff --git a/apps/www/app/(docs)/docs/[[...slug]]/page.tsx b/apps/www/app/(docs)/docs/[[...slug]]/page.tsx deleted file mode 100644 index 73fe3657..00000000 --- a/apps/www/app/(docs)/docs/[[...slug]]/page.tsx +++ /dev/null @@ -1,109 +0,0 @@ -import { notFound } from "next/navigation"; -import { allDocs } from "contentlayer/generated"; - -import { getTableOfContents } from "@/lib/toc"; -import { Mdx } from "@/components/content/mdx-components"; -import { DocsPageHeader } from "@/components/docs/page-header"; -import { DocsPager } from "@/components/docs/pager"; -import { DashboardTableOfContents } from "@/components/shared/toc"; - -import "@/styles/mdx.css"; - -import { Metadata } from "next"; - -import { env } from "@/env.mjs"; -import { absoluteUrl } from "@/lib/utils"; - -interface DocPageProps { - params: { - slug: string[]; - }; -} - -// @ts-ignore -async function getDocFromParams(params) { - const slug = params?.slug?.join("/") || ""; - const doc = allDocs.find((doc) => doc.slugAsParams === slug); - - if (!doc) { - null; - } - - return doc; -} - -export async function generateMetadata({ - params, -}: DocPageProps): Promise { - const doc = await getDocFromParams(params); - - if (!doc) { - return {}; - } - - const url = env.NEXT_PUBLIC_APP_URL; - - const ogUrl = new URL(`${url}/api/og`); - ogUrl.searchParams.set("heading", doc.description ?? doc.title); - ogUrl.searchParams.set("type", "Documentation"); - ogUrl.searchParams.set("mode", "dark"); - - return { - title: doc.title, - description: doc.description, - openGraph: { - title: doc.title, - description: doc.description, - type: "article", - url: absoluteUrl(doc.slug), - images: [ - { - url: ogUrl.toString(), - width: 1200, - height: 630, - alt: doc.title, - }, - ], - }, - twitter: { - card: "summary_large_image", - title: doc.title, - description: doc.description, - images: [ogUrl.toString()], - }, - }; -} - -export async function generateStaticParams(): Promise< - DocPageProps["params"][] -> { - return allDocs.map((doc) => ({ - slug: doc.slugAsParams.split("/"), - })); -} - -export default async function DocPage({ params }: DocPageProps) { - const doc = await getDocFromParams(params); - - if (!doc) { - notFound(); - } - - const toc = await getTableOfContents(doc.body.raw); - - return ( -
-
- - -
- -
-
-
- -
-
-
- ); -} diff --git a/apps/www/components/docs/sidebar-nav.tsx b/apps/www/app/(docs)/docs/_components/sidebar-nav.tsx similarity index 100% rename from apps/www/components/docs/sidebar-nav.tsx rename to apps/www/app/(docs)/docs/_components/sidebar-nav.tsx diff --git a/apps/www/app/(docs)/docs/installation/clerk/page.mdx b/apps/www/app/(docs)/docs/installation/clerk/page.mdx new file mode 100644 index 00000000..8a4167c8 --- /dev/null +++ b/apps/www/app/(docs)/docs/installation/clerk/page.mdx @@ -0,0 +1,9 @@ +# Clerk + +## Clerk is our authentication service + +--- + +1. Go to https://clerk.com and create an account. You will be redirected to the Sign In builder page. +2. Choose an application name and customize options if you want. Then, click **Create application**. You will be redirected to your dashboard. There is a section that says API Keys. +3. Copy these values to the appropriate location `.env.local` file. diff --git a/apps/www/content/docs/installation/index.mdx b/apps/www/app/(docs)/docs/installation/page.mdx similarity index 88% rename from apps/www/content/docs/installation/index.mdx rename to apps/www/app/(docs)/docs/installation/page.mdx index f32cb54d..bbc7c2fa 100644 --- a/apps/www/content/docs/installation/index.mdx +++ b/apps/www/app/(docs)/docs/installation/page.mdx @@ -1,6 +1,7 @@ ---- -title: Setup -description: Just some basic web development prerequisites! +# Setup + +## Just some basic web development prerequisites! + --- 1. You need Node.js installed on your machine. You can download it from [here](https://nodejs.org/en/download/). diff --git a/apps/www/content/docs/installation/planet-scale.mdx b/apps/www/app/(docs)/docs/installation/planet-scale/page.mdx similarity index 91% rename from apps/www/content/docs/installation/planet-scale.mdx rename to apps/www/app/(docs)/docs/installation/planet-scale/page.mdx index 3fe9f74c..e3801ef8 100644 --- a/apps/www/content/docs/installation/planet-scale.mdx +++ b/apps/www/app/(docs)/docs/installation/planet-scale/page.mdx @@ -1,6 +1,7 @@ ---- -title: Planet Scale -description: Planet Scale is a hosted MySQL database +# Planet Scale + +## Planet Scale is a hosted MySQL database + --- 1. Go to https://planetscale.com and create an account @@ -21,7 +22,7 @@ Scroll down to the **Add credentials to .env** sectio and copy those values to y Lastly, run `pnpm run db:push` -## Local Alternative +### Local Alternative If you don't want to use PlanetScale, or don't have a credit card, you can use a local MySQL database. MySQL is open source and free to use. [Here are instructions to get started](https://dev.mysql.com/doc/mysql-getting-started/en/#mysql-getting-started-installing). diff --git a/apps/www/content/docs/installation/resend.mdx b/apps/www/app/(docs)/docs/installation/resend/page.mdx similarity index 83% rename from apps/www/content/docs/installation/resend.mdx rename to apps/www/app/(docs)/docs/installation/resend/page.mdx index 31d07f6e..c91b3849 100644 --- a/apps/www/content/docs/installation/resend.mdx +++ b/apps/www/app/(docs)/docs/installation/resend/page.mdx @@ -1,6 +1,7 @@ ---- -title: Resend -description: Programmatically send emails! +# Resend + +## Programmatically send emails! + --- 1. Go to https://resend.com/ and create an account diff --git a/apps/www/content/docs/installation/stripe.mdx b/apps/www/app/(docs)/docs/installation/stripe/page.mdx similarity index 96% rename from apps/www/content/docs/installation/stripe.mdx rename to apps/www/app/(docs)/docs/installation/stripe/page.mdx index fda11c65..d14efe25 100644 --- a/apps/www/content/docs/installation/stripe.mdx +++ b/apps/www/app/(docs)/docs/installation/stripe/page.mdx @@ -1,6 +1,7 @@ ---- -title: Stripe -description: Stripe provides finance APIs! +# Stripe + +## Stripe provides finance APIs! + --- 1. Follow [these steps](https://docs.stripe.com/stripe-cli/) to install the Stripe CLI. @@ -15,7 +16,7 @@ Skip all prompts asking you to active your account. Navigate to https://dashboar 5. Click on the **webhooks** tab. Click on **Test in a local environment**. Find the `endpoint_secret` variable and copy that value to `STRIPE_WEBHOOK_SECRET` -## Product key +### Product key 1. Navigate to your terminal and run the following command using the Stripe CLI: @@ -53,7 +54,7 @@ You will get this object back. Copy the `id` value to `NEXT_PUBLIC_STRIPE_STD_PR Repeat the above step for another product with a different name. Copy the `id` value to `NEXT_PUBLIC_STRIPE_PRO_PRODUCT_ID`. -## Price key +### Price key You will now create a price property for the two products you created. diff --git a/apps/www/app/(docs)/docs/layout.tsx b/apps/www/app/(docs)/docs/layout.tsx index 15f09ae0..6cb704bd 100644 --- a/apps/www/app/(docs)/docs/layout.tsx +++ b/apps/www/app/(docs)/docs/layout.tsx @@ -1,5 +1,6 @@ import { docsConfig } from "@/config/docs"; -import { DocsSidebarNav } from "@/components/docs/sidebar-nav"; + +import { DocsSidebarNav } from "./_components/sidebar-nav"; interface DocsLayoutProps { children: React.ReactNode; @@ -11,7 +12,7 @@ export default function DocsLayout({ children }: DocsLayoutProps) { - {children} +
{children}
); } diff --git a/apps/www/app/(docs)/docs/page.mdx b/apps/www/app/(docs)/docs/page.mdx new file mode 100644 index 00000000..67ff2ee0 --- /dev/null +++ b/apps/www/app/(docs)/docs/page.mdx @@ -0,0 +1,16 @@ +import { Callout } from "@/components/shared/callout"; + +# Introduction + +## Welcome to the Badget documentation. + +--- + +Badget is a community driven, open source personal finance tracker. +Think of it as the open source version to https://copilot.money + + + The documentation is still a work in progress. [We welcome + contributions!](https://github.com/projectx-codehagen/Badget)\ You can follow + updates on Twitter [@CodeHagen](https://twitter.com/CodeHagen). + diff --git a/apps/www/app/(docs)/guides/[...slug]/page.tsx b/apps/www/app/(docs)/guides/[...slug]/page.tsx deleted file mode 100644 index 8f09371b..00000000 --- a/apps/www/app/(docs)/guides/[...slug]/page.tsx +++ /dev/null @@ -1,119 +0,0 @@ -import Link from "next/link"; -import { notFound } from "next/navigation"; -import { allGuides } from "contentlayer/generated"; - -import { getTableOfContents } from "@/lib/toc"; -import { Mdx } from "@/components/content/mdx-components"; -import { DocsPageHeader } from "@/components/docs/page-header"; -import { Icons } from "@/components/shared/icons"; -import { DashboardTableOfContents } from "@/components/shared/toc"; - -import "@/styles/mdx.css"; - -import { Metadata } from "next"; - -import { env } from "@/env.mjs"; -import { absoluteUrl, cn } from "@/lib/utils"; -import { buttonVariants } from "@/components/ui/button"; - -interface GuidePageProps { - params: { - slug: string[]; - }; -} - -// @ts-ignore -async function getGuideFromParams(params) { - const slug = params?.slug?.join("/"); - const guide = allGuides.find((guide) => guide.slugAsParams === slug); - - if (!guide) { - null; - } - - return guide; -} - -export async function generateMetadata({ - params, -}: GuidePageProps): Promise { - const guide = await getGuideFromParams(params); - - if (!guide) { - return {}; - } - - const url = env.NEXT_PUBLIC_APP_URL; - - const ogUrl = new URL(`${url}/api/og`); - ogUrl.searchParams.set("heading", guide.title); - ogUrl.searchParams.set("type", "Guide"); - ogUrl.searchParams.set("mode", "dark"); - - return { - title: guide.title, - description: guide.description, - openGraph: { - title: guide.title, - description: guide.description, - type: "article", - url: absoluteUrl(guide.slug), - images: [ - { - url: ogUrl.toString(), - width: 1200, - height: 630, - alt: guide.title, - }, - ], - }, - twitter: { - card: "summary_large_image", - title: guide.title, - description: guide.description, - images: [ogUrl.toString()], - }, - }; -} - -export async function generateStaticParams(): Promise< - GuidePageProps["params"][] -> { - return allGuides.map((guide) => ({ - slug: guide.slugAsParams.split("/"), - })); -} - -export default async function GuidePage({ params }: GuidePageProps) { - const guide = await getGuideFromParams(params); - - if (!guide) { - notFound(); - } - - const toc = await getTableOfContents(guide.body.raw); - - return ( -
-
- - -
-
- - - See all guides - -
-
-
-
- -
-
-
- ); -} diff --git a/apps/www/app/(docs)/guides/layout.tsx b/apps/www/app/(docs)/guides/layout.tsx deleted file mode 100644 index 190ec4e1..00000000 --- a/apps/www/app/(docs)/guides/layout.tsx +++ /dev/null @@ -1,7 +0,0 @@ -interface GuidesLayoutProps { - children: React.ReactNode; -} - -export default function GuidesLayout({ children }: GuidesLayoutProps) { - return
{children}
; -} diff --git a/apps/www/app/(docs)/guides/page.tsx b/apps/www/app/(docs)/guides/page.tsx deleted file mode 100644 index 167ced08..00000000 --- a/apps/www/app/(docs)/guides/page.tsx +++ /dev/null @@ -1,65 +0,0 @@ -import Link from "next/link"; -import { allGuides } from "contentlayer/generated"; -import { compareDesc } from "date-fns"; - -import { formatDate } from "@/lib/utils"; -import { DocsPageHeader } from "@/components/docs/page-header"; - -export const metadata = { - title: "Guides", - description: - "This section includes end-to-end guides for developing Next.js 13 apps.", -}; - -export default function GuidesPage() { - const guides = allGuides - .filter((guide) => guide.published) - .sort((a, b) => { - return compareDesc(new Date(a.date), new Date(b.date)); - }); - - return ( -
- - {guides?.length ? ( -
- {guides.map((guide) => ( -
- {guide.featured && ( - - Featured - - )} -
-
-

- {guide.title} -

- {guide.description && ( -

{guide.description}

- )} -
- {guide.date && ( -

- {formatDate(guide.date)} -

- )} -
- - View - -
- ))} -
- ) : ( -

No guides published.

- )} -
- ); -} diff --git a/apps/www/app/(docs)/layout.tsx b/apps/www/app/(docs)/layout.tsx index 33178885..57c91bbd 100644 --- a/apps/www/app/(docs)/layout.tsx +++ b/apps/www/app/(docs)/layout.tsx @@ -1,10 +1,5 @@ -import Link from "next/link"; - -import { siteConfig } from "@/config/site"; -import { DocsSearch } from "@/components/docs/search"; import { SiteFooter } from "@/components/layout/site-footer"; import { TopNav } from "@/components/layout/top-nav"; -import { Icons } from "@/components/shared/icons"; import { docsTopNavItems } from "../config"; @@ -12,23 +7,6 @@ interface DocsLayoutProps { children: React.ReactNode; } -const rightHeader = () => ( -
-
- -
-
- -
- -
-); - export default async function DocsLayout({ children }: DocsLayoutProps) { return (
diff --git a/apps/www/app/(marketing)/[...slug]/page.tsx b/apps/www/app/(marketing)/[...slug]/page.tsx deleted file mode 100644 index 09ba5552..00000000 --- a/apps/www/app/(marketing)/[...slug]/page.tsx +++ /dev/null @@ -1,101 +0,0 @@ -import { notFound } from "next/navigation"; -import { allPages } from "contentlayer/generated"; - -import { Mdx } from "@/components/content/mdx-components"; - -import "@/styles/mdx.css"; - -import { Metadata } from "next"; - -import { env } from "@/env.mjs"; -import { siteConfig } from "@/config/site"; -import { absoluteUrl } from "@/lib/utils"; - -interface PageProps { - params: { - slug: string[]; - }; -} - -// @ts-ignore -async function getPageFromParams(params) { - const slug = params?.slug?.join("/"); - const page = allPages.find((page) => page.slugAsParams === slug); - - if (!page) { - null; - } - - return page; -} - -export async function generateMetadata({ - params, -}: PageProps): Promise { - const page = await getPageFromParams(params); - - if (!page) { - return {}; - } - - const url = env.NEXT_PUBLIC_APP_URL; - - const ogUrl = new URL(`${url}/api/og`); - ogUrl.searchParams.set("heading", page.title); - ogUrl.searchParams.set("type", siteConfig.name); - ogUrl.searchParams.set("mode", "light"); - - return { - title: page.title, - description: page.description, - openGraph: { - title: page.title, - description: page.description, - type: "article", - url: absoluteUrl(page.slug), - images: [ - { - url: ogUrl.toString(), - width: 1200, - height: 630, - alt: page.title, - }, - ], - }, - twitter: { - card: "summary_large_image", - title: page.title, - description: page.description, - images: [ogUrl.toString()], - }, - }; -} - -export async function generateStaticParams(): Promise { - return allPages.map((page) => ({ - slug: page.slugAsParams.split("/"), - })); -} - -export default async function PagePage({ params }: PageProps) { - const page = await getPageFromParams(params); - - if (!page) { - notFound(); - } - - return ( -
-
-

- {page.title} -

- {page.description && ( -

{page.description}

- )} -
-
- -
- ); -} diff --git a/apps/www/app/(marketing)/blog/[...slug]/page.tsx b/apps/www/app/(marketing)/blog/[...slug]/page.tsx index 43bed9fa..550a4879 100644 --- a/apps/www/app/(marketing)/blog/[...slug]/page.tsx +++ b/apps/www/app/(marketing)/blog/[...slug]/page.tsx @@ -1,17 +1,16 @@ import { notFound } from "next/navigation"; -import { allAuthors, allPosts } from "contentlayer/generated"; - -import { Mdx } from "@/components/content/mdx-components"; +import matter from "gray-matter"; import "@/styles/mdx.css"; -import { Metadata } from "next"; +import fs from "fs"; +import path from "path"; import Image from "next/image"; import Link from "next/link"; +import { MDXRemote } from "next-mdx-remote/rsc"; import Balancer from "react-wrap-balancer"; -import { env } from "@/env.mjs"; -import { absoluteUrl, cn, formatDate } from "@/lib/utils"; +import { cn, formatDate } from "@/lib/utils"; import { buttonVariants } from "@/components/ui/button"; import { Icons } from "@/components/shared/icons"; @@ -21,81 +20,58 @@ interface PostPageProps { }; } -// @ts-ignore -async function getPostFromParams(params) { +function getPostFromParams(params: { slug: string[] }) { const slug = params?.slug?.join("/"); - const post = allPosts.find((post) => post.slugAsParams === slug); - if (!post) { - null; - } + // find all files in the blog directory + const postsDir = "app/(marketing)/blog/_posts"; + const files = fs.readdirSync(path.join(postsDir)); - return post; -} + // for each blog found + const allPosts = files.map((filename) => { + const fileContent = fs.readFileSync(path.join(postsDir, filename), "utf-8"); + const { data: frontMatter, content } = matter(fileContent); -export async function generateMetadata({ - params, -}: PostPageProps): Promise { - const post = await getPostFromParams(params); + return { + meta: frontMatter, + slug: filename.replace(".mdx", ""), + content, + }; + }); - if (!post) { - return {}; - } - - const url = env.NEXT_PUBLIC_APP_URL; - - const ogUrl = new URL(`${url}/api/og`); - ogUrl.searchParams.set("heading", post.title); - ogUrl.searchParams.set("type", "Blog Post"); - ogUrl.searchParams.set("mode", "dark"); - - return { - title: post.title, - description: post.description, - authors: post.authors.map((author) => ({ - name: author, - })), - openGraph: { - title: post.title, - description: post.description, - type: "article", - url: absoluteUrl(post.slug), - images: [ - { - url: ogUrl.toString(), - width: 1200, - height: 630, - alt: post.title, - }, - ], - }, - twitter: { - card: "summary_large_image", - title: post.title, - description: post.description, - images: [ogUrl.toString()], - }, - }; + return allPosts.find((post) => post.slug === slug); } -export async function generateStaticParams(): Promise< - PostPageProps["params"][] -> { - return allPosts.map((post) => ({ - slug: post.slugAsParams.split("/"), - })); +function getAuthorFromPost(name: string[]) { + // find all files in the blog directory + const authorsDir = "app/(marketing)/blog/_authors"; + const files = fs.readdirSync(path.join(authorsDir)); + + // for each blog found + const allAuthors = files.map((filename) => { + const fileContent = fs.readFileSync( + path.join(authorsDir, filename), + "utf-8", + ); + const { data: frontMatter } = matter(fileContent); + + return { + meta: frontMatter, + slug: filename.replace(".mdx", ""), + }; + }); + + return allAuthors.filter((author) => name.includes(author.meta.title)); } export default async function PostPage({ params }: PostPageProps) { - const post = await getPostFromParams(params); + const post = getPostFromParams(params); if (!post) { notFound(); } - const authors = post.authors.map((author) => - allAuthors.find(({ slug }) => slug === `/authors/${author}`), - ); + const authors = getAuthorFromPost(post.meta.authors); return (
@@ -110,37 +86,37 @@ export default async function PostPage({ params }: PostPageProps) { See all posts
- {post.date && ( + {post.meta.date && ( )}

- {post.title} + {post.meta.title}

{authors?.length ? (
{authors.map((author) => author ? ( {author.title}
-

{author.title}

+

{author.meta.title}

- @{author.twitter} + @{author.meta.twitter}

@@ -149,17 +125,17 @@ export default async function PostPage({ params }: PostPageProps) {
) : null}
- {post.image && ( + {post.meta.image && ( {post.title} )} - +
diff --git a/apps/www/content/authors/codehagen.mdx b/apps/www/app/(marketing)/blog/_authors/codehagen.mdx similarity index 100% rename from apps/www/content/authors/codehagen.mdx rename to apps/www/app/(marketing)/blog/_authors/codehagen.mdx diff --git a/apps/www/content/authors/shadcn.mdx b/apps/www/app/(marketing)/blog/_authors/shadcn.mdx similarity index 100% rename from apps/www/content/authors/shadcn.mdx rename to apps/www/app/(marketing)/blog/_authors/shadcn.mdx diff --git a/apps/www/components/blog-posts.tsx b/apps/www/app/(marketing)/blog/_components/blog-posts.tsx similarity index 74% rename from apps/www/components/blog-posts.tsx rename to apps/www/app/(marketing)/blog/_components/blog-posts.tsx index a1b28979..4448161d 100644 --- a/apps/www/components/blog-posts.tsx +++ b/apps/www/app/(marketing)/blog/_components/blog-posts.tsx @@ -12,26 +12,26 @@ export function BlogPosts({ posts }) {

Last Post

- {posts[0].image && ( + {posts[0].meta.image && ( {posts[0].title} )}

- {posts[0].title} + {posts[0].meta.title}

- {posts[0].description && ( + {posts[0].meta.description && (

- {posts[0].description} + {posts[0].meta.description}

)} - + View Article
@@ -47,29 +47,29 @@ export function BlogPosts({ posts }) { key={post._id} className="group relative flex flex-col space-y-2" > - {post.image && ( + {post.meta.image && ( {post.title} )}

- {post.title} + {post.meta.title}

- {post.description && ( + {post.meta.description && (

- {post.description} + {post.meta.description}

)} {post.date && (

- {formatDate(post.date)} + {formatDate(post.meta.date)}

)} - + View Article
diff --git a/apps/www/content/blog/how-propwrite-makes-listings-irresistible.mdx b/apps/www/app/(marketing)/blog/_posts/how-propwrite-makes-listings-irresistible.mdx similarity index 86% rename from apps/www/content/blog/how-propwrite-makes-listings-irresistible.mdx rename to apps/www/app/(marketing)/blog/_posts/how-propwrite-makes-listings-irresistible.mdx index 0e665017..637215d4 100644 --- a/apps/www/content/blog/how-propwrite-makes-listings-irresistible.mdx +++ b/apps/www/app/(marketing)/blog/_posts/how-propwrite-makes-listings-irresistible.mdx @@ -7,20 +7,18 @@ authors: - codehagen --- - - Discover the magic behind Projectx's AI and how it turns ordinary listings - into captivating stories for potential buyers. - +> Discover the magic behind Projectx's AI and how it turns ordinary listings +> into captivating stories for potential buyers. -## Unveiling the Power of AI in Real Estate +### Unveiling the Power of AI in Real Estate Projectx's AI technology is redefining real estate listings, making them more than just a collection of features and photos. -### AI-Enhanced Property Descriptions +#### AI-Enhanced Property Descriptions Our AI analyzes and enhances property details, weaving them into engaging narratives that resonate with buyers. -#### Crafting the Perfect Narrative +##### Crafting the Perfect Narrative - **Data-Driven Storytelling:** Our AI uses data points to create stories that highlight the unique aspects of each property. - **Tailored to Market Trends:** It dynamically adjusts to current market demands, ensuring your listing stands out. diff --git a/apps/www/content/blog/propwrite_aI_real_estate_blog_post.mdx b/apps/www/app/(marketing)/blog/_posts/propwrite_aI_real_estate_blog_post.mdx similarity index 93% rename from apps/www/content/blog/propwrite_aI_real_estate_blog_post.mdx rename to apps/www/app/(marketing)/blog/_posts/propwrite_aI_real_estate_blog_post.mdx index bf8eeaa8..ccbc7f05 100644 --- a/apps/www/content/blog/propwrite_aI_real_estate_blog_post.mdx +++ b/apps/www/app/(marketing)/blog/_posts/propwrite_aI_real_estate_blog_post.mdx @@ -7,10 +7,8 @@ authors: - codehagen --- - - Explore the transformative power of AI in real estate with Projectx and see - how it can elevate your business to new heights. - +> Explore the transformative power of AI in real estate with Projectx and see +> how it can elevate your business to new heights. ## The AI Revolution in Real Estate diff --git a/apps/www/content/blog/welcome-to-propwrite.mdx b/apps/www/app/(marketing)/blog/_posts/welcome-to-propwrite.mdx similarity index 91% rename from apps/www/content/blog/welcome-to-propwrite.mdx rename to apps/www/app/(marketing)/blog/_posts/welcome-to-propwrite.mdx index 86e59349..9d9f1408 100644 --- a/apps/www/content/blog/welcome-to-propwrite.mdx +++ b/apps/www/app/(marketing)/blog/_posts/welcome-to-propwrite.mdx @@ -7,11 +7,9 @@ authors: - codehagen --- - - Christer is a real estate agent with a passion for coding. That's why he - created Projectx - to make every real estate agent's job easier by letting AI - handle the heavy lifting of property listings. - +> Christer is a real estate agent with a passion for coding. That's why he +> created Projectx - to make every real estate agent's job easier by letting AI +> handle the heavy lifting of property listings. Welcome to Projectx, where AI meets real estate in an innovative blend that’s transforming the industry. diff --git a/apps/www/app/(marketing)/blog/page.tsx b/apps/www/app/(marketing)/blog/page.tsx index 97114235..17f60087 100644 --- a/apps/www/app/(marketing)/blog/page.tsx +++ b/apps/www/app/(marketing)/blog/page.tsx @@ -1,7 +1,9 @@ -import { allPosts } from "contentlayer/generated"; +import fs from "fs"; +import path from "path"; import { compareDesc } from "date-fns"; +import matter from "gray-matter"; -import { BlogPosts } from "@/components/blog-posts"; +import { BlogPosts } from "./_components/blog-posts"; export const metadata = { title: "Badget Blog - Revolutionizing Real Estate with AI", @@ -10,10 +12,25 @@ export const metadata = { }; export default async function BlogPage() { + // find all files in the blog directory + const postsDir = "app/(marketing)/blog/_posts"; + const files = fs.readdirSync(path.join(postsDir)); + + // for each blog found + const allPosts = files.map((filename) => { + const fileContent = fs.readFileSync(path.join(postsDir, filename), "utf-8"); + const { data: frontMatter } = matter(fileContent); + + return { + meta: frontMatter, + slug: filename.replace(".mdx", ""), + }; + }); + const posts = allPosts - .filter((post) => post.published) + // .filter((post) => post.meta.published) .sort((a, b) => { - return compareDesc(new Date(a.date), new Date(b.date)); + return compareDesc(new Date(a.meta.date), new Date(b.meta.date)); }); return ( diff --git a/apps/www/content/pages/privacy.mdx b/apps/www/app/(marketing)/privacy/page.mdx similarity index 91% rename from apps/www/content/pages/privacy.mdx rename to apps/www/app/(marketing)/privacy/page.mdx index 7f05f419..d5fb4efb 100644 --- a/apps/www/content/pages/privacy.mdx +++ b/apps/www/app/(marketing)/privacy/page.mdx @@ -1,24 +1,25 @@ ---- -title: Privacy -description: The Privacy Policy for Projectx +# Privacy + +## The Privacy Policy for Projectx + --- -# Privacy Policy +### Privacy Policy At Projectx, we are committed to protecting your privacy and ensuring that your personal information is handled in a safe and responsible manner. This Privacy Policy outlines how we collect, use, store, and protect the information you provide us when using our services. -## Consent +### Consent By using our website and services, you agree to the collection and use of information in accordance with this policy. If you do not agree with our policies and practices, please do not use our website. -## Information We Collect +### Information We Collect We collect several types of information from and about users of our website, including: - **Personal Data**: This may include, but is not limited to, your name, email address, postal address, phone number, and other identifiers by which you may be contacted online or offline. - **Usage Data**: We may also collect information on how the website is accessed and used. This data may include your computer's Internet Protocol address (IP address), browser type, browser version, the pages you visit, the time and date of your visit, the time spent on those pages, and other diagnostic data. -## How We Use Your Information +### How We Use Your Information We use the information we collect about you or that you provide to us, including any personal data, for various purposes, including to: @@ -30,15 +31,15 @@ We use the information we collect about you or that you provide to us, including - Monitor the usage of our website. - Detect, prevent and address technical issues. -## Data Security +### Data Security We have implemented measures designed to secure your personal information from accidental loss and from unauthorized access, use, alteration, and disclosure. However, the transmission of information via the internet is not completely secure. Although we do our best to protect your personal information, we cannot guarantee the security of your personal information transmitted to our website. -## Changes to Our Privacy Policy +### Changes to Our Privacy Policy We may update our Privacy Policy from time to time. We will notify you of any changes by posting the new Privacy Policy on this page. We will let you know via email and/or a prominent notice on our website, prior to the change becoming effective. -## Contact Information +### Contact Information To ask questions or comment about this Privacy Policy and our privacy practices, contact us at: [your contact information or email]. diff --git a/apps/www/content/pages/terms.mdx b/apps/www/app/(marketing)/terms/page.mdx similarity index 93% rename from apps/www/content/pages/terms.mdx rename to apps/www/app/(marketing)/terms/page.mdx index e53263c0..e9677dd9 100644 --- a/apps/www/content/pages/terms.mdx +++ b/apps/www/app/(marketing)/terms/page.mdx @@ -1,11 +1,12 @@ ---- -title: Terms & Conditions -description: Read our terms and conditions. +# Terms & Conditions + +## Read our terms and conditions. + --- Lorem ipsumMagna fermentum iaculis eu non diam. Vitae purus faucibus ornare suspendisse sed nisi lacus sed. In nibh mauris cursus mattis molestie a iaculis at. Enim sit amet venenatis urna. Eget sit amet tellus cras adipiscing. -## Legal Notices +### Legal Notices Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Volutpat sed cras ornare arcu. Nibh ipsum consequat nisl vel pretium lectus quam id leo. A arcu cursus vitae congue. Amet justo donec enim diam. Vel pharetra vel turpis nunc eget lorem. Gravida quis blandit turpis cursus in. Semper auctor neque vitae tempus. Elementum facilisis leo vel fringilla est ullamcorper eget nulla. Imperdiet nulla malesuada pellentesque elit eget. @@ -13,18 +14,18 @@ Felis donec et odio pellentesque diam volutpat commodo sed. Tortor consequat id porta nibh. Fames ac turpis egestas maecenas pharetra convallis posuere morbi leo. Scelerisque fermentum dui faucibus in. Tortor posuere ac ut consequat semper viverra. -## Warranty Disclaimer +### Warranty Disclaimer Tellus in hac habitasse platea dictumst vestibulum. Faucibus in ornare quam viverra. Viverra aliquet eget sit amet tellus cras adipiscing. Erat nam at lectus urna duis convallis convallis tellus. Bibendum est ultricies integer quis auctor elit sed vulputate. Nisl condimentum id venenatis a condimentum vitae. Ac auctor augue mauris augue neque gravida in fermentum. Arcu felis bibendum ut tristique. Tempor commodo ullamcorper a lacus vestibulum sed arcu non. -## General +### General Magna fermentum iaculis eu non diam. Vitae purus faucibus ornare suspendisse sed nisi lacus sed. In nibh mauris cursus mattis molestie a iaculis at. Enim sit amet venenatis urna. Eget sit amet tellus cras adipiscing. Sed lectus vestibulum mattis ullamcorper velit. Id diam vel quam elementum pulvinar. In iaculis nunc sed augue lacus viverra. In hendrerit gravida rutrum quisque non tellus. Nisl purus in mollis nunc. -## Disclaimer +### Disclaimer Amet justo donec enim diam. In hendrerit gravida rutrum quisque non. Hac habitasse platea dictumst quisque sagittis purus sit. Faucibus ornare suspendisse sed nisi lacus. Nulla porttitor massa id neque aliquam vestibulum. Ante in nibh mauris cursus mattis molestie a. Mi tempus imperdiet nulla malesuada. diff --git a/apps/www/app/api/cron/update-bank-account-data/route.ts b/apps/www/app/api/cron/update-bank-account-data/route.ts index 6dcd44d9..b5aa7d40 100644 --- a/apps/www/app/api/cron/update-bank-account-data/route.ts +++ b/apps/www/app/api/cron/update-bank-account-data/route.ts @@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from "next/server"; import { db, schema, sql } from "@projectx/db"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; import { BankingData, connectorFacade, toConnectorEnv } from "@/lib/connector"; export async function POST(req: NextRequest) { diff --git a/apps/www/app/api/cron/update-integrations/route.ts b/apps/www/app/api/cron/update-integrations/route.ts index 4da59a69..b343f96b 100644 --- a/apps/www/app/api/cron/update-integrations/route.ts +++ b/apps/www/app/api/cron/update-integrations/route.ts @@ -2,7 +2,7 @@ import { NextRequest, NextResponse } from "next/server"; import { db, eq, schema, sql } from "@projectx/db"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; import { connectorFacade, toConnectorEnv } from "@/lib/connector"; export async function POST(req: NextRequest) { diff --git a/apps/www/app/api/webhooks/stripe/route.ts b/apps/www/app/api/webhooks/stripe/route.ts index 35ee9729..57f4b1de 100644 --- a/apps/www/app/api/webhooks/stripe/route.ts +++ b/apps/www/app/api/webhooks/stripe/route.ts @@ -3,7 +3,7 @@ import type { NextRequest } from "next/server"; import { handleEvent, stripe } from "@projectx/stripe"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; export async function POST(req: NextRequest) { const payload = await req.text(); diff --git a/apps/www/app/sitemap.ts b/apps/www/app/sitemap.ts index ae27dacd..371af52b 100644 --- a/apps/www/app/sitemap.ts +++ b/apps/www/app/sitemap.ts @@ -1,5 +1,4 @@ import { MetadataRoute } from "next"; -import { allPages, allPosts } from "contentlayer/generated"; export default async function sitemap(): Promise { const domain = "https://www.badget.io/"; // Replace with your actual domain @@ -24,13 +23,13 @@ export default async function sitemap(): Promise { // })); // Sitemap for blog posts - const postsSitemap = allPosts - .filter((post) => post.published) - .map((post) => ({ - url: `https://${domain}/${post.slug.replace(/^\/+/g, "")}`, // Correct path and remove leading slashes - lastModified: new Date(post.date), - })); + // const postsSitemap = allPosts + // .filter((post) => post.published) + // .map((post) => ({ + // url: `https://${domain}/${post.slug.replace(/^\/+/g, "")}`, // Correct path and remove leading slashes + // lastModified: new Date(post.date), + // })); // Combine sitemaps - return [...staticPagesSitemap, ...postsSitemap]; + return [...staticPagesSitemap]; } diff --git a/apps/www/components/content/mdx-card.tsx b/apps/www/components/content/mdx-card.tsx deleted file mode 100644 index 0c13aede..00000000 --- a/apps/www/components/content/mdx-card.tsx +++ /dev/null @@ -1,38 +0,0 @@ -import Link from "next/link"; - -import { cn } from "@/lib/utils"; - -interface CardProps extends React.HTMLAttributes { - href?: string; - disabled?: boolean; -} - -export function MdxCard({ - href, - className, - children, - disabled, - ...props -}: CardProps) { - return ( -
-
-
- {children} -
-
- {href && ( - - View - - )} -
- ); -} diff --git a/apps/www/components/content/mdx-components.tsx b/apps/www/components/content/mdx-components.tsx deleted file mode 100644 index fb287650..00000000 --- a/apps/www/components/content/mdx-components.tsx +++ /dev/null @@ -1,184 +0,0 @@ -import * as React from "react"; -import NextImage, { ImageProps } from "next/image"; -import { useMDXComponent } from "next-contentlayer/hooks"; - -import { cn } from "@/lib/utils"; -import { MdxCard } from "@/components/content/mdx-card"; -import { Callout } from "@/components/shared/callout"; - -const components = { - // @ts-ignore - h1: ({ className, ...props }) => ( -

- ), - // @ts-ignore - h2: ({ className, ...props }) => ( -

- ), - // @ts-ignore - h3: ({ className, ...props }) => ( -

- ), - // @ts-ignore - h4: ({ className, ...props }) => ( -

- ), - // @ts-ignore - h5: ({ className, ...props }) => ( -

- ), - // @ts-ignore - h6: ({ className, ...props }) => ( -
- ), - // @ts-ignore - a: ({ className, ...props }) => ( - - ), - // @ts-ignore - p: ({ className, ...props }) => ( -

- ), - // @ts-ignore - ul: ({ className, ...props }) => ( -

    - ), - // @ts-ignore - ol: ({ className, ...props }) => ( -
      - ), - // @ts-ignore - li: ({ className, ...props }) => ( -
    1. - ), - // @ts-ignore - blockquote: ({ className, ...props }) => ( -
      *]:text-muted-foreground", - className, - )} - {...props} - /> - ), - img: ({ - className, - alt, - ...props - }: React.ImgHTMLAttributes) => ( - // eslint-disable-next-line @next/next/no-img-element - {alt} - ), - hr: ({ ...props }) =>
      , - table: ({ className, ...props }: React.HTMLAttributes) => ( -
      - - - ), - tr: ({ className, ...props }: React.HTMLAttributes) => ( - - ), - // @ts-ignore - th: ({ className, ...props }) => ( -
      - ), - // @ts-ignore - td: ({ className, ...props }) => ( - - ), - // @ts-ignore - pre: ({ className, ...props }) => ( -
      -  ),
      -  // @ts-ignore
      -  code: ({ className, ...props }) => (
      -    
      -  ),
      -  Image: (props: ImageProps) => ,
      -  Callout,
      -  Card: MdxCard,
      -};
      -
      -interface MdxProps {
      -  code: string;
      -}
      -
      -export function Mdx({ code }: MdxProps) {
      -  const Component = useMDXComponent(code);
      -
      -  return (
      -    
      - {/* @ts-ignore */} - -
      - ); -} diff --git a/apps/www/components/content/templete-blog/deploying-next-apps.mdx b/apps/www/components/content/templete-blog/deploying-next-apps.mdx deleted file mode 100644 index 25994303..00000000 --- a/apps/www/components/content/templete-blog/deploying-next-apps.mdx +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: Deploying Next.js Apps -description: How to deploy your Next.js apps on Vercel. -image: /images/blog/blog-post-3.jpg -date: "2023-01-02" -authors: - - shadcn ---- - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -
      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    2. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/components/content/templete-blog/dynamic-routing-static-regeneration copy.mdx b/apps/www/components/content/templete-blog/dynamic-routing-static-regeneration copy.mdx deleted file mode 100644 index 5a0ac707..00000000 --- a/apps/www/components/content/templete-blog/dynamic-routing-static-regeneration copy.mdx +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: Dynamic Routing and Static Regeneration -description: How to use incremental static regeneration using dynamic routes. -image: /images/blog/blog-post-2.jpg -date: "2023-03-04" -authors: - - codehagen ---- - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -

      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    3. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/components/content/templete-blog/preview-mode-headless-cms.mdx b/apps/www/components/content/templete-blog/preview-mode-headless-cms.mdx deleted file mode 100644 index e90e247e..00000000 --- a/apps/www/components/content/templete-blog/preview-mode-headless-cms.mdx +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: Preview Mode for Headless CMS -description: How to implement preview mode in your headless CMS. -date: "2023-04-09" -image: /images/blog/blog-post-1.jpg -authors: - - shadcn ---- - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -

      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    4. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/components/content/templete-blog/server-client-components.mdx b/apps/www/components/content/templete-blog/server-client-components.mdx deleted file mode 100644 index f71d58c0..00000000 --- a/apps/www/components/content/templete-blog/server-client-components.mdx +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: Server and Client Components -description: React Server Components allow developers to build applications that span the server and client. -image: /images/blog/blog-post-4.jpg -date: "2023-01-08" -authors: - - shadcn ---- - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -

      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    5. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/components/docs/page-header.tsx b/apps/www/components/docs/page-header.tsx deleted file mode 100644 index 17cea342..00000000 --- a/apps/www/components/docs/page-header.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import { cn } from "@/lib/utils"; - -interface DocsPageHeaderProps extends React.HTMLAttributes { - heading: string; - text?: string; -} - -export function DocsPageHeader({ - heading, - text, - className, - ...props -}: DocsPageHeaderProps) { - return ( - <> -

      -

      - {heading} -

      - {text &&

      {text}

      } -
      -
      - - ); -} diff --git a/apps/www/components/docs/pager.tsx b/apps/www/components/docs/pager.tsx deleted file mode 100644 index c722b3ac..00000000 --- a/apps/www/components/docs/pager.tsx +++ /dev/null @@ -1,65 +0,0 @@ -import Link from "next/link"; -import { Doc } from "contentlayer/generated"; - -import { docsConfig } from "@/config/docs"; -import { cn } from "@/lib/utils"; -import { buttonVariants } from "@/components/ui/button"; -import { Icons } from "@/components/shared/icons"; - -interface DocsPagerProps { - doc: Doc; -} - -export function DocsPager({ doc }: DocsPagerProps) { - const pager = getPagerForDoc(doc); - - if (!pager) { - return null; - } - - return ( -
      - {pager?.prev && ( - - - {pager.prev.title} - - )} - {pager?.next && ( - - {pager.next.title} - - - )} -
      - ); -} - -export function getPagerForDoc(doc: Doc) { - const flattenedLinks = [null, ...flatten(docsConfig.sidebarNav), null]; - const activeIndex = flattenedLinks.findIndex( - (link) => doc.slug === link?.href, - ); - const prev = activeIndex !== 0 ? flattenedLinks[activeIndex - 1] : null; - const next = - activeIndex !== flattenedLinks.length - 1 - ? flattenedLinks[activeIndex + 1] - : null; - return { - prev, - next, - }; -} - -// @ts-ignore -export function flatten(links: { items? }[]) { - return links.reduce((flat, link) => { - return flat.concat(link.items ? flatten(link.items) : link); - }, []); -} diff --git a/apps/www/components/docs/search.tsx b/apps/www/components/docs/search.tsx deleted file mode 100644 index 0f77780f..00000000 --- a/apps/www/components/docs/search.tsx +++ /dev/null @@ -1,37 +0,0 @@ -"use client"; - -import * as React from "react"; - -import { cn } from "@/lib/utils"; -import { Input } from "@/components/ui/input"; -import { toast } from "@/components/ui/use-toast"; - -interface DocsSearchProps extends React.HTMLAttributes {} - -export function DocsSearch({ className, ...props }: DocsSearchProps) { - function onSubmit(event: React.SyntheticEvent) { - event.preventDefault(); - - return toast({ - title: "Not implemented", - description: "We're still working on the search.", - }); - } - - return ( -
      - - - K - -
      - ); -} diff --git a/apps/www/components/forms/user-name-form.tsx b/apps/www/components/forms/user-name-form.tsx index c12dfaff..de333d0e 100644 --- a/apps/www/components/forms/user-name-form.tsx +++ b/apps/www/components/forms/user-name-form.tsx @@ -2,7 +2,7 @@ import { useTransition } from "react"; import { updateUserName, type FormData } from "@/actions/update-user-name"; -import { User } from "@clerk/nextjs/dist/types/server"; +import { User } from "@clerk/nextjs/server"; import { zodResolver } from "@hookform/resolvers/zod"; import { useForm } from "react-hook-form"; diff --git a/apps/www/components/shared/user-avatar.tsx b/apps/www/components/shared/user-avatar.tsx index 81a5991a..feb5e0ef 100644 --- a/apps/www/components/shared/user-avatar.tsx +++ b/apps/www/components/shared/user-avatar.tsx @@ -1,4 +1,4 @@ -import { User } from "@clerk/nextjs/dist/types/server"; +import { User } from "@clerk/nextjs/server"; import { AvatarProps } from "@radix-ui/react-avatar"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; diff --git a/apps/www/config/docs.ts b/apps/www/config/docs.ts index 1a60d622..fa4b751e 100644 --- a/apps/www/config/docs.ts +++ b/apps/www/config/docs.ts @@ -34,66 +34,7 @@ export const docsConfig: DocsConfig = { title: "Stripe", href: "/docs/installation/stripe", }, - { - title: "Edge Store", - href: "/docs/installation/edge-store", - }, ], }, - // { - // title: "Blog", - // items: [ - // { - // title: "Introduction", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Build your own", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Writing Posts", - // href: "/docs/in-progress", - // disabled: true, - // }, - // ], - // }, - // { - // title: "Dashboard", - // items: [ - // { - // title: "Introduction", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Layouts", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Server Components", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Authentication", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "Database with Drizzle ORM", - // href: "/docs/in-progress", - // disabled: true, - // }, - // { - // title: "API Routes", - // href: "/docs/in-progress", - // disabled: true, - // }, - // ], - // }, ], }; diff --git a/apps/www/config/site.ts b/apps/www/config/site.ts index 7f1e6c3f..c0ec8dab 100644 --- a/apps/www/config/site.ts +++ b/apps/www/config/site.ts @@ -1,6 +1,6 @@ import { SiteConfig } from "@/types"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; const site_url = env.NEXT_PUBLIC_APP_URL; diff --git a/apps/www/config/subscriptions.ts b/apps/www/config/subscriptions.ts index 20069a8c..adf8a42f 100644 --- a/apps/www/config/subscriptions.ts +++ b/apps/www/config/subscriptions.ts @@ -1,6 +1,6 @@ import { SubscriptionPlan } from "@/types"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; export const pricingData: SubscriptionPlan[] = [ { diff --git a/apps/www/content/docs/in-progress.mdx b/apps/www/content/docs/in-progress.mdx deleted file mode 100644 index dd4590f3..00000000 --- a/apps/www/content/docs/in-progress.mdx +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Not Implemented -description: This page is in progress. ---- - - - -The documentation is still a work in progress. [We welcome contributions!](https://github.com/projectx-codehagen/Badget)\ -You can follow updates on Twitter [@CodeHagen](https://twitter.com/CodeHagen). - - diff --git a/apps/www/content/docs/index.mdx b/apps/www/content/docs/index.mdx deleted file mode 100644 index 3c63ea40..00000000 --- a/apps/www/content/docs/index.mdx +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Introduction -description: Welcome to the Badget community! ---- - -Welcome to the Badget documentation. - -Badget is a community driven, open source personal finance tracker. -Think of it as the open source version to https://copilot.money - - - -The documentation is still a work in progress. [We welcome contributions!](https://github.com/projectx-codehagen/Badget)\ -You can follow updates on Twitter [@CodeHagen](https://twitter.com/CodeHagen). - - diff --git a/apps/www/content/docs/installation/clerk.mdx b/apps/www/content/docs/installation/clerk.mdx deleted file mode 100644 index 30323524..00000000 --- a/apps/www/content/docs/installation/clerk.mdx +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Clerk -description: Clerk is our authentication service ---- - -1. Go to https://clerk.com and create an account - -You will be redirected to the Sign In builder page. - -2. Choose an application name and customize options if you want. Then, click **Create application** - -You will be redirected to your dashboard. There is a section that says API Keys. - -3. Copy these values to the appropriate location `.env.local` file. diff --git a/apps/www/content/guides/build-blog-using-contentlayer-mdx.mdx b/apps/www/content/guides/build-blog-using-contentlayer-mdx.mdx deleted file mode 100644 index b092188e..00000000 --- a/apps/www/content/guides/build-blog-using-contentlayer-mdx.mdx +++ /dev/null @@ -1,223 +0,0 @@ ---- -title: Build a blog using ContentLayer and MDX. -description: Learn how to use ContentLayer to build a blog with Next.js -date: 2022-11-18 ---- - - - -The documentation is still a work in progress. [We welcome contributions!](https://github.com/projectx-codehagen/Badget)\ -You can follow updates on Twitter [@CodeHagen](https://twitter.com/CodeHagen). - - - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -
      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    6. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/content/guides/using-next-auth-next-13.mdx b/apps/www/content/guides/using-next-auth-next-13.mdx deleted file mode 100644 index ffd14727..00000000 --- a/apps/www/content/guides/using-next-auth-next-13.mdx +++ /dev/null @@ -1,223 +0,0 @@ ---- -title: Using NextAuth.js with Next.13 -description: How to use NextAuth.js in server components. -date: 2022-11-23 ---- - - - -The documentation is still a work in progress. [We welcome contributions!](https://github.com/projectx-codehagen/Badget)\ -You can follow updates on Twitter [@CodeHagen](https://twitter.com/CodeHagen). - - - - - The text below is from the [Tailwind - CSS](https://play.tailwindcss.com/uj1vGACRJA?layout=preview) docs. I copied it - here to test the markdown styles. **Tailwind is awesome. You should use it.** - - -Until now, trying to style an article, document, or blog post with Tailwind has been a tedious task that required a keen eye for typography and a lot of complex custom CSS. - -By default, Tailwind removes all of the default browser styling from paragraphs, headings, lists and more. This ends up being really useful for building application UIs because you spend less time undoing user-agent styles, but when you _really are_ just trying to style some content that came from a rich-text editor in a CMS or a markdown file, it can be surprising and unintuitive. - -We get lots of complaints about it actually, with people regularly asking us things like: - -> Why is Tailwind removing the default styles on my `h1` elements? How do I disable this? What do you mean I lose all the other base styles too? -> We hear you, but we're not convinced that simply disabling our base styles is what you really want. You don't want to have to remove annoying margins every time you use a `p` element in a piece of your dashboard UI. And I doubt you really want your blog posts to use the user-agent styles either — you want them to look _awesome_, not awful. - -The `@tailwindcss/typography` plugin is our attempt to give you what you _actually_ want, without any of the downsides of doing something stupid like disabling our base styles. - -It adds a new `prose` class that you can slap on any block of vanilla HTML content and turn it into a beautiful, well-formatted document: - -```html -

      -

      Garlic bread with cheese: What the science tells us

      -

      - For years parents have espoused the health benefits of eating garlic bread - with cheese to their children, with the food earning such an iconic status - in our culture that kids will often dress up as warm, cheesy loaf for - Halloween. -

      -

      - But a recent study shows that the celebrated appetizer may be linked to a - series of rabies cases springing up around the country. -

      -
      -``` - -For more information about how to use the plugin and the features it includes, [read the documentation](https://github.com/tailwindcss/typography/blob/master/README.md). - ---- - -## What to expect from here on out - -What follows from here is just a bunch of absolute nonsense I've written to dogfood the plugin itself. It includes every sensible typographic element I could think of, like **bold text**, unordered lists, ordered lists, code blocks, block quotes, _and even italics_. - -It's important to cover all of these use cases for a few reasons: - -1. We want everything to look good out of the box. -2. Really just the first reason, that's the whole point of the plugin. -3. Here's a third pretend reason though a list with three items looks more realistic than a list with two items. - -Now we're going to try out another header style. - -### Typography should be easy - -So that's a header for you — with any luck if we've done our job correctly that will look pretty reasonable. - -Something a wise person once told me about typography is: - -> Typography is pretty important if you don't want your stuff to look like trash. Make it good then it won't be bad. - -It's probably important that images look okay here by default as well: - -Image - -Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. - -Now I'm going to show you an example of an unordered list to make sure that looks good, too: - -- So here is the first item in this list. -- In this example we're keeping the items short. -- Later, we'll use longer, more complex list items. - -And that's the end of this section. - -## What if we stack headings? - -### We should make sure that looks good, too. - -Sometimes you have headings directly underneath each other. In those cases you often have to undo the top margin on the second heading because it usually looks better for the headings to be closer together than a paragraph followed by a heading should be. - -### When a heading comes after a paragraph … - -When a heading comes after a paragraph, we need a bit more space, like I already mentioned above. Now let's see what a more complex list would look like. - -- **I often do this thing where list items have headings.** - - For some reason I think this looks cool which is unfortunate because it's pretty annoying to get the styles right. - - I often have two or three paragraphs in these list items, too, so the hard part is getting the spacing between the paragraphs, list item heading, and separate list items to all make sense. Pretty tough honestly, you could make a strong argument that you just shouldn't write this way. - -- **Since this is a list, I need at least two items.** - - I explained what I'm doing already in the previous list item, but a list wouldn't be a list if it only had one item, and we really want this to look realistic. That's why I've added this second list item so I actually have something to look at when writing the styles. - -- **It's not a bad idea to add a third item either.** - - I think it probably would've been fine to just use two items but three is definitely not worse, and since I seem to be having no trouble making up arbitrary things to type, I might as well include it. - -After this sort of list I usually have a closing statement or paragraph, because it kinda looks weird jumping right to a heading. - -## Code should look okay by default. - -I think most people are going to use [highlight.js](https://highlightjs.org/) or [Prism](https://prismjs.com/) or something if they want to style their code blocks but it wouldn't hurt to make them look _okay_ out of the box, even with no syntax highlighting. - -Here's what a default `tailwind.config.js` file looks like at the time of writing: - -```js -module.exports = { - purge: [], - theme: { - extend: {}, - }, - variants: {}, - plugins: [], -}; -``` - -Hopefully that looks good enough to you. - -### What about nested lists? - -Nested lists basically always look bad which is why editors like Medium don't even let you do it, but I guess since some of you goofballs are going to do it we have to carry the burden of at least making it work. - -1. **Nested lists are rarely a good idea.** - - You might feel like you are being really "organized" or something but you are just creating a gross shape on the screen that is hard to read. - - Nested navigation in UIs is a bad idea too, keep things as flat as possible. - - Nesting tons of folders in your source code is also not helpful. -2. **Since we need to have more items, here's another one.** - - I'm not sure if we'll bother styling more than two levels deep. - - Two is already too much, three is guaranteed to be a bad idea. - - If you nest four levels deep you belong in prison. -3. **Two items isn't really a list, three is good though.** - - Again please don't nest lists if you want people to actually read your content. - - Nobody wants to look at this. - - I'm upset that we even have to bother styling this. - -The most annoying thing about lists in Markdown is that `
    7. ` elements aren't given a child `

      ` tag unless there are multiple paragraphs in the list item. That means I have to worry about styling that annoying situation too. - -- **For example, here's another nested list.** - - But this time with a second paragraph. - - - These list items won't have `

      ` tags - - Because they are only one line each - -- **But in this second top-level list item, they will.** - - This is especially annoying because of the spacing on this paragraph. - - - As you can see here, because I've added a second line, this list item now has a `

      ` tag. - - This is the second line I'm talking about by the way. - - - Finally here's another list item so it's more like a list. - -- A closing list item, but with no nested list, because why not? - -And finally a sentence to close off this section. - -## There are other elements we need to style - -I almost forgot to mention links, like [this link to the Tailwind CSS website](https://tailwindcss.com). We almost made them blue but that's so yesterday, so we went with dark gray, feels edgier. - -We even included table styles, check it out: - -| Wrestler | Origin | Finisher | -| ----------------------- | ------------ | ------------------ | -| Bret "The Hitman" Hart | Calgary, AB | Sharpshooter | -| Stone Cold Steve Austin | Austin, TX | Stone Cold Stunner | -| Randy Savage | Sarasota, FL | Elbow Drop | -| Vader | Boulder, CO | Vader Bomb | -| Razor Ramon | Chuluota, FL | Razor's Edge | - -We also need to make sure inline code looks good, like if I wanted to talk about `` elements or tell you the good news about `@tailwindcss/typography`. - -### Sometimes I even use `code` in headings - -Even though it's probably a bad idea, and historically I've had a hard time making it look good. This _"wrap the code blocks in backticks"_ trick works pretty well though really. - -Another thing I've done in the past is put a `code` tag inside of a link, like if I wanted to tell you about the [`tailwindcss/docs`](https://github.com/tailwindcss/docs) repository. I don't love that there is an underline below the backticks but it is absolutely not worth the madness it would require to avoid it. - -#### We haven't used an `h4` yet - -But now we have. Please don't use `h5` or `h6` in your content, Medium only supports two heading levels for a reason, you animals. I honestly considered using a `before` pseudo-element to scream at you if you use an `h5` or `h6`. - -We don't style them at all out of the box because `h4` elements are already so small that they are the same size as the body copy. What are we supposed to do with an `h5`, make it _smaller_ than the body copy? No thanks. - -### We still need to think about stacked headings though. - -#### Let's make sure we don't screw that up with `h4` elements, either. - -Phew, with any luck we have styled the headings above this text and they look pretty good. - -Let's add a closing paragraph here so things end with a decently sized block of text. I can't explain why I want things to end that way but I have to assume it's because I think things will look weird or unbalanced if there is a heading too close to the end of the document. - -What I've written here is probably long enough, but adding this final sentence can't hurt. - -## GitHub Flavored Markdown - -I've also added support for GitHub Flavored Mardown using `remark-gfm`. - -With `remark-gfm`, we get a few extra features in our markdown. Example: autolink literals. - -A link like www.example.com or https://example.com would automatically be converted into an `a` tag. - -This works for email links too: contact@example.com. diff --git a/apps/www/contentlayer.config.js b/apps/www/contentlayer.config.js deleted file mode 100644 index b6ed507b..00000000 --- a/apps/www/contentlayer.config.js +++ /dev/null @@ -1,191 +0,0 @@ -import { defineDocumentType, makeSource } from "contentlayer/source-files"; -import rehypeAutolinkHeadings from "rehype-autolink-headings"; -import rehypePrettyCode from "rehype-pretty-code"; -import rehypeSlug from "rehype-slug"; -import remarkGfm from "remark-gfm"; - -/** @type {import('contentlayer/source-files').ComputedFields} */ -const computedFields = { - slug: { - type: "string", - resolve: (doc) => `/${doc._raw.flattenedPath}`, - }, - slugAsParams: { - type: "string", - resolve: (doc) => doc._raw.flattenedPath.split("/").slice(1).join("/"), - }, -}; - -export const Doc = defineDocumentType(() => ({ - name: "Doc", - filePathPattern: `docs/**/*.mdx`, - contentType: "mdx", - fields: { - title: { - type: "string", - required: true, - }, - description: { - type: "string", - }, - published: { - type: "boolean", - default: true, - }, - }, - computedFields, -})); - -export const Guide = defineDocumentType(() => ({ - name: "Guide", - filePathPattern: `guides/**/*.mdx`, - contentType: "mdx", - fields: { - title: { - type: "string", - required: true, - }, - description: { - type: "string", - }, - date: { - type: "date", - required: true, - }, - published: { - type: "boolean", - default: true, - }, - featured: { - type: "boolean", - default: false, - }, - }, - computedFields, -})); - -export const Post = defineDocumentType(() => ({ - name: "Post", - filePathPattern: `blog/**/*.mdx`, - contentType: "mdx", - fields: { - title: { - type: "string", - required: true, - }, - description: { - type: "string", - }, - date: { - type: "date", - required: true, - }, - published: { - type: "boolean", - default: true, - }, - image: { - type: "string", - required: true, - }, - authors: { - // Reference types are not embedded. - // Until this is fixed, we can use a simple list. - // type: "reference", - // of: Author, - type: "list", - of: { type: "string" }, - required: true, - }, - }, - computedFields, -})); - -export const Author = defineDocumentType(() => ({ - name: "Author", - filePathPattern: `authors/**/*.mdx`, - contentType: "mdx", - fields: { - title: { - type: "string", - required: true, - }, - description: { - type: "string", - }, - avatar: { - type: "string", - required: true, - }, - twitter: { - type: "string", - required: true, - }, - }, - computedFields, -})); - -export const Page = defineDocumentType(() => ({ - name: "Page", - filePathPattern: `pages/**/*.mdx`, - contentType: "mdx", - fields: { - title: { - type: "string", - required: true, - }, - description: { - type: "string", - }, - }, - computedFields, -})); - -export default makeSource({ - contentDirPath: "./content", - documentTypes: [Page, Doc, Guide, Post, Author], - mdx: { - remarkPlugins: [remarkGfm], - rehypePlugins: [ - rehypeSlug, - [ - rehypePrettyCode, - { - theme: "github-dark", - onVisitLine(node) { - // Prevent lines from collapsing in `display: grid` mode, and allow empty - // lines to be copy/pasted - if (node.children.length === 0) { - node.children = [{ type: "text", value: " " }]; - } - }, - onVisitHighlightedLine(node) { - // node.properties.className.push("line--highlighted") - - // FIX: I changed remark-gmf 4.0.0 to 3.0.1 (return a lot errors in mdx?) - // And solve error on onVisitHighlightedLine with code from : https://stackoverflow.com/questions/76549262/onvisithighlightedline-cannot-push-classname-using-rehype-pretty-code - const nodeClass = node.properties.className; - - if (nodeClass && nodeClass.length > 0) { - node.properties.className.push("line--highlighted"); - } else { - node.properties.className = ["line--highlighted"]; - } - }, - onVisitHighlightedWord(node) { - node.properties.className = ["word--highlighted"]; - }, - }, - ], - [ - rehypeAutolinkHeadings, - { - properties: { - className: ["subheading-anchor"], - ariaLabel: "Link to section", - }, - }, - ], - ], - }, -}); diff --git a/apps/www/env.mjs b/apps/www/env.ts similarity index 63% rename from apps/www/env.mjs rename to apps/www/env.ts index d785afe4..a7aef530 100644 --- a/apps/www/env.mjs +++ b/apps/www/env.ts @@ -2,19 +2,29 @@ import { createEnv } from "@t3-oss/env-nextjs"; import { z } from "zod"; export const env = createEnv({ + shared: { + NODE_ENV: z + .enum(["development", "production", "test"]) + .default("development"), + VERCEL_ENV: z.enum(["development", "preview", "production"]).optional(), + }, + /** + * Specify your server-side environment variables schema here. + * This way you can ensure the app isn't built with invalid env vars. + */ server: { CRON_SECRET: z.string().min(1), DATABASE_HOST: z.string().min(1), DATABASE_USERNAME: z.string().min(1), DATABASE_PASSWORD: z.string().min(1), RESEND_API_KEY: z.string().min(1), - TEST_EMAIL_ADDRESS: z.string().min(1), STRIPE_API_KEY: z.string().min(1), STRIPE_WEBHOOK_SECRET: z.string().min(1), - EDGE_STORE_ACCESS_KEY: z.string().optional(), - EDGE_STORE_SECRET_KEY: z.string().optional(), - NODE_ENV: z.enum(["development", "production", "test"]).default("test"), }, + /** + * Specify your client-side environment variables schema here. + * For them to be exposed to the client, prefix them with `NEXT_PUBLIC_`. + */ client: { NEXT_PUBLIC_APP_URL: z.string().min(1), NEXT_PUBLIC_STRIPE_STD_PRODUCT_ID: z.string().min(1), @@ -22,17 +32,13 @@ export const env = createEnv({ NEXT_PUBLIC_STRIPE_PRO_PRODUCT_ID: z.string().min(1), NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PRICE_ID: z.string().min(1), }, - runtimeEnv: { - CRON_SECRET: process.env.CRON_SECRET, - DATABASE_HOST: process.env.DATABASE_HOST, - DATABASE_USERNAME: process.env.DATABASE_USERNAME, - DATABASE_PASSWORD: process.env.DATABASE_PASSWORD, - RESEND_API_KEY: process.env.RESEND_API_KEY, - TEST_EMAIL_ADDRESS: process.env.TEST_EMAIL_ADDRESS, + /** + * Destructure all variables from `process.env` to make sure they aren't tree-shaken away. + */ + experimental__runtimeEnv: { + VERCEL_ENV: process.env.VERCEL_ENV, + NODE_ENV: process.env.NODE_ENV, NEXT_PUBLIC_APP_URL: process.env.NEXT_PUBLIC_APP_URL, - // Stripe - STRIPE_API_KEY: process.env.STRIPE_API_KEY, - STRIPE_WEBHOOK_SECRET: process.env.STRIPE_WEBHOOK_SECRET, NEXT_PUBLIC_STRIPE_STD_PRODUCT_ID: process.env.NEXT_PUBLIC_STRIPE_STD_PRODUCT_ID, NEXT_PUBLIC_STRIPE_STD_MONTHLY_PRICE_ID: @@ -41,16 +47,13 @@ export const env = createEnv({ process.env.NEXT_PUBLIC_STRIPE_PRO_PRODUCT_ID, NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PRICE_ID: process.env.NEXT_PUBLIC_STRIPE_PRO_MONTHLY_PRICE_ID, - // EdgeStore - EDGE_STORE_ACCESS_KEY: process.env.EDGE_STORE_ACCESS_KEY, - EDGE_STORE_SECRET_KEY: process.env.EDGE_STORE_SECRET_KEY, }, - /** * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. * This is especially useful for Docker builds. */ skipValidation: + !!process.env.CI || !!process.env.SKIP_ENV_VALIDATION || process.env.npm_lifecycle_event === "lint", }); diff --git a/apps/www/lib/utils.ts b/apps/www/lib/utils.ts index 61f5188f..d02def8c 100644 --- a/apps/www/lib/utils.ts +++ b/apps/www/lib/utils.ts @@ -2,7 +2,7 @@ import { clsx, type ClassValue } from "clsx"; import ms from "ms"; import { twMerge } from "tailwind-merge"; -import { env } from "@/env.mjs"; +import { env } from "@/env"; export function cn(...inputs: ClassValue[]) { return twMerge(clsx(inputs)); diff --git a/apps/www/mdx-components.tsx b/apps/www/mdx-components.tsx new file mode 100644 index 00000000..a5694c00 --- /dev/null +++ b/apps/www/mdx-components.tsx @@ -0,0 +1,58 @@ +import { Route } from "next"; +import Link from "next/link"; +import type { MDXComponents } from "mdx/types"; + +export function useMDXComponents(components: MDXComponents): MDXComponents { + return { + // Allows customizing built-in components, e.g. to add styling. + h1: (props) => ( +

      + {props.children} +

      + ), + h2: (props) => ( +

      + {props.children} +

      + ), + h3: (props) => ( +

      + {props.children} +

      + ), + h4: (props) => ( +

      + {props.children} +

      + ), + p: (props) => ( +

      + ), + a: ({ children, href }) => { + const isExternal = href?.startsWith("http"); + const Component = isExternal ? "a" : Link; + return ( + + {children} + + ); + }, + ol: (props) =>

        , + ul: (props) =>
          , + hr: (props) =>
          , + code: (props) => ( + + ), + // eslint-disable-next-line @next/next/no-img-element + img: (props) => {props.alt}, + + // Pass through all other components. + ...components, + }; +} diff --git a/apps/www/next.config.js b/apps/www/next.config.js index 83d7f12a..99f7b56f 100644 --- a/apps/www/next.config.js +++ b/apps/www/next.config.js @@ -1,14 +1,19 @@ -// FIX: I changed .mjs to .js -// More info: https://github.com/shadcn-ui/taxonomy/issues/100#issuecomment-1605867844 +import { fileURLToPath } from "url"; +import withMDX from "@next/mdx"; +import _jiti from "jiti"; -const { createContentlayerPlugin } = require("next-contentlayer"); +const jiti = _jiti(fileURLToPath(import.meta.url)); -import("./env.mjs"); +// Import env files to validate at build time. Use jiti so we can load .ts files in here. +jiti("./env"); /** @type {import('next').NextConfig} */ -const nextConfig = { +const config = { reactStrictMode: true, + // Configure `pageExtensions` to include MDX files + pageExtensions: ["mdx", "ts", "tsx"], + transpilePackages: [ "@projectx/api", "@projectx/db", @@ -49,8 +54,4 @@ const nextConfig = { }, }; -const withContentlayer = createContentlayerPlugin({ - // Additional Contentlayer config options -}); - -module.exports = withContentlayer(nextConfig); +export default withMDX()(config); diff --git a/apps/www/package.json b/apps/www/package.json index 967ae1dd..3527bb3f 100644 --- a/apps/www/package.json +++ b/apps/www/package.json @@ -7,15 +7,16 @@ "name": "Christer", "url": "https://twitter.com/Codehagen" }, + "type": "module", "scripts": { - "build": "contentlayer build && pnpm with-env next build", - "clean": "git clean -xdf .next .turbo .contentlayer node_modules", + "build": "pnpm with-env next build", + "clean": "git clean -xdf .next .turbo node_modules", "dev": "pnpm with-env next dev", "format": "prettier --check . --ignore-path ../../.gitignore", "lint": "dotenv -v SKIP_ENV_VALIDATION=1 next lint", "preview": "pnpm with-env next build && pnpm with-env next start", "start": "pnpm with-env next start", - "typecheck": "contentlayer build && tsc --noEmit", + "typecheck": "tsc --noEmit", "with-env": "dotenv -e ../../.env.local --" }, "dependencies": { @@ -23,6 +24,9 @@ "@clerk/themes": "^1.7.9", "@dinero.js/currencies": "2.0.0-alpha.14", "@hookform/resolvers": "^3.3.2", + "@next/mdx": "^14.1.0", + "@mdx-js/loader": "^3.0.1", + "@mdx-js/react": "^3.0.1", "@projectx/api": "workspace:^0.1.0", "@projectx/connector-core": "workspace:^0.1.0", "@projectx/connector-gocardless": "workspace:^0.1.0", @@ -60,7 +64,7 @@ "@radix-ui/react-toggle": "^1.0.3", "@radix-ui/react-toggle-group": "^1.0.4", "@radix-ui/react-tooltip": "^1.0.7", - "@t3-oss/env-nextjs": "^0.7.1", + "@t3-oss/env-nextjs": "^0.9.2", "@tanstack/react-query": "^5.17.15", "@tanstack/react-table": "^8.10.7", "@trpc/client": "^10.38.5", @@ -74,16 +78,16 @@ "clsx": "^2.1.0", "cmdk": "^0.2.0", "concurrently": "^8.2.2", - "contentlayer": "^0.3.4", "date-fns": "^2.30.0", "dinero.js": "2.0.0-alpha.14", "dotenv-cli": "^7.3.0", "framer-motion": "^11.0.8", + "gray-matter": "^4.0.3", "jotai": "^2.6.1", "lucide-react": "^0.354.0", + "next-mdx-remote": "^4.4.1", "ms": "^2.1.3", "next": "^14.1.0", - "next-contentlayer": "^0.3.4", "next-themes": "^0.2.1", "nodemailer": "^6.9.8", "openai": "^4.16.1", @@ -113,6 +117,7 @@ "@projectx/tsconfig": "workspace:^0.1.0", "@tailwindcss/typography": "^0.5.10", "@types/node": "^20.8.9", + "@types/mdx": "^2.0.11", "@types/react": "18.2.33", "@types/react-dom": "18.2.14", "eslint": "^8.57.0", diff --git a/apps/www/postcss.config.js b/apps/www/postcss.config.cjs similarity index 59% rename from apps/www/postcss.config.js rename to apps/www/postcss.config.cjs index d95f15df..efe07992 100644 --- a/apps/www/postcss.config.js +++ b/apps/www/postcss.config.cjs @@ -1,2 +1 @@ -// @ts-expect-error - No types for postcss module.exports = require("@projectx/tailwind-config/postcss"); diff --git a/apps/www/tsconfig.json b/apps/www/tsconfig.json index 0e8200fb..abc46c66 100644 --- a/apps/www/tsconfig.json +++ b/apps/www/tsconfig.json @@ -3,8 +3,7 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@/*": ["./*"], - "contentlayer/generated": ["./.contentlayer/generated"] + "@/*": ["./*"] }, "plugins": [ { @@ -13,12 +12,6 @@ ], "tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json" }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".contentlayer/generated" - ], + "include": [".", ".next/types/**/*.ts"], "exclude": ["node_modules"] } diff --git a/packages/api/package.json b/packages/api/package.json index 767973c5..842e4c5f 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -10,13 +10,6 @@ "./lambda": "./src/lambda.ts", "./transformer": "./src/transformer.ts" }, - "typesVersions": { - "*": { - "*": [ - "src/*" - ] - } - }, "license": "MIT", "scripts": { "clean": "rm -rf .turbo node_modules", diff --git a/packages/api/src/transformer.ts b/packages/api/src/transformer.ts index 97f93b59..16f0cff4 100644 --- a/packages/api/src/transformer.ts +++ b/packages/api/src/transformer.ts @@ -1,7 +1,8 @@ import { dinero } from "dinero.js"; import type { Dinero, DineroSnapshot } from "dinero.js"; import superjson from "superjson"; -import type { JSONValue } from "superjson/dist/types"; + +// import type { JSONValue } from "superjson/dist/types"; /** * TODO: Maybe put this in a shared package that can be safely shared between `api`, `nextjs` and `expo` packages @@ -18,7 +19,7 @@ superjson.registerCustom( } }, serialize: (val) => { - return val.toJSON() as JSONValue; + return val.toJSON() as unknown as any; // as JSONValue; }, deserialize: (val) => { return dinero(val as DineroSnapshot); diff --git a/packages/stripe/package.json b/packages/stripe/package.json index f20237f1..f7162e35 100644 --- a/packages/stripe/package.json +++ b/packages/stripe/package.json @@ -25,7 +25,7 @@ "dependencies": { "@projectx/db": "^0.1.0", "@clerk/nextjs": "^4.29.9", - "@t3-oss/env-nextjs": "^0.7.1", + "@t3-oss/env-nextjs": "^0.9.2", "stripe": "^14.15.0" }, "devDependencies": { diff --git a/packages/transactional/package.json b/packages/transactional/package.json index c295381c..c5738abd 100644 --- a/packages/transactional/package.json +++ b/packages/transactional/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@react-email/components": "0.0.14", - "@t3-oss/env-nextjs": "^0.7.1", + "@t3-oss/env-nextjs": "^0.9.2", "react-email": "^2.0.0", "resend": "^3.1.0" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c86e32e2..3baa6c5c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -35,6 +35,15 @@ importers: '@hookform/resolvers': specifier: ^3.3.2 version: 3.3.4(react-hook-form@7.49.3) + '@mdx-js/loader': + specifier: ^3.0.1 + version: 3.0.1(webpack@5.90.0) + '@mdx-js/react': + specifier: ^3.0.1 + version: 3.0.1(@types/react@18.2.33)(react@18.2.0) + '@next/mdx': + specifier: ^14.1.0 + version: 14.1.3(@mdx-js/loader@3.0.1)(@mdx-js/react@3.0.1) '@projectx/api': specifier: workspace:^0.1.0 version: link:../../packages/api @@ -147,8 +156,8 @@ importers: specifier: ^1.0.7 version: 1.0.7(@types/react-dom@18.2.14)(@types/react@18.2.33)(react-dom@18.2.0)(react@18.2.0) '@t3-oss/env-nextjs': - specifier: ^0.7.1 - version: 0.7.3(typescript@5.3.3)(zod@3.22.4) + specifier: ^0.9.2 + version: 0.9.2(typescript@5.3.3)(zod@3.22.4) '@tanstack/react-query': specifier: ^5.17.15 version: 5.17.19(react@18.2.0) @@ -188,9 +197,6 @@ importers: concurrently: specifier: ^8.2.2 version: 8.2.2 - contentlayer: - specifier: ^0.3.4 - version: 0.3.4(esbuild@0.19.12) date-fns: specifier: ^2.30.0 version: 2.30.0 @@ -203,6 +209,9 @@ importers: framer-motion: specifier: ^11.0.8 version: 11.0.8(react-dom@18.2.0)(react@18.2.0) + gray-matter: + specifier: ^4.0.3 + version: 4.0.3 jotai: specifier: ^2.6.1 version: 2.6.3(@types/react@18.2.33)(react@18.2.0) @@ -214,10 +223,10 @@ importers: version: 2.1.3 next: specifier: ^14.1.0 - version: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) - next-contentlayer: - specifier: ^0.3.4 - version: 0.3.4(contentlayer@0.3.4)(esbuild@0.19.12)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) + version: 14.1.0(react-dom@18.2.0)(react@18.2.0) + next-mdx-remote: + specifier: ^4.4.1 + version: 4.4.1(react-dom@18.2.0)(react@18.2.0) next-themes: specifier: ^0.2.1 version: 0.2.1(next@14.1.0)(react-dom@18.2.0)(react@18.2.0) @@ -297,6 +306,9 @@ importers: '@tailwindcss/typography': specifier: ^0.5.10 version: 0.5.10(tailwindcss@3.4.1) + '@types/mdx': + specifier: ^2.0.11 + version: 2.0.11 '@types/node': specifier: ^20.8.9 version: 20.11.6 @@ -441,8 +453,8 @@ importers: specifier: ^0.1.0 version: link:../db '@t3-oss/env-nextjs': - specifier: ^0.7.1 - version: 0.7.3(typescript@5.3.3)(zod@3.22.4) + specifier: ^0.9.2 + version: 0.9.2(typescript@5.3.3)(zod@3.22.4) stripe: specifier: ^14.15.0 version: 14.15.0 @@ -472,8 +484,8 @@ importers: specifier: 0.0.14 version: 0.0.14(@types/react@18.2.33)(react@18.2.0) '@t3-oss/env-nextjs': - specifier: ^0.7.1 - version: 0.7.3(typescript@5.3.3)(zod@3.22.4) + specifier: ^0.9.2 + version: 0.9.2(typescript@5.3.3)(zod@3.22.4) react-email: specifier: ^2.0.0 version: 2.0.0(eslint@8.57.0) @@ -1017,7 +1029,7 @@ packages: '@clerk/clerk-sdk-node': 4.13.11(react@18.2.0) '@clerk/shared': 1.3.3(react@18.2.0) '@clerk/types': 3.62.1 - next: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) path-to-regexp: 6.2.1 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) @@ -1054,127 +1066,6 @@ packages: csstype: 3.1.1 dev: false - /@contentlayer/cli@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-vNDwgLuhYNu+m70NZ3XK9kexKNguuxPXg7Yvzj3B34cEilQjjzSrcTY/i+AIQm9V7uT5GGshx9ukzPf+SmoszQ==} - dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - '@contentlayer/utils': 0.3.4 - clipanion: 3.2.1(typanion@3.14.0) - typanion: 3.14.0 - transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - - supports-color - dev: false - - /@contentlayer/client@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-QSlLyc3y4PtdC5lFw0L4wTZUH8BQnv2nk37hNCsPAqGf+dRO7TLAzdc+2/mVIRgK+vSH+pSOzjLsQpFxxXRTZA==} - dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - - supports-color - dev: false - - /@contentlayer/core@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-o68oBLwfYZ+2vtgfk1lgHxOl3LoxvRNiUfeQ8IWFWy/L4wnIkKIqLZX01zlRE5IzYM+ZMMN5V0cKQlO7DsyR9g==} - peerDependencies: - esbuild: 0.17.x || 0.18.x - markdown-wasm: 1.x - peerDependenciesMeta: - esbuild: - optional: true - markdown-wasm: - optional: true - dependencies: - '@contentlayer/utils': 0.3.4 - camel-case: 4.1.2 - comment-json: 4.2.3 - esbuild: 0.19.12 - gray-matter: 4.0.3 - mdx-bundler: 9.2.1(esbuild@0.19.12) - rehype-stringify: 9.0.4 - remark-frontmatter: 4.0.1 - remark-parse: 10.0.2 - remark-rehype: 10.1.0 - source-map-support: 0.5.21 - type-fest: 3.13.1 - unified: 10.1.2 - transitivePeerDependencies: - - '@effect-ts/otel-node' - - supports-color - dev: false - - /@contentlayer/source-files@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-4njyn0OFPu7WY4tAjMxiJgWOKeiHuBOGdQ36EYE03iij/pPPRbiWbL+cmLccYXUFEW58mDwpqROZZm6pnxjRDQ==} - dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - '@contentlayer/utils': 0.3.4 - chokidar: 3.5.3 - fast-glob: 3.3.2 - gray-matter: 4.0.3 - imagescript: 1.2.18 - micromatch: 4.0.5 - ts-pattern: 4.3.0 - unified: 10.1.2 - yaml: 2.3.4 - zod: 3.22.4 - transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - - supports-color - dev: false - - /@contentlayer/source-remote-files@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-cyiv4sNUySZvR0uAKlM+kSAELzNd2h2QT1R2e41dRKbwOUVxeLfmGiLugr0aVac6Q3xYcD99dbHyR1xWPV+w9w==} - dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.12) - '@contentlayer/utils': 0.3.4 - transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - - supports-color - dev: false - - /@contentlayer/utils@0.3.4: - resolution: {integrity: sha512-ZWWOhbUWYQ2QHoLIlcUnEo7X4ZbwcyFPuzVQWWMkK43BxCveyQtZwBIzfyx54sqVzi0GUmKP8bHzsLQT0QxaLQ==} - peerDependencies: - '@effect-ts/otel-node': '*' - peerDependenciesMeta: - '@effect-ts/core': - optional: true - '@effect-ts/otel': - optional: true - '@effect-ts/otel-node': - optional: true - dependencies: - '@effect-ts/core': 0.60.5 - '@effect-ts/otel': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0) - '@effect-ts/otel-exporter-trace-otlp-grpc': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/exporter-trace-otlp-grpc@0.39.1)(@opentelemetry/sdk-trace-base@1.20.0) - '@effect-ts/otel-sdk-trace-node': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0)(@opentelemetry/sdk-trace-node@1.20.0) - '@js-temporal/polyfill': 0.4.4 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-trace-otlp-grpc': 0.39.1(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.20.0 - chokidar: 3.5.3 - hash-wasm: 4.11.0 - inflection: 2.0.1 - memfs: 3.5.3 - oo-ascii-tree: 1.94.0 - ts-pattern: 4.3.0 - type-fest: 3.13.1 - dev: false - /@dinero.js/calculator-number@2.0.0-alpha.14: resolution: {integrity: sha512-Vmlu6eXNtkFU2cqlrpqfq8KQP9onALf8Es2d34liVa3k3RHjuhizgFUU3V3/tsjOu5WekZq+gYPOr58XVTkB7A==} dependencies: @@ -1197,64 +1088,6 @@ packages: superjson: 2.2.1 dev: true - /@effect-ts/core@0.60.5: - resolution: {integrity: sha512-qi1WrtJA90XLMnj2hnUszW9Sx4dXP03ZJtCc5DiUBIOhF4Vw7plfb65/bdBySPoC9s7zy995TdUX1XBSxUkl5w==} - dependencies: - '@effect-ts/system': 0.57.5 - dev: false - - /@effect-ts/otel-exporter-trace-otlp-grpc@0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/exporter-trace-otlp-grpc@0.39.1)(@opentelemetry/sdk-trace-base@1.20.0): - resolution: {integrity: sha512-47gAg0O2pW5Jlo86jfzjdkwL5a7Bzb+Kj5WTmdu4CxYRfWn9ytKjuuYIfsNDW8neuhdKzn+P5wCddgEh0glYyQ==} - peerDependencies: - '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': ^1.4.0 - '@opentelemetry/core': ^1.13.0 - '@opentelemetry/exporter-trace-otlp-grpc': ^0.39.0 - '@opentelemetry/sdk-trace-base': ^1.13.0 - dependencies: - '@effect-ts/core': 0.60.5 - '@effect-ts/otel': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0) - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/exporter-trace-otlp-grpc': 0.39.1(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.20.0(@opentelemetry/api@1.7.0) - dev: false - - /@effect-ts/otel-sdk-trace-node@0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0)(@opentelemetry/sdk-trace-node@1.20.0): - resolution: {integrity: sha512-a2sF0ylmn8xOJs8fNeT/spJ1gUcsksAJCALxo9WOfuTCMtTwMVtVhCKEPEeQoL7wFqU+JgPkVdP91+FJ/Rkeow==} - peerDependencies: - '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': ^1.4.0 - '@opentelemetry/core': ^1.13.0 - '@opentelemetry/sdk-trace-base': ^1.13.0 - '@opentelemetry/sdk-trace-node': ^1.13.0 - dependencies: - '@effect-ts/core': 0.60.5 - '@effect-ts/otel': 0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0) - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-node': 1.20.0(@opentelemetry/api@1.7.0) - dev: false - - /@effect-ts/otel@0.15.1(@effect-ts/core@0.60.5)(@opentelemetry/api@1.7.0)(@opentelemetry/core@1.20.0)(@opentelemetry/sdk-trace-base@1.20.0): - resolution: {integrity: sha512-AmZJHl7t0+Peh7Yb2+hqn6r9+rd9/UfeA4AMV9h0YGTdOyouyFfD3wzWlxnAUzAQ4Lrod4kC7Noruret4EpqpA==} - peerDependencies: - '@effect-ts/core': ^0.60.2 - '@opentelemetry/api': ^1.4.0 - '@opentelemetry/core': ^1.13.0 - '@opentelemetry/sdk-trace-base': ^1.13.0 - dependencies: - '@effect-ts/core': 0.60.5 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.20.0(@opentelemetry/api@1.7.0) - dev: false - - /@effect-ts/system@0.57.5: - resolution: {integrity: sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==} - dev: false - /@emotion/is-prop-valid@0.8.8: resolution: {integrity: sha512-u5WtneEAr5IDG2Wv65yhunPSMLIpuKsbuOktRojfrEiEvRyC85LgPMZI63cr7NUqT8ZIGdSVg8ZKGxIug4lXcA==} requiresBuild: true @@ -1283,20 +1116,6 @@ packages: get-tsconfig: 4.7.2 dev: true - /@esbuild-plugins/node-resolve@0.1.4(esbuild@0.19.12): - resolution: {integrity: sha512-haFQ0qhxEpqtWWY0kx1Y5oE3sMyO1PcoSiWEPrAw6tm/ZOOLXjSs6Q+v1v9eyuVF0nNt50YEvrcrvENmyoMv5g==} - peerDependencies: - esbuild: '*' - dependencies: - '@types/resolve': 1.20.6 - debug: 4.3.4 - esbuild: 0.19.12 - escape-string-regexp: 4.0.0 - resolve: 1.22.8 - transitivePeerDependencies: - - supports-color - dev: false - /@esbuild/aix-ppc64@0.19.11: resolution: {integrity: sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==} engines: {node: '>=12'} @@ -1312,6 +1131,7 @@ packages: cpu: [ppc64] os: [aix] requiresBuild: true + dev: true optional: true /@esbuild/android-arm64@0.18.20: @@ -1338,6 +1158,7 @@ packages: cpu: [arm64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-arm@0.18.20: @@ -1364,6 +1185,7 @@ packages: cpu: [arm] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/android-x64@0.18.20: @@ -1390,6 +1212,7 @@ packages: cpu: [x64] os: [android] requiresBuild: true + dev: true optional: true /@esbuild/darwin-arm64@0.18.20: @@ -1416,6 +1239,7 @@ packages: cpu: [arm64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/darwin-x64@0.18.20: @@ -1442,6 +1266,7 @@ packages: cpu: [x64] os: [darwin] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-arm64@0.18.20: @@ -1468,6 +1293,7 @@ packages: cpu: [arm64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/freebsd-x64@0.18.20: @@ -1494,6 +1320,7 @@ packages: cpu: [x64] os: [freebsd] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm64@0.18.20: @@ -1520,6 +1347,7 @@ packages: cpu: [arm64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-arm@0.18.20: @@ -1546,6 +1374,7 @@ packages: cpu: [arm] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ia32@0.18.20: @@ -1572,6 +1401,7 @@ packages: cpu: [ia32] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-loong64@0.18.20: @@ -1598,6 +1428,7 @@ packages: cpu: [loong64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-mips64el@0.18.20: @@ -1624,6 +1455,7 @@ packages: cpu: [mips64el] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-ppc64@0.18.20: @@ -1650,6 +1482,7 @@ packages: cpu: [ppc64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-riscv64@0.18.20: @@ -1676,6 +1509,7 @@ packages: cpu: [riscv64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-s390x@0.18.20: @@ -1702,6 +1536,7 @@ packages: cpu: [s390x] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/linux-x64@0.18.20: @@ -1728,6 +1563,7 @@ packages: cpu: [x64] os: [linux] requiresBuild: true + dev: true optional: true /@esbuild/netbsd-x64@0.18.20: @@ -1754,6 +1590,7 @@ packages: cpu: [x64] os: [netbsd] requiresBuild: true + dev: true optional: true /@esbuild/openbsd-x64@0.18.20: @@ -1780,6 +1617,7 @@ packages: cpu: [x64] os: [openbsd] requiresBuild: true + dev: true optional: true /@esbuild/sunos-x64@0.18.20: @@ -1806,6 +1644,7 @@ packages: cpu: [x64] os: [sunos] requiresBuild: true + dev: true optional: true /@esbuild/win32-arm64@0.18.20: @@ -1832,6 +1671,7 @@ packages: cpu: [arm64] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-ia32@0.18.20: @@ -1858,6 +1698,7 @@ packages: cpu: [ia32] os: [win32] requiresBuild: true + dev: true optional: true /@esbuild/win32-x64@0.18.20: @@ -1884,6 +1725,7 @@ packages: cpu: [x64] os: [win32] requiresBuild: true + dev: true optional: true /@eslint-community/eslint-utils@4.4.0(eslint@8.57.0): @@ -1919,10 +1761,6 @@ packages: resolution: {integrity: sha512-Ys+3g2TaW7gADOJzPt83SJtCDhMjndcDMFVQ/Tj9iA1BfJzFKD9mAUXT3OenpuPHbI6P/myECxRJrofUsDx/5g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /@fal-works/esbuild-plugin-global-externals@2.1.2: - resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==} - dev: false - /@floating-ui/core@1.5.3: resolution: {integrity: sha512-O0WKDOo0yhJuugCx6trZQj5jVJ9yR0ystG2JaNAemYUWce+pmM6WUEFIibnWyEJKdrDxhm75NoSRME35FNaM/Q==} dependencies: @@ -1951,25 +1789,6 @@ packages: resolution: {integrity: sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q==} dev: false - /@grpc/grpc-js@1.9.14: - resolution: {integrity: sha512-nOpuzZ2G3IuMFN+UPPpKrC6NsLmWsTqSsm66IRfnBt1D4pwTqE27lmbpcPM+l2Ua4gE7PfjRHI6uedAy7hoXUw==} - engines: {node: ^8.13.0 || >=10.10.0} - dependencies: - '@grpc/proto-loader': 0.7.10 - '@types/node': 20.11.6 - dev: false - - /@grpc/proto-loader@0.7.10: - resolution: {integrity: sha512-CAqDfoaQ8ykFd9zqBDn4k6iWT9loLAlc2ETmDFS9JCD70gDcnA4L3AFEo2iV7KyAtAAHFW9ftq1Fz+Vsgq80RQ==} - engines: {node: '>=6'} - hasBin: true - dependencies: - lodash.camelcase: 4.3.0 - long: 5.2.3 - protobufjs: 7.2.6 - yargs: 17.7.2 - dev: false - /@hookform/resolvers@3.3.4(react-hook-form@7.49.3): resolution: {integrity: sha512-o5cgpGOuJYrd+iMKvkttOclgwRW86EsWJZZRC23prf0uU2i48Htq4PuT73AVb9ionFyZrwYEITuOFGF+BydEtQ==} peerDependencies: @@ -2058,23 +1877,14 @@ packages: '@jridgewell/resolve-uri': 3.1.1 '@jridgewell/sourcemap-codec': 1.4.15 - /@js-temporal/polyfill@0.4.4: - resolution: {integrity: sha512-2X6bvghJ/JAoZO52lbgyAPFj8uCflhTo2g7nkFzEQdXd/D8rEeD4HtmTEpmtGCva260fcd66YNXBOYdnmHqSOg==} - engines: {node: '>=12'} - dependencies: - jsbi: 4.3.0 - tslib: 2.6.2 - dev: false - - /@mdx-js/esbuild@2.3.0(esbuild@0.19.12): - resolution: {integrity: sha512-r/vsqsM0E+U4Wr0DK+0EfmABE/eg+8ITW4DjvYdh3ve/tK2safaqHArNnaqbOk1DjYGrhxtoXoGaM3BY8fGBTA==} + /@mdx-js/loader@3.0.1(webpack@5.90.0): + resolution: {integrity: sha512-YbYUt7YyEOdFxhyuCWmLKf5vKhID/hJAojEUnheJk4D8iYVLFQw+BAoBWru/dHGch1omtmZOPstsmKPyBF68Tw==} peerDependencies: - esbuild: '>=0.11.0' + webpack: '>=5' dependencies: - '@mdx-js/mdx': 2.3.0 - esbuild: 0.19.12 - node-fetch: 3.3.2 - vfile: 5.3.7 + '@mdx-js/mdx': 3.0.1 + source-map: 0.7.4 + webpack: 5.90.0(@swc/core@1.3.101)(esbuild@0.19.11) transitivePeerDependencies: - supports-color dev: false @@ -2083,7 +1893,7 @@ packages: resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==} dependencies: '@types/estree-jsx': 1.0.3 - '@types/mdx': 2.0.10 + '@types/mdx': 2.0.11 estree-util-build-jsx: 2.2.2 estree-util-is-identifier-name: 2.1.0 estree-util-to-js: 1.2.0 @@ -2103,6 +1913,57 @@ packages: - supports-color dev: false + /@mdx-js/mdx@3.0.1: + resolution: {integrity: sha512-eIQ4QTrOWyL3LWEe/bu6Taqzq2HQvHcyTMaOrI95P2/LmJE7AsfPfgJGuFLPVqBUE1BC1rik3VIhU+s9u72arA==} + dependencies: + '@types/estree': 1.0.5 + '@types/estree-jsx': 1.0.3 + '@types/hast': 3.0.3 + '@types/mdx': 2.0.11 + collapse-white-space: 2.1.0 + devlop: 1.1.0 + estree-util-build-jsx: 3.0.1 + estree-util-is-identifier-name: 3.0.0 + estree-util-to-js: 2.0.0 + estree-walker: 3.0.3 + hast-util-to-estree: 3.1.0 + hast-util-to-jsx-runtime: 2.3.0 + markdown-extensions: 2.0.0 + periscopic: 3.1.0 + remark-mdx: 3.0.1 + remark-parse: 11.0.0 + remark-rehype: 11.1.0 + source-map: 0.7.4 + unified: 11.0.4 + unist-util-position-from-estree: 2.0.0 + unist-util-stringify-position: 4.0.0 + unist-util-visit: 5.0.0 + vfile: 6.0.1 + transitivePeerDependencies: + - supports-color + dev: false + + /@mdx-js/react@2.3.0(react@18.2.0): + resolution: {integrity: sha512-zQH//gdOmuu7nt2oJR29vFhDv88oGPmVw6BggmrHeMI+xgEkp1B2dX9/bMBSYtK0dyLX/aOmesKS09g222K1/g==} + peerDependencies: + react: '>=16' + dependencies: + '@types/mdx': 2.0.11 + '@types/react': 18.2.33 + react: 18.2.0 + dev: false + + /@mdx-js/react@3.0.1(@types/react@18.2.33)(react@18.2.0): + resolution: {integrity: sha512-9ZrPIU4MGf6et1m1ov3zKf+q9+deetI51zprKB1D/z3NOb+rUxxtEl3mCjW5wTGh6VhRdwPueh1oRzi6ezkA8A==} + peerDependencies: + '@types/react': '>=16' + react: '>=16' + dependencies: + '@types/mdx': 2.0.11 + '@types/react': 18.2.33 + react: 18.2.0 + dev: false + /@next/env@14.0.5-canary.46: resolution: {integrity: sha512-dvNzrArTfe3VY1VIscpb3E2e7SZ1qwFe82WGzpOVbxilT3JcsnVGYF/uq8Jj1qKWPI5C/aePNXwA97JRNAXpRQ==} dev: false @@ -2117,6 +1978,22 @@ packages: glob: 10.3.10 dev: false + /@next/mdx@14.1.3(@mdx-js/loader@3.0.1)(@mdx-js/react@3.0.1): + resolution: {integrity: sha512-KrfpZ1Iz9SCIW8Qu3uWCIkVUGgIjiPRlxKksr8IgKKlMUEV9D88JNkS1MUfgSdbVgKLED3mPnLoO0gzoQz1yDw==} + peerDependencies: + '@mdx-js/loader': '>=0.15.0' + '@mdx-js/react': '>=0.15.0' + peerDependenciesMeta: + '@mdx-js/loader': + optional: true + '@mdx-js/react': + optional: true + dependencies: + '@mdx-js/loader': 3.0.1(webpack@5.90.0) + '@mdx-js/react': 3.0.1(@types/react@18.2.33)(react@18.2.0) + source-map: 0.7.4 + dev: false + /@next/swc-darwin-arm64@14.0.5-canary.46: resolution: {integrity: sha512-7Bq9rjWl4sq70Zkn6h6mn8/tgYTH2SQ8lIm8b/j1MAnTiJYyVBLapu//gT/cgtqx6y8SwSc2JNviBue35zeCNw==} engines: {node: '>= 10'} @@ -2301,216 +2178,6 @@ packages: resolution: {integrity: sha512-XuySG1E38YScSJoMlqovLru4KTUNSjgVTIjyh7qMX6aNN5HY5Ct5LhRJdxO79JtTzKfzV/bnWpz+zquYrISsvw==} dev: false - /@opentelemetry/api-logs@0.39.1: - resolution: {integrity: sha512-9BJ8lMcOzEN0lu+Qji801y707oFO4xT3db6cosPvl+k7ItUHKN5ofWqtSbM9gbt1H4JJ/4/2TVrqI9Rq7hNv6Q==} - engines: {node: '>=14'} - dependencies: - '@opentelemetry/api': 1.7.0 - dev: false - - /@opentelemetry/api@1.7.0: - resolution: {integrity: sha512-AdY5wvN0P2vXBi3b29hxZgSFvdhdxPB9+f0B6s//P9Q8nibRWeA3cHm8UmLpio9ABigkVHJ5NMPk+Mz8VCCyrw==} - engines: {node: '>=8.0.0'} - dev: false - - /@opentelemetry/context-async-hooks@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-PNecg4zvRF5y5h3luK/hzUEmgZtZ8hbX19TMALj3SVShYS2MrDZG6uT27uLkAwACMfK9BP7/UyXXjND5lkaC2w==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - dev: false - - /@opentelemetry/core@1.13.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-2dBX3Sj99H96uwJKvc2w9NOiNgbvAO6mOFJFramNkKfS9O4Um+VWgpnlAazoYjT6kUJ1MP70KQ5ngD4ed+4NUw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/semantic-conventions': 1.13.0 - dev: false - - /@opentelemetry/core@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-lSRvk5AIdD6CtgYJcJXh0wGibQ3S/8bC2qbqKs9wK8e0K1tsWV6YkGFOqVc+jIRlCbZoIBeZzDe5UI+vb94uvg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/semantic-conventions': 1.20.0 - dev: false - - /@opentelemetry/exporter-trace-otlp-grpc@0.39.1(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-l5RhLKx6U+yuLhMrtgavTDthX50E1mZM3/SSySC7OPZiArFHV/b/9x9jxAzrOgIQUDxyj4N0V9aLKSA2t7Qzxg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': ^1.0.0 - dependencies: - '@grpc/grpc-js': 1.9.14 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-grpc-exporter-base': 0.39.1(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-transformer': 0.39.1(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.13.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/otlp-exporter-base@0.39.1(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-Pv5X8fbi6jD/RJBePyn7MnCSuE6MbPB6dl+7YYBWJ5RcMGYMwvLXjd4h2jWsPV2TSUg38H/RoSP0aXvQ06Y7iw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': ^1.0.0 - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/otlp-grpc-exporter-base@0.39.1(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-u3ErFRQqQFKjjIMuwLWxz/tLPYInfmiAmSy//fGSCzCh2ZdJgqQjMOAxBgqFtCF2xFL+OmMhyuC2ThMzceGRWA==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': ^1.0.0 - dependencies: - '@grpc/grpc-js': 1.9.14 - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/otlp-exporter-base': 0.39.1(@opentelemetry/api@1.7.0) - protobufjs: 7.2.6 - dev: false - - /@opentelemetry/otlp-transformer@0.39.1(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-0hgVnXXz5efI382B/24NxD4b6Zxlh7nxCdJkxkdmQMbn0yRiwoq/ZT+QG8eUL6JNzsBAV1WJlF5aJNsL8skHvw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.3.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.39.1 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-logs': 0.39.1(@opentelemetry/api-logs@0.39.1)(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-metrics': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.13.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/propagator-b3@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-rDLcZGhhe+VoKKY77U5o5IW5D+OMoXg44GYmCn68Jx3O5TBGMJ2oZBcCxLgHlAA/ZdqkdRgQD0E40s8bXq41JA==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/propagator-jaeger@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-JqdKlyyrgIinR8ZhMoJrL54AAHMDEACLLXYLnabzFTHeoBEsC36ZoO98hVucrpUvkDCJMvdVHH/4cvvj+boUzg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/resources@1.13.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-euqjOkiN6xhjE//0vQYGvbStxoD/WWQRhDiO0OTLlnLBO9Yw2Gd/VoSx2H+svsebjzYk5OxLuREBmcdw6rbUNg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.13.0 - dev: false - - /@opentelemetry/resources@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-nOpV0vGegSq+9ze2cEDvO3BMA5pGBhmhKZiAlj+xQZjiEjPmJtdHIuBLRvptu2ahcbFJw85gIB9BYHZOvZK1JQ==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.20.0 - dev: false - - /@opentelemetry/sdk-logs@0.39.1(@opentelemetry/api-logs@0.39.1)(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-/gmgKfZ1ZVFporKuwsewqIyvaUIGpv76JZ7lBpHQQPb37IMpaXO6pdqFI4ebHAWfNIm3akMyhmdtzivcgF3lgw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.4.0 <1.5.0' - '@opentelemetry/api-logs': '>=0.38.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/api-logs': 0.39.1 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.13.0(@opentelemetry/api@1.7.0) - dev: false - - /@opentelemetry/sdk-metrics@1.13.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-MOjZX6AnSOqLliCcZUrb+DQKjAWXBiGeICGbHAGe5w0BB18PJIeIo995lO5JSaFfHpmUMgJButTPfJJD27W3Vg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.3.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.13.0(@opentelemetry/api@1.7.0) - lodash.merge: 4.6.2 - dev: false - - /@opentelemetry/sdk-trace-base@1.13.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-moTiQtc0uPR1hQLt6gLDJH9IIkeBhgRb71OKjNHZPE1VF45fHtD6nBDi5J/DkTHTwYP5X3kBJLa3xN7ub6J4eg==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.5.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.13.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.13.0 - dev: false - - /@opentelemetry/sdk-trace-base@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-BAIZ0hUgnhdb3OBQjn1FKGz/Iwie4l+uOMKklP7FGh7PTqEAbbzDNMJKaZQh6KepF7Fq+CZDRKslD3yrYy2Tzw==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/resources': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/semantic-conventions': 1.20.0 - dev: false - - /@opentelemetry/sdk-trace-node@1.20.0(@opentelemetry/api@1.7.0): - resolution: {integrity: sha512-3RRl4O63Wr/QyWhjreB7xilFhj3cQHWuMqESPwWHb7eJogNmjj1JQsRda/i8xj1Td4Bk+2ojC7aA8mwbKbEfPQ==} - engines: {node: '>=14'} - peerDependencies: - '@opentelemetry/api': '>=1.0.0 <1.8.0' - dependencies: - '@opentelemetry/api': 1.7.0 - '@opentelemetry/context-async-hooks': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/core': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/propagator-b3': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/propagator-jaeger': 1.20.0(@opentelemetry/api@1.7.0) - '@opentelemetry/sdk-trace-base': 1.20.0(@opentelemetry/api@1.7.0) - semver: 7.5.4 - dev: false - - /@opentelemetry/semantic-conventions@1.13.0: - resolution: {integrity: sha512-LMGqfSZkaMQXqewO0o1wvWr/2fQdCh4a3Sqlxka/UsJCe0cfLulh6x2aqnKLnsrSGiCq5rSCwvINd152i0nCqw==} - engines: {node: '>=14'} - dev: false - - /@opentelemetry/semantic-conventions@1.20.0: - resolution: {integrity: sha512-3zLJJCgTKYpbqFX8drl8hOCHtdchELC+kGqlVcV4mHW1DiElTtv1Nt9EKBptTd1IfL56QkuYnWJ3DeHd2Gtu/A==} - engines: {node: '>=14'} - dev: false - /@peculiar/asn1-schema@2.3.8: resolution: {integrity: sha512-ULB1XqHKx1WBU/tTFIA+uARuRoBVZ4pNdOA878RDrRbBfBGcSzi5HBkdScC6ZbHn8z7L8gmKCgPC1LHRrP46tA==} dependencies: @@ -2548,49 +2215,6 @@ packages: engines: {node: '>=16'} dev: false - /@protobufjs/aspromise@1.1.2: - resolution: {integrity: sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==} - dev: false - - /@protobufjs/base64@1.1.2: - resolution: {integrity: sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==} - dev: false - - /@protobufjs/codegen@2.0.4: - resolution: {integrity: sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==} - dev: false - - /@protobufjs/eventemitter@1.1.0: - resolution: {integrity: sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==} - dev: false - - /@protobufjs/fetch@1.1.0: - resolution: {integrity: sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==} - dependencies: - '@protobufjs/aspromise': 1.1.2 - '@protobufjs/inquire': 1.1.0 - dev: false - - /@protobufjs/float@1.0.2: - resolution: {integrity: sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==} - dev: false - - /@protobufjs/inquire@1.1.0: - resolution: {integrity: sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==} - dev: false - - /@protobufjs/path@1.1.2: - resolution: {integrity: sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==} - dev: false - - /@protobufjs/pool@1.1.0: - resolution: {integrity: sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==} - dev: false - - /@protobufjs/utf8@1.1.0: - resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} - dev: false - /@radix-ui/colors@1.0.1: resolution: {integrity: sha512-xySw8f0ZVsAEP+e7iLl3EvcBXX7gsIlC1Zso/sPBW9gIWerBTgz6axrjU+MZ39wD+WFi5h5zdWpsg3+hwt2Qsg==} dev: false @@ -4553,10 +4177,10 @@ packages: resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} dev: false - /@t3-oss/env-core@0.7.3(typescript@5.3.3)(zod@3.22.4): - resolution: {integrity: sha512-hhtj59TKC6TKVdwJ0CcbKsvkr9R8Pc/SNKd4IgGUIC9T9X6moB8EZZ3FTJdABA/h9UABCK4J+KsF8gzmvMvHPg==} + /@t3-oss/env-core@0.9.2(typescript@5.3.3)(zod@3.22.4): + resolution: {integrity: sha512-KgWXljUTHgO3o7GMZQPAD5+P+HqpauMNNHowlm7V2b9IeMitSUpNKwG6xQrup/xARWHTdxRVIl0mSI4wCevQhQ==} peerDependencies: - typescript: '>=4.7.2' + typescript: '>=5.0.0' zod: ^3.0.0 peerDependenciesMeta: typescript: @@ -4566,16 +4190,16 @@ packages: zod: 3.22.4 dev: false - /@t3-oss/env-nextjs@0.7.3(typescript@5.3.3)(zod@3.22.4): - resolution: {integrity: sha512-90TNffS17vjkQwfYyMUb4Zw9yqHwFV40f78qFug4JiQa5+N6DydTdlLOpzOcj8Cna/qpAVDwMSypofF/TVQDuA==} + /@t3-oss/env-nextjs@0.9.2(typescript@5.3.3)(zod@3.22.4): + resolution: {integrity: sha512-dklHrgKLESStNVB67Jdbu6osxDYA+xNKaPBRerlnkEvzbCccSKMvZENx6EZebJuR4snqB3/yRykNMn/bdIAyiQ==} peerDependencies: - typescript: '>=4.7.2' + typescript: '>=5.0.0' zod: ^3.0.0 peerDependenciesMeta: typescript: optional: true dependencies: - '@t3-oss/env-core': 0.7.3(typescript@5.3.3)(zod@3.22.4) + '@t3-oss/env-core': 0.9.2(typescript@5.3.3)(zod@3.22.4) typescript: 5.3.3 zod: 3.22.4 dev: false @@ -4645,7 +4269,7 @@ packages: '@trpc/client': 10.45.1(@trpc/server@10.45.1) '@trpc/react-query': 10.45.1(@tanstack/react-query@5.17.19)(@trpc/client@10.45.1)(@trpc/server@10.45.1)(react-dom@18.2.0)(react@18.2.0) '@trpc/server': 10.45.1 - next: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -4806,12 +4430,15 @@ packages: resolution: {integrity: sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ==} dependencies: '@types/unist': 3.0.2 - dev: true /@types/http-errors@2.0.4: resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} dev: false + /@types/js-yaml@4.0.9: + resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==} + dev: false + /@types/json-schema@7.0.15: resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} dev: false @@ -4833,11 +4460,9 @@ packages: resolution: {integrity: sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg==} dependencies: '@types/unist': 3.0.2 - dev: true - /@types/mdx@2.0.10: - resolution: {integrity: sha512-Rllzc5KHk0Al5/WANwgSPl1/CwjqCy+AZrGd78zuK+jO9aDM6ffblZ+zIjgPNAaEBmlO0RYDvLNh7wD0zKVgEg==} - dev: false + /@types/mdx@2.0.11: + resolution: {integrity: sha512-HM5bwOaIQJIQbAYfax35HCKxx7a3KrK3nBtIqJgSOitivTD1y3oW9P3rxY9RkXYPUk7y/AjAohfHKmFpGE79zw==} /@types/mime@1.3.5: resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} @@ -4887,10 +4512,6 @@ packages: resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} dev: false - /@types/parse5@6.0.3: - resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} - dev: false - /@types/prismjs@1.26.3: resolution: {integrity: sha512-A0D0aTXvjlqJ5ZILMz3rNfDBOx9hHxLZYv2by47Sm/pqW35zzjusrZTryatjN/Rf8Us2gZrJD+KeHbUSTux1Cw==} dev: false @@ -4918,10 +4539,6 @@ packages: '@types/scheduler': 0.16.8 csstype: 3.1.3 - /@types/resolve@1.20.6: - resolution: {integrity: sha512-A4STmOXPhMUtHH+S6ymgE2GiBSMqf4oTvcQZMcHzokuTLVYzXTB8ttjcgxOVaAp2lGwEdzZ0J+cRbbeevQj1UQ==} - dev: false - /@types/scheduler@0.16.8: resolution: {integrity: sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A==} @@ -4953,7 +4570,6 @@ packages: /@types/unist@3.0.2: resolution: {integrity: sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==} - dev: true /@types/webpack@5.28.5(@swc/core@1.3.101)(esbuild@0.19.11): resolution: {integrity: sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==} @@ -5178,7 +4794,7 @@ packages: react: optional: true dependencies: - next: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 server-only: 0.0.1 dev: false @@ -5461,10 +5077,6 @@ packages: is-string: 1.0.7 dev: false - /array-timsort@1.0.3: - resolution: {integrity: sha512-/+3GRL7dDAGEfM6TseQk/U+mi18TU2Ms9I3UlLdUMhz2hbvGNTKdj9xniwXfUqgYhHxRx0+8UnKkvlNwVU+cWQ==} - dev: false - /array-union@2.1.0: resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} engines: {node: '>=8'} @@ -5725,13 +5337,6 @@ packages: resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} engines: {node: '>=6'} - /camel-case@4.1.2: - resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} - dependencies: - pascal-case: 3.1.2 - tslib: 2.6.2 - dev: false - /camelcase-css@2.0.1: resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==} engines: {node: '>= 6'} @@ -5872,14 +5477,6 @@ packages: resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==} dev: false - /clipanion@3.2.1(typanion@3.14.0): - resolution: {integrity: sha512-dYFdjLb7y1ajfxQopN05mylEpK9ZX0sO1/RfMXdfmwjlIsPkbh4p7A682x++zFPLDCo1x3p82dtljHf5cW2LKA==} - peerDependencies: - typanion: '*' - dependencies: - typanion: 3.14.0 - dev: false - /cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -5923,6 +5520,10 @@ packages: - '@types/react' dev: false + /collapse-white-space@2.1.0: + resolution: {integrity: sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw==} + dev: false + /color-convert@1.9.3: resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} dependencies: @@ -5979,17 +5580,6 @@ packages: engines: {node: ^12.20.0 || >=14} dev: true - /comment-json@4.2.3: - resolution: {integrity: sha512-SsxdiOf064DWoZLH799Ata6u7iV658A11PlWtZATDlXPpKGJnbJZ5Z24ybixAi+LUUqJ/GKowAejtC5GFUG7Tw==} - engines: {node: '>= 6'} - dependencies: - array-timsort: 1.0.3 - core-util-is: 1.0.3 - esprima: 4.0.1 - has-own-prop: 2.0.0 - repeat-string: 1.6.1 - dev: false - /concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} @@ -6016,25 +5606,6 @@ packages: proto-list: 1.2.4 dev: false - /contentlayer@0.3.4(esbuild@0.19.12): - resolution: {integrity: sha512-FYDdTUFaN4yqep0waswrhcXjmMJnPD5iXDTtxcUCGdklfuIrXM2xLx51xl748cHmGA6IsC+27YZFxU6Ym13QIA==} - engines: {node: '>=14.18'} - hasBin: true - requiresBuild: true - dependencies: - '@contentlayer/cli': 0.3.4(esbuild@0.19.12) - '@contentlayer/client': 0.3.4(esbuild@0.19.12) - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - '@contentlayer/source-files': 0.3.4(esbuild@0.19.12) - '@contentlayer/source-remote-files': 0.3.4(esbuild@0.19.12) - '@contentlayer/utils': 0.3.4 - transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - - supports-color - dev: false - /convert-source-map@2.0.0: resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} dev: false @@ -6055,10 +5626,6 @@ packages: dependencies: is-what: 4.1.16 - /core-util-is@1.0.3: - resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} - dev: false - /cors@2.8.5: resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==} engines: {node: '>= 0.10'} @@ -6194,11 +5761,6 @@ packages: resolution: {integrity: sha512-sdQSFB7+llfUcQHUQO3+B8ERRj0Oa4w9POWMI/puGtuf7gFywGmkaLCElnudfTiKZV+NvHqL0ifzdrI8Ro7ESA==} dev: false - /data-uri-to-buffer@4.0.1: - resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} - engines: {node: '>= 12'} - dev: false - /date-fns@2.30.0: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} @@ -6309,7 +5871,6 @@ packages: resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==} dependencies: dequal: 2.0.3 - dev: true /didyoumean@1.2.2: resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==} @@ -6859,6 +6420,7 @@ packages: '@esbuild/win32-arm64': 0.19.12 '@esbuild/win32-ia32': 0.19.12 '@esbuild/win32-x64': 0.19.12 + dev: true /escalade@3.1.1: resolution: {integrity: sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==} @@ -7300,6 +6862,12 @@ packages: '@types/estree': 1.0.5 dev: false + /estree-util-attach-comments@3.0.0: + resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==} + dependencies: + '@types/estree': 1.0.5 + dev: false + /estree-util-build-jsx@2.2.2: resolution: {integrity: sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==} dependencies: @@ -7308,14 +6876,23 @@ packages: estree-walker: 3.0.3 dev: false - /estree-util-is-identifier-name@1.1.0: - resolution: {integrity: sha512-OVJZ3fGGt9By77Ix9NhaRbzfbDV/2rx9EP7YIDJTmsZSEc5kYn2vWcNccYyahJL2uAQZK2a5Or2i0wtIKTPoRQ==} + /estree-util-build-jsx@3.0.1: + resolution: {integrity: sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ==} + dependencies: + '@types/estree-jsx': 1.0.3 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + estree-walker: 3.0.3 dev: false /estree-util-is-identifier-name@2.1.0: resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==} dev: false + /estree-util-is-identifier-name@3.0.0: + resolution: {integrity: sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==} + dev: false + /estree-util-to-js@1.2.0: resolution: {integrity: sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==} dependencies: @@ -7324,11 +6901,12 @@ packages: source-map: 0.7.4 dev: false - /estree-util-value-to-estree@1.3.0: - resolution: {integrity: sha512-Y+ughcF9jSUJvncXwqRageavjrNPAI+1M/L3BI3PyLp1nmgYTGUXU6t5z1Y7OWuThoDdhPME07bQU+d5LxdJqw==} - engines: {node: '>=12.0.0'} + /estree-util-to-js@2.0.0: + resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==} dependencies: - is-plain-obj: 3.0.0 + '@types/estree-jsx': 1.0.3 + astring: 1.8.6 + source-map: 0.7.4 dev: false /estree-util-visit@1.2.1: @@ -7338,6 +6916,13 @@ packages: '@types/unist': 2.0.10 dev: false + /estree-util-visit@2.0.0: + resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==} + dependencies: + '@types/estree-jsx': 1.0.3 + '@types/unist': 3.0.2 + dev: false + /estree-walker@3.0.3: resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==} dependencies: @@ -7414,20 +6999,6 @@ packages: dependencies: reusify: 1.0.4 - /fault@2.0.1: - resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==} - dependencies: - format: 0.2.2 - dev: false - - /fetch-blob@3.2.0: - resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==} - engines: {node: ^12.20 || >= 14.13} - dependencies: - node-domexception: 1.0.0 - web-streams-polyfill: 3.3.2 - dev: false - /fflate@0.7.4: resolution: {integrity: sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw==} dev: false @@ -7522,11 +7093,6 @@ packages: mime-types: 2.1.35 dev: false - /format@0.2.2: - resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==} - engines: {node: '>=0.4.x'} - dev: false - /formdata-node@4.4.1: resolution: {integrity: sha512-0iirZp3uVDjVGt9p49aTaqjk84TrglENEDuqfdlZQ1roC9CWlPk6Avf8EEnZNcAqPonwkG35x4n3ww/1THYAeQ==} engines: {node: '>= 12.20'} @@ -7535,13 +7101,6 @@ packages: web-streams-polyfill: 4.0.0-beta.3 dev: false - /formdata-polyfill@4.0.10: - resolution: {integrity: sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==} - engines: {node: '>=12.20.0'} - dependencies: - fetch-blob: 3.2.0 - dev: false - /fraction.js@4.3.7: resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==} dev: false @@ -7582,10 +7141,6 @@ packages: '@emotion/is-prop-valid': 0.8.8 dev: false - /fs-monkey@1.0.5: - resolution: {integrity: sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew==} - dev: false - /fs.realpath@1.0.0: resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} @@ -7799,11 +7354,6 @@ packages: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} - /has-own-prop@2.0.0: - resolution: {integrity: sha512-Pq0h+hvsVm6dDEa8x82GnLSYHOzNDt7f0ddFa3FqcQlgzEiptPqL+XrOJNavjOzSYiYWIrgeVYYgGlLmnxwilQ==} - engines: {node: '>=8'} - dev: false - /has-property-descriptors@1.0.1: resolution: {integrity: sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==} dependencies: @@ -7836,10 +7386,6 @@ packages: type-fest: 1.4.0 dev: true - /hash-wasm@4.11.0: - resolution: {integrity: sha512-HVusNXlVqHe0fzIzdQOGolnFN6mX/fqcrSAOcTBXdvzrXVHwTz11vXeKRmkR5gTuwVpvHZEIyKoePDvuAR+XwQ==} - dev: false - /hasown@2.0.0: resolution: {integrity: sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==} engines: {node: '>= 0.4'} @@ -7867,6 +7413,7 @@ packages: vfile: 5.3.7 vfile-location: 4.1.0 web-namespaces: 2.0.1 + dev: true /hast-util-from-parse5@8.0.1: resolution: {integrity: sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==} @@ -7897,6 +7444,7 @@ packages: resolution: {integrity: sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==} dependencies: '@types/hast': 2.3.9 + dev: true /hast-util-parse-selector@4.0.0: resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==} @@ -7904,22 +7452,6 @@ packages: '@types/hast': 3.0.3 dev: true - /hast-util-raw@7.2.3: - resolution: {integrity: sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==} - dependencies: - '@types/hast': 2.3.9 - '@types/parse5': 6.0.3 - hast-util-from-parse5: 7.1.2 - hast-util-to-parse5: 7.1.0 - html-void-elements: 2.0.1 - parse5: 6.0.1 - unist-util-position: 4.0.4 - unist-util-visit: 4.1.2 - vfile: 5.3.7 - web-namespaces: 2.0.1 - zwitch: 2.0.4 - dev: false - /hast-util-raw@9.0.2: resolution: {integrity: sha512-PldBy71wO9Uq1kyaMch9AHIghtQvIwxBUkv823pKmkTM3oV1JxtsTNYdevMxvUHqcnOAuO65JKU2+0NOxc2ksA==} dependencies: @@ -7960,20 +7492,27 @@ packages: - supports-color dev: false - /hast-util-to-html@8.0.4: - resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==} + /hast-util-to-estree@3.1.0: + resolution: {integrity: sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw==} dependencies: - '@types/hast': 2.3.9 - '@types/unist': 2.0.10 - ccount: 2.0.1 + '@types/estree': 1.0.5 + '@types/estree-jsx': 1.0.3 + '@types/hast': 3.0.3 comma-separated-tokens: 2.0.3 - hast-util-raw: 7.2.3 - hast-util-whitespace: 2.0.1 - html-void-elements: 2.0.1 + devlop: 1.1.0 + estree-util-attach-comments: 3.0.0 + estree-util-is-identifier-name: 3.0.0 + hast-util-whitespace: 3.0.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.1 + mdast-util-mdxjs-esm: 2.0.1 property-information: 6.4.1 space-separated-tokens: 2.0.2 - stringify-entities: 4.0.3 + style-to-object: 0.4.4 + unist-util-position: 5.0.0 zwitch: 2.0.4 + transitivePeerDependencies: + - supports-color dev: false /hast-util-to-html@9.0.0: @@ -7993,15 +7532,26 @@ packages: zwitch: 2.0.4 dev: true - /hast-util-to-parse5@7.1.0: - resolution: {integrity: sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==} + /hast-util-to-jsx-runtime@2.3.0: + resolution: {integrity: sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ==} dependencies: - '@types/hast': 2.3.9 + '@types/estree': 1.0.5 + '@types/hast': 3.0.3 + '@types/unist': 3.0.2 comma-separated-tokens: 2.0.3 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + hast-util-whitespace: 3.0.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.1 + mdast-util-mdxjs-esm: 2.0.1 property-information: 6.4.1 space-separated-tokens: 2.0.2 - web-namespaces: 2.0.1 - zwitch: 2.0.4 + style-to-object: 1.0.5 + unist-util-position: 5.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color dev: false /hast-util-to-parse5@8.0.0: @@ -8036,7 +7586,6 @@ packages: resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==} dependencies: '@types/hast': 3.0.3 - dev: true /hastscript@7.2.0: resolution: {integrity: sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==} @@ -8046,6 +7595,7 @@ packages: hast-util-parse-selector: 3.1.1 property-information: 6.4.1 space-separated-tokens: 2.0.2 + dev: true /hastscript@8.0.0: resolution: {integrity: sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw==} @@ -8081,10 +7631,6 @@ packages: selderee: 0.11.0 dev: false - /html-void-elements@2.0.1: - resolution: {integrity: sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==} - dev: false - /html-void-elements@3.0.0: resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==} dev: true @@ -8112,11 +7658,6 @@ packages: resolution: {integrity: sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==} engines: {node: '>= 4'} - /imagescript@1.2.18: - resolution: {integrity: sha512-8AwTawraXovLo2PgKvFt96SZqJDwl0CnHDyrtoPUQHMmoA7u9M8EnqFZwCofSM+Uo623Z580iKW74bs2fzjoYQ==} - engines: {node: '>=14.0.0'} - dev: false - /import-fresh@3.3.0: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} @@ -8133,11 +7674,6 @@ packages: engines: {node: '>=8'} dev: false - /inflection@2.0.1: - resolution: {integrity: sha512-wzkZHqpb4eGrOKBl34xy3umnYHx8Si5R1U4fwmdxLo5gdH6mEK8gclckTj/qWqy4Je0bsDYe/qazZYuO7xe3XQ==} - engines: {node: '>=14.0.0'} - dev: false - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} dependencies: @@ -8155,6 +7691,10 @@ packages: resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==} dev: false + /inline-style-parser@0.2.2: + resolution: {integrity: sha512-EcKzdTHVe8wFVOGEYXiW9WmJXPjqi1T+234YpJr98RiFYKHV3cdy1+3mkTE+KHTHxFFLH51SfaGOoUdW+v7ViQ==} + dev: false + /internal-slot@1.0.6: resolution: {integrity: sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==} engines: {node: '>= 0.4'} @@ -8334,11 +7874,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /is-plain-obj@3.0.0: - resolution: {integrity: sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA==} - engines: {node: '>=10'} - dev: false - /is-plain-obj@4.1.0: resolution: {integrity: sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==} engines: {node: '>=12'} @@ -8508,11 +8043,7 @@ packages: resolution: {integrity: sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==} hasBin: true dependencies: - argparse: 2.0.1 - - /jsbi@4.3.0: - resolution: {integrity: sha512-SnZNcinB4RIcnEyZqFPdGPVgrg2AcnykiBy0sHVJQKHYeaLUvi3Exj+iaPpLnFVkDPZIV4U0yvgC9/R4uEAZ9g==} - dev: false + argparse: 2.0.1 /jsesc@2.5.2: resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} @@ -8641,10 +8172,6 @@ packages: dependencies: p-locate: 5.0.0 - /lodash.camelcase@4.3.0: - resolution: {integrity: sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==} - dev: false - /lodash.castarray@4.4.0: resolution: {integrity: sha512-aVx8ztPv7/2ULbArGJ2Y42bG1mEQ5mGjpdvrbJcJFU3TbYybe+QlLS4pst9zV52ymy2in1KpFPiZnAOATxD4+Q==} dev: true @@ -8676,10 +8203,6 @@ packages: is-unicode-supported: 0.1.0 dev: false - /long@5.2.3: - resolution: {integrity: sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==} - dev: false - /longest-streak@3.1.0: resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==} @@ -8741,6 +8264,11 @@ packages: engines: {node: '>=0.10.0'} dev: false + /markdown-extensions@2.0.0: + resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} + engines: {node: '>=16'} + dev: false + /markdown-table@3.0.3: resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==} dev: true @@ -8805,15 +8333,6 @@ packages: unist-util-stringify-position: 4.0.0 transitivePeerDependencies: - supports-color - dev: true - - /mdast-util-frontmatter@1.0.1: - resolution: {integrity: sha512-JjA2OjxRqAa8wEG8hloD0uTU0kdn8kbtOWpPP94NBkfAlbxn4S8gCGf/9DwFtEeGPXrDcNXdiDjVaRdUFqYokw==} - dependencies: - '@types/mdast': 3.0.15 - mdast-util-to-markdown: 1.5.0 - micromark-extension-frontmatter: 1.1.1 - dev: false /mdast-util-gfm-autolink-literal@1.0.3: resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==} @@ -8883,6 +8402,19 @@ packages: - supports-color dev: false + /mdast-util-mdx-expression@2.0.0: + resolution: {integrity: sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw==} + dependencies: + '@types/estree-jsx': 1.0.3 + '@types/hast': 3.0.3 + '@types/mdast': 4.0.3 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.0 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + dev: false + /mdast-util-mdx-jsx@2.1.4: resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==} dependencies: @@ -8902,6 +8434,26 @@ packages: - supports-color dev: false + /mdast-util-mdx-jsx@3.1.1: + resolution: {integrity: sha512-Di63TQEHbiApe6CFp/qQXCORHMHnmW2JFdr5PYH57LuEIPjijRHicAmL5wQu+B0/Q4p0qJaEOE1EkhiwxiNmAQ==} + dependencies: + '@types/estree-jsx': 1.0.3 + '@types/hast': 3.0.3 + '@types/mdast': 4.0.3 + '@types/unist': 3.0.2 + ccount: 2.0.1 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.0 + mdast-util-to-markdown: 2.1.0 + parse-entities: 4.0.1 + stringify-entities: 4.0.3 + unist-util-remove-position: 5.0.0 + unist-util-stringify-position: 4.0.0 + vfile-message: 4.0.2 + transitivePeerDependencies: + - supports-color + dev: false + /mdast-util-mdx@2.0.1: resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==} dependencies: @@ -8914,6 +8466,18 @@ packages: - supports-color dev: false + /mdast-util-mdx@3.0.0: + resolution: {integrity: sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w==} + dependencies: + mdast-util-from-markdown: 2.0.0 + mdast-util-mdx-expression: 2.0.0 + mdast-util-mdx-jsx: 3.1.1 + mdast-util-mdxjs-esm: 2.0.1 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + dev: false + /mdast-util-mdxjs-esm@1.3.1: resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==} dependencies: @@ -8926,6 +8490,19 @@ packages: - supports-color dev: false + /mdast-util-mdxjs-esm@2.0.1: + resolution: {integrity: sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==} + dependencies: + '@types/estree-jsx': 1.0.3 + '@types/hast': 3.0.3 + '@types/mdast': 4.0.3 + devlop: 1.1.0 + mdast-util-from-markdown: 2.0.0 + mdast-util-to-markdown: 2.1.0 + transitivePeerDependencies: + - supports-color + dev: false + /mdast-util-phrasing@3.0.1: resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==} dependencies: @@ -8937,7 +8514,6 @@ packages: dependencies: '@types/mdast': 4.0.3 unist-util-is: 6.0.0 - dev: true /mdast-util-to-hast@12.3.0: resolution: {integrity: sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==} @@ -8964,7 +8540,6 @@ packages: unist-util-position: 5.0.0 unist-util-visit: 5.0.0 vfile: 6.0.1 - dev: true /mdast-util-to-markdown@1.5.0: resolution: {integrity: sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==} @@ -8989,7 +8564,6 @@ packages: micromark-util-decode-string: 2.0.0 unist-util-visit: 5.0.0 zwitch: 2.0.4 - dev: true /mdast-util-to-string@3.2.0: resolution: {integrity: sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==} @@ -9000,7 +8574,6 @@ packages: resolution: {integrity: sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==} dependencies: '@types/mdast': 4.0.3 - dev: true /mdast-util-toc@7.0.0: resolution: {integrity: sha512-C28UcSqjmnWuvgT8d97qpaItHKvySqVPAECUzqQ51xuMyNFFJwcFoKW77KoMjtXrclTidLQFDzLUmTmrshRweA==} @@ -9014,33 +8587,6 @@ packages: unist-util-visit: 5.0.0 dev: true - /mdx-bundler@9.2.1(esbuild@0.19.12): - resolution: {integrity: sha512-hWEEip1KU9MCNqeH2rqwzAZ1pdqPPbfkx9OTJjADqGPQz4t9BO85fhI7AP9gVYrpmfArf9/xJZUN0yBErg/G/Q==} - engines: {node: '>=14', npm: '>=6'} - peerDependencies: - esbuild: 0.* - dependencies: - '@babel/runtime': 7.23.9 - '@esbuild-plugins/node-resolve': 0.1.4(esbuild@0.19.12) - '@fal-works/esbuild-plugin-global-externals': 2.1.2 - '@mdx-js/esbuild': 2.3.0(esbuild@0.19.12) - esbuild: 0.19.12 - gray-matter: 4.0.3 - remark-frontmatter: 4.0.1 - remark-mdx-frontmatter: 1.1.1 - uuid: 8.3.2 - vfile: 5.3.7 - transitivePeerDependencies: - - supports-color - dev: false - - /memfs@3.5.3: - resolution: {integrity: sha512-UERzLsxzllchadvbPs5aolHh65ISpKpM+ccLbOJ8/vvpBKmAWf+la7dXFy7Mr0ySHbdHrFv5kGFCUHHe6GFEmw==} - engines: {node: '>= 4.0.0'} - dependencies: - fs-monkey: 1.0.5 - dev: false - /memoizee@0.4.15: resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} dependencies: @@ -9118,16 +8664,6 @@ packages: micromark-util-subtokenize: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true - - /micromark-extension-frontmatter@1.1.1: - resolution: {integrity: sha512-m2UH9a7n3W8VAH9JO9y01APpPKmNNNs71P0RbknEmYSaZU5Ghogv38BYO94AI5Xw6OYfxZRdHZZ2nYjs/Z+SZQ==} - dependencies: - fault: 2.0.1 - micromark-util-character: 1.2.0 - micromark-util-symbol: 1.1.0 - micromark-util-types: 1.1.0 - dev: false /micromark-extension-gfm-autolink-literal@1.0.5: resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==} @@ -9214,6 +8750,19 @@ packages: uvu: 0.5.6 dev: false + /micromark-extension-mdx-expression@3.0.0: + resolution: {integrity: sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ==} + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-factory-mdx-expression: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.0.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + dev: false + /micromark-extension-mdx-jsx@1.0.5: resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==} dependencies: @@ -9229,12 +8778,33 @@ packages: vfile-message: 3.1.4 dev: false + /micromark-extension-mdx-jsx@3.0.0: + resolution: {integrity: sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w==} + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.5 + devlop: 1.1.0 + estree-util-is-identifier-name: 3.0.0 + micromark-factory-mdx-expression: 2.0.1 + micromark-factory-space: 2.0.0 + micromark-util-character: 2.0.1 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 + dev: false + /micromark-extension-mdx-md@1.0.1: resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==} dependencies: micromark-util-types: 1.1.0 dev: false + /micromark-extension-mdx-md@2.0.0: + resolution: {integrity: sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ==} + dependencies: + micromark-util-types: 2.0.0 + dev: false + /micromark-extension-mdxjs-esm@1.0.5: resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==} dependencies: @@ -9249,6 +8819,20 @@ packages: vfile-message: 3.1.4 dev: false + /micromark-extension-mdxjs-esm@3.0.0: + resolution: {integrity: sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A==} + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.0 + micromark-util-character: 2.0.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + dev: false + /micromark-extension-mdxjs@1.0.1: resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==} dependencies: @@ -9262,6 +8846,19 @@ packages: micromark-util-types: 1.1.0 dev: false + /micromark-extension-mdxjs@3.0.0: + resolution: {integrity: sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ==} + dependencies: + acorn: 8.11.3 + acorn-jsx: 5.3.2(acorn@8.11.3) + micromark-extension-mdx-expression: 3.0.0 + micromark-extension-mdx-jsx: 3.0.0 + micromark-extension-mdx-md: 2.0.0 + micromark-extension-mdxjs-esm: 3.0.0 + micromark-util-combine-extensions: 2.0.0 + micromark-util-types: 2.0.0 + dev: false + /micromark-factory-destination@1.1.0: resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==} dependencies: @@ -9275,7 +8872,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-factory-label@1.1.0: resolution: {integrity: sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==} @@ -9292,7 +8888,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-factory-mdx-expression@1.0.9: resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==} @@ -9307,6 +8902,19 @@ packages: vfile-message: 3.1.4 dev: false + /micromark-factory-mdx-expression@2.0.1: + resolution: {integrity: sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg==} + dependencies: + '@types/estree': 1.0.5 + devlop: 1.1.0 + micromark-util-character: 2.0.1 + micromark-util-events-to-acorn: 2.0.2 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + unist-util-position-from-estree: 2.0.0 + vfile-message: 4.0.2 + dev: false + /micromark-factory-space@1.1.0: resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==} dependencies: @@ -9318,7 +8926,6 @@ packages: dependencies: micromark-util-character: 2.0.1 micromark-util-types: 2.0.0 - dev: true /micromark-factory-title@1.1.0: resolution: {integrity: sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==} @@ -9335,7 +8942,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-factory-whitespace@1.1.0: resolution: {integrity: sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==} @@ -9352,7 +8958,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-util-character@1.2.0: resolution: {integrity: sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==} @@ -9365,7 +8970,6 @@ packages: dependencies: micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-util-chunked@1.1.0: resolution: {integrity: sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==} @@ -9376,7 +8980,6 @@ packages: resolution: {integrity: sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg==} dependencies: micromark-util-symbol: 2.0.0 - dev: true /micromark-util-classify-character@1.1.0: resolution: {integrity: sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==} @@ -9391,7 +8994,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-util-combine-extensions@1.1.0: resolution: {integrity: sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==} @@ -9404,7 +9006,6 @@ packages: dependencies: micromark-util-chunked: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-util-decode-numeric-character-reference@1.1.0: resolution: {integrity: sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==} @@ -9415,7 +9016,6 @@ packages: resolution: {integrity: sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ==} dependencies: micromark-util-symbol: 2.0.0 - dev: true /micromark-util-decode-string@1.1.0: resolution: {integrity: sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==} @@ -9432,14 +9032,12 @@ packages: micromark-util-character: 2.0.1 micromark-util-decode-numeric-character-reference: 2.0.1 micromark-util-symbol: 2.0.0 - dev: true /micromark-util-encode@1.1.0: resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==} /micromark-util-encode@2.0.0: resolution: {integrity: sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA==} - dev: true /micromark-util-events-to-acorn@1.2.3: resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==} @@ -9454,12 +9052,24 @@ packages: vfile-message: 3.1.4 dev: false + /micromark-util-events-to-acorn@2.0.2: + resolution: {integrity: sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA==} + dependencies: + '@types/acorn': 4.0.6 + '@types/estree': 1.0.5 + '@types/unist': 3.0.2 + devlop: 1.1.0 + estree-util-visit: 2.0.0 + micromark-util-symbol: 2.0.0 + micromark-util-types: 2.0.0 + vfile-message: 4.0.2 + dev: false + /micromark-util-html-tag-name@1.2.0: resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==} /micromark-util-html-tag-name@2.0.0: resolution: {integrity: sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw==} - dev: true /micromark-util-normalize-identifier@1.1.0: resolution: {integrity: sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==} @@ -9470,7 +9080,6 @@ packages: resolution: {integrity: sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w==} dependencies: micromark-util-symbol: 2.0.0 - dev: true /micromark-util-resolve-all@1.1.0: resolution: {integrity: sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==} @@ -9481,7 +9090,6 @@ packages: resolution: {integrity: sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA==} dependencies: micromark-util-types: 2.0.0 - dev: true /micromark-util-sanitize-uri@1.2.0: resolution: {integrity: sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==} @@ -9496,7 +9104,6 @@ packages: micromark-util-character: 2.0.1 micromark-util-encode: 2.0.0 micromark-util-symbol: 2.0.0 - dev: true /micromark-util-subtokenize@1.1.0: resolution: {integrity: sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==} @@ -9513,21 +9120,18 @@ packages: micromark-util-chunked: 2.0.0 micromark-util-symbol: 2.0.0 micromark-util-types: 2.0.0 - dev: true /micromark-util-symbol@1.1.0: resolution: {integrity: sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==} /micromark-util-symbol@2.0.0: resolution: {integrity: sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw==} - dev: true /micromark-util-types@1.1.0: resolution: {integrity: sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==} /micromark-util-types@2.0.0: resolution: {integrity: sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w==} - dev: true /micromark@3.2.0: resolution: {integrity: sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==} @@ -9574,7 +9178,6 @@ packages: micromark-util-types: 2.0.0 transitivePeerDependencies: - supports-color - dev: true /micromatch@4.0.5: resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} @@ -9688,24 +9291,20 @@ packages: resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} dev: false - /next-contentlayer@0.3.4(contentlayer@0.3.4)(esbuild@0.19.12)(next@14.1.0)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-UtUCwgAl159KwfhNaOwyiI7Lg6sdioyKMeh+E7jxx0CJ29JuXGxBEYmCI6+72NxFGIFZKx8lvttbbQhbnYWYSw==} + /next-mdx-remote@4.4.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-1BvyXaIou6xy3XoNF4yaMZUCb6vD2GTAa5ciOa6WoO+gAUTYsb1K4rI/HSC2ogAWLrb/7VSV52skz07vOzmqIQ==} + engines: {node: '>=14', npm: '>=7'} peerDependencies: - contentlayer: 0.3.4 - next: ^12 || ^13 - react: '*' - react-dom: '*' + react: '>=16.x <=18.x' + react-dom: '>=16.x <=18.x' dependencies: - '@contentlayer/core': 0.3.4(esbuild@0.19.12) - '@contentlayer/utils': 0.3.4 - contentlayer: 0.3.4(esbuild@0.19.12) - next: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) + '@mdx-js/mdx': 2.3.0 + '@mdx-js/react': 2.3.0(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) + vfile: 5.3.7 + vfile-matter: 3.0.1 transitivePeerDependencies: - - '@effect-ts/otel-node' - - esbuild - - markdown-wasm - supports-color dev: false @@ -9716,7 +9315,7 @@ packages: react: '*' react-dom: '*' dependencies: - next: 14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0) + next: 14.1.0(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -9764,7 +9363,7 @@ packages: - babel-plugin-macros dev: false - /next@14.1.0(@opentelemetry/api@1.7.0)(react-dom@18.2.0)(react@18.2.0): + /next@14.1.0(react-dom@18.2.0)(react@18.2.0): resolution: {integrity: sha512-wlzrsbfeSU48YQBjZhDzOwhWhGsy+uQycR8bHAOt1LY1bn3zZEcDyHQOEoN3aWzQ8LHCAJ1nqrWCc9XF2+O45Q==} engines: {node: '>=18.17.0'} hasBin: true @@ -9780,7 +9379,6 @@ packages: optional: true dependencies: '@next/env': 14.1.0 - '@opentelemetry/api': 1.7.0 '@swc/helpers': 0.5.2 busboy: 1.6.0 caniuse-lite: 1.0.30001580 @@ -9832,15 +9430,6 @@ packages: whatwg-url: 5.0.0 dev: false - /node-fetch@3.3.2: - resolution: {integrity: sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==} - engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - dependencies: - data-uri-to-buffer: 4.0.1 - fetch-blob: 3.2.0 - formdata-polyfill: 4.0.10 - dev: false - /node-releases@2.0.14: resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} dev: false @@ -9967,11 +9556,6 @@ packages: mimic-fn: 2.1.0 dev: false - /oo-ascii-tree@1.94.0: - resolution: {integrity: sha512-i6UllReifEW2InBJHVFJNxrledRp3yr/yKVbpDmgWTguRe8/7BtBK3njzjvZNcPLEAtiWWxr0o9SpwYjapmTOw==} - engines: {node: '>= 14.17.0'} - dev: false - /openai@4.25.0: resolution: {integrity: sha512-qLMFOizjxKuDfQkBrczZPYo6XVL4bdcuz9MR11Q+M91kGcs8dQw+O90nRcC+qWuhaGphQkfXQJMn4cd7Yew3Kg==} hasBin: true @@ -10092,6 +9676,7 @@ packages: /parse5@6.0.1: resolution: {integrity: sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==} + dev: true /parse5@7.1.2: resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} @@ -10106,13 +9691,6 @@ packages: peberminta: 0.9.0 dev: false - /pascal-case@3.1.2: - resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} - dependencies: - no-case: 3.0.4 - tslib: 2.6.2 - dev: false - /path-exists@4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} @@ -10369,25 +9947,6 @@ packages: resolution: {integrity: sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==} dev: false - /protobufjs@7.2.6: - resolution: {integrity: sha512-dgJaEDDL6x8ASUZ1YqWciTRrdOuYNzoOf27oHNfdyvKqHr5i0FV7FSLU+aIeFjyFgVxrpTOtQUi0BLLBymZaBw==} - engines: {node: '>=12.0.0'} - requiresBuild: true - dependencies: - '@protobufjs/aspromise': 1.1.2 - '@protobufjs/base64': 1.1.2 - '@protobufjs/codegen': 2.0.4 - '@protobufjs/eventemitter': 1.1.0 - '@protobufjs/fetch': 1.1.0 - '@protobufjs/float': 1.0.2 - '@protobufjs/inquire': 1.1.0 - '@protobufjs/path': 1.1.2 - '@protobufjs/pool': 1.1.0 - '@protobufjs/utf8': 1.1.0 - '@types/node': 20.11.6 - long: 5.2.3 - dev: false - /proxy-from-env@1.1.0: resolution: {integrity: sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==} dev: false @@ -10870,14 +10429,6 @@ packages: unified: 11.0.4 dev: true - /rehype-stringify@9.0.4: - resolution: {integrity: sha512-Uk5xu1YKdqobe5XpSskwPvo1XeHUUucWEQSl8hTrXt5selvca1e8K1EZ37E6YoZ4BT8BCqCdVfQW7OfHfthtVQ==} - dependencies: - '@types/hast': 2.3.9 - hast-util-to-html: 8.0.4 - unified: 10.1.2 - dev: false - /rehype@13.0.1: resolution: {integrity: sha512-AcSLS2mItY+0fYu9xKxOu1LhUZeBZZBx8//5HKzF+0XP+eP8+6a5MXn2+DW2kfXR6Dtp1FEXMVrjyKAcvcU8vg==} dependencies: @@ -10887,15 +10438,6 @@ packages: unified: 11.0.4 dev: true - /remark-frontmatter@4.0.1: - resolution: {integrity: sha512-38fJrB0KnmD3E33a5jZC/5+gGAC2WKNiPw1/fdXJvijBlhA7RCsvJklrYJakS0HedninvaCYW8lQGf9C918GfA==} - dependencies: - '@types/mdast': 3.0.15 - mdast-util-frontmatter: 1.0.1 - micromark-extension-frontmatter: 1.1.1 - unified: 10.1.2 - dev: false - /remark-gfm@3.0.1: resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==} dependencies: @@ -10907,16 +10449,6 @@ packages: - supports-color dev: true - /remark-mdx-frontmatter@1.1.1: - resolution: {integrity: sha512-7teX9DW4tI2WZkXS4DBxneYSY7NHiXl4AKdWDO9LXVweULlCT8OPWsOjLEnMIXViN1j+QcY8mfbq3k0EK6x3uA==} - engines: {node: '>=12.2.0'} - dependencies: - estree-util-is-identifier-name: 1.1.0 - estree-util-value-to-estree: 1.3.0 - js-yaml: 4.1.0 - toml: 3.0.0 - dev: false - /remark-mdx@2.3.0: resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==} dependencies: @@ -10926,6 +10458,15 @@ packages: - supports-color dev: false + /remark-mdx@3.0.1: + resolution: {integrity: sha512-3Pz3yPQ5Rht2pM5R+0J2MrGoBSrzf+tJG94N+t/ilfdh8YLyyKYtidAYwTveB20BoHAcwIopOUqhcmh2F7hGYA==} + dependencies: + mdast-util-mdx: 3.0.0 + micromark-extension-mdxjs: 3.0.0 + transitivePeerDependencies: + - supports-color + dev: false + /remark-parse@10.0.2: resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==} dependencies: @@ -10945,7 +10486,6 @@ packages: unified: 11.0.4 transitivePeerDependencies: - supports-color - dev: true /remark-rehype@10.1.0: resolution: {integrity: sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==} @@ -10956,6 +10496,16 @@ packages: unified: 10.1.2 dev: false + /remark-rehype@11.1.0: + resolution: {integrity: sha512-z3tJrAs2kIs1AqIIy6pzHmAHlF1hWQ+OdY4/hv+Wxe35EhyLKcajL33iUEn3ScxtFox9nUvRufR/Zre8Q08H/g==} + dependencies: + '@types/hast': 3.0.3 + '@types/mdast': 4.0.3 + mdast-util-to-hast: 13.1.0 + unified: 11.0.4 + vfile: 6.0.1 + dev: false + /remark-stringify@11.0.0: resolution: {integrity: sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==} dependencies: @@ -10975,11 +10525,6 @@ packages: - supports-color dev: true - /repeat-string@1.6.1: - resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} - engines: {node: '>=0.10'} - dev: false - /require-directory@2.1.1: resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} engines: {node: '>=0.10.0'} @@ -11504,6 +11049,12 @@ packages: inline-style-parser: 0.1.1 dev: false + /style-to-object@1.0.5: + resolution: {integrity: sha512-rDRwHtoDD3UMMrmZ6BzOW0naTjMsVZLIjsGleSKS/0Oz+cgCfAPRspaqJuE8rDzpKha/nEvnM0IF4seEAZUTKQ==} + dependencies: + inline-style-parser: 0.2.2 + dev: false + /styled-jsx@5.1.1(react@18.2.0): resolution: {integrity: sha512-pW7uC1l4mBZ8ugbiZrcIsiIvVx1UmTfw7UkC3Um2tmfUq9Bhk8IiyEIPl6F8agHgjzku6j0xQEZbfA5uSgSaCw==} engines: {node: '>= 12.0.0'} @@ -11757,10 +11308,6 @@ packages: to-no-case: 1.0.2 dev: false - /toml@3.0.0: - resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} - dev: false - /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: false @@ -11806,10 +11353,6 @@ packages: /ts-interface-checker@0.1.13: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} - /ts-pattern@4.3.0: - resolution: {integrity: sha512-pefrkcd4lmIVR0LA49Imjf9DYLK8vtWhqBPA3Ya1ir8xCW0O2yjL9dsCVvI7pCodLC5q7smNpEtDR2yVulQxOg==} - dev: false - /tsconfig-paths@3.15.0: resolution: {integrity: sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==} dependencies: @@ -11898,10 +11441,6 @@ packages: turbo-windows-arm64: 1.12.4 dev: true - /typanion@3.14.0: - resolution: {integrity: sha512-ZW/lVMRabETuYCd9O9ZvMhAh8GslSqaUjxmK/JLPCh6l73CvLBiuXswj/+7LdnWOgYsQ130FqLzFz5aGT4I3Ug==} - dev: false - /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} @@ -11942,11 +11481,6 @@ packages: engines: {node: '>=12.20'} dev: false - /type-fest@3.13.1: - resolution: {integrity: sha512-tLq3bSNx+xSpwvAJnzrK0Ep5CLNWjvFTOp71URMaAEWBfRb9nnJiBoUe0tF8bI4ZFO3omgBR6NvnbzVUT3Ly4g==} - engines: {node: '>=14.16'} - dev: false - /type@1.2.0: resolution: {integrity: sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==} dev: true @@ -12044,7 +11578,6 @@ packages: is-plain-obj: 4.1.0 trough: 2.1.0 vfile: 6.0.1 - dev: true /unist-util-generated@2.0.1: resolution: {integrity: sha512-qF72kLmPxAw0oN2fwpWIqbXAVyEqUzDHMsbtPvOudIlUzXYFIeQIuxXQCRCFh22B7cixvU0MG7m3MW8FTq/S+A==} @@ -12059,7 +11592,6 @@ packages: resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==} dependencies: '@types/unist': 3.0.2 - dev: true /unist-util-position-from-estree@1.1.2: resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==} @@ -12067,6 +11599,12 @@ packages: '@types/unist': 2.0.10 dev: false + /unist-util-position-from-estree@2.0.0: + resolution: {integrity: sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ==} + dependencies: + '@types/unist': 3.0.2 + dev: false + /unist-util-position@4.0.4: resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==} dependencies: @@ -12077,7 +11615,6 @@ packages: resolution: {integrity: sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==} dependencies: '@types/unist': 3.0.2 - dev: true /unist-util-remove-position@4.0.2: resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==} @@ -12086,6 +11623,13 @@ packages: unist-util-visit: 4.1.2 dev: false + /unist-util-remove-position@5.0.0: + resolution: {integrity: sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q==} + dependencies: + '@types/unist': 3.0.2 + unist-util-visit: 5.0.0 + dev: false + /unist-util-stringify-position@3.0.3: resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==} dependencies: @@ -12095,7 +11639,6 @@ packages: resolution: {integrity: sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==} dependencies: '@types/unist': 3.0.2 - dev: true /unist-util-visit-parents@5.1.3: resolution: {integrity: sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==} @@ -12108,7 +11651,6 @@ packages: dependencies: '@types/unist': 3.0.2 unist-util-is: 6.0.0 - dev: true /unist-util-visit@4.1.2: resolution: {integrity: sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==} @@ -12123,7 +11665,6 @@ packages: '@types/unist': 3.0.2 unist-util-is: 6.0.0 unist-util-visit-parents: 6.0.1 - dev: true /update-browserslist-db@1.0.13(browserslist@4.22.2): resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} @@ -12218,11 +11759,6 @@ packages: /util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} - /uuid@8.3.2: - resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==} - hasBin: true - dev: false - /uvu@0.5.6: resolution: {integrity: sha512-+g8ENReyr8YsOc6fv/NVJs2vFdHBnBNdfE49rshrTzDWOlUx4Gq7KOS2GD8eqhy2j+Ejq29+SbKH8yjkAqXqoA==} engines: {node: '>=8'} @@ -12264,6 +11800,7 @@ packages: dependencies: '@types/unist': 2.0.10 vfile: 5.3.7 + dev: true /vfile-location@5.0.2: resolution: {integrity: sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==} @@ -12272,6 +11809,14 @@ packages: vfile: 6.0.1 dev: true + /vfile-matter@3.0.1: + resolution: {integrity: sha512-CAAIDwnh6ZdtrqAuxdElUqQRQDQgbbIrYtDYI8gCjXS1qQ+1XdLoK8FIZWxJwn0/I+BkSSZpar3SOgjemQz4fg==} + dependencies: + '@types/js-yaml': 4.0.9 + is-buffer: 2.0.5 + js-yaml: 4.1.0 + dev: false + /vfile-message@3.1.4: resolution: {integrity: sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==} dependencies: @@ -12283,7 +11828,6 @@ packages: dependencies: '@types/unist': 3.0.2 unist-util-stringify-position: 4.0.0 - dev: true /vfile@5.3.7: resolution: {integrity: sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==} @@ -12299,7 +11843,6 @@ packages: '@types/unist': 3.0.2 unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - dev: true /victory-vendor@36.8.2: resolution: {integrity: sha512-NfSQi7ISCdBbDpn3b6rg+8RpFZmWIM9mcks48BbogHE2F6h1XKdA34oiCKP5hP1OGvTotDRzsexiJKzrK4Exuw==} @@ -12344,6 +11887,7 @@ packages: /web-namespaces@2.0.1: resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==} + dev: true /web-streams-polyfill@3.3.2: resolution: {integrity: sha512-3pRGuxRF5gpuZc0W+EpwQRmCD7gRqcDOMt688KmdlDAgAyaB1XlN0zq2njfDNm44XVdIouE7pZ6GzbdyH47uIQ==} diff --git a/tooling/typescript/base.json b/tooling/typescript/base.json index f022b60c..e6d8658b 100644 --- a/tooling/typescript/base.json +++ b/tooling/typescript/base.json @@ -5,18 +5,18 @@ "lib": [ "dom", "dom.iterable", - "esnext", + "ES2022", ], "allowJs": true, "skipLibCheck": true, "strict": true, - "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "isolatedModules": true, + "moduleDetection": "force", "jsx": "preserve", "incremental": true, "noUncheckedIndexedAccess": true diff --git a/turbo.json b/turbo.json index b0009446..9b781853 100644 --- a/turbo.json +++ b/turbo.json @@ -20,8 +20,7 @@ "outputs": [ ".next/**", "!.next/cache/**", - "next-env.d.ts", - ".contentlayer/**" + "next-env.d.ts" ] }, "format": {