This is a template for creating a Typescript bundle. It is based on the Typescript compiler with the Vite bundler.
- Typescript
- Vite
- Vue
- Vue Macros
- 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
build:watch
to build the bundle in watch mode. - Run
pnpm play
to playground dev mode. - 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.
- Update the
README.md
file. - Update the
LICENSE
file. - Update the
package.json
file. (name,version, description, author, repository, bugs, homepage, funding, keywords) - playground/src/App.vue - update package name
vue-bundle-template
- playground/package.json - in change the package name
vue-bundle-template
This project is licensed under the MIT License.