mirror of
https://github.com/sajenim/javascript-template.git
synced 2025-12-17 03:50:40 +08:00
Restructure templates to include Nix development environment
Moved template directories into templates/ subdirectory (templates/vanilla/ and templates/nextjs/) with complete Nix configuration in each. This ensures initialized projects have the full development environment with Nix, Bun, and all tooling out of the box. Changes: - Created templates/vanilla/ with flake.nix, nix/, .envrc, and all files - Created templates/nextjs/ with flake.nix, nix/, .envrc, and all files - Updated template paths in nix/modules/template.nix
This commit is contained in:
parent
304367cde5
commit
2b228ebd52
11 changed files with 367 additions and 3 deletions
|
|
@ -9,13 +9,13 @@ in {
|
|||
};
|
||||
|
||||
nextjs = {
|
||||
description = "Next.js TypeScript template with App Router for Vercel";
|
||||
description = "Next.js TypeScript template with App Router";
|
||||
path = "${root}/templates/nextjs";
|
||||
};
|
||||
};
|
||||
|
||||
om.templates = {
|
||||
javascript-vanilla = {
|
||||
default = {
|
||||
template = templates.default;
|
||||
params = [
|
||||
{
|
||||
|
|
@ -26,7 +26,7 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
javascript-nextjs = {
|
||||
nextjs = {
|
||||
template = templates.nextjs;
|
||||
params = [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue