Skip to content

πŸš€ v1.4.0 – Zero Dependencies, Browser Choice & Bun Support

Latest

Choose a tag to compare

@clicelee clicelee released this 07 Jul 01:06

πŸš€ v1.4.0 – Zero Dependencies, Browser Choice & Bun Support

One year after the initial release, incognito-dev got a full tune-up β€” faster, lighter, and more reliable.


⚑ Zero Dependencies

All four runtime dependencies (chalk, figlet, boxen, detect-port) are gone, replaced by Node.js built-ins:

  • πŸ“¦ npm package size: 18.4MB β†’ 5.5kB
  • πŸš€ npx incognito-dev now starts nearly instantly
  • πŸ” Nothing in your supply chain but this package itself

🌐 Choose Your Browser

incognito-dev                    # Google Chrome (default)
incognito-dev --browser brave    # Brave Private Mode
incognito-dev --browser edge     # Microsoft Edge InPrivate
incognito-dev --help

🍞 Bun Support

Projects with bun.lock / bun.lockb are now detected automatically and run with bun run dev β€” alongside the existing npm, yarn, and pnpm support.


πŸ› οΈ Reliability Fixes

  • No more orphaned dev servers β€” Ctrl+C now kills the entire process tree, not just the wrapper shell
  • Smarter URL detection β€” handles ANSI-colored output and URLs split across stream chunks
  • No macOS automation prompt β€” AppleScript replaced with open -na
  • Dev server output is forwarded verbatim (no more extra blank lines)
  • Friendly error instead of a stack trace on malformed package.json
  • Falls back to your default browser if the chosen one isn't installed

πŸ§ͺ Project Health

  • Unit tests via node:test (npm test)
  • Added LICENSE and CONTRIBUTING.md
  • Repository metadata added to package.json

πŸ“¦ Requirements

  • Node.js 20.12+ (for the built-in util.styleText)
  • A dev script in your package.json:
"scripts": {
  "dev": "vite"
}