Template repository “proto-package”
1 min readFeb 26, 2023
Proto-package is a template repository for NPM packages in TypeScript. The template includes the following coding tools:
- Jest — for testing
- Eslint — for code linting
- Prettier — the code formatter to keep the coding style consistent
All tools mentioned above support TS. TypeScript configuration is based on tsconfig/node-lts-strictest.
To aid development and release processes, the following workflows and tools were added:
- NodeJS — workflow to lint, test, and build the code
- Dependabot — to keep project dependencies updated. Dependabot is configured to merge the patch and minor changes automatically.
- Semantic-release —for code versioning. Semantic-release is configured for publishing packages to NPM and generating new releases in GitHub.
- Lint PR — the workflow to validate the PR comments matching semantic commit style. Based on action-semantic-pull-request GitHub action.
Thanks for reading, and I hope you will find the “proto-package” template helpful.