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
30 changes: 30 additions & 0 deletions fix-css.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import fs from 'fs';
const file = 'src/app/globals.css';
let content = fs.readFileSync(file, 'utf8');
Comment on lines +1 to +3
Copy link

Copilot AI Mar 22, 2026

Choose a reason for hiding this comment

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

This new script is missing the SPDX license header that other repo scripts include (e.g., scripts/write-version.mjs:1, scripts/audit-admin-2fa.mjs:2). Add // SPDX-License-Identifier: Apache-2.0 at the top (and consider moving this into scripts/ or removing it if it was only a one-off migration helper).

Copilot uses AI. Check for mistakes.

// Replace @tailwind directives with @import "tailwindcss" and @theme
content = content.replace(
`@tailwind base;
@tailwind components;
@tailwind utilities;`,
`@import "tailwindcss";

@theme {
--color-bg: var(--bg);
--color-fg: var(--fg);
--color-muted: var(--muted);
--color-border: var(--border);
--color-brand: var(--brand);
--color-brand-contrast: var(--brand-contrast);
--color-card: var(--card);
--color-card-fg: var(--card-fg);
--color-accent: var(--accent);
--color-accent-contrast: var(--accent-contrast);
--radius-xl: var(--radius);
--radius-2xl: calc(var(--radius) + 6px);
--shadow-soft: var(--shadow);
--width-screen: var(--maxw);
}`
);

fs.writeFileSync(file, content);
97 changes: 0 additions & 97 deletions middleware.ts

This file was deleted.

124 changes: 63 additions & 61 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,89 +33,91 @@
},
"dependencies": {
"@auth/core": "^0.40.0",
"@aws-sdk/client-s3": "3.901.0",
"@aws-sdk/s3-request-presigner": "^3.901.0",
"@aws-sdk/client-s3": "3.1014.0",
"@aws-sdk/s3-request-presigner": "^3.1014.0",
"@otplib/v12-adapter": "^13.4.0",
"@radix-ui/react-dialog": "1.1.15",
"@simplewebauthn/browser": "^13.2.0",
"@simplewebauthn/server": "^13.2.1",
"@tiptap/core": "^3.6.2",
"@tiptap/extension-bubble-menu": "^3.7.1",
"@tiptap/extension-code-block-lowlight": "^3.6.2",
"@tiptap/extension-image": "^3.6.2",
"@tiptap/extension-link": "^3.6.2",
"@tiptap/extension-placeholder": "^3.6.2",
"@tiptap/extension-table": "^3.6.2",
"@tiptap/extension-table-cell": "^3.6.2",
"@tiptap/extension-table-header": "^3.6.2",
"@tiptap/extension-table-row": "^3.6.2",
"@tiptap/extension-task-item": "^3.6.2",
"@tiptap/extension-task-list": "^3.6.2",
"@tiptap/extension-text-align": "^3.6.2",
"@tiptap/extension-underline": "^3.6.2",
"@tiptap/pm": "^3.6.2",
"@tiptap/react": "^3.6.2",
"@tiptap/starter-kit": "^3.6.2",
"@simplewebauthn/browser": "^13.3.0",
"@simplewebauthn/server": "^13.3.0",
"@tiptap/core": "^3.20.4",
"@tiptap/extension-bubble-menu": "^3.20.4",
"@tiptap/extension-code-block-lowlight": "^3.20.4",
"@tiptap/extension-image": "^3.20.4",
"@tiptap/extension-link": "^3.20.4",
"@tiptap/extension-placeholder": "^3.20.4",
"@tiptap/extension-table": "^3.20.4",
"@tiptap/extension-table-cell": "^3.20.4",
"@tiptap/extension-table-header": "^3.20.4",
"@tiptap/extension-table-row": "^3.20.4",
"@tiptap/extension-task-item": "^3.20.4",
"@tiptap/extension-task-list": "^3.20.4",
"@tiptap/extension-text-align": "^3.20.4",
"@tiptap/extension-underline": "^3.20.4",
"@tiptap/pm": "^3.20.4",
"@tiptap/react": "^3.20.4",
"@tiptap/starter-kit": "^3.20.4",
"@types/react-syntax-highlighter": "^15.5.13",
"autocannon": "^8.0.0",
"autoprefixer": "10.4.21",
"cheerio": "1.1.2",
"autoprefixer": "10.4.27",
"cheerio": "1.2.0",
"clsx": "2.1.1",
"date-fns": "4.1.0",
"dompurify": "^3.2.7",
"dotenv": "17.2.3",
"drizzle-orm": "0.44.5",
"dompurify": "^3.3.3",
"dotenv": "17.3.1",
"drizzle-orm": "0.45.1",
"highlight.js": "^11.11.1",
"jsdom": "^27.0.0",
"jsdom": "^29.0.1",
"jszip": "^3.10.1",
"k6": "^0.0.0",
"lowlight": "^3.3.0",
"lucide-react": "^0.544.0",
"marked": "^16.3.0",
"mermaid": "^11.12.0",
"nanoid": "5.1.6",
"next": "15.5.4",
"lucide-react": "^0.577.0",
"marked": "^17.0.5",
"mermaid": "^11.13.0",
"nanoid": "5.1.7",
"next": "16.2.1",
"next-auth": "5.0.0-beta.29",
"next-themes": "^0.4.6",
"otplib": "^12.0.1",
"pg": "8.16.3",
"postcss": "8.5.6",
"otplib": "^13.4.0",
"pg": "8.20.0",
"postcss": "8.5.8",
"qrcode": "^1.5.4",
"react": "19.2.0",
"react-dom": "19.2.0",
"react-hook-form": "7.63.0",
"react-syntax-highlighter": "^15.6.6",
"slugify": "1.6.6",
"tailwind-merge": "^3.3.1",
"react": "19.2.4",
"react-dom": "19.2.4",
"react-hook-form": "7.71.2",
"react-syntax-highlighter": "^16.1.1",
"slugify": "1.6.8",
"tailwind-merge": "^3.5.0",
"tiptap-markdown": "^0.9.0",
"truncate-html": "1.2.2",
"turndown": "^7.2.1",
"turndown": "^7.2.2",
"xml2js": "0.6.2",
"zod": "4.1.11"
"zod": "4.3.6"
},
"devDependencies": {
"@lhci/cli": "^0.15.1",
"@next/bundle-analyzer": "^15.5.4",
"@playwright/test": "^1.55.1",
"@next/bundle-analyzer": "^16.2.1",
"@playwright/test": "^1.58.2",
"@tailwindcss/postcss": "^4.2.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.0",
"@testing-library/react": "16.3.2",
"@types/autocannon": "^7.12.7",
"@types/jsdom": "^27.0.0",
"@types/node": "24.6.1",
"@types/qrcode": "^1.5.5",
"@types/react": "19.2.0",
"@types/react-dom": "19.2.0",
"@types/turndown": "^5.0.5",
"@vitest/coverage-v8": "^3.2.4",
"cross-env": "^7.0.3",
"drizzle-kit": "0.31.5",
"eslint": "9.36.0",
"eslint-config-next": "15.5.4",
"tailwindcss": "^3.4.18",
"tsx": "4.20.6",
"@types/jsdom": "^28.0.1",
"@types/node": "25.5.0",
"@types/qrcode": "^1.5.6",
"@types/react": "19.2.14",
"@types/react-dom": "19.2.3",
"@types/turndown": "^5.0.6",
"@vitest/coverage-v8": "^4.1.0",
"cross-env": "^10.1.0",
"drizzle-kit": "0.31.10",
"eslint": "10.1.0",
"eslint-config-next": "16.2.1",
"tailwindcss": "^4.2.2",
"tsx": "4.21.0",
"typescript": "5.9.3",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "3.2.4",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "4.1.0",
"web-vitals": "^5.1.0"
},
"pnpm": {
Expand Down
Loading
Loading