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>
11 lines
203 B
JSON
11 lines
203 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
"noEmit": false,
|
|
"declaration": true,
|
|
"declarationMap": true,
|
|
"sourceMap": true,
|
|
"outDir": "dist",
|
|
"rootDir": "src"
|
|
}
|
|
}
|