|
| 1 | +--- |
| 2 | +type: project |
| 3 | +title: Astro Starter Template |
| 4 | +repositoryUrl: https://github.com/ansidev/astro-starter-template |
| 5 | +showcaseUrl: https://astro-basic-template-asd.netlify.app/ |
| 6 | +license: MIT |
| 7 | +licenseUrl: https://github.com/ansidev/astro-starter-template/blob/main/LICENSE |
| 8 | +techs: |
| 9 | + - Astro |
| 10 | + - TypeScript |
| 11 | + - GitHub Actions |
| 12 | + - Netlify |
| 13 | + - Taskfile |
| 14 | +developmentStatus: active |
| 15 | +date: 2023-02-22T22:14:00+07:00 |
| 16 | +author: ansidev |
| 17 | +gravatar: a2ac3c4477e717c7fa15041d907e71fd |
| 18 | +twitter: "@ansidev" |
| 19 | +--- |
| 20 | + |
| 21 | +This is a starter template for the new Astro project which is created by ansidev. |
| 22 | + |
| 23 | +<!-- more --> |
| 24 | + |
| 25 | +## Story |
| 26 | + |
| 27 | +I usually initiate new Astro projects using the official Astro Basic template. However, it is not pre-configured. Therefore, I've built my own one: https://github.com/ansidev/astro-basic-template. |
| 28 | + |
| 29 | +## Versions |
| 30 | + |
| 31 | +- Version 1: |
| 32 | + |
| 33 | + **Features** |
| 34 | + - [Astro](https://astro.build) v2, disabled Astro Telemetry. |
| 35 | + - [Astro Compress](https://github.com/astro-community/astro-compress) - Compress output HTML, CSS, JS, image. |
| 36 | + - [Astro PurgeCSS](https://github.com/codiume/orbit/tree/main/packages/astro-purgecss) - Remove unused CSS from build output. |
| 37 | + - Automate releasing new versions using [GitHub Actions](https://github.com/features/actions) and following the [`git-flow`](https://nvie.com/posts/a-successful-git-branching-model/) branching model. |
| 38 | + - Automate [Netlify](https://netlify.com/) deployment, support GitHub deploy environment. [Go to section](#github-deploy-environment). |
| 39 | + - Automate rebasing PR branch via PR comment: `/rebase`, `/autosquash`, `/rebase-autosquash`. |
| 40 | + |
| 41 | + **Development features** |
| 42 | + |
| 43 | + - Node package manager: [PNPM](https://pnpm.io/). |
| 44 | + - [Conventional commit](https://conventionalcommits.org/). |
| 45 | + - [ESLint](https://eslint.org) - Static code analyzer. |
| 46 | + - [Prettier](https://prettier.io) - Code formatter. |
| 47 | + - [Renovate](https://www.mend.io/free-developer-tools/renovate/) - Automate dependency updates. |
| 48 | + - [changie](https://changie.dev), [git-chglog](https://github.com/git-chglog/git-chglog) - Generate changelog from conventional commits. |
| 49 | + - [taskfile](https://github.com/ansidev/taskfile) - Task files for common tasks. |
| 50 | + |
| 51 | + **Release notes**: [v2.0.0](https://github.com/ansidev/leetcode-blog/releases/tag/v2.0.0). |
| 52 | + |
| 53 | +## Conclusion |
| 54 | + |
| 55 | +Please take a look at it and leave feedback for me. If there is any issue or feature request, feel free to create a new GitHub issue. |
| 56 | + |
| 57 | +It would be great if you also give my project a GitHub star. |
| 58 | + |
| 59 | +If you find this project and my other projects useful to you, consider donating to me at: |
| 60 | + |
| 61 | +- [Paypal](https://paypal.me/ansidev) |
| 62 | +- [Ko-fi](https://ko-fi.com/ansidev) |
| 63 | +- [Buy me a coffee](https://buymeacoffee.com/ansidev) |
| 64 | +- [Momo](https://me.momo.vn/ansidev) |
0 commit comments