Repository navigation
Commit 7dee427
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: lint, typecheck, 920 unit tests, 116 edge tests, build, and 124
Chromium e2e tests pass. Coverage unchanged at 90.45% statements.1 parent b910cb0 commit 7dee427
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 | | |
| |||
54 | 52 | | |
55 | 53 | | |
56 | 54 | | |
57 | | - | |
58 | 55 | | |
59 | 56 | | |
60 | | - | |
61 | | - | |
62 | 57 | | |
63 | 58 | | |
64 | | - | |
65 | | - | |
66 | 59 | | |
67 | 60 | | |
68 | 61 | | |
| |||
71 | 64 | | |
72 | 65 | | |
73 | 66 | | |
74 | | - | |
75 | 67 | | |
76 | 68 | | |
77 | 69 | | |
| |||
| 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