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
This commit is contained in:
♥ Minnie ♥ 2025-11-14 11:16:04 +08:00
parent 506821f638
commit c497b0fc1d
Signed by: jasmine
GPG key ID: 8563E358D4E8040E
23 changed files with 451 additions and 39 deletions

6
.gitignore vendored
View file

@ -4,6 +4,12 @@ node_modules/
# Build output
dist/
build/
.next/
out/
# TypeScript
*.tsbuildinfo
next-env.d.ts
# Direnv
.direnv/