This is a template for creating a Typescript bundle. It is based on the Typescript compiler with the Tsup bundler.
- Typescript
- Tsup
- ESLint with Antfu's ESLint Config
- Bumpp github changelog generator
- Vitest
- Pnpm
- GitHub Actions
- NPM Local Registry
- Renovate
- To use this template, click the "Use this template" button above.
- Clone the repository to your local machine.
- Run
pnpm install
to install the dependencies. - Run
pnpm build
to build the bundle. - Run
pnpm start
to start the bundle. - Run
pnpm lint
to lint the code. (You can also runpnpm lint:fix
to fix the linting errors.) - Run
pnpm test
to run the tests. (You can also runpnpm test:watch
to run the tests in watch mode.) - Run
pnpm release
to bump the version. Terminal will ask you to select the version type. And then it will automatically commit and push the changes. GitHub Actions will automatically publish git tags. NPM local registry will automatically publish the package.
Setup Github App for Renovate.
(tsconfig.json)[https://github.com/tsconfig/bases/tree/main/bases] is used as the base config for the Typescript compiler.
This project is licensed under the MIT License.