{"repo":"AkashRajpurohit/ts-npm-template","free":true,"listed":false,"github":"https://github.com/AkashRajpurohit/ts-npm-template","clone":"git clone https://github.com/AkashRajpurohit/ts-npm-template.git","description":"📦 A project template to bootstrap NPM package with Typescript","language":"TypeScript","stars":31,"topics":["boilerplate-template","npm-package","semantic-release","template","typescript-library","vitest"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"🫡 @akashrajpurohit/ts-npm-template A project template to bootstrap NPM package with Typescript Bug report · Feature request · Read Docs @akashrajpurohit/ts-npm-template is a opinionated bootstrap template to create NPM packages. Read more about the template and how it works in this guide. Usage 💻 Click on the \"Use this template\" button from the options to create a new repository using this template. This will create a new repository with the same structure as this repository. That is pretty much it, follow the configuration steps for setting up your package and its done 🎉 Technology stack 🚀 - 🙏🏾 Typescript with tsup build tool. - ⚡️ Vitest - Unit Test Framework - 📦 Changesets - A way to manage your versioning and changelogs. - 📖 Typedoc - Generate documentation of your package. - 🔀 Github Actions - CI pipelines - 💪 PNPM - Package manager Configurations ⚙️ Github Actions In order for changesets to be able to create pull requests, you need to allow it to create and approve pull requests. You can find these settings under the repository settings in the \"Actions\" tab. Release to NPM Few configurations are required for making the publishing and releasing to NPM automated. First thing is to generate a NPM token. Automation tokens are recommended since they can be used for an automated workflow, even when your account is configured to use the auth-and-writes level of 2FA. Save this token as NPM TOKEN in github actions secrets. Code coverage badge If you want to generate a ","default_branch":null,"files":null,"tree":[],"storefront":"/r/AkashRajpurohit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AkashRajpurohit/ts-npm-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}