Skip to content

docs: install and usage list, and fix the pnpm builtin collision in the link script - #4

Merged
ralyodio merged 1 commit into
masterfrom
docs/install-usage
Aug 16, 2026
Merged

docs: install and usage list, and fix the pnpm builtin collision in the link script#4
ralyodio merged 1 commit into
masterfrom
docs/install-usage

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Replaces #3, which conflicted. Nothing was wrong with the change — the branch still carried the commit that #2 had already squashed onto master, so git was being asked to apply it twice. Rebuilt from master with only the one commit that is actually missing.

Note: the vite advisory fix (vitest@4) is already on master — the #2 squash picked it up at merge time. master has vitest@^4.1.10 and resolves vite@8.2.1. Nothing security-relevant is outstanding.

1. The README now has install and usage

It explained the design and skipped the part someone actually arrives for. Now: command table → requirements → install → usage per command with runnable examples.

Also states requirements the tools always had and never documented: gh authenticated, dig at /usr/bin/dig for domainjson, OpenRDAP on PATH for its RDAP half (it degrades to DNS-only without it).

2. linklink:bin

This is the part worth reviewing.

link and unlink are pnpm builtins. pnpm link runs pnpm's own command and never touches scripts/install-links.mjs, so the install step currently documented on master silently does nothing:

$ pnpm link --help
Usage: pnpm link <dir>
Alias: ln

Renamed to link:bin / unlink:bin, with a //link note in package.json so nobody renames it back. Every command in the install section was run as written before committing:

  • pnpm link:bin --dry-run — correctly reports the existing ~/scripts/bin links as not-ours
  • node scripts/install-links.mjs --remove --dry-run — same, in reverse
  • pnpm test — 51 passed
  • pnpm typecheck — clean

🤖 Generated with Claude Code

The README explained the design and skipped the part someone actually
arrives for. Now it opens with a command table, then requirements, then
install, then usage per command with runnable examples — the same shape
the scripts repo README had, which was the one people used.

Renames the link scripts to link:bin / unlink:bin. `link` and `unlink`
are pnpm builtins, so `pnpm link` runs pnpm's own command and never
touches this script — the README documented a step that would silently
do nothing. Every command in the install section was run as written
before committing.

Also records requirements the tools have always had and never stated: gh
authenticated, dig at /usr/bin/dig for domainjson, and OpenRDAP on PATH
for its RDAP half.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

0 finding(s)

No findings.

@ralyodio
ralyodio merged commit fcaaebb into master Aug 16, 2026
4 checks passed
@ralyodio
ralyodio deleted the docs/install-usage branch August 19, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant