refactor: move auth.ts into a shared location rather than importing across workspace boundaries (#11)

This commit is contained in:
2026-04-25 14:37:28 +02:00
committed by GitHub
parent 6d53729b70
commit 298feb574e
8 changed files with 7 additions and 17 deletions
+3 -1
View File
@@ -30,7 +30,7 @@ vitest run src/path/to.test.ts # single test (no npx needed)
```bash
npm run dev:pages # astro dev
npm run build:pages # astro build → status-page/dist/
npm run test:pages # vitest run (auth tests)
npm run check:pages # astro check + tsc --noEmit
npm run lint:pages # eslint (astro plugin)
```
@@ -39,6 +39,8 @@ npm run lint:pages # eslint (astro plugin)
Before commit: `npm run check && npm run test && npm run build:pages && npm run check:pages`
## Verification order
`npm run check` = typecheck + Oxlint (worker) + ESLint (dedup via `eslint-plugin-oxlint`). Pages uses `eslint-plugin-astro`.
## Gotchas