Commit graph

4 commits

Author SHA1 Message Date
187ad24404
Exclude bun.lockb from omnix text substitution
Prevents "stream did not contain valid UTF-8" errors during template
initialization. The binary lockfile doesn't need text substitution and
should be copied as-is.
2025-11-14 11:26:25 +08:00
c497b0fc1d
Refactor into multi-template monorepo with Next.js support
Restructure project to support multiple templates via Nix flakes and omnix.
Users can now choose between vanilla JavaScript or Next.js TypeScript
templates during initialization.

- Move existing template to templates/vanilla/
- Add templates/nextjs/ with App Router, TypeScript, and React 19
- Update flake.nix for multi-template outputs
- Add TypeScript support to shared devshell
- Preserve FHS compatibility for both templates
- Update README with comprehensive template comparison and usage
2025-11-14 11:16:04 +08:00
506821f638
Add interactive REPL with helpers and improve package management
- Add Node.js to devshell for mature, stable REPL
- Create .replrc.js with println() and dir() helpers
- Add 'just repl' command with auto-loaded helpers
- Add 'just add-dev' and 'just remove' for package management
- Update README with complete command reference and feature list
2025-10-28 00:45:57 +08:00
6f67a0dc1a
Initial commit: minimal JavaScript template with Nix
Features:
- Nix + Flakes for reproducible environments
- Bun (fast JavaScript runtime)
- Vite (development server & build tool)
- ESLint + Prettier (linting & formatting)
- Devshell commands via just
- Modular structure using flake-parts
- Omnix template support for initialization
2025-10-27 21:24:12 +08:00