Files
OpenNoodl/packages
Tara West 6aa45320e9 feat(editor): implement embedded template system (TASK-009)
- Add ProjectTemplate TypeScript interfaces for type-safe templates
- Implement EmbeddedTemplateProvider for bundled templates
- Create Hello World template (Router + Home page + Text)
- Update LocalProjectsModel to use embedded templates by default
- Remove programmatic project creation workaround
- Fix: Add required fields (id, comments, metadata) per TASK-010
- Fix: Correct node type 'PageRouter' → 'Router'
- Add comprehensive developer documentation

Benefits:
- No more path resolution issues (__dirname/process.cwd())
- Works identically in dev and production
- Type-safe template definitions
- Easy to add new templates

Closes TASK-009 (Phase 3 - Editor UX Overhaul)
2026-01-09 12:25:16 +01:00
..
2024-01-26 11:52:55 +01:00