Skip to content

Commit 890b636

Browse files
JacobCoffeeclaude
andcommitted
feat: migrate from nodeenv to bunenv for Bun environment management
Replace nodeenv with bunenv for frontend tooling isolation: **Changes:** - Makefile: Replace `nodeenv --python-virtualenv` with `bunenv --python-virtualenv --bun=latest` - pyproject.toml: Add `bunenv>=0.1.0` to dev dependencies - uv.lock: Update lock file with bunenv dependency **Benefits:** ✅ Purpose-built for Bun (vs Node.js-focused nodeenv) ✅ Maintained actively with modern tooling ✅ GitHub Releases API integration (vs nodejs.org index) ✅ Same proven architecture as nodeenv ✅ Zero breaking changes to workflow **Testing:** Verified bunenv 0.1.0 installs correctly via `uv sync --group dev` **Migration Path:** `nodeenv --python-virtualenv` → `bunenv --python-virtualenv --bun=latest` No other changes required - bunenv provides the same isolation and activation mechanism, just optimized for Bun. Related: JacobCoffee/bunenv#7 (bunenv GitHub Action) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 64743d0 commit 890b636

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ install-prek: ## Install prek and install hooks
5353
.PHONY: install-frontend
5454
install-frontend: ## Install the frontend dependencies
5555
@echo "=> Installing frontend dependencies"
56-
@nodeenv --python-virtualenv
56+
@bunenv --python-virtualenv --bun=latest
5757
@bun install
5858
@echo "=> Frontend dependencies installed"
5959

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dev = [
3838
"codespell>=2.2.6",
3939
"prek>=0.2.18",
4040
"pytailwindcss>=0.2.0",
41+
"bunenv>=0.1.0",
4142
"sourcery>=1.14.0",
4243
"ty>=0.0.1a26",
4344
"aiosqlite>=0.21.0",

uv.lock

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)