Skip to content

Migrate project setup to Node and Bun - #20

Merged
nshiab merged 9 commits into
mainfrom
migrate-node-bun
Oct 17, 2026
Merged

nshiab merged 9 commits into
mainfrom
migrate-node-bun

Conversation

@nshiab

@nshiab nshiab commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

This replaces Deno development and project generation with Node and Bun. The CLI detects its executing runtime automatically, retains a Node shebang for npx, and supports bunx --bun. Generated projects use their selected runtime for Vite+ formatting, checks, and tests, and install the latest development tools.

Users can select libraries interactively or combine library flags such as --format --geo. Generated projects include commands for analysis, tests, automatic fixes, documentation refresh, and cache cleanup; VS Code recommendations enable Oxc formatting and lint fixes on save, plus word wrapping. Existing scripts and configuration files are preserved.

Documentation comes from the GitHub release archive matching each installed library version. Generated projects ignore downloaded documentation and provide a docs-only refresh command and concise agent instructions. Failed downloads preserve existing documentation.

Validation:

  • All 34 tests pass, along with formatting, lint, type checking, and executable packaging.
  • Fresh Node and Bun projects installed dependencies and passed their generated checks.
  • A Bun setup completed installation, docs downloads, formatting, lint, type checking, and a Vitest test with Node explicitly blocked. The test checked the Bun runtime, .env loading, and a published library function.
  • Live documentation downloads succeeded for all 14 released libraries; 2,699 local documentation links resolved.
  • Docs-only refresh preserved project configuration, source files, and dependency manifests.

The package version remains 2.0.3; the planned major release is on hold. Windows command handling is implemented but has not been tested on Windows.

@nshiab
nshiab merged commit e357d33 into main Oct 17, 2026
1 check passed
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.

1 participant