Skip to content

docs: tell contributors which four scripts they need - #36

Merged
chh-ay merged 1 commit into
developfrom
docs/contributor-script-guide
Jul 26, 2026
Merged

docs: tell contributors which four scripts they need#36
chh-ay merged 1 commit into
developfrom
docs/contributor-script-guide

Conversation

@chh-ay

@chh-ay chh-ay commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Problem

package.json has ~55 root scripts. CONTRIBUTING.md named four of them, so someone opening the manifest had no way to tell contributor commands from CI-only gates and release machinery they should never run locally. The naming taxonomy is disciplined, but nothing explained it.

Change

Add scripts/README.md, covering:

  • the four-command contributor path, and the two kinds of changes that need one more command
  • what verify:ci runs and what it does not: CI additionally runs the full browser matrix, coverage, and the production docs build
  • that matched timing comparisons use the deliberate local protocol in bench/README.md, not a required CI job
  • how to map ::workspace-node::<id> to the exact command with workspace-tooling.ts verify-ci --dry-run; ids are not always script names
  • what each name prefix owns
  • generated docs, benchmark baselines, compatibility captures, and release scripts that should not be handled casually

CONTRIBUTING.md gains one paragraph pointing at the guide.

Deliberately not an inventory

An earlier draft listed all root scripts and asserted with a test that every manifest entry appeared in the documentation. That was overfit: a CI-only script should not force a contributor-facing docs change, and literal markdown-content assertions fail on harmless rewording while passing when the guide is useless.

The guide is curated around workflows instead. package.json remains the complete inventory.

Verification

  • bun run lint — no errors; one pre-existing warning for the 2 MiB conformance corpus
  • bun scripts/workspace-tooling.ts verify-ci --dry-run — prints the documented id-to-command mapping

Documentation only; no shipped code or configuration changes.

@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sheetwrite Ready Ready Preview, Comment Jul 26, 2026 10:58am

There are ~55 root scripts and CONTRIBUTING.md named four of them, so a
newcomer opening package.json had no way to tell contributor commands
from CI-only gates and release machinery they should never run locally.

Add scripts/README.md: the four-command path, what verify:ci actually
runs and how to re-run only the node that failed, what each name prefix
owns, and the handful of scripts that behave surprisingly. It is a guide,
not an inventory — package.json remains the list.
@chh-ay
chh-ay force-pushed the docs/contributor-script-guide branch from a68f170 to d46f169 Compare July 26, 2026 10:41
@chh-ay
chh-ay merged commit 79239ba into develop Jul 26, 2026
11 checks passed
@chh-ay
chh-ay deleted the docs/contributor-script-guide branch July 26, 2026 11:00
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