Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor transform.ts and others #1373

Merged

Conversation

selfdocumentingcode
Copy link
Contributor

Some refactoring in preparation of new features:

Extracted more functions out of the large buildChangelog function as well as making the new and existing ones either deal with building the placeholder maps (which I renamed to "template contexts" [inspired by Scriban/Liquid] since I thought too many things were called placeholder something) or deal with "rendering" i.e. substituting tokens in the template strings.

@mikepenz
Copy link
Owner

Thank you very much. overall looks good.

Due to the size it might take me a bit to get this reviewed.

@selfdocumentingcode
Copy link
Contributor Author

No rush! Thanks for taking the time to review it!

@mikepenz mikepenz self-requested a review November 2, 2024 09:15
@mikepenz mikepenz merged commit ee44ff2 into mikepenz:develop Nov 2, 2024
6 checks passed
@mikepenz mikepenz added the other label Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants