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
6 changes: 3 additions & 3 deletions .github/workflows/build-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build, Lint & Test

on:
pull_request:
branches: '*'
branches: "*"
types:
- opened
- edited
Expand All @@ -22,13 +22,13 @@ jobs:
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10.15.0
version: 10.18.0

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/bump_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10.15.0
version: 10.18.0

- name: Install Node.js
uses: actions/setup-node@v4
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,30 +14,30 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@hono/zod-openapi": "^1.1.0",
"@hono/zod-validator": "^0.7.2",
"@hono/zod-openapi": "^1.1.3",
"@hono/zod-validator": "^0.7.3",
"@vitnode/core": "workspace:*",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"hono": "^4.9.6",
"next-intl": "^4.3.6",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"use-intl": "^4.3.6",
"zod": "^4.1.5"
"drizzle-kit": "^0.31.5",
"drizzle-orm": "^0.44.6",
"hono": "^4.9.9",
"next-intl": "^4.3.9",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"use-intl": "^4.3.9",
"zod": "^4.1.11"
},
"devDependencies": {
"@hono/node-server": "^1.19.1",
"@react-email/components": "^0.5.2",
"@types/node": "^24.3.1",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@hono/node-server": "^1.19.5",
"@react-email/components": "^0.5.5",
"@types/node": "^24.6.2",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitnode/config": "workspace:*",
"dotenv": "^17.2.2",
"dotenv": "^17.2.3",
"eslint": "^9.36.0",
"react-email": "^4.2.8",
"react-email": "^4.2.12",
"tsc-alias": "^1.8.16",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
"tsx": "^4.20.6",
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion apps/docs/next.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const withBundleAnalyzer = nextAnalyzer({
const nextConfig: NextConfig = {
experimental: {
inlineCss: true,
reactCompiler: process.env.ANALYZE !== "true",
ppr: "incremental",
},
};

Expand Down
59 changes: 29 additions & 30 deletions apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,47 +22,46 @@
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@hono/zod-openapi": "^1.1.0",
"@hono/zod-validator": "^0.7.2",
"@hono/zod-openapi": "^1.1.3",
"@hono/zod-validator": "^0.7.3",
"@vitnode/blog": "workspace:*",
"@vitnode/core": "workspace:*",
"babel-plugin-react-compiler": "19.1.0-rc.3",
"drizzle-kit": "^0.31.4",
"drizzle-orm": "^0.44.5",
"fumadocs-core": "^15.7.10",
"fumadocs-mdx": "^11.9.0",
"fumadocs-ui": "^15.7.10",
"hono": "^4.9.6",
"lucide-react": "^0.542.0",
"motion": "^12.23.12",
"next": "^15.5.2",
"next-intl": "^4.3.6",
"drizzle-kit": "^0.31.5",
"drizzle-orm": "^0.44.6",
"fumadocs-core": "^15.8.3",
"fumadocs-mdx": "^12.0.2",
"fumadocs-ui": "^15.8.3",
"hono": "^4.9.9",
"lucide-react": "^0.544.0",
"motion": "^12.23.22",
"next": "15.6.0-canary.41",
"next-intl": "^4.3.9",
"node-cron": "^4.2.1",
"react": "^19.1.1",
"react-dom": "^19.1.1",
"react-hook-form": "^7.62.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-hook-form": "^7.63.0",
"react-use": "^17.6.0",
"sonner": "^2.0.7"
},
"devDependencies": {
"@next/bundle-analyzer": "^15.5.2",
"@playwright/test": "^1.55.0",
"@react-email/components": "^0.5.2",
"@tailwindcss/postcss": "^4.1.13",
"@next/bundle-analyzer": "^15.5.4",
"@playwright/test": "^1.55.1",
"@react-email/components": "^0.5.5",
"@tailwindcss/postcss": "^4.1.14",
"@types/mdx": "^2.0.13",
"@types/node": "^24.3.1",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@types/node": "^24.6.2",
"@types/react": "^19.2.0",
"@types/react-dom": "^19.2.0",
"@vitnode/config": "workspace:*",
"class-variance-authority": "^0.7.1",
"eslint": "^9.36.0",
"postcss": "^8.5.6",
"react-email": "^4.2.8",
"shiki": "^3.12.2",
"tailwindcss": "^4.1.13",
"tw-animate-css": "^1.3.8",
"typescript": "^5.9.2",
"use-intl": "^4.3.6",
"zod": "^4.1.5"
"react-email": "^4.2.12",
"shiki": "^3.13.0",
"tailwindcss": "^4.1.14",
"tw-animate-css": "^1.4.0",
"typescript": "^5.9.3",
"use-intl": "^4.3.9",
"zod": "^4.1.11"
}
}
4 changes: 2 additions & 2 deletions apps/docs/src/app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ const geistMono = Geist_Mono({
export const generateMetadata = (): Metadata =>
generateMetadataRootLayout(vitNodeConfig);

export const generateStaticParams = () =>
vitNodeConfig.i18n.locales.map(locale => ({ locale: locale.code }));
// export const generateStaticParams = () =>
// vitNodeConfig.i18n.locales.map(locale => ({ locale: locale.code }));
Comment on lines +29 to +30
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Commented-out code should be removed to keep the codebase clean. If this function is no longer needed, please delete it instead of commenting it out.


export default async function LocaleLayout(props: RootLayoutProps) {
const { locale } = await props.params;
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import "./global.css";

export const experimental_ppr = true;

export default async function RootLayout({
children,
}: {
Expand Down
2 changes: 2 additions & 0 deletions apps/docs/src/components/animated-beam/animated-beam.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @eslint-react/hooks-extra/no-direct-set-state-in-use-effect */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

A file-level eslint-disable is too broad and can hide other potential issues. It's better to use more specific // eslint-disable-next-line comments for the lines that are causing the linting error. This approach is used in other files in this PR, such as packages/vitnode/src/hooks/use-captcha.ts.

"use client";

import { cn } from "@vitnode/core/lib/utils";
Expand Down Expand Up @@ -91,6 +92,7 @@ export const AnimatedBeam = ({
// Initialize ResizeObserver
const resizeObserver = new ResizeObserver(entries => {
// For all entries, recalculate the path
// eslint-disable-next-line @typescript-eslint/no-unused-vars
for (const _entry of entries) {
updatePath();
}
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
"test:e2e": "turbo test:e2e"
},
"devDependencies": {
"@types/node": "^24.3.1",
"@types/node": "^24.6.2",
"@vitnode/config": "workspace:*",
"prettier": "^3.6.2",
"prettier-plugin-tailwindcss": "^0.6.14",
"tsx": "^4.20.5",
"turbo": "^2.5.6",
"typescript": "^5.9.2",
"zod": "^4.1.5"
"tsx": "^4.20.6",
"turbo": "^2.5.8",
"typescript": "^5.9.3",
"zod": "^4.1.11"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@10.15.0",
"packageManager": "pnpm@10.18.0",
"workspaces": [
"apps/*",
"packages/*",
Expand Down
6 changes: 6 additions & 0 deletions packages/config/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@ export default [
],
message: "Please import from `vitnode-frontend/navigation` instead.",
},
{
name: "next/router",
importNames: ["useRouter"],
message:
"This import is from Page router. Please import from `vitnode-frontend/navigation` instead.",
},
],
},
},
Expand Down
8 changes: 4 additions & 4 deletions packages/config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@
"typescript": "5.9.x"
},
"devDependencies": {
"typescript": "^5.9.2"
"typescript": "^5.9.3"
},
"dependencies": {
"@eslint-react/eslint-plugin": "^1.53.1",
"@eslint-react/eslint-plugin": "^2.0.6",
"@eslint/js": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-perfectionist": "^4.15.0",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.3",
"eslint-plugin-react-you-might-not-need-an-effect": "^0.5.5",
"prettier-plugin-tailwindcss": "^0.6.14",
"typescript-eslint": "^8.44.1"
"typescript-eslint": "^8.45.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { NextConfig } from "next";
const nextConfig: NextConfig = {
experimental: {
inlineCss: true,
reactCompiler: true,
ppr: "incremental",
},
};

Expand Down
10 changes: 5 additions & 5 deletions packages/create-vitnode-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,18 @@
"typescript"
],
"dependencies": {
"@inquirer/prompts": "^7.8.4",
"commander": "^14.0.0",
"ora": "^8.2.0",
"@inquirer/prompts": "^7.8.6",
"commander": "^14.0.1",
"ora": "^9.0.0",
"picocolors": "^1.1.1",
"validate-npm-package-name": "^6.0.2"
},
"devDependencies": {
"@types/node": "^24.3.1",
"@types/node": "^24.6.2",
"@types/prompts": "^2.4.9",
"@types/validate-npm-package-name": "^4.0.2",
"@vitnode/config": "workspace:*",
"eslint": "^9.36.0",
"typescript": "^5.9.2"
"typescript": "^5.9.3"
}
}
Loading