Repository navigation
Commit cd7fd52
committed
chore: prune 6 unused dependencies, 2 dead scripts, and dead config globs
Dependencies with zero imports anywhere in src, e2e, scripts, supabase, or
any config file:
- @stripe/stripe-js: checkout and portal go through the create-checkout and
create-portal Edge Functions and a plain URL redirect (src/lib/stripe.ts).
The browser SDK is never loaded.
- i18next-browser-languagedetector: src/i18n.ts sets lng and fallbackLng
explicitly and SettingsPage calls changeLanguage. No detector is registered.
- @types/jspdf and @types/react-joyride: both runtime packages ship their own
declarations, so the DefinitelyTyped stubs are redundant.
- baseline-browser-mapping and caniuse-lite: incidentally added as direct
dependencies. Both remain installed as transitive dependencies of
autoprefixer/browserslist, which is the only thing that reads them.
@types/file-saver stays: file-saver ships no declarations of its own.
Also removes two npm scripts nothing invokes (test:coverage, superseded by
`npm test -- --coverage`, and test:e2e:ui), the three Tailwind content globs
for ./pages, ./components, and ./app directories that do not exist in this
repo, and Vite's optimizeDeps.entries, which restated the only HTML entry.
Verified after rebasing onto main c7d3437, from a clean npm ci: lint,
typecheck, 925 unit tests, 121 edge tests, build, and 125 Chromium e2e tests
pass, with one unrelated flaky retry in search-quality. Coverage 90.45%
statements.1 parent c7d3437 commit cd7fd52
4 files changed
Lines changed: 3 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | | - | |
69 | 66 | | |
70 | 67 | | |
71 | | - | |
72 | | - | |
73 | 68 | | |
74 | 69 | | |
75 | | - | |
76 | | - | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
| |||
84 | 77 | | |
85 | 78 | | |
86 | 79 | | |
87 | | - | |
88 | 80 | | |
89 | 81 | | |
90 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
0 commit comments