Skip to content

[onboarding] More niceties for haxthewebme.sh and haxthewebme.ps1#787

Merged
btopro merged 4 commits intohaxtheweb:masterfrom
winstonwumbo:master
Mar 25, 2026
Merged

[onboarding] More niceties for haxthewebme.sh and haxthewebme.ps1#787
btopro merged 4 commits intohaxtheweb:masterfrom
winstonwumbo:master

Conversation

@winstonwumbo
Copy link
Contributor

New Features

  • Switched the Node.js installer from nvm to fnm
    • nvm only works in Unix shells, while fnm is cross-platform with Windows PowerShell
    • Both are official recommendations by Windows
    • fnm being written in Rust = brrrrrrr speed
  • New logic to initialize fnm in both .bashrc and Microsoft.PowerShell_profile.ps1, when installed in Git Bash or Cygwin
    • Students and other new contributors won't be confused about Node.js only working in one shell
  • Modularized haxthewebme.sh with some more reusable functions, in place of duplicating code blocks
  • Improved compatibility with GitHub Desktop in haxthewebme.ps1
    • Lots of students are familiar with GitHub Desktop, but it doesn't provide a CLI to clone with
    • If git isn't installed on Windows, the script stops and asks the user to manually clone with GitHub Desktop
    • On the second run, the script detects an already cloned haxtheweb/webcomponents repo and skips to the next command

@winstonwumbo winstonwumbo requested a review from btopro as a code owner March 25, 2026 19:17
@vercel
Copy link

vercel bot commented Mar 25, 2026

@winstonwumbo is attempting to deploy a commit to the HAXTheWeb Team on Vercel.

A member of the Team first needs to authorize it.

@btopro btopro merged commit 7fab821 into haxtheweb:master Mar 25, 2026
2 of 3 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 25, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants