Skip to content

chore: bootstrap development Node with Chomp - #45

Open
yowainwright wants to merge 1 commit into
dev-toolchain/oxc-hooksfrom
dev-toolchain/node-bootstrap
Open

yowainwright wants to merge 1 commit into
dev-toolchain/oxc-hooksfrom
dev-toolchain/node-bootstrap

Conversation

@yowainwright

@yowainwright yowainwright commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Proposed Changes

  • prefers chomp provisions Node 26 for dev and verifies SHA-256 before extraction.
  • all dev tasks, CI and the devcontainer share the chomp config.
  • removes .nvmrc.

Read about referenced issues here. Replace words with this Pull Request's context.

Standalone Chomp provisions the Node 26.13.0 development runtime from official Node archives and verifies SHA-256 before extraction. Development tasks, CI and the devcontainer share the Chomp pin; .nvmrc is removed.

The bootstrap supports macOS/Linux on x64 and arm64. Runtime installation stays under ignored .cache/dev-node/ and task executables are exposed through ignored .bin/.

Validation: bootstrap verified locally with host Node/npm excluded from PATH; build, typecheck, lint, formatting, 52 unit tests and 1 end-to-end test pass. Failure tests reject invalid versions and bad checksums. Linux bootstrap execution remains for CI.
@yowainwright
yowainwright added this pull request to stack #46 November 7, 2026 02:27
@yowainwright
yowainwright marked this pull request as ready for review November 7, 2026 03:17
Comment thread scripts/setup-node.sh
.bin/node --version
}

main "$@"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure, if we need all this related to downloading and managing node stuff. Can we just revert to .nvmrc. Its simple and we don't need to manage all this downloading and moving between versions.

@yowainwright yowainwright Nov 12, 2026 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's a good request.

I wanted to put this (node management) on chomp which means one less dep; aka 1 less security item to think about.

Thoughts before I remove this...? 🙂

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.

2 participants