Skip to Content
  • Website
Codsen
  • Home
  • Open Source
  • Articles
  • About

backOpen Source→lerna-clean-changelogs→Examples

Permalink to Table of ContentsTable of Contents

  • Quick Take
  • Empty cleaned text is a valid result; retain an existing EOF newline.
  • Fix SourceHut commit links
  • Keep literal examples while removing unfinished changelog entries.
  • Clean CR-only documents while retaining their line-ending style.
  • Preserve CRLF line endings
  • Retain a release heading while published changes remain beneath it.
  • Normalize list markers while keeping the separator between the lists.
  • Remove WIP entries and tidy the headings
  • Keep the full version and date while removing its complete Markdown link.
↑ back to top

Permalink to Quick TakeQuick Take

↑ back to top

Permalink to Empty cleaned text is a valid result; retain an existing EOF newline.Empty cleaned text is a valid result; retain an existing EOF newline.

↑ back to top

Permalink to Fix SourceHut commit linksFix SourceHut commit links

↑ back to top

Permalink to Keep literal examples while removing unfinished changelog entries.Keep literal examples while removing unfinished changelog entries.

↑ back to top

Permalink to Clean CR-only documents while retaining their line-ending style.Clean CR-only documents while retaining their line-ending style.

↑ back to top

Permalink to Preserve CRLF line endingsPreserve CRLF line endings

↑ back to top

Permalink to Retain a release heading while published changes remain beneath it.Retain a release heading while published changes remain beneath it.

↑ back to top

Permalink to Normalize list markers while keeping the separator between the lists.Normalize list markers while keeping the separator between the lists.

↑ back to top

Permalink to Remove WIP entries and tidy the headingsRemove WIP entries and tidy the headings

↑ back to top

Permalink to Keep the full version and date while removing its complete Markdown link.Keep the full version and date while removing its complete Markdown link.

↑ back to top
back 

Copyright

All rights reserved © Roy Revelt 2026
All our open source packages are under MIT licenceopens in a new tab

Activities

🐛 See a bug? Raise an issueopens in a new tab
💘 Check out the Indiewebopens in a new tab and Libera manifestoopens in a new tab