Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

feat: add contributing links to sidebar (#202)

Dillion Vermab4bd4d77e772
diff --git a/.github/ISSUE_TEMPLATE/documentation.md b/.github/ISSUE_TEMPLATE/documentation.md
new file mode 100644
index 00000000..8c1bfb4b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/documentation.md
@@ -0,0 +1,19 @@
+---
+name: Documentation
+about: Suggest an edit for the documentation
+title: ""
+labels: ""
+assignees: ""
+---
+
+**Describe the documentation change**
+A clear and concise description of what you'd like to see changed or added in the documentation.
+
+**Current documentation**
+If applicable, provide a link or reference to the current documentation that needs to be updated.
+
+**Proposed change**
+Describe the change you'd like to see in the documentation. Be as specific as possible.
+
+**Additional context**
+Add any other context or screenshots about the documentation request here.
diff --git a/.github/workflows/code-check.yml b/.github/workflows/code-check.yml
index e742b94f..de2312af 100644
--- a/.github/workflows/code-check.yml
+++ b/.github/workflows/code-check.yml
@@ -16,7 +16,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
@@ -52,7 +52,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
@@ -90,7 +90,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
- node-version: 18
+ node-version: 20
- uses: pnpm/action-setup@v4
name: Install pnpm
diff --git a/app/(docs)/docs/[[...slug]]/page.tsx b/app/(docs)/docs/[[...slug]]/page.tsx
index 4d339375..806c00c5 100644
--- a/app/(docs)/docs/[[...slug]]/page.tsx
+++ b/app/(docs)/docs/[[...slug]]/page.tsx
@@ -6,7 +6,6 @@ import { ScrollArea } from "@/components/ui/scroll-area";
import { Mdx } from "@/components/mdx-components";
import { DocPager } from "@/components/pager";
import SidebarCTA from "@/components/sidebar-cta";
-import { DashboardTableOfContents } from "@/components/toc";
import "@/styles/mdx.css";
@@ -16,6 +15,9 @@ import { notFound } from "next/navigation";
import { ChevronRightIcon, ExternalLinkIcon } from "@radix-ui/react-icons";
import { allDocs } from "contentlayer/generated";
+import { Contribute } from "@/components/contribute";
+import { TableOfContents } from "@/components/toc";
+
interface DocPageProps {
params: {
slug: string[];
@@ -143,8 +145,9 @@ export default async function DocPage({ params }: DocPageProps) {
<div className="hidden text-sm xl:block">
<div className="sticky top-16 -mt-10 pt-4">
<ScrollArea className="pb-10">
- <div className="sticky top-16 -mt-10 h-[calc(100vh-3.5rem)] py-12">
- <DashboardTableOfContents toc={toc} />
+ <div className="space-y-4 sticky top-16 -mt-10 h-[calc(100vh-3.5rem)] py-12">
+ <TableOfContents toc={toc} />
+ <Contribute doc={doc} />
<SidebarCTA />
</div>
</ScrollArea>
diff --git a/components/contribute.tsx b/components/contribute.tsx
new file mode 100644
index 00000000..8b7adf35
--- /dev/null
+++ b/components/contribute.tsx
@@ -0,0 +1,64 @@
+import Link from "next/link";
+import { Doc } from "contentlayer/generated";
+import { BugIcon, LightbulbIcon, PencilIcon } from "lucide-react";
+
+import { getGitHubIssueUrl } from "@/lib/github";
+
+export function Contribute({ doc }: { doc: Doc }) {
+ const contributeLinks = [
+ {
+ text: "Report an issue",
+ icon: BugIcon,
+ href: getGitHubIssueUrl({
+ owner: "magicuidesign",
+ repo: "magicui",
+ title: `[bug]: ${doc.slug}`,
+ labels: ["bug", "documentation"],
+ template: "bug_report.md",
+ }),
+ },
+ {
+ text: "Request a feature",
+ icon: LightbulbIcon,
+ href: getGitHubIssueUrl({
+ owner: "magicuidesign",
+ repo: "magicui",
+ title: `[feat]: ${doc.slug}`,
+ labels: ["enhancement"],
+ template: "feature_request.md",
+ }),
+ },
+ {
+ text: "Edit this page",
+ icon: PencilIcon,
+ href: getGitHubIssueUrl({
+ owner: "magicuidesign",
+ repo: "magicui",
+ title: `[docs]: ${doc.slug}`,
+ labels: ["documentation"],
+ template: "documentation.md",
+ }),
+ },
+ ];
+
+ return (
+ <div className="space-y-2">
+ <p className="font-medium">Contribute</p>
+ <ul className="m-0 list-none">
+ {contributeLinks.map((link, index) => (
+ <li key={index} className="mt-0 pt-2">
+ <Link
+ href={link.href}
+ target="_blank"
+ rel="noopener noreferrer"
+ className="inline-flex items-center text-sm text-muted-foreground hover:text-foreground transition-colors"
+ >
+ <link.icon className="mr-2 size-4" />
+ {link.text}
+ </Link>
+ </li>
+ ))}
+ </ul>
+ </div>
+ );
+}
diff --git a/components/mobile-nav.tsx b/components/mobile-nav.tsx
index cdaf590d..3889edf5 100644
--- a/components/mobile-nav.tsx
+++ b/components/mobile-nav.tsx
@@ -59,6 +59,7 @@ export function MobileNav() {
{item.items?.map((item) =>
!item.disabled && item.href ? (
<MobileLink
+ key={item.href}
href={item.href}
onOpenChange={setOpen}
onClick={() => item.event && posthog.capture(item.event)}
diff --git a/components/sidebar-cta.tsx b/components/sidebar-cta.tsx
index 5999d450..30baa0ea 100644
--- a/components/sidebar-cta.tsx
+++ b/components/sidebar-cta.tsx
@@ -1,14 +1,12 @@
"use client";
-import AnimatedShinyText from "@/registry/components/magicui/animated-shiny-text";
-import WordPullUp from "@/registry/components/magicui/word-pull-up";
-
-import "@/styles/mdx.css";
-
import Link from "next/link";
import { ChevronRight } from "lucide-react";
import posthog from "posthog-js";
+import AnimatedShinyText from "@/registry/components/magicui/animated-shiny-text";
+import WordPullUp from "@/registry/components/magicui/word-pull-up";
+
export default function SidebarCTA() {
return (
<Link
diff --git a/components/toc.tsx b/components/toc.tsx
index cd19f140..67a94a0a 100644
--- a/components/toc.tsx
+++ b/components/toc.tsx
@@ -10,7 +10,7 @@ interface TocProps {
toc: TableOfContents;
}
-export function DashboardTableOfContents({ toc }: TocProps) {
+export function TableOfContents({ toc }: TocProps) {
const refinedToc = useMemo(() => {
if (!toc.items || toc.items.length === 0) {
return toc;
diff --git a/lib/github.ts b/lib/github.ts
new file mode 100644
index 00000000..dcafac8b
--- /dev/null
+++ b/lib/github.ts
@@ -0,0 +1,43 @@
+interface GitHubIssueUrlParams {
+ owner: string;
+ repo: string;
+ title?: string;
+ body?: string;
+ labels?: string[];
+ template?: string;
+ projects?: string[];
+ assignees?: string[];
+ milestone?: string;
+}
+
+/**
+ * Generates a GitHub issue URL with the provided parameters.
+ * https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-an-issue#creating-an-issue-from-a-url-query
+ *
+ * @param params - Parameters for the GitHub issue URL.
+ * @param params.owner - The GitHub repository owner's username.
+ * @param params.repo - The name of the GitHub repository.
+ * @param params.title - Optional title of the issue.
+ * @param params.body - Optional body content of the issue.
+ * @param params.labels - Optional array of labels for the issue.
+ * @param params.template - Optional template file name for the issue.
+ * @param params.projects - Optional array of project names to associate with the issue.
+ * @param params.assignees - Optional array of usernames to assign the issue to.
+ * @param params.milestone - Optional milestone to associate with the issue.
+ * @returns A string containing the generated GitHub issue URL.
+ */
+export function getGitHubIssueUrl(params: GitHubIssueUrlParams): string {
+ const { owner, repo, ...issueParams } = params;
+ const baseUrl = `https://github.com/${owner}/${repo}/issues/new`;
+ const urlParams = new URLSearchParams();
+
+ Object.entries(issueParams).forEach(([key, value]) => {
+ if (Array.isArray(value)) {
+ value.forEach((item) => urlParams.append(key, item));
+ } else if (value !== undefined) {
+ urlParams.append(key, value.toString());
+ }
+ });
+
+ return `${baseUrl}?${urlParams.toString()}`;
+}
diff --git a/package.json b/package.json
index d694c608..47d343dc 100644
--- a/package.json
+++ b/package.json
@@ -51,7 +51,7 @@
"crisp-sdk-web": "^1.0.25",
"critters": "^0.0.24",
"date-fns": "^2.30.0",
- "eslint": "9.6.0",
+ "eslint": "8.55.0",
"eslint-config-next": "14.2.4",
"framer-motion": "^10.12.16",
"geist": "^1.2.2",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 5766064e..9bb9edbd 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -96,11 +96,11 @@ importers:
specifier: ^2.30.0
version: 2.30.0
eslint:
- specifier: 9.6.0
- version: 9.6.0
+ specifier: 8.55.0
+ version: 8.55.0
eslint-config-next:
specifier: 14.2.4
framer-motion:
specifier: ^10.12.16
@@ -200,10 +200,10 @@ importers:
version: 6.0.5([email protected])
eslint-config-prettier:
specifier: ^9.1.0
- version: 9.1.0([email protected])
+ version: 9.1.0([email protected])
eslint-plugin-prettier:
specifier: ^5.1.3
eslint-plugin-tailwindcss:
specifier: ^3.17.0
@@ -1287,21 +1287,13 @@ packages:
resolution: {integrity: sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-A68TBu6/1mHHuc5YJL0U0VVeGNiklLAL6rRmhTCP2B5XjWLMnrX+HkO+IAXyHvks5cyyY1jjK5ITPQ1HGS2EVA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@eslint/[email protected]':
- resolution: {integrity: sha512-4Bfj15dVJdoy3RfZmmo86RK1Fwzn6SstsvK9JS+BaVKqC6QQQQyXekNaC+g+LKNgkQ+2VhGAzm6hO40AhMR3zQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- '@eslint/[email protected]':
- resolution: {integrity: sha512-D9B0/3vNg44ZeWbYMpBoXqNP4j6eQD5vNwIlGAuFRRzK/WtT/jvDQW3Bi9kkf3PMDMlM7Yi+73VLUsn5bJcl8A==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- '@eslint/[email protected]':
- resolution: {integrity: sha512-BsWiH1yFGjXXS2yvrf5LyuoSIIbPrGUWob917o+BTKuZ7qJdxX8aJLRxs1fS9n6r7vESrq1OUqb68dANcFXuQQ==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ '@eslint/[email protected]':
+ resolution: {integrity: sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
'@fal-works/[email protected]':
resolution: {integrity: sha512-cEee/Z+I12mZcFJshKcCqC8tuX5hG3s+d+9nZ3LabqKF1vKdF41B92pJVCBggjAGORAeOzyyDDKrZwIkLffeOQ==}
@@ -1341,13 +1333,18 @@ packages:
peerDependencies:
react: '>= 16'
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg==}
+ engines: {node: '>=10.10.0'}
+ deprecated: Use @eslint/config-array instead
+
'@humanwhocodes/[email protected]':
resolution: {integrity: sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==}
engines: {node: '>=12.22'}
- '@humanwhocodes/[email protected]':
- resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==}
- engines: {node: '>=18.18'}
+ '@humanwhocodes/[email protected]':
+ resolution: {integrity: sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==}
+ deprecated: Use @eslint/object-schema instead
resolution: {integrity: sha512-NKN1LVFWUDGDGr3vt+6Ey3qPeN/163uR1pOPAlkWpgvAqgxQ6kSdUf1F0it8aHUtKRUzEGcK38Wxd07O61d7+Q==}
@@ -2851,6 +2848,9 @@ packages:
resolution: {integrity: sha512-JJtkDduxLi9bivAB+cYOVMtbkqdPOhZ+ZI5LC47MIRrDV4Yn2o+ZnW10Nkmr28xRpSpdJ6Sm42Hjf2+REYXm0A==}
engines: {node: ^16.0.0 || >=18.0.0}
+ '@ungap/[email protected]':
+ resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==}
+
resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}
hasBin: true
@@ -3591,6 +3591,10 @@ packages:
resolution: {integrity: sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==}
engines: {node: '>=0.10.0'}
+ resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==}
+ engines: {node: '>=6.0.0'}
+
resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}
@@ -3809,26 +3813,22 @@ packages:
peerDependencies:
tailwindcss: ^3.4.0
- resolution: {integrity: sha512-pL8XjgP4ZOmmwfFE8mEhSxA7ZY4C+LWyqjQ3o4yWkkmD0qcMT9kkW3zWHOczhWcjTSgqycYAgwSlXvZltv65og==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
- resolution: {integrity: sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
-
- resolution: {integrity: sha512-ElQkdLMEEqQNM9Njff+2Y4q2afHk7JpkPvrd7Xh7xefwgQynqPxwf55J7di9+MEibWUGdNjFF9ITG9Pck5M84w==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
hasBin: true
- resolution: {integrity: sha512-M1M6CpiE6ffoigIOWYO9UDP8TMUw9kqb21tf+08IgDYjCsOvCuDt4jQcZmoYxx+w7zlKw9/N0KXfto+I8/FrXA==}
- engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
@@ -3938,9 +3938,9 @@ packages:
resolution: {integrity: sha512-FJqqoDBR00Mdj9ppamLa/Y7vxm+PRmNWA67N846RvsoYVMKB4q3y/de5PA7gUmRMYK/8CMz2GDZQmCRN1wBcWA==}
- resolution: {integrity: sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==}
- engines: {node: '>=16.0.0'}
+ resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==}
+ engines: {node: ^10.12.0 || >=12.0.0}
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
@@ -3974,9 +3974,9 @@ packages:
resolution: {integrity: sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==}
engines: {node: '>=18'}
- resolution: {integrity: sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==}
- engines: {node: '>=16'}
+ resolution: {integrity: sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==}
+ engines: {node: ^10.12.0 || >=12.0.0}
resolution: {integrity: sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==}
@@ -4119,9 +4119,9 @@ packages:
resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}
engines: {node: '>=4'}
- resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==}
- engines: {node: '>=18'}
+ resolution: {integrity: sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==}
+ engines: {node: '>=8'}
resolution: {integrity: sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==}
@@ -4137,6 +4137,9 @@ packages:
resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==}
+ resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==}
+
resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}
engines: {node: '>=6.0'}
@@ -6674,6 +6677,10 @@ packages:
resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==}
engines: {node: '>=4'}
+ resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==}
engines: {node: '>=8'}
@@ -8215,27 +8222,19 @@ snapshots:
'@esbuild/[email protected]':
optional: true
- '@eslint-community/[email protected]([email protected])':
+ '@eslint-community/[email protected]([email protected])':
dependencies:
- eslint: 9.6.0
+ eslint: 8.55.0
eslint-visitor-keys: 3.4.3
'@eslint-community/[email protected]': {}
- '@eslint/[email protected]':
- dependencies:
- '@eslint/object-schema': 2.1.4
- debug: 4.3.4
- minimatch: 3.1.2
- transitivePeerDependencies:
- - supports-color
-
- '@eslint/[email protected]':
+ '@eslint/[email protected]':
dependencies:
ajv: 6.12.6
debug: 4.3.4
- espree: 10.1.0
- globals: 14.0.0
+ espree: 9.6.1
+ globals: 13.24.0
ignore: 5.3.1
import-fresh: 3.3.0
js-yaml: 4.1.0
@@ -8244,9 +8243,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@eslint/[email protected]': {}
-
- '@eslint/[email protected]': {}
+ '@eslint/[email protected]': {}
'@fal-works/[email protected]': {}
@@ -8289,9 +8286,17 @@ snapshots:
dependencies:
react: 18.3.1
+ '@humanwhocodes/[email protected]':
+ dependencies:
+ '@humanwhocodes/object-schema': 2.0.3
+ debug: 4.3.4
+ minimatch: 3.1.2
+ transitivePeerDependencies:
+ - supports-color
+
'@humanwhocodes/[email protected]': {}
- '@humanwhocodes/[email protected]': {}
+ '@humanwhocodes/[email protected]': {}
dependencies:
@@ -10018,14 +10023,14 @@ snapshots:
dependencies:
'@types/yargs-parser': 21.0.3
dependencies:
'@typescript-eslint/scope-manager': 6.21.0
'@typescript-eslint/types': 6.21.0
'@typescript-eslint/typescript-estree': 6.21.0([email protected])
'@typescript-eslint/visitor-keys': 6.21.0
debug: 4.3.4
- eslint: 9.6.0
+ eslint: 8.55.0
optionalDependencies:
typescript: 5.3.3
transitivePeerDependencies:
@@ -10058,6 +10063,8 @@ snapshots:
'@typescript-eslint/types': 6.21.0
eslint-visitor-keys: 3.4.3
+ '@ungap/[email protected]': {}
+
dependencies:
jsonparse: 1.3.1
@@ -10863,6 +10870,10 @@ snapshots:
dependencies:
esutils: 2.0.3
+ dependencies:
+ esutils: 2.0.3
+
dependencies:
domelementtype: 2.3.0
@@ -11047,27 +11058,27 @@ snapshots:
dependencies:
'@next/eslint-plugin-next': 14.2.4
'@rushstack/eslint-patch': 1.7.2
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
- eslint: 9.6.0
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ eslint: 8.55.0
eslint-import-resolver-node: 0.3.9
- eslint-plugin-jsx-a11y: 6.8.0([email protected])
- eslint-plugin-react: 7.33.2([email protected])
- eslint-plugin-react-hooks: 4.6.0([email protected])
+ eslint-plugin-jsx-a11y: 6.8.0([email protected])
+ eslint-plugin-react: 7.33.2([email protected])
+ eslint-plugin-react-hooks: 4.6.0([email protected])
optionalDependencies:
typescript: 5.3.3
transitivePeerDependencies:
- eslint-import-resolver-webpack
- supports-color
dependencies:
- eslint: 9.6.0
+ eslint: 8.55.0
dependencies:
@@ -11077,13 +11088,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 4.3.4
enhanced-resolve: 5.15.1
- eslint: 9.6.0
+ eslint: 8.55.0
fast-glob: 3.3.2
get-tsconfig: 4.7.5
is-core-module: 2.13.1
@@ -11094,18 +11105,18 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
- eslint: 9.6.0
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ eslint: 8.55.0
eslint-import-resolver-node: 0.3.9
transitivePeerDependencies:
- supports-color
dependencies:
array-includes: 3.1.7
array.prototype.findlastindex: 1.2.4
@@ -11113,9 +11124,9 @@ snapshots:
array.prototype.flatmap: 1.3.2
debug: 3.2.7
doctrine: 2.1.0
- eslint: 9.6.0
+ eslint: 8.55.0
eslint-import-resolver-node: 0.3.9
hasown: 2.0.1
is-core-module: 2.13.1
is-glob: 4.0.3
@@ -11126,13 +11137,13 @@ snapshots:
semver: 6.3.1
tsconfig-paths: 3.15.0
optionalDependencies:
- '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
+ '@typescript-eslint/parser': 6.21.0([email protected])([email protected])
transitivePeerDependencies:
- eslint-import-resolver-typescript
- eslint-import-resolver-webpack
- supports-color
dependencies:
'@babel/runtime': 7.24.0
aria-query: 5.3.0
@@ -11144,7 +11155,7 @@ snapshots:
damerau-levenshtein: 1.0.8
emoji-regex: 9.2.2
es-iterator-helpers: 1.0.17
- eslint: 9.6.0
+ eslint: 8.55.0
hasown: 2.0.1
jsx-ast-utils: 3.3.5
language-tags: 1.0.9
@@ -11152,27 +11163,27 @@ snapshots:
object.entries: 1.1.7
object.fromentries: 2.0.7
dependencies:
- eslint: 9.6.0
+ eslint: 8.55.0
prettier: 3.2.5
prettier-linter-helpers: 1.0.0
synckit: 0.8.8
optionalDependencies:
- eslint-config-prettier: 9.1.0([email protected])
+ eslint-config-prettier: 9.1.0([email protected])
dependencies:
- eslint: 9.6.0
+ eslint: 8.55.0
dependencies:
array-includes: 3.1.7
array.prototype.flatmap: 1.3.2
array.prototype.tosorted: 1.1.3
doctrine: 2.1.0
es-iterator-helpers: 1.0.17
- eslint: 9.6.0
+ eslint: 8.55.0
estraverse: 5.3.0
jsx-ast-utils: 3.3.5
minimatch: 3.1.2
@@ -11191,43 +11202,45 @@ snapshots:
postcss: 8.4.39
dependencies:
esrecurse: 4.3.0
estraverse: 5.3.0
-
dependencies:
- '@eslint-community/eslint-utils': 4.4.0([email protected])
+ '@eslint-community/eslint-utils': 4.4.0([email protected])
'@eslint-community/regexpp': 4.10.0
- '@eslint/config-array': 0.17.0
- '@eslint/eslintrc': 3.1.0
- '@eslint/js': 9.6.0
+ '@eslint/eslintrc': 2.1.4
+ '@eslint/js': 8.55.0
+ '@humanwhocodes/config-array': 0.11.14
'@humanwhocodes/module-importer': 1.0.1
- '@humanwhocodes/retry': 0.3.0
'@nodelib/fs.walk': 1.2.8
+ '@ungap/structured-clone': 1.2.0
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.4
+ doctrine: 3.0.0
escape-string-regexp: 4.0.0
- eslint-scope: 8.0.1
- eslint-visitor-keys: 4.0.0
- espree: 10.1.0
+ eslint-scope: 7.2.2
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
esquery: 1.5.0
esutils: 2.0.3
fast-deep-equal: 3.1.3
- file-entry-cache: 8.0.0
+ file-entry-cache: 6.0.1
find-up: 5.0.0
glob-parent: 6.0.2
+ globals: 13.24.0
+ graphemer: 1.4.0
ignore: 5.3.1
imurmurhash: 0.1.4
is-glob: 4.0.3
is-path-inside: 3.0.3
+ js-yaml: 4.1.0
json-stable-stringify-without-jsonify: 1.0.1
levn: 0.4.1
lodash.merge: 4.6.2
@@ -11239,11 +11252,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
acorn: 8.12.1
acorn-jsx: 5.3.2([email protected])
- eslint-visitor-keys: 4.0.0
+ eslint-visitor-keys: 3.4.3
@@ -11367,9 +11380,9 @@ snapshots:
dependencies:
- flat-cache: 4.0.1
+ flat-cache: 3.2.0
dependencies:
@@ -11417,10 +11430,11 @@ snapshots:
path-exists: 5.0.0
unicorn-magic: 0.1.0
dependencies:
flatted: 3.3.1
keyv: 4.5.4
+ rimraf: 3.0.2
@@ -11552,7 +11566,9 @@ snapshots:
+ dependencies:
+ type-fest: 0.20.2
dependencies:
@@ -11573,6 +11589,8 @@ snapshots:
+
dependencies:
js-yaml: 3.14.1
@@ -14618,6 +14636,8 @@ snapshots:
+