Skip to content

Commit 49cb874

Browse files
authored
feat: add template selection to app create (#30)
* feat: enhance project creation with template catalog support * refactor: simplify template selection by removing unused categories array * remove dead code * feat: add minimal template option to app creation workflow * re-add custom unmarshall * style: fix typo in UnmarshalJSON comment * refactor: move template env vars to template package * feat: enhance template post-processing with configurable file updates * refactor: sort template categories alphabetically
1 parent eb88935 commit 49cb874

File tree

9 files changed

+426
-233
lines changed

9 files changed

+426
-233
lines changed

.github/workflows/create.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Run eigenx app create
6868
run: |
6969
cd /tmp
70-
eigenx app create --disable-telemetry my-awesome-app ts
70+
eigenx app create --disable-telemetry my-awesome-app ts minimal
7171
7272
- name: Verify app project created
7373
run: |

config/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ temp_external/
3030

3131
# Environment
3232
.env
33+
.env.*
34+
!.env.example
3335

3436
# Language-specific build outputs
3537
# Node.js
@@ -40,6 +42,7 @@ yarn-error.log*
4042
*.tgz
4143
dist/
4244
build/
45+
coverage/
4346

4447
# Python
4548
__pycache__/
@@ -65,6 +68,11 @@ wheels/
6568
.tox/
6669
.coverage
6770
.pytest_cache/
71+
.mypy_cache/
72+
.ruff_cache/
73+
.venv/
74+
env/
75+
venv/
6876

6977
# Rust
7078
target/
@@ -73,3 +81,6 @@ Cargo.lock
7381
# Go
7482
*.test
7583
*.prof
84+
85+
# Misc
86+
*.log

config/config_embeds.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ package config
22

33
import _ "embed"
44

5-
//go:embed templates.yaml
6-
var TemplatesYaml string
7-
85
//go:embed .gitignore
96
var GitIgnore string
107

config/templates.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)