move-doctor 0.2.0-dev.d0feceb → 0.3.0-dev.a5367ba
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#9](https://github.com/notmatical/move-doctor/pull/9) [`24edc5d`](https://github.com/notmatical/move-doctor/commit/24edc5d25a8b0b3af4e18cc03da76382b36a3cea) Thanks [@notmatical](https://github.com/notmatical)! - Rebuild the interactive CLI on [@clack/prompts](https://github.com/bombshell-dev/clack), elevate the scan report, and harden the CLI surface.
|
|
8
|
+
|
|
9
|
+
- **Prompts**: the install wizard is now a cohesive clack flow (`intro`/`spinner`/`log`/`outro`); `select`/`multiselect` are clack-backed and the unmaintained `prompts` package is dropped.
|
|
10
|
+
- **Monorepo scope**: running inside a sub-package of a multi-package workspace now asks whether to scan just that package or the whole workspace (defaulting to focus; non-interactive runs stay focused and surface an `--all` hint).
|
|
11
|
+
- **Scoring**: info findings are now capped low per rule (5 vs 25), so an error-free but advisory-heavy codebase is no longer dragged to 0/100 — errors and warnings still bite.
|
|
12
|
+
- **Redesigned report**: a rounded "diagnosis" card frames the labelled score, a full-width severity-composition bar + percentage legend, and the metadata strip (title on the top border, hyperlinked `move.doctor` wordmark on the bottom). Severity is encoded by colour _and_ fill density (`█` errors → `▓` warnings → `▒` info → `░` empty) so bars read as a gradient and survive no-colour terminals. Below the card, a "by area" breakdown (single) and "by package" breakdown (workspace) give every row its own magnitude+composition bar, so hot spots surface by both size and redness. Verbose drills into bucket → rule → location. Clean code shows a solid green bar + "clean bill of health". Covers single, workspace, verbose, and non-verbose consistently.
|
|
13
|
+
- **Polish**: the detection line no longer duplicates the header's name/packages/Sui; the score is now explicitly labelled (`score 23 / 100`, per-package `33/100` under a "score out of 100" header); and the `move.doctor` wordmark is an OSC-8 hyperlink to https://move.doctor/ on capable terminals.
|
|
14
|
+
- **Cleanup**: shared rendering helpers hoisted into `render-common.ts`; a single `BAR_WIDTH` constant (in `constants.ts`) replaces the duplicated bar widths; centralized terminal glyphs and suggested commands (standardized on `npx move-doctor@latest …`); removed dead code (`install.ts`, unused options); memoized `sui --version` detection.
|
|
15
|
+
- Glyphs fall back to ASCII on legacy Windows consoles; `--json`/`--score`/CI output is unchanged.
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#11](https://github.com/notmatical/move-doctor/pull/11) [`d0feceb`](https://github.com/notmatical/move-doctor/commit/d0fecebd4f9a07984a014e1c64625aec8d78e7de) Thanks [@notmatical](https://github.com/notmatical)! - The agent skill no longer fetches per-rule recipes from `move.doctor/prompts/rules/*`. Every finding already carries its own `fixHint` and `citation` in `--json`, so the `/movedoctor` flow fixes straight from the diagnostic — one less network dependency and no per-rule doc tree to keep in sync.
|
|
20
|
+
|
|
21
|
+
- [#9](https://github.com/notmatical/move-doctor/pull/9) [`24edc5d`](https://github.com/notmatical/move-doctor/commit/24edc5d25a8b0b3af4e18cc03da76382b36a3cea) Thanks [@notmatical](https://github.com/notmatical)! - Fix CLI version drift and misleading workspace output:
|
|
22
|
+
|
|
23
|
+
- The branded header and `--version` now report the real package version (injected from `package.json` at build time) instead of a hardcoded `0.1.0`.
|
|
24
|
+
- In a monorepo, scanning a single focused package no longer prints a misleading `(1 of N)` count — it now matches the standalone-package line.
|
|
25
|
+
- Removed the "Full rule catalog" link to `move.doctor/docs/rules`, which doesn't exist yet.
|
|
26
|
+
|
|
3
27
|
## 0.2.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
package/dist/cli.js
CHANGED
|
@@ -3886,7 +3886,7 @@ var renderWorkspaceJson = (workspace, result) => JSON.stringify(
|
|
|
3886
3886
|
var renderWorkspaceScoreOnly = (result) => String(result.aggregateScore.score);
|
|
3887
3887
|
|
|
3888
3888
|
// src/cli/utils/branded-header.ts
|
|
3889
|
-
var VERSION = "0.
|
|
3889
|
+
var VERSION = "0.3.0-dev.a5367ba";
|
|
3890
3890
|
var printBrandedHeader = () => {
|
|
3891
3891
|
const wordmark = highlighter.accent(hyperlink("move.doctor", HOMEPAGE));
|
|
3892
3892
|
process.stdout.write(
|
package/package.json
CHANGED