Commit graph

4 commits

Author SHA1 Message Date
Natalie
457add9be3 test(ui-auth): add unit tests for waitlist validation + payload helpers
Extract the inline email-validation and POST /api/waitlist payload logic
out of RegisterForm into a dependency-free src/waitlist.ts module
(validateEmail / isValidEmail / normalizeEmail / buildWaitlistPayload)
and cover it with 23 vitest cases. RegisterForm now routes through the
shared helpers instead of an inline regex, keeping a single source of
truth for the email rule. Adds vitest as a devDependency + `test` script.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 15:07:25 -04:00
Natalie
bdea96dfe9 ci: add publish workflow for ct-forge runners + local verdaccio/pypi/swift; set publish flags (org cocotte)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 21:46:48 -04:00
Natalie
f87bbff889 chore(@cocotte/ui-auth): drop private flag, set publishConfig registry
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 15:10:18 -04:00
Natalie
c18a858c8d feat(@cocotte/ui-auth): extract UI theme package to @ct/@packages
Re-scoped from @lilith/ui-auth to @cocotte/ui-auth. In-set cross-package deps
re-pointed to @cocotte; out-of-set @lilith deps preserved (same Verdaccio).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 13:04:10 -04:00