Files
d 🔹 97b4df9290 fix(cli): add Windows-friendly designmd bin alias (#62)
Closes #54.

The existing `design.md` bin entry produces a `node_modules/.bin/design.md`
shim file on Windows. Because the basename ends in `.md`, Windows command
resolution short-circuits to the Markdown file association before iterating
PATHEXT, so PowerShell opens the shim in the user's Markdown editor
(VS Code by default) instead of executing it.

Add a `designmd` alias bin that resolves to the same entrypoint. The dot-free
name lets the npm CMD/PowerShell shims resolve cleanly via PATHEXT on Windows
while leaving the original `design.md` bin in place for posix users and
existing scripts.

* `packages/cli/package.json`: add the alias to the bin map.
* `README.md`: add a "Windows tip" callout under CLI Installation explaining
  when to reach for the alias.
* `packages/cli/scripts/check-package.ts`: new check #5c verifies the bin
  map exposes at least one dot-free alias so future package edits don't
  silently regress this.

Pre-existing failure #20 (`CLI spec command failed to load spec.md`)
reproduces on `main@8ecd464` with my changes stashed (23 pass / 1 fail);
adding 5c yields 24 pass / 1 fail, with no other deltas.

Co-authored-by: d 🔹 <258577966+voidborne-d@users.noreply.github.com>
2026-05-01 16:27:40 -07:00
..