Adam Moussa
864531b51e
feat(api): portal contract, cookie auth, and domain stubs (AP-51) ( #64 )
...
* feat(api): serve portal-shaped health and error envelope
Move liveness to GET /api/health { stage, sha } with a Node 24 image on 8080 so ALB probes and deploy verify do not need auth or a database ping.
* feat(api): switch live auth to host cookie BFF
Replace Bearer as the documented session path with Cognito hosted UI plus __Host-ap_* cookies so the SPA can call /api with credentials include.
* feat(web): add unused cookie SPA API client
Land a credentials-include fetch helper and hand-synced health/me types without wiring pages or domain hooks, so mocks stay the default data path.
* feat(api): add master-data OpenAPI and Hono stubs
* feat(api): add invoice, line, and document stubs
* feat(api): add approval policy, inbox, and activity stubs
* test(web): fix SPA client fetch mock types
* test(web): cast fetch mock call args for tsc
* fix(api): do not default DEV_AUTH_BYPASS outside local migrate
* fix(api): replace invoice lines in a single transaction
* fix(api): create invoices and lines in one transaction
* fix(api): inline GIT_SHA from the image build arg
* fix(api): stop PATCH from skipping the approval workflow
* fix(api): address review feedback
* fix(ci): format upsert-user test
* fix(api): document only the auth statuses the routes return
* fix(api): drop health 400 responses the routes never return
2026-09-25 22:43:44 +00:00
renovate[bot]
81d5d5c97a
chore(deps): update dependency vitest to v5 ( #63 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-25 22:39:24 +00:00
renovate[bot]
894a73dd13
fix(deps): update npm minor and patch ( #62 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-21 16:14:46 +00:00
renovate[bot]
91ff2e4b06
fix(deps): update npm minor and patch ( #61 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-14 17:45:53 +00:00
renovate[bot]
8b6aa3bc4e
fix(deps): update npm minor and patch ( #58 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-10 23:14:55 +00:00
renovate[bot]
24c36d3080
fix(deps): update dependency hono to ^4.13.7 [security] ( #59 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-09-09 18:45:55 +00:00
renovate[bot]
1f7132198f
chore(deps): update node.js to v24 ( #49 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-08-25 18:19:38 +00:00
renovate[bot]
ea10810f93
fix(deps): update npm minor and patch ( #44 )
2026-08-25 16:53:09 +00:00
dependabot[bot]
085293f8f7
chore(deps): bump the minor-and-patch group with 7 updates ( #27 )
...
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>
2026-08-17 19:17:32 +00:00
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
dependabot[bot]
4feb3278af
chore(deps): bump @faker-js/faker from 9.9.0 to 10.5.0 ( #24 )
...
Bumps [@faker-js/faker](https://github.com/faker-js/faker ) from 9.9.0 to 10.5.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/v9.9.0...v10.5.0 )
---
updated-dependencies:
- dependency-name: "@faker-js/faker"
dependency-version: 10.5.0
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>
2026-08-17 19:05:56 +00:00
Adam Moussa
9d3646876e
feat(api): stand up Hono Drizzle foundation with auth and Redocly (AP-14) ( #12 )
...
* feat(api): stand up Hono Drizzle foundation with auth and Redocly
* fix(api): bump drizzle-orm and hono node-server past audit highs
* fix(api): harden auth upsert and Cognito token verification
2026-08-11 00:10:49 +00:00
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