From 1d5c0fc0f727e84c7c4bff2be067055e1f0038d0 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 17:02:50 +0800 Subject: [PATCH 1/9] Upgrade package of Website Signed-off-by: Eli Ma --- aria/package.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/aria/package.json b/aria/package.json index 4563d8f33..ad8e7f9d1 100644 --- a/aria/package.json +++ b/aria/package.json @@ -9,44 +9,44 @@ "lint": "next lint" }, "dependencies": { - "@next/third-parties": "^15.0.3", - "@radix-ui/react-accordion": "^1.2.0", - "@radix-ui/react-avatar": "^1.1.0", - "@radix-ui/react-collapsible": "^1.1.0", - "@radix-ui/react-dialog": "^1.1.1", - "@radix-ui/react-dropdown-menu": "^2.1.1", - "@radix-ui/react-scroll-area": "^1.2.0", + "@next/third-parties": "^15.0.4", + "@radix-ui/react-accordion": "^1.2.1", + "@radix-ui/react-avatar": "^1.1.1", + "@radix-ui/react-collapsible": "^1.1.1", + "@radix-ui/react-dialog": "^1.1.2", + "@radix-ui/react-dropdown-menu": "^2.1.2", + "@radix-ui/react-scroll-area": "^1.2.1", "@radix-ui/react-slot": "^1.1.0", - "@radix-ui/react-tabs": "^1.1.0", + "@radix-ui/react-tabs": "^1.1.1", "@vercel/analytics": "^1.4.1", - "class-variance-authority": "^0.7.0", + "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "gray-matter": "^4.0.3", - "lucide-react": "^0.435.0", - "next": "15.0.3", + "lucide-react": "^0.468.0", + "next": "15.0.4", "next-mdx-remote": "^5.0.0", - "next-themes": "^0.3.0", - "react": "19.0.0-rc-66855b96-20241106", - "react-dom": "19.0.0-rc-66855b96-20241106", + "next-themes": "^0.4.4", + "react": "19.0.0", + "react-dom": "19.0.0", "react-inlinesvg": "^4.1.5", "rehype-autolink-headings": "^7.1.0", "rehype-code-titles": "^1.2.0", "rehype-prism-plus": "^2.0.0", "rehype-slug": "^6.0.0", "remark-gfm": "^4.0.0", - "tailwind-merge": "^2.5.2", + "tailwind-merge": "^2.5.5", "tailwindcss-animate": "^1.0.7", "unist-util-visit": "^5.0.0" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.14", + "@tailwindcss/typography": "^0.5.15", "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "^19", + "@types/react-dom": "^19", "eslint": "^8", - "eslint-config-next": "15.0.3", + "eslint-config-next": "15.0.4", "postcss": "^8", - "tailwindcss": "^3.4.15", + "tailwindcss": "^3.4.16", "typescript": "^5" } } From 83c55a7eb6fe13fd6f092340951c68cea3d67fea Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 20:19:33 +0800 Subject: [PATCH 2/9] Add architecture section in the website doc Signed-off-by: Eli Ma --- aria/contents/docs/architecture/api/index.mdx | 6 ++++++ aria/contents/docs/architecture/api/mega/index.mdx | 4 ++++ aria/contents/docs/architecture/api/mono/index.mdx | 4 ++++ aria/contents/docs/architecture/index.mdx | 6 ++++++ aria/contents/docs/components/index.mdx | 2 +- aria/lib/routes-config.ts | 14 ++++++++++++++ 6 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 aria/contents/docs/architecture/api/index.mdx create mode 100644 aria/contents/docs/architecture/api/mega/index.mdx create mode 100644 aria/contents/docs/architecture/api/mono/index.mdx create mode 100644 aria/contents/docs/architecture/index.mdx diff --git a/aria/contents/docs/architecture/api/index.mdx b/aria/contents/docs/architecture/api/index.mdx new file mode 100644 index 000000000..ec26ad63a --- /dev/null +++ b/aria/contents/docs/architecture/api/index.mdx @@ -0,0 +1,6 @@ +--- +title: API Overview +description: This section provides an api overview of the Mega project. +--- + + diff --git a/aria/contents/docs/architecture/api/mega/index.mdx b/aria/contents/docs/architecture/api/mega/index.mdx new file mode 100644 index 000000000..364c9845b --- /dev/null +++ b/aria/contents/docs/architecture/api/mega/index.mdx @@ -0,0 +1,4 @@ +--- +title: Mega API Reference +description: This section provides an api reference of the mono submodule. +--- diff --git a/aria/contents/docs/architecture/api/mono/index.mdx b/aria/contents/docs/architecture/api/mono/index.mdx new file mode 100644 index 000000000..db015a71f --- /dev/null +++ b/aria/contents/docs/architecture/api/mono/index.mdx @@ -0,0 +1,4 @@ +--- +title: Mono API Reference +description: This section provides an api reference of the mono submodule. +--- diff --git a/aria/contents/docs/architecture/index.mdx b/aria/contents/docs/architecture/index.mdx new file mode 100644 index 000000000..11e9cd432 --- /dev/null +++ b/aria/contents/docs/architecture/index.mdx @@ -0,0 +1,6 @@ +--- +title: Architecture +description: This section provides an architectural overview of the Mega project. +--- + + diff --git a/aria/contents/docs/components/index.mdx b/aria/contents/docs/components/index.mdx index 41506db89..6e8abebcb 100644 --- a/aria/contents/docs/components/index.mdx +++ b/aria/contents/docs/components/index.mdx @@ -1,6 +1,6 @@ --- title: Components -description: This section provides an overview of the custom components available in AriaDocs. +description: This section provides an overview of the custom components available in Mega. --- Explore the custom components we've defined for easy integration and development within your projects. Each component is designed to enhance your workflow and streamline your development process. diff --git a/aria/lib/routes-config.ts b/aria/lib/routes-config.ts index e87fb5354..d6404426e 100644 --- a/aria/lib/routes-config.ts +++ b/aria/lib/routes-config.ts @@ -90,6 +90,20 @@ export const ROUTES: EachRoute[] = [ { title: "Vault", href: "/vault" }, ], }, + { + title: "Architecture", + href: "/architecture", + items: [ + { + title: "API Reference", + href: "/api", + items: [ + { title: "Mono Module", href: "/mono" }, + { title: "Mega Module", href: "/mega" }, + ], + }, + ], + }, { title: "Git", href: "/git", From ffa5deb50f88059533d47c929dbcfb86e5c6db46 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 20:42:24 +0800 Subject: [PATCH 3/9] fix vecel failed Signed-off-by: Eli Ma --- aria/package.json | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/aria/package.json b/aria/package.json index ad8e7f9d1..4563d8f33 100644 --- a/aria/package.json +++ b/aria/package.json @@ -9,44 +9,44 @@ "lint": "next lint" }, "dependencies": { - "@next/third-parties": "^15.0.4", - "@radix-ui/react-accordion": "^1.2.1", - "@radix-ui/react-avatar": "^1.1.1", - "@radix-ui/react-collapsible": "^1.1.1", - "@radix-ui/react-dialog": "^1.1.2", - "@radix-ui/react-dropdown-menu": "^2.1.2", - "@radix-ui/react-scroll-area": "^1.2.1", + "@next/third-parties": "^15.0.3", + "@radix-ui/react-accordion": "^1.2.0", + "@radix-ui/react-avatar": "^1.1.0", + "@radix-ui/react-collapsible": "^1.1.0", + "@radix-ui/react-dialog": "^1.1.1", + "@radix-ui/react-dropdown-menu": "^2.1.1", + "@radix-ui/react-scroll-area": "^1.2.0", "@radix-ui/react-slot": "^1.1.0", - "@radix-ui/react-tabs": "^1.1.1", + "@radix-ui/react-tabs": "^1.1.0", "@vercel/analytics": "^1.4.1", - "class-variance-authority": "^0.7.1", + "class-variance-authority": "^0.7.0", "clsx": "^2.1.1", "gray-matter": "^4.0.3", - "lucide-react": "^0.468.0", - "next": "15.0.4", + "lucide-react": "^0.435.0", + "next": "15.0.3", "next-mdx-remote": "^5.0.0", - "next-themes": "^0.4.4", - "react": "19.0.0", - "react-dom": "19.0.0", + "next-themes": "^0.3.0", + "react": "19.0.0-rc-66855b96-20241106", + "react-dom": "19.0.0-rc-66855b96-20241106", "react-inlinesvg": "^4.1.5", "rehype-autolink-headings": "^7.1.0", "rehype-code-titles": "^1.2.0", "rehype-prism-plus": "^2.0.0", "rehype-slug": "^6.0.0", "remark-gfm": "^4.0.0", - "tailwind-merge": "^2.5.5", + "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", "unist-util-visit": "^5.0.0" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.15", + "@tailwindcss/typography": "^0.5.14", "@types/node": "^20", - "@types/react": "^19", - "@types/react-dom": "^19", + "@types/react": "^18", + "@types/react-dom": "^18", "eslint": "^8", - "eslint-config-next": "15.0.4", + "eslint-config-next": "15.0.3", "postcss": "^8", - "tailwindcss": "^3.4.16", + "tailwindcss": "^3.4.15", "typescript": "^5" } } From 7952db181e8c6be6816c8b74fcff2a9deb3390a6 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:20:20 +0800 Subject: [PATCH 4/9] Upgrade nextjs to 15.0.4 Signed-off-by: Eli Ma --- aria/package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aria/package.json b/aria/package.json index 4563d8f33..2f8e4983a 100644 --- a/aria/package.json +++ b/aria/package.json @@ -9,7 +9,7 @@ "lint": "next lint" }, "dependencies": { - "@next/third-parties": "^15.0.3", + "@next/third-parties": "^15.0.4", "@radix-ui/react-accordion": "^1.2.0", "@radix-ui/react-avatar": "^1.1.0", "@radix-ui/react-collapsible": "^1.1.0", @@ -23,7 +23,7 @@ "clsx": "^2.1.1", "gray-matter": "^4.0.3", "lucide-react": "^0.435.0", - "next": "15.0.3", + "next": "15.0.4", "next-mdx-remote": "^5.0.0", "next-themes": "^0.3.0", "react": "19.0.0-rc-66855b96-20241106", @@ -44,7 +44,7 @@ "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", - "eslint-config-next": "15.0.3", + "eslint-config-next": "15.0.4", "postcss": "^8", "tailwindcss": "^3.4.15", "typescript": "^5" From 089260b471aa251e1b4fe637b373bca693a255a5 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:24:20 +0800 Subject: [PATCH 5/9] Upgrade tailwindcss to 3.4.16 Signed-off-by: Eli Ma --- aria/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aria/package.json b/aria/package.json index 2f8e4983a..150b5fcae 100644 --- a/aria/package.json +++ b/aria/package.json @@ -39,14 +39,14 @@ "unist-util-visit": "^5.0.0" }, "devDependencies": { - "@tailwindcss/typography": "^0.5.14", + "@tailwindcss/typography": "^0.5.15", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", "eslint-config-next": "15.0.4", "postcss": "^8", - "tailwindcss": "^3.4.15", + "tailwindcss": "^3.4.16", "typescript": "^5" } } From 002871211cbf98fa2a8c0d7bff3dfb7930596e51 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:27:28 +0800 Subject: [PATCH 6/9] Upgrade react to 19 of devDependencies Signed-off-by: Eli Ma --- aria/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aria/package.json b/aria/package.json index 150b5fcae..1da13e21c 100644 --- a/aria/package.json +++ b/aria/package.json @@ -41,8 +41,8 @@ "devDependencies": { "@tailwindcss/typography": "^0.5.15", "@types/node": "^20", - "@types/react": "^18", - "@types/react-dom": "^18", + "@types/react": "^19", + "@types/react-dom": "^19", "eslint": "^8", "eslint-config-next": "15.0.4", "postcss": "^8", From 07ddace401787104256087454ac5c5bbc8768653 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:30:00 +0800 Subject: [PATCH 7/9] Upgrade react to 19 of dependencies Signed-off-by: Eli Ma --- aria/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aria/package.json b/aria/package.json index 1da13e21c..5adafeb47 100644 --- a/aria/package.json +++ b/aria/package.json @@ -26,8 +26,8 @@ "next": "15.0.4", "next-mdx-remote": "^5.0.0", "next-themes": "^0.3.0", - "react": "19.0.0-rc-66855b96-20241106", - "react-dom": "19.0.0-rc-66855b96-20241106", + "react": "^19", + "react-dom": "^19", "react-inlinesvg": "^4.1.5", "rehype-autolink-headings": "^7.1.0", "rehype-code-titles": "^1.2.0", From 317732eb8062e85146736c37bfbd6f2576ad9e54 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:32:53 +0800 Subject: [PATCH 8/9] Upgrade next-theme of dependencies Signed-off-by: Eli Ma --- aria/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aria/package.json b/aria/package.json index 5adafeb47..3dba95323 100644 --- a/aria/package.json +++ b/aria/package.json @@ -25,7 +25,7 @@ "lucide-react": "^0.435.0", "next": "15.0.4", "next-mdx-remote": "^5.0.0", - "next-themes": "^0.3.0", + "next-themes": "^0.4.4", "react": "^19", "react-dom": "^19", "react-inlinesvg": "^4.1.5", From cd49bc8b280e5c3f516812b7d197d8fe174c7134 Mon Sep 17 00:00:00 2001 From: Eli Ma Date: Sat, 7 Dec 2024 21:36:26 +0800 Subject: [PATCH 9/9] Fix the vercel build failuer Signed-off-by: Eli Ma --- aria/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aria/package.json b/aria/package.json index 3dba95323..5adafeb47 100644 --- a/aria/package.json +++ b/aria/package.json @@ -25,7 +25,7 @@ "lucide-react": "^0.435.0", "next": "15.0.4", "next-mdx-remote": "^5.0.0", - "next-themes": "^0.4.4", + "next-themes": "^0.3.0", "react": "^19", "react-dom": "^19", "react-inlinesvg": "^4.1.5",