workspace: pnpm monorepo with api, web, shared

TypeScript 7 strict, ESLint + Prettier, vitest, AGPL-3.0 license.
Decision 0001 records the latest-majors choice and the TS 6 alias.

Task: M0-T1
This commit is contained in:
iamdoubz committed 2026-10-17 14:18:02 -05:00
1 parent 547bb68a6f
commit aa99622a24
24 files changed
+2940 -3

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# 0001 — Use the latest major versions (TypeScript 7, zod 4, react-router 8)
The owner chose the latest majors over the versions first written in 00 §4. TypeScript 7 (the
native compiler) ships no JavaScript API, and typescript-eslint needs one. Following Microsoft's
side-by-side guidance, the root `package.json` installs `typescript` as an alias of
`@typescript/typescript6` (for typescript-eslint) and `@typescript/native` as an alias of
`typescript@7`, whose `tsc` binary does typecheck and build. The api runs its TypeScript sources
directly on Node 24 (type stripping), so `erasableSyntaxOnly` is on, and relative imports use `.ts`
extensions that `rewriteRelativeImportExtensions` rewrites on build. Drop the TS 6 alias once
typescript-eslint supports TS 7.