Skip to content

Commit b68c061

Browse files
Fix type issues and linting in document-authoring-template-population
- Remove dead code (lib/api.ts, lib/index.ts) that was re-exporting main exports - Fix DataResolver reference in placeholder-replacer.ts (use imported resolve function) - Fix import paths in template-parser.ts and conditional-processor.ts (relative to src root) - Update README project structure to match actual kebab-case filenames - Add dist/ to .biomeignore - Format code with biome Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 061c258 commit b68c061

8 files changed

Lines changed: 1053 additions & 63 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
index.html
2+
dist/

web/document-authoring-template-population/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,16 +121,16 @@ document-authoring-template-population/
121121
├── src/
122122
│ ├── index.ts # Main library export
123123
│ ├── lib/
124-
│ │ ├── DocumentTemplating.ts # Core templating engine
124+
│ │ ├── document-templating.ts # Core templating engine
125125
│ │ ├── parser/
126-
│ │ │ └── TemplateParser.ts # Placeholder parsing
126+
│ │ │ └── template-parser.ts # Placeholder parsing
127127
│ │ ├── processors/
128-
│ │ │ ├── PlaceholderReplacer.ts # {{variable}} replacement
129-
│ │ │ ├── ConditionalProcessor.ts # Conditional logic
130-
│ │ │ └── LoopProcessor.ts # Array loop handling
128+
│ │ │ ├── placeholder-replacer.ts # {{variable}} replacement
129+
│ │ │ ├── conditional-processor.ts # Conditional logic
130+
│ │ │ └── loop-processor.ts # Array loop handling
131131
│ │ └── utils/
132-
│ │ ├── DataResolver.ts # Data access utilities
133-
│ │ └── ValidatorUtil.ts # Validation helpers
132+
│ │ ├── data-resolver.ts # Data access utilities
133+
│ │ └── validator-util.ts # Validation helpers
134134
│ └── types/
135135
│ └── index.ts # TypeScript type definitions
136136
├── index.html # Demo application

0 commit comments

Comments
 (0)