Commit eb26038
authored
feat/health-signal-and-npm-only (#49)
* feat(cli): headless-friendly quick-wins and hygiene
- Detect Bun's text lockfile (bun.lock), not just the binary bun.lockb
- Add --no-color (also honors NO_COLOR / FORCE_COLOR) and stop emitting the
raw terminal-background escape when color is disabled, so the TUI inherits
the user's own terminal background
- Add --save-exact to write bare versions instead of preserving the ^/~ range
prefix
- Add a Dependabot config and a `pnpm audit` step in CI (dogfooding)
* feat(health): npm-only resolution + deprecation & engines signals
Resolve package data from the npm registry only and drop the jsDelivr layer
(unreliable for this tool due to aggressive CDN caching): remove the
version-data fallback, the package-manifest fetch, and the CHANGELOG.md
fallback. On exhausted retries a package is now reported as unavailable
rather than served from a stale CDN; changelog text comes from GitHub
releases.
Surface per-version `deprecated` and `engines.node` straight from the
abbreviated packument inup already fetches (zero extra requests):
- [DEPR] / [ENG] badges in the package list
- amber warning rows in the package-info modal; the deprecation message wraps
so its URL stays whole and clickable
* ci(github): remove dependency audit step from CI
* chore(deps): remove Dependabot configuration1 parent 7691927 commit eb26038
30 files changed
Lines changed: 351 additions & 998 deletions
File tree
- .github
- src
- config
- core
- features/changelog/services
- services
- jsdelivr
- types
- ui
- modal/package-info-sections
- presenters
- renderer/package-list
- session
- utils
- test
- fixtures
- integration
- unit
- services
- ui
- utils
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
| 353 | + | |
| 354 | + | |
353 | 355 | | |
354 | 356 | | |
355 | 357 | | |
| |||
Lines changed: 2 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
15 | 11 | | |
16 | 12 | | |
17 | 13 | | |
| |||
119 | 115 | | |
120 | 116 | | |
121 | 117 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | 118 | | |
133 | 119 | | |
134 | | - | |
| 120 | + | |
135 | 121 | | |
136 | 122 | | |
137 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
| |||
167 | 163 | | |
168 | 164 | | |
169 | 165 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 166 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
This file was deleted.
0 commit comments