NOTE: You are welcome to ask any questions if anything is unclear. Also feel free to post a discussion
Requires Node.js LTS (v20 or later) and pnpm v8 or higher
TypeScript
pnpm
package managervitest
test runnerCommonJS
andESM
supportBiome
for linting and formatting- CI with GitHub Actions
- Publish to
npm
registry, GitHub Packages, Docker Hub and GitHub Container Registry withpnpm
(seepublish.yml
)
git clone https://github.com/o-az/template-ts.git && cd template-ts
pnpm install
cp .env.example .env
pnpm dev
pnpm test
pnpm build && pnpm start
node --import=tsx path/to/file.ts
This will trigger publish workflow in GitHub Actions
pnpm release