Skip to content

s8wa2/typed-npm-package-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM package template

  • 📝 Fully typed
  • 🚀 TS bundled using tsup
  • ✅ Strict type checking with tsc (no-emit)
  • 🛠️ Easy CI/CD with github actions
  • 📦 Automatic deployment to npm
  • 🏷️ Easy versioning with changeset
  • ⚡ Performance gains thanks to pnpm
  • 🌟 Inspired by @mattpocock and his example repo

Requirements

Usage

  1. Add a repository secret named NPM_TOKEN and set it to your npm access token
  2. Check the Allow GitHub Actions to create and approve pull requests box in repository settings, actions/general category
  3. Make some changes
  4. Run pnpm changeset and describe your changes
  5. Commit and push your changes
  6. Approve the pull request github actions made
  7. If actions succeed, check npm for published package

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published