Sea Haven AP — internal AP automation (ap.seahaven.com)
Find a file
dependabot[bot] 0cabfd9d7e
chore(deps): bump vitest from 3.2.7 to 4.1.10 (#23)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 3.2.7 to 4.1.10.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md)
- [Commits](https://github.com/vitest-dev/vitest/commits/v4.1.10/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-version: 4.1.10
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Moussa <166072409+amoussa1229@users.noreply.github.com>
2026-08-17 19:08:58 +00:00
.github chore(deps): bump the minor-and-patch group with 3 updates (#21) 2026-08-17 14:59:28 -04:00
e2e feat(web): fix shell chrome, logo home, and live nav badges (#14) 2026-08-14 12:28:35 -04:00
packages chore(deps): bump vitest from 3.2.7 to 4.1.10 (#23) 2026-08-17 19:08:58 +00:00
public/fixtures feat(frontend): add invoice detail 3-pane shell (AP-6) (#9) 2026-08-10 22:22:22 +00:00
scripts feat(settings): add settings and approvals POC shells (AP-7) (#8) 2026-08-10 22:00:51 +00:00
src feat(web): add invoice grid lines and bold headers (AP-44) (#15) 2026-08-14 12:41:13 -04:00
.env.example feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
.gitignore feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
.npmrc feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
.prettierignore feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
.prettierrc feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
.redocly.lint-ignore.yaml feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
docker-compose.yml feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
eslint.config.js feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
index.html feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
package-lock.json chore(deps): bump vitest from 3.2.7 to 4.1.10 (#23) 2026-08-17 19:08:58 +00:00
package.json chore(deps): bump vitest from 3.2.7 to 4.1.10 (#23) 2026-08-17 19:08:58 +00:00
playwright.config.ts feat(web): fix shell chrome, logo home, and live nav badges (#14) 2026-08-14 12:28:35 -04:00
README.md feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
redocly.yaml feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
tsconfig.json feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
tsconfig.node.json feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
vite.config.ts feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) (#12) 2026-08-11 00:10:49 +00:00
vitest.config.ts feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00

Sea Haven AP

Internal accounts payable automation for Sea Haven Industries (ap.seahaven.com).

Workspace layout

npm workspaces:

  • @seahaven-ap/web — Vite/React SPA (repo root)
  • @seahaven-ap/shared — payment ladder, invoice helpers, pay-date parsers, CSV constants (packages/shared)
  • @seahaven-ap/api — Hono API, Drizzle schema, auth/RBAC (packages/api)

Local development

Frontend (mocks)

npm ci
cp .env.example .env   # optional; defaults already use mocks
npm run dev

App serves at http://localhost:3000. VITE_USE_MOCKS=true is the default data path until AP-15 wires live API calls.

API + data plane (AP-14)

docker compose up -d
cp .env.example .env
npm run db:migrate
npm run db:seed
npm run dev:api

API listens on http://127.0.0.1:8787. Vite proxies /api to that port.

Smoke:

curl -s http://127.0.0.1:8787/health
curl -s http://127.0.0.1:8787/api/me

DEV_AUTH_BYPASS=true is local-only and only allowed when NODE_ENV is development or test (rejected for production, staging, preview, and any other value).

API roles (source of truth): admin, ap_processor, approver, viewer. Frontend mocks still use ap_operator until AP-15 remaps them.

OpenAPI / Redocly

Linting uses the same redocly.yaml ruleset as procurement-ingest.

npm run lint:api
npm run docs:preview   # builds HTML via redocly build-docs and opens it

Verify

npm run verify
npm run test:e2e