docs(setup): lead Quick Setup with the zero-prereq node bootstrap#12
Merged
Conversation
A clean-machine evaluation noted the branded `pnpm setup` command can't be the true cold-start entry point because it presupposes pnpm is installed. The bootstrap (scripts/setup-bootstrap.mjs) needs only Node — already the first prerequisite — and enables pnpm via Corepack + installs deps itself. - Quick Setup now leads with `node scripts/setup-bootstrap.mjs`, which works on a machine with only Node and Git. - Keep `corepack enable && pnpm setup` documented as the equivalent path for those who already have pnpm. - Note that flags forward to either entry point. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up to #11 from a fresh clean-machine evaluation. The reviewer's defensible point: the branded
pnpm setupcommand can't be the true cold-start entry point because it presupposes pnpm is installed. The bootstrap (scripts/setup-bootstrap.mjs) needs only Node — already the first prerequisite — and enables pnpm via Corepack + installs deps itself.Change (docs-only)
node scripts/setup-bootstrap.mjs, which works on a machine with only Node and Git installed.corepack enable && pnpm setup(andpnpm setup) are kept as the equivalent path for those who already have pnpm.node scripts/setup-bootstrap.mjs --clean).Testing
node scripts/setup-bootstrap.mjs --checkruns end-to-end and forwards the flag correctly.🤖 Generated with Claude Code