@aapzu/npm-package-template
v1.0.0
Published
A template for creating npm packages with TypeScript
Readme
@aapzu/npm-package-template
Development
Running
The template app can be run using tsx.
pnpm startBuilding
The template uses tsup for builds.
pnpm buildLinting
The template has eslint & prettier setup with pre-commit hooks implemented with husky & lint-staged
pnpm lintTesting
The template is using Vitest for testing. Run tests with
pnpm testPublishing
Prequisites
PNPM_TOKENhas been added into secrets inhttps://github.com/<account>/<repo>/settings/secrets/actions
Steps
To publish, first commit your changes and then run
pnpm version [major|minor|patch]
pnpm push --follow-tags