🚢 Publishing a TypeScript package

Scaffold

  • Use create-typescript-app with the recommended config and add the required tokens.

  • The first successful commit automatically creates 0.0.1.

Releasing

  • The scaffolded package uses release-it with a custom config to automatically create a new release when you write a conventional commit.

  • Commits starting with:

    • fix: are the equivalent of PATCH (0.0.1)

    • feat: are the equivalent of MINOR (0.1.0)