Commit fd3e921
chore(deps): move implementation-detail deps from peer to regular
Tiptap, date-fns, react-day-picker, clsx, tailwind-merge, and
class-variance-authority are pure implementation details of MarkdownEditor,
Calendar, and the cn() utility. None of them leak into the public API or
the dist/*.d.ts type surface, so consumers do not need to install or
version-pin them.
Move them to regular dependencies so they install transitively. Keep
react, react-dom, @base-ui/react, radix-ui, and lucide-react as peer
dependencies — these have a Singleton constraint (React) or are used via
shared React Context (TooltipProvider via radix) where a version mismatch
would silently break consumers.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d21f501 commit fd3e921
2 files changed
Lines changed: 42 additions & 50 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
48 | 43 | | |
49 | 44 | | |
50 | 45 | | |
51 | | - | |
52 | 46 | | |
| 47 | + | |
53 | 48 | | |
54 | 49 | | |
55 | 50 | | |
56 | 51 | | |
57 | 52 | | |
58 | 53 | | |
59 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
| 79 | + | |
89 | 80 | | |
90 | 81 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments