Commit 473b52a
authored
fix(52): fix readme (#59)
* feat: add content type detection for S3 file uploads
* fix: add metadata setup for events channel in state machine
* refactor: move readme template handling to PackagingStateMachine
* refactor: update readme template to use dynamic file placeholders
* refactor: separate readme creation into dedicated step function
* refactor: remove redundant createReadme step in state machine
* feat: add setupREADME step to initialize files context
* refactor: use this.props instead of passing props as method arguments
* fix props
* refactor: break down state machine definition into smaller methods
* readme.readme
* merge README task
* feat: add string processor lambda to state machine props
* refactor: move Lambda functions into PackagingStateMachine class
* test: add missing stringProcessor property to state machine tests
* refactor: remove lambda function props from webhook state machine
* fix: add missing PackagingStateMachine import and remove exportProcessor
* refactor: remove unused export processor function from test setup
* refactor: remove Lambda function from state machine props
* remove obsolete getContentType
* Create process-string.ts
* Webhook creates Packaging state machine
* refactor: use string processor Lambda for writing README to S3
* refactor: move writeReadmeToS3Task after createReadme step
* fix: update readme template to use correct files path
* Packaging vs PackageEntry
* smarter readme
* createReadmeTask
* feat: add entry markdown template constant
* refactor: convert entry template to AWS States Language format
* refactor: convert readme template to TypeScript class
* refactor: convert entry template to class-based implementation
* refactor: update entry template to use States.Format with proper placeholders
* refactor: create base template class for markdown generation
* fix: update template method names to use standardized base class methods
* refactor: restructure state machine content creation with named parameters
* cleanup
* fix: replace string concatenation with States.Format in state machine
* feat: add ENTRY_MD constant and use in state machine
* refactor: simplify entry template by removing complex fields
* test one template first
* Update readme.ts
* Update Package
---------
Co-authored-by: Dr. Ernie Prabhakar (aider) <19791+drernie@users.noreply.github.com>1 parent 81f638c commit 473b52a
File tree
11 files changed
+371
-159
lines changed- lib
- lambda
- templates
- test
11 files changed
+371
-159
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 39 | | |
70 | 40 | | |
| 41 | + | |
71 | 42 | | |
72 | 43 | | |
73 | 44 | | |
| |||
76 | 47 | | |
77 | 48 | | |
78 | 49 | | |
79 | | - | |
80 | 50 | | |
81 | 51 | | |
82 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
57 | 56 | | |
58 | 57 | | |
59 | 58 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments