Skip to content

Conversation

@webbsssss
Copy link
Owner

Problem

The Brewfile specified node@20, but this conflicts with the project's actual configuration:

  • ✅ .tool-versions specifies nodejs 22.13.0
  • ✅ CI workflows test with node-version: '22'
  • ✅ Development Dockerfile uses node_22.x

This creates version mismatches for macOS developers using Homebrew.

Solution

Update Brewfile to node@22 to maintain consistency across all environment configurations.

Changes Made

  • ✅ Upgrade node@20 to node@22 in Brewfile
  • ✅ Remove deprecated Homebrew taps (homebrew/core, homebrew/bundle, homebrew/services, homebrew/cask)
  • ✅ Verified alignment with .tool-versions, CI config, and development Docker

Why Node 22?

  • Node 20.x: Maintenance LTS (security fixes only)
  • Node 22.x: Active LTS (security patches + critical bug fixes) ✅
  • Node 22 is production-ready for long-term projects

Related Issues

Testing

  • ✅ Brewfile syntax verified
  • ✅ Confirmed consistency with .tool-versions (nodejs 22.13.0)
  • ✅ Confirmed consistency with CI workflows (node-version: '22')
  • ✅ Confirmed consistency with development Dockerfile (node_22.x)

…ronment

- Change node@16 to node@22 in Brewfile
- Remove deprecated Homebrew taps (homebrew/core, homebrew/bundle, homebrew/services, homebrew/cask)
- Align Brewfile with .tool-versions (22.13.0), CI config (Node 22), and development Dockerfile
- Node 22.x is in Active LTS stage with full security support
- Note: Dockerfile.production still uses Node 20 (separate issue for follow-up)
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.

🐞 Bug: MacOS repository native setup error

2 participants