Sea Haven AP — internal AP automation (ap.seahaven.com)
Find a file
Adam Moussa 46b570352a
feat(shared): add payment ladder and CSV domain package (AP-13) (#11)
* feat(shared): add payment ladder and CSV domain package

Introduce @seahaven-ap/shared via npm workspaces so FE and future API share
payments-dashboard-compatible status ladders, pay-date helpers, and CSV headers.

* fix(web): build shared package before vite dev

Ensure fresh npm ci && npm run dev (and Playwright webServer) can resolve
@seahaven-ap/shared dist exports that are gitignored.
2026-08-10 19:28:02 -04:00
.github ci(policy): bump pr-policy reusable to v1.0.7 2026-08-10 16:56:08 -04:00
e2e feat(frontend): add Stampli visual-parity chrome (AP-22) (#10) 2026-08-10 19:06:14 -04:00
packages/shared feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04: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(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
.env.example feat(frontend): add Stampli visual-parity chrome (AP-22) (#10) 2026-08-10 19:06:14 -04:00
.gitignore feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
.prettierignore feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
.prettierrc feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
eslint.config.js feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
index.html feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
package-lock.json feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
package.json feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04:00
playwright.config.ts feat(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04:00
README.md feat(shared): add payment ladder and CSV domain package (AP-13) (#11) 2026-08-10 19:28:02 -04: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(frontend): scaffold vite spa and ci (AP-4) 2026-08-10 16:42:19 -04: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 — reserved for AP-14 (not present yet)

Local development

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 the API is wired (src/mocks).

Verify

npm run verify
npm run test:e2e