managarten/packages/shared-types/src
Till JS 513e3c7496 fix(types): enable allowImportingTsExtensions, restore .ts on shared-types
The prior dance (93bb94a12 drop .ts, bb278fb3c switch to .js) kept
breaking one consumer or the other:

- bare specifiers (no extension) satisfied svelte-check but broke the
  Node ESM loader invoked via @tailwindcss/node during SSR — SSR of
  every (app) route 500'd with ERR_MODULE_NOT_FOUND on 'theme'.

- .js extensions satisfied svelte-check and Vite but still broke the
  Tailwind loader, because the files on disk are .ts — Node ESM walks
  the actual filesystem and can't rewrite .js → .ts the way tsc does
  at type-check time.

Flip the web app's tsconfig to "allowImportingTsExtensions": true and
put the .ts extensions back. tsc now accepts the imports, and Node's
loader finds the real file on disk. No build step, no emit, and the
shared-types package stays a pure source-only TS workspace.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 20:54:35 +02:00
..
ai-schemas.ts refactor: rename nutriphi module to food (Essen) 2026-04-14 15:30:07 +02:00
auth.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
common.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
contact.ts feat(contacts): integrate contacts into Todo and Calendar apps 2025-12-11 18:14:35 +01:00
index.ts fix(types): enable allowImportingTsExtensions, restore .ts on shared-types 2026-04-14 20:54:35 +02:00
landing-config.ts chore: complete ManaCore → Mana rename (docs, go modules, plists, images) 2026-04-07 12:26:10 +02:00
theme.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
ui.ts style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00