Commit dfed1e1
TypeScript is not a first-class consumer in the AffineScript ecosystem.
Per the estate's no-new-TypeScript policy, hand-maintaining (or auto-
generating) a dedicated TS package surfaces TS where it shouldn't be.
Changes:
- Delete packages/affine-ts/ entirely (4 files: README.adoc, deno.json,
mod.js, types.d.ts).
- Update .claude/CLAUDE.md TypeScript Exemptions table — drop the
affine-ts row (now 7 active exemptions, down from 8). Add closed-
exemption note documenting the removal.
- Update packages/affine-js/README.adoc — replace the "companion
affine-ts" pointer with a sentence saying TS is not a first-class
consumer; TS callers should use affine-js directly with their own
typings.
The remaining packages/affine-js/types.d.ts exemption is preserved as
the single interop surface for JS callers (most of whom happen to use
TS tooling). That exemption stands or falls separately.
Closes #66 — won't-do. Issue #66 proposed auto-generating .d.ts files
for affine-js AND affine-ts. With affine-ts removed, the scope of #66
shrinks to "just affine-js", and that's a separate, smaller decision
that should be its own issue if pursued.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent c392e49 commit dfed1e1
6 files changed
Lines changed: 7 additions & 365 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
| 84 | + | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
142 | 144 | | |
143 | 145 | | |
144 | 146 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments