UNPKG

light-release

Version:

A lightweight tool to automate your release process, compatible with conventional commit messages. It reads your commit history, determines the release type, and generates release notes without unnecessary dependencies.

319 lines (307 loc) 24.3 kB
<link rel="icon" href="C:\Users\vincm\OneDrive\Desktop\Vincenzo\Lavoro\NPM\light-release\assets\logo.png" type="image/png"> <link rel="shortcut icon" href="C:\Users\vincm\OneDrive\Desktop\Vincenzo\Lavoro\NPM\light-release\assets\logo.png" type="image/png"> <title>light-release Release Note 2.9.1</title> <link href="C:\Users\vincm\OneDrive\Desktop\Vincenzo\Lavoro\NPM\light-release\assets\style.css" rel="stylesheet"> <div class="contents"> <div class="contents":key="key"> <section class="border-b-[1px] pt-[20px] pb-[20px] border-[color:var(--64ddf9af7c88e)]"> <div class="mt-[0] mr-[auto] mb-[0] ml-[auto] pt-[0] pr-[32px] pb-[0] pl-[32px] md:pr-[24px] md:pl-[24px] max-w-[1024px]"> <div class="flex justify-between items-center"> <a class="flex items-center justify-center" href="/" aria-current> <i class="inline-block w-[24px] h-auto"> <img src="C:\Users\vincm\OneDrive\Desktop\Vincenzo\Lavoro\NPM\light-release\assets\logo.png" width="60"> </i> </a> <h2 class="font-semibold tracking-[-0.025em] text-[48px] leading-[1.375em]"> light-release </h2> </div> </div> </section> <section class="pb-[80px] pt-[80px]"> <div class="mt-[0] mr-[auto] mb-[0] ml-[auto] pt-[0] pr-[32px] pb-[0] pl-[32px] md:pr-[24px] md:pl-[24px] max-w-[1024px]"> <div> <div> <h1 class="font-semibold tracking-[-0.025em] text-[48px] leading-[1.375em]"> Release 2.9.1 </h1> <p class="text-[20px] text-[color:var(--64ddf9af7c9a7)]">Release note for version 2.9.1</p> <p class="text-[20px] text-[color:var(--64ddf9af7c9a7)]">May 16, 2025</p> <div class="mt-[40px]"> <div class="flex items" style="gap: 10px;"> <div class="flex items-center gap-[10px]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%" class="inline-block"/> </div> <div class="flex items-center gap-[10px]"> <img src="https://avatars.githubusercontent.com/Vincenzo Manto" width="30" style="border-radius:50%" class="inline-block"/> </div> </div> </div> <div class="ml-[8px] border-l-[1px] space-y-[120px] mt-[72px] md:border-l-[0px] md:ml-[0px] md:space-y-[0px] md:divide-y-[1px] border-[color:var(--64ddf9af7c88e)] md:divide-[color:var(--64ddf9af7c88e)]"> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> fix: enhance getLastCommit function to accurately identify the last commit that modified the package.json version - #19 </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> test: update getLastCommit tests and fix expected version in lightRelease tests </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> fix: update devDependencies to replace chai with expect.js in package.json </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> fix: add devDependencies section for chai in package.json </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> fix: improve getLastCommit function to accurately retrieve the last commit affecting package.json version </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">May 8, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> fix: enhance getLastCommit function to retrieve commit hash based on version changes in package.json - #19 </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">April 1, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo Manto" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo Manto">@Vincenzo Manto</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-low-green?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> Merge pull request #18 from VincenzoManto/feature/2025-03-30Feature/2025 03 30 </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">March 30, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo">@Vincenzo</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-medium-yellow?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> docs: add instructions for setting OpenAI API key as an environment variable in README </p> </div> </div> <div class="flex items-start ml-[-12px] md:flex-col md:gap-[32px] md:ml-[0px] md:pb-[32px] md:pt-[32px]" data-animation-scroll-into-view="vrmnyy8z0" data-associated-animation-ids-for-scroll-into-view="tyxaiyxv7,12sujrt9r" data-animation-id-vrmnyy8z0> <div class="w-[100%] max-w-[300px] sticky top-[20px] md:max-w-[100%] md:static"> <div class="flex items-start gap-[10px]"> <div class="rounded-[9999px] pt-[5px] pr-[5px] pb-[5px] pl-[5px] border-[white] border-[4px] md:hidden bg-[color:var(--64ddf9af7c88e)] border-[color:var(--64ddf9af953be)]"> <div class="rounded-[9999px] block w-[6px] h-[6px] bg-[color:var(--64ddf9af9798f)]"></div> </div> <div class="flex flex-col items-start"> <span class="text-[16px] text-[color:var(--64ddf9af7c9a7)]">March 3, 2025</span> <h4 class="text-[24px] font-semibold tracking-[-0.025em]"> <img src="https://avatars.githubusercontent.com/Vincenzo Manto" width="30" style="border-radius:50%; margin: 10px" class="inline-block"/><a href="https://github.com/Vincenzo Manto">@Vincenzo Manto</a> </h4> <div class="inline-block"> <span> <img src="https://img.shields.io/badge/impact-low-green?style=flat-square" alt="impact badge" class="rounded-[6px]"/> </span></div> </div> </div> </div> <div class="flex-1"> <div class="transform relative mb-[20px]"> <!--img class="w-[auto] h-[auto] max-w-[100%] rounded-[12px]" src=""--> <div class="absolute top-[0px] right-[0px] bottom-[0px] left-[0px] pointer-events-none border-[1px] border-[black] border-opacity-[15%] rounded-[12px]"></div> </div> <p class="text-[16px] font-normal leading-[1.8em] text-[color:var(--64ddf9af7ca7e)]"> Merge pull request #16 from VincenzoManto/feature/2025-02-28Feature/2025 02 28 </p> </div> </div> </div> </div> </div> </div> </section> <section class="bg-[white] pt-[20px] pb-[20px] bg-[color:var(--64ddf9af953be)]"> <div class="mt-[0] mr-[auto] mb-[0] ml-[auto] pt-[0] pr-[32px] pb-[0] pl-[32px] md:pr-[24px] md:pl-[24px] max-w-[1024px]"> <div class="pt-[64px] pr-[64px] pb-[64px] pl-[64px] md:grid-cols-1 sm:pt-[40px] sm:pr-[40px] sm:pb-[40px] sm:pl-[40px] rounded-[16px] grid grid-cols-2 items-center gap-[12px] bg-[#dbeafe] bg-opacity-[30%]"> <div> <h4 class="tracking-[-0.025em] font-semibold leading-[1.375em] text-[24px]"> Sign up for updates </h4> <p class="text-[18px] text-[color:var(--64ddf9af7c9a7)]">Get notified when we release new features.</p> </div> </div> </div> </section> <footer class="pb-[80px] pt-[80px] bg-[white] bg-[color:var(--64ddf9af953be)]"> <div class="max-w-[80rem] mt-[0] mr-[auto] mb-[0] ml-[auto] pt-[0] pr-[32px] pb-[0] pl-[32px] md:pr-[24px] md:pl-[24px] xl:pr-[40px] xl:pl-[40px]"> <span class="text-[12px] block text-center sm:text-center text-[black] text-opacity-[50%]">© Generated with Light-Release</span> </div> </footer> </div> </div>