Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ jobs:
- name: Build Scripts
run: pnpm build:scripts

- name: Build Plugins
run: pnpm build:plugins

- name: Run build
run: pnpm build

Expand Down
38 changes: 19 additions & 19 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,31 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@hono/zod-openapi": "^1.1.4",
"@hono/zod-validator": "^0.7.4",
"@hono/zod-openapi": "^1.3.0",
"@hono/zod-validator": "^0.7.6",
"@vitnode/core": "workspace:*",
"drizzle-kit": "^0.31.7",
"drizzle-orm": "^0.44.7",
"hono": "^4.10.6",
"next-intl": "^4.5.3",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"use-intl": "^4.5.3",
"zod": "^4.1.12"
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"hono": "^4.12.16",
"next-intl": "^4.11.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"use-intl": "^4.11.0",
"zod": "^4.4.1"
},
"devDependencies": {
"@hono/node-server": "^1.19.6",
"@react-email/components": "^1.0.1",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@hono/node-server": "^2.0.1",
"@react-email/components": "^1.0.12",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitnode/config": "workspace:*",
"@vitnode/nodemailer": "workspace:*",
"dotenv": "^17.2.3",
"eslint": "^9.39.1",
"react-email": "^5.0.4",
"dotenv": "^17.4.2",
"eslint": "^10.2.1",
"react-email": "^6.0.5",
"tsc-alias": "^1.8.16",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
"tsx": "^4.21.0",
"typescript": "^6.0.3"
}
}
3 changes: 2 additions & 1 deletion apps/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"compilerOptions": {
"target": "ESNext",
"module": "NodeNext",
"baseUrl": ".",
"rootDir": "./src",
"outDir": "./dist",
"incremental": false,
"types": ["node"],
"paths": {
"@/*": ["./src/*"]
Expand Down
3 changes: 2 additions & 1 deletion apps/docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ yarn-error.log*

# Others
.vercel
next-env.d.ts
next-env.d.ts
.env*.local
10 changes: 7 additions & 3 deletions apps/docs/components.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "new-york",
"style": "base-nova",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "",
"css": "src/app/global.css",
"baseColor": "neutral",
"baseColor": "zinc",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"rtl": true,
"aliases": {
"components": "@/components",
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"iconLibrary": "lucide"
"menuColor": "default",
"menuAccent": "subtle",
"registries": {}
}
58 changes: 29 additions & 29 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,50 +22,50 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@hono/zod-openapi": "^1.1.4",
"@hono/zod-validator": "^0.7.4",
"@hono/zod-openapi": "^1.3.0",
"@hono/zod-validator": "^0.7.6",
"@vitnode/blog": "workspace:*",
"@vitnode/core": "workspace:*",
"drizzle-kit": "^0.31.7",
"drizzle-orm": "^0.44.7",
"fumadocs-core": "^16.0.11",
"fumadocs-mdx": "^13.0.8",
"fumadocs-ui": "^16.0.11",
"hono": "^4.10.6",
"lucide-react": "^0.553.0",
"motion": "^12.23.24",
"next": "^16.0.3",
"next-intl": "^4.5.3",
"drizzle-kit": "^0.31.10",
"drizzle-orm": "^0.45.2",
"fumadocs-core": "^16.8.5",
"fumadocs-mdx": "^14.3.2",
"fumadocs-ui": "^16.8.5",
"hono": "^4.12.16",
"lucide-react": "^1.14.0",
"motion": "^12.38.0",
"next": "^16.2.4",
"next-intl": "^4.11.0",
"node-cron": "^4.2.1",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.66.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-hook-form": "^7.74.0",
"react-use": "^17.6.0",
"sonner": "^2.0.7"
},
"devDependencies": {
"@next/bundle-analyzer": "^16.0.3",
"@playwright/test": "^1.56.1",
"@react-email/components": "^1.0.1",
"@tailwindcss/postcss": "^4.1.17",
"@next/bundle-analyzer": "^16.2.4",
"@playwright/test": "^1.59.1",
"@react-email/components": "^1.0.12",
"@tailwindcss/postcss": "^4.2.4",
"@types/mdx": "^2.0.13",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/node": "^25.6.0",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitnode/config": "workspace:*",
"@vitnode/node-cron": "workspace:*",
"@vitnode/nodemailer": "workspace:*",
"@vitnode/resend": "workspace:*",
"babel-plugin-react-compiler": "^1.0.0",
"class-variance-authority": "^0.7.1",
"eslint": "^9.39.1",
"postcss": "^8.5.6",
"react-email": "^5.0.4",
"shiki": "^3.15.0",
"tailwindcss": "^4.1.17",
"eslint": "^10.2.1",
"postcss": "^8.5.12",
"react-email": "^6.0.5",
"shiki": "^4.0.2",
"tailwindcss": "^4.2.4",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"use-intl": "^4.5.3",
"zod": "^4.1.12"
"typescript": "^6.0.3",
"use-intl": "^4.11.0",
"zod": "^4.4.1"
}
}
11 changes: 1 addition & 10 deletions apps/docs/source.config.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
import {
defineConfig,
defineDocs,
frontmatterSchema,
metaSchema,
} from "fumadocs-mdx/config";
import { defineConfig, defineDocs } from "fumadocs-mdx/config";
import jsonSchema from "fumadocs-mdx/plugins/json-schema";

export const docs = defineDocs({
dir: "content/docs",
docs: {
schema: frontmatterSchema,
postprocess: {
includeProcessedMarkdown: true,
},
},
meta: {
schema: metaSchema,
},
});

export default defineConfig({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
"use client";

import { cn } from "@vitnode/core/lib/utils";
// Source: https://github.com/fuma-nama/fumadocs/blob/dev/apps/docs/app/docs/%5B...slug%5D/page.client.tsx

import { cva } from "class-variance-authority";
import { buttonVariants } from "fumadocs-ui/components/ui/button";
import {
Popover,
PopoverContent,
PopoverTrigger,
} from "fumadocs-ui/components/ui/popover";
import { ChevronDown } from "fumadocs-ui/internal/icons";
import { cn } from "fumadocs-ui/utils/cn";
import { ExternalLinkIcon, MessageCircleIcon } from "lucide-react";
import { ChevronDown, ExternalLinkIcon, MessageCircleIcon } from "lucide-react";

const optionVariants = cva(
"text-sm p-2 rounded-lg inline-flex items-center gap-2 hover:text-fd-accent-foreground hover:bg-fd-accent [&_svg]:size-4",
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/[locale]/(main)/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const metadata: Metadata = {

export default function HomePage() {
return (
<div className="container">
<div className="container mx-auto">
<section className="border-border/50 mt-6 flex flex-col justify-between gap-20 border-r bg-[linear-gradient(to_right,color-mix(in_oklab,var(--border)_75%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--border)_75%,transparent)_1px,transparent_1px)] bg-[size:63px_63px] px-6 py-10 sm:mt-10 sm:px-10 sm:py-20 lg:flex-row dark:bg-[linear-gradient(to_right,color-mix(in_oklab,var(--border)_50%,transparent)_1px,transparent_1px),linear-gradient(to_bottom,color-mix(in_oklab,var(--border)_50%,transparent)_1px,transparent_1px)]">
<div className="flex max-w-2xl flex-col">
<h1 className="text-5xl font-semibold tracking-tight text-balance sm:text-6xl">
Expand Down
2 changes: 1 addition & 1 deletion apps/docs/src/app/[locale]/(main)/layout.client.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { cn } from "fumadocs-ui/utils/cn";
import { cn } from "@vitnode/core/lib/utils";
import { useParams } from "next/navigation";

export function useMode(): string | undefined {
Expand Down
124 changes: 62 additions & 62 deletions apps/docs/src/app/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,81 +5,81 @@

@import "tw-animate-css";

@source '../../node_modules/fumadocs-ui/dist/**/*.js';
@source "../../node_modules/fumadocs-ui/dist/**/*.js";
@source "../../node_modules/@vitnode/core/dist/src/components";
@source "../../node_modules/@vitnode/core/dist/src/views";

:root:not(.dark) {
--background: oklch(0.96 0.01 250);
--foreground: oklch(0.18 0.01 250);
--background: oklch(1 0 0);
--foreground: oklch(0.141 0.005 285.823);
--card: oklch(1 0 0);
--card-foreground: oklch(0.22 0.01 250);
--card-foreground: oklch(0.141 0.005 285.823);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.22 0.01 250);
--primary: oklch(0.51 0.16 262.61);
--primary-foreground: oklch(0.985 0 0);
--secondary: oklch(0.98 0.01 250);
--secondary-foreground: oklch(0.25 0.01 250);
--muted: oklch(0.95 0.01 250);
--muted-foreground: oklch(0.53 0.01 250);
--accent: oklch(0.92 0.01 250);
--accent-foreground: oklch(0.25 0.01 250);
--destructive: oklch(0.6 0.2 24.45);
--warn: oklch(0.54 0.12 82.58);
--border: oklch(0.9 0.01 250);
--input: oklch(0.9 0.01 250);
--ring: oklch(0.7 0.13 250);
--chart-1: oklch(0.65 0.13 250);
--chart-2: oklch(0.6 0.11 260);
--chart-3: oklch(0.45 0.09 250);
--chart-4: oklch(0.8 0.13 250);
--chart-5: oklch(0.75 0.13 250);
--sidebar: var(--card);
--sidebar-foreground: oklch(0.22 0.01 250);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: oklch(0.97 0.01 250);
--sidebar-accent-foreground: oklch(0.25 0.01 250);
--sidebar-border: oklch(0.91 0.01 250);
--sidebar-ring: oklch(0.7 0.13 250);
--popover-foreground: oklch(0.141 0.005 285.823);
--primary: oklch(0.488 0.243 264.376);
--primary-foreground: oklch(0.97 0.014 254.604);
--secondary: oklch(0.967 0.001 286.375);
--secondary-foreground: oklch(0.21 0.006 285.885);
--muted: oklch(0.967 0.001 286.375);
--muted-foreground: oklch(0.552 0.016 285.938);
--accent: oklch(0.967 0.001 286.375);
--accent-foreground: oklch(0.21 0.006 285.885);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.92 0.004 286.32);
--input: oklch(0.92 0.004 286.32);
--ring: oklch(0.705 0.015 286.067);
--chart-1: oklch(0.871 0.006 286.286);
--chart-2: oklch(0.552 0.016 285.938);
--chart-3: oklch(0.442 0.017 285.786);
--chart-4: oklch(0.37 0.013 285.805);
--chart-5: oklch(0.274 0.006 286.033);
--radius: 0.625rem;
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.141 0.005 285.823);
--sidebar-primary: oklch(0.546 0.245 262.881);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
--sidebar-accent: oklch(0.967 0.001 286.375);
--sidebar-accent-foreground: oklch(0.21 0.006 285.885);
--sidebar-border: oklch(0.92 0.004 286.32);
--sidebar-ring: oklch(0.705 0.015 286.067);

--dev-color: oklch(0.6 0.18 50);
--ui-color: oklch(0.65 0.18 170);
--guides-color: oklch(0.45 0.16 262.61);
}

.dark {
--background: oklch(0.16 0.01 250);
--foreground: oklch(0.96 0.01 250);
--card: oklch(0.2 0.01 250);
--card-foreground: oklch(0.96 0.01 250);
--popover: oklch(0.22 0.01 250);
--popover-foreground: oklch(0.96 0.01 250);
--primary: oklch(0.6 0.18 262.65);
--primary-foreground: oklch(0.98 0 0);
--secondary: oklch(0.2 0.01 250);
--secondary-foreground: oklch(0.96 0.01 250);
--muted: oklch(0.24 0.01 250);
--muted-foreground: oklch(0.7 0.01 250);
--accent: oklch(0.28 0.01 250);
--destructive: oklch(0.62 0.2 25.35);
--warn: oklch(0.76 0.18 81.84);
--border: oklch(0.3 0.01 250);
--input: oklch(0.3 0.01 250);
--ring: oklch(0.54 0.13 250);
--chart-1: oklch(0.45 0.09 250);
--chart-2: oklch(0.6 0.11 260);
--chart-3: oklch(0.75 0.13 250);
--chart-4: oklch(0.8 0.13 250);
--chart-5: oklch(0.65 0.13 250);
--sidebar: var(--card);
--sidebar-foreground: oklch(0.96 0.01 250);
--sidebar-primary: var(--primary);
--sidebar-primary-foreground: var(--primary-foreground);
--sidebar-accent: oklch(0.23 0.01 250);
--sidebar-accent-foreground: oklch(0.96 0.01 250);
--sidebar-border: oklch(0.26 0.01 250);
--sidebar-ring: oklch(0.54 0.13 250);
--background: oklch(0.141 0.005 285.823);
--foreground: oklch(0.985 0 0);
--card: oklch(0.21 0.006 285.885);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.21 0.006 285.885);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.424 0.199 265.638);
--primary-foreground: oklch(0.97 0.014 254.604);
--secondary: oklch(0.274 0.006 286.033);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.274 0.006 286.033);
--muted-foreground: oklch(0.705 0.015 286.067);
--accent: oklch(0.274 0.006 286.033);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.552 0.016 285.938);
--chart-1: oklch(0.871 0.006 286.286);
--chart-2: oklch(0.552 0.016 285.938);
--chart-3: oklch(0.442 0.017 285.786);
--chart-4: oklch(0.37 0.013 285.805);
--chart-5: oklch(0.274 0.006 286.033);
--sidebar: oklch(0.21 0.006 285.885);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.623 0.214 259.815);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
--sidebar-accent: oklch(0.274 0.006 286.033);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.552 0.016 285.938);

--dev-color: oklch(0.75 0.18 50);
--ui-color: oklch(0.7 0.18 170);
Expand Down
Loading
Loading