1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-06-19 08:15:28 -04:00

refactor: migrate from Biome to oxlint/oxfmt, remove contact form

- Replace Biome with oxlint + oxfmt (OXC toolchain) for linting and formatting
- Add .oxlintrc.json and .oxfmtrc.json configuration files
- Update VS Code settings and devcontainer to use oxc-vscode extension
- Remove contact form, Resend email integration, and related server action/schema
- Remove unused UI components (accordion, alert, card, tabs, toggle, etc.)
This commit is contained in:
2026-04-05 19:45:18 -04:00
parent b857ab2754
commit 5a1636baa3
114 changed files with 4901 additions and 5258 deletions
+3 -2
View File
@@ -1,4 +1,5 @@
import { NextResponse } from "next/server";
import { getAllViewCounts } from "@/lib/server/views";
export const GET = async (): Promise<
@@ -18,9 +19,9 @@ export const GET = async (): Promise<
const total = {
hits: Object.values(views).reduce((acc, curr) => acc + curr, 0),
};
const pages = Object.entries(views).map(([slug, views]) => ({
const pages = Object.entries(views).map(([slug, count]) => ({
slug,
hits: views,
hits: count,
}));
pages.sort((a, b) => b.hits - a.hits);