mirror of
https://github.com/sajenim/javascript-template.git
synced 2025-12-17 03:50:40 +08:00
Clean up template configurations for initialized projects
Removed unnecessary packages and template metadata from initialized projects: - Removed TypeScript from vanilla template (not used) - Removed template.nix from both templates (only needed in repo, not projects) - Updated flake.nix in templates to only import devshell.nix Templates now provide minimal, focused development environments.
This commit is contained in:
parent
1413b1b10d
commit
e907de4a37
5 changed files with 0 additions and 85 deletions
|
|
@ -12,7 +12,6 @@
|
|||
systems = import inputs.systems;
|
||||
imports = [
|
||||
./nix/modules/devshell.nix
|
||||
./nix/modules/template.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
{inputs, ...}: let
|
||||
root = inputs.self;
|
||||
in {
|
||||
flake = rec {
|
||||
templates = {
|
||||
default = {
|
||||
description = "Minimal JavaScript template with Vite and Bun";
|
||||
path = "${root}/vanilla";
|
||||
};
|
||||
|
||||
nextjs = {
|
||||
description = "Next.js TypeScript template with App Router";
|
||||
path = "${root}/nextjs";
|
||||
};
|
||||
};
|
||||
|
||||
om.templates = {
|
||||
default = {
|
||||
template = templates.default;
|
||||
params = [
|
||||
{
|
||||
name = "package-name";
|
||||
description = "Name of the JavaScript package";
|
||||
placeholder = "my-project";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nextjs = {
|
||||
template = templates.nextjs;
|
||||
params = [
|
||||
{
|
||||
name = "package-name";
|
||||
description = "Name of the Next.js project";
|
||||
placeholder = "my-nextjs-app";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -12,7 +12,6 @@
|
|||
systems = import inputs.systems;
|
||||
imports = [
|
||||
./nix/modules/devshell.nix
|
||||
./nix/modules/template.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ in {
|
|||
[
|
||||
bun
|
||||
nodejs
|
||||
typescript
|
||||
eslint
|
||||
just
|
||||
prettierd
|
||||
|
|
|
|||
|
|
@ -1,41 +0,0 @@
|
|||
{inputs, ...}: let
|
||||
root = inputs.self;
|
||||
in {
|
||||
flake = rec {
|
||||
templates = {
|
||||
default = {
|
||||
description = "Minimal JavaScript template with Vite and Bun";
|
||||
path = "${root}/vanilla";
|
||||
};
|
||||
|
||||
nextjs = {
|
||||
description = "Next.js TypeScript template with App Router";
|
||||
path = "${root}/nextjs";
|
||||
};
|
||||
};
|
||||
|
||||
om.templates = {
|
||||
default = {
|
||||
template = templates.default;
|
||||
params = [
|
||||
{
|
||||
name = "package-name";
|
||||
description = "Name of the JavaScript package";
|
||||
placeholder = "my-project";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
nextjs = {
|
||||
template = templates.nextjs;
|
||||
params = [
|
||||
{
|
||||
name = "package-name";
|
||||
description = "Name of the Next.js project";
|
||||
placeholder = "my-nextjs-app";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue