Commit graph

4 commits

Author SHA1 Message Date
Natalie
f70b342f23 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
8c4df83cde build: ship compiled dist + fix type errors (v0.1.1)
Was the only @cocotte ui package shipping raw src (exports → ./src/index.ts) with
source that failed typecheck, so every consumer ate its type errors. Now ships a
compiled dist + .d.ts like its siblings.

- add tsconfig.build.json + build script; repoint main/types/exports/files to dist
- onPrimary excess-property → ThemeOverride/ThemeColorsOverride (new theme-override.ts)
- window.__PROVIDER_CONFIG__ → Window global declaration
- 'custom-mod' no-overlap → ResolvedThemeName = SiteThemeName | 'custom-mod' on
  SiteThemeDefinition.name; simplify always-true previewName guard
- drop dead encodeThemeMod imports; add missing SiteThemeName import
- gitignore dist/

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 19:40:47 -04:00
Natalie
47bf060b51 refactor: rename @cocotte/themes -> @cocotte/site-themes
Disambiguate from @cocotte/ui-theme (the theme engine). This package is the
site theme content/registry built on top of it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-29 15:50:55 -04:00
Natalie
56f518121d feat(@cocotte/themes): extract UI theme package to @ct/@packages
Re-scoped from @lilith/themes to @cocotte/themes. 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