Full dependency inventory for the salesarck_code monorepo, organized by workspace package.
Root Workspace
DevDependencies (shared tooling):
| Package | Version | Purpose |
|---|
typescript | ^5.5.0 | TypeScript compiler |
eslint | ^9.5.0 | Linting (flat config) |
@typescript-eslint/eslint-plugin | ^8.58.0 | TypeScript ESLint rules |
@typescript-eslint/parser | ^8.58.0 | TypeScript ESLint parser |
prettier | ^3.3.0 | Code formatting |
turbo | ^2.0.0 | Monorepo build orchestration |
vitest | ^1.6.0 | Test runner |
@types/node | ^20.14.0 | Node.js type definitions |
Engine requirements: Node.js >= 20.0.0, pnpm >= 9.0.0
@salesarc/api (Backend)
Runtime Dependencies:
| Package | Version | Purpose |
|---|
hono | ^4.4.0 | HTTP framework |
@hono/node-server | ^1.12.0 | Node.js adapter for Hono |
@hono/zod-validator | ^0.2.2 | Request validation middleware |
zod | ^3.23.0 | Schema validation |
@salesarc/auth | workspace:* | Supabase auth helpers |
@salesarc/db | workspace:* | Database schema and client |
@salesarc/observability | workspace:* | Logging and Sentry |
@salesarc/rbac | workspace:* | Permission matrix |
@salesarc/reward-engine | workspace:* | Reward calculation |
@salesarc/tenant | workspace:* | Tenant resolution |
@salesarc/types | workspace:* | Shared type contracts |
DevDependencies:
| Package | Version | Purpose |
|---|
tsx | ^4.15.0 | TypeScript execution (dev server) |
typescript | ^5.5.0 | Compilation |
vitest | ^1.6.0 | Testing |
@salesarc/web (Frontend)
Runtime Dependencies:
| Package | Version | Purpose |
|---|
react | ^18.3.0 | UI library |
react-dom | ^18.3.0 | DOM rendering |
react-router-dom | ^6.24.0 | Client-side routing |
@tanstack/react-query | ^5.45.0 | Data fetching/caching |
zustand | ^4.5.0 | State management |
@supabase/supabase-js | ^2.44.0 | Auth client |
zod | ^3.23.0 | Schema validation |
@salesarc/types | workspace:* | Shared type contracts |
DevDependencies:
| Package | Version | Purpose |
|---|
vite | ^5.3.0 | Build tool and dev server |
@vitejs/plugin-react | ^4.3.0 | React Fast Refresh |
tailwindcss | ^3.4.4 | Utility-first CSS |
autoprefixer | ^10.4.19 | CSS vendor prefixing |
postcss | ^8.4.39 | CSS processing |
typescript | ^5.5.0 | Type checking |
@salesarc/db (Database)
| Package | Version | Purpose |
|---|
drizzle-orm | ^0.31.0 | ORM and query builder |
pg | ^8.20.0 | PostgreSQL driver |
drizzle-kit | (devDep) | Migration generation |
@salesarc/types | workspace:* | Shared types |
@salesarc/auth (Authentication)
| Package | Version | Purpose |
|---|
@supabase/supabase-js | ^2.44.0 | Server-side Supabase client |
@salesarc/types | workspace:* | Shared types |
@salesarc/observability (Logging & Monitoring)
| Package | Version | Purpose |
|---|
pino | ^9.2.0 | Structured JSON logging |
@sentry/node | ^8.0.0 | Error tracking and APM |
@salesarc/rbac (Permissions)
| Package | Version | Purpose |
|---|
@salesarc/types | workspace:* | Role and permission types |
@salesarc/reward-engine (Calculations)
| Package | Version | Purpose |
|---|
@salesarc/types | workspace:* | Rule and reward types |
@salesarc/tenant (Multi-Tenancy)
| Package | Version | Purpose |
|---|
@salesarc/types | workspace:* | Tenant context types |
@salesarc/types (Foundation)
No external dependencies. This is the base contract package.
Exports Zod schemas and TypeScript types for:
- Users and roles (
UserRole, User, JwtClaims)
- Tenants (
TenantStatus, Tenant, TenantContext)
- Wallets (
WalletStatus, LedgerEntryType, Wallet, LedgerEntry)
- Rewards (
RuleConfig, RewardRule, EvaluateRewardInput, EvaluateRewardResult)
- POS (
PosProvider, NormalizedTransaction, PosConnection)
- API (
ApiError, ErrorCode)
External Service Dependencies
| Service | Usage | Required |
|---|
| Supabase | Auth (JWT/OTP), database hosting | Yes |
| Square | POS OAuth, webhooks, REST API | For Square merchants |
| Clover | POS OAuth, webhooks, REST API | For Clover merchants |
| Resend | Transactional email | Optional |
| Sentry | Error tracking | Optional |
| Render | API hosting | Production |
| Vercel | Frontend hosting | Production |
Pending Dependency Updates
Active Dependabot PRs (not yet merged):
| Package | Current | Target | Branch |
|---|
drizzle-orm | 0.31.4 | 0.45.2 | dependabot/npm_and_yarn/drizzle-orm-0.45.2 |
hono | 4.4.0 | 4.12.12 | dependabot/npm_and_yarn/hono-4.12.12 |
@hono/node-server | 1.12.0 | 1.19.13 | dependabot/npm_and_yarn/hono/node-server-1.19.13 |
vite | 5.3.0 | 6.4.2 | dependabot/npm_and_yarn/vite-6.4.2 |
Dependency Principles
- No POS SDKs: Both Square and Clover integrations use plain
fetch — no vendor SDK dependencies. This keeps the dependency tree lean and avoids SDK version lock-in.
- Workspace packages: All inter-package dependencies use
workspace:* protocol for monorepo linking.
- Foundation package:
@salesarc/types has zero external dependencies, ensuring it can be consumed anywhere without side effects.
- Pure packages:
reward-engine, rbac, and tenant have zero I/O dependencies — only @salesarc/types.