mirror of
https://github.com/Sea-Haven-Industries/seahaven-ap.git
synced 2026-09-30 10:23:17 +00:00
Sea Haven AP — internal AP automation (ap.seahaven.com)
Bumps the minor-and-patch group with 7 updates in the / directory: | Package | From | To | | --- | --- | --- | | [@redocly/cli](https://github.com/Redocly/redocly-cli) | `2.46.0` | `2.46.1` | | [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) | `7.0.0` | `7.0.1` | | [eslint-plugin-react-refresh](https://github.com/ArnaudBarre/eslint-plugin-react-refresh) | `0.5.3` | `0.5.4` | | [@aws-sdk/client-rds-data](https://github.com/aws/aws-sdk-js-v3/tree/HEAD/clients/client-rds-data) | `3.1107.0` | `3.1111.0` | | [@hono/node-server](https://github.com/honojs/node-server) | `2.1.0` | `2.1.1` | | [hono](https://github.com/honojs/hono) | `4.13.1` | `4.13.2` | | [@faker-js/faker](https://github.com/faker-js/faker) | `10.5.0` | `10.6.0` | Updates `@redocly/cli` from 2.46.0 to 2.46.1 - [Release notes](https://github.com/Redocly/redocly-cli/releases) - [Commits](https://github.com/Redocly/redocly-cli/compare/@redocly/cli@2.46.0...@redocly/cli@2.46.1) Updates `@testing-library/jest-dom` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/testing-library/jest-dom/releases) - [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/jest-dom/compare/v7.0.0...v7.0.1) Updates `eslint-plugin-react-refresh` from 0.5.3 to 0.5.4 - [Release notes](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/releases) - [Changelog](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/blob/main/CHANGELOG.md) - [Commits](https://github.com/ArnaudBarre/eslint-plugin-react-refresh/compare/v0.5.3...v0.5.4) Updates `@aws-sdk/client-rds-data` from 3.1107.0 to 3.1111.0 - [Release notes](https://github.com/aws/aws-sdk-js-v3/releases) - [Changelog](https://github.com/aws/aws-sdk-js-v3/blob/main/clients/client-rds-data/CHANGELOG.md) - [Commits](https://github.com/aws/aws-sdk-js-v3/commits/v3.1111.0/clients/client-rds-data) Updates `@hono/node-server` from 2.1.0 to 2.1.1 - [Release notes](https://github.com/honojs/node-server/releases) - [Commits](https://github.com/honojs/node-server/compare/v2.1.0...v2.1.1) Updates `hono` from 4.13.1 to 4.13.2 - [Release notes](https://github.com/honojs/hono/releases) - [Commits](https://github.com/honojs/hono/compare/v4.13.1...v4.13.2) Updates `@faker-js/faker` from 10.5.0 to 10.6.0 - [Release notes](https://github.com/faker-js/faker/releases) - [Changelog](https://github.com/faker-js/faker/blob/next/CHANGELOG.md) - [Commits](https://github.com/faker-js/faker/compare/v10.5.0...v10.6.0) --- updated-dependencies: - dependency-name: "@redocly/cli" dependency-version: 2.46.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@testing-library/jest-dom" dependency-version: 7.0.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: eslint-plugin-react-refresh dependency-version: 0.5.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@aws-sdk/client-rds-data" dependency-version: 3.1111.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: minor-and-patch - dependency-name: "@hono/node-server" dependency-version: 2.1.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: hono dependency-version: 4.13.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: minor-and-patch - dependency-name: "@faker-js/faker" dependency-version: 10.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: minor-and-patch ... 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> |
||
|---|---|---|
| .github | ||
| e2e | ||
| packages | ||
| public/fixtures | ||
| scripts | ||
| src | ||
| .env.example | ||
| .gitignore | ||
| .npmrc | ||
| .prettierignore | ||
| .prettierrc | ||
| .redocly.lint-ignore.yaml | ||
| docker-compose.yml | ||
| eslint.config.js | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| playwright.config.ts | ||
| README.md | ||
| redocly.yaml | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
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