From 9c134b811c64944cba1bf45dfb4af4f3f5c1f940 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Mon, 25 May 2026 14:34:56 -0700
Subject: [PATCH 1/2] Update Router, Dependencies and Apps
---
AGENTS.md | 48 ++++++
index.html | 10 --
package-lock.json | 382 ++++++++++++++++++++++-----------------------
package.json | 6 +-
public/404.html | 17 +-
src/config/apps.ts | 50 ++++--
vite.config.ts | 11 +-
7 files changed, 302 insertions(+), 222 deletions(-)
create mode 100644 AGENTS.md
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..247828e
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,48 @@
+# cssnr-vue (cssnr.github.io)
+
+Vue 3 SPA — GitHub Pages org site showcasing CSSNR projects.
+
+## Commands
+
+| Command | Action |
+|---|---|
+| `npm run dev` | Dev server at localhost:5173 |
+| `npm run tsc` | Typecheck via `vue-tsc --build` |
+| `npm run build` | `tsc` then `vite build` (prebuild hook) |
+| `npm run lint` | ESLint 10 with `--cache --fix` |
+| `npm run lint:check` | ESLint read-only |
+| `npm run prettier` | `npx prettier --write .` |
+| `npm run prettier:check` | Prettier read-only |
+
+Run `lint` before `tsc` before `build`. No test framework exists.
+
+## Config & formatting
+
+- ESLint: flat config at `eslint.config.ts` (ESLint 10)
+- Prettier: `.prettierrc.json` — no semis, single quotes, `.vue` printWidth 120, `.js` tabWidth 4
+- Lint CI checks: `lint:check` + `prettier:check` + yamllint + actionlint
+- Path alias `@/` → `src/`
+
+## Architecture
+
+- **No state management (Pinia/Vuex)** — all data is static, imported from `src/config/`
+- `src/config/apps.ts` (~1068 lines) defines 9 categories of ~80+ projects — the site's core data
+- `src/router/index.ts` — 3 routes: `/` (Home), `/about` (lazy), catch-all redirects to `/`
+- Theme: `public/theme.js` (blocking `