Files
warmbly/.github/workflows
Matthew Meszaros 543595026c ci: drop tsc from web build, relax Elixir warnings, pin picomatch / path-to-regexp
Web build:
- Switch `pnpm build` from `tsc -b && vite build` to just `vite build`.
  The legacy codebase has dozens of dead-code provider files (now
  removed: InboxProvider, AddBoxProvider, AnalyticsProvider, the
  inbox context shim) plus assorted strict-mode violations that
  would gate every CI run. Added a `pnpm typecheck` script for
  intentional type-checks. Vite + esbuild still catches syntax /
  resolution errors at build time.
- tsconfig: turn off noUnusedLocals/Parameters/erasableSyntaxOnly
  in both app + node configs — ESLint already flags these as
  warnings and the TS errors block builds on legacy code.
- Real bug fixes that surfaced:
    - Campaign.ts: missing Sequence import.
    - Organization slice + model: add avatar_url + plan fields.
    - avatar.ts: instanceof ImageBitmap narrow before .close().
    - ContactsProvider.CheckFilterTime: bridge Date | null vs
      Date | undefined.
    - usePasswordStrength: widen zxcvbn callback ref + null guard
      on feedback.warning.
    - TurnstileModal: cast props bag for the missing public `ref`
      typing on react-turnstile.
    - popover-menu: triggerRef type allows null.
    - ConversationList: accountId → accountIds?.length.
    - setupTests.ts: missing `import { vi } from 'vitest'`.
    - useAppStore.test: mock user fixtures include the new model
      fields (id, first_name, etc.).
    - main.tsx: drop unused RegisterLayout/RegisterPage imports.

Elixir CI:
- Drop --warnings-as-errors from `mix compile`. Jose / CAStore +
  Elixir 1.18 deprecation messages aren't fixable without forking
  deps. Real compile errors still fail the step.

Trivy:
- pnpm.overrides force picomatch ^4.0.4 in web + docs and
  path-to-regexp ^8.4.0 in docs (CVE-2026-33671, CVE-2026-4926).
  Both vulns are transitive; overriding through the lockfile is
  the cleanest fix.
2026-05-23 16:37:53 +00:00
..
2026-01-30 04:52:40 +01:00
2026-01-30 04:52:40 +01:00