https://github.com/clouedoc/typescript-boilerplate
Camille's scraping boilerplate
https://github.com/clouedoc/typescript-boilerplate
cookiecutter-template cookiecutter-typescript typescript
Last synced: 7 months ago
JSON representation
Camille's scraping boilerplate
- Host: GitHub
- URL: https://github.com/clouedoc/typescript-boilerplate
- Owner: clouedoc
- Created: 2022-06-16T03:11:13.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-01T20:25:13.000Z (almost 3 years ago)
- Last Synced: 2024-05-02T02:56:08.894Z (over 1 year ago)
- Topics: cookiecutter-template, cookiecutter-typescript, typescript
- Language: Jinja
- Homepage:
- Size: 99.6 KB
- Stars: 12
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Camille's TypeScript Boilerplate 🥘
This is the TypeScript base code that I use for all my open-source and private projects.---
I aim to update this boilerplate when I integrate new tools in my workflow.
If you are looking for my older boilerplate template, you can find it [here](https://github.com/clouedoc/typescript-boilerplate-old).
## Features
- Parse your environment variables with [Zod](https://github.com/colinhacks/zod)
- Collect and extract metrics from your logs using [Loki](https://github.com/grafana/loki/)
- Update your packages with [ncu](https://github.com/raineorshine/npm-check-updates)
- Build a beautiful CLI UX with [oclif](https://github.com/oclif/oclif) CLI
- Build reusable [Docker](https://www.docker.com/) images
- Puppeteer-ready image integrated
- ... and a lightweight Node-based one is included too.
- containerized development thanks to DevContainers
- CI with [GitHub Actions](https://docs.github.com/en/actions)
- CD with Kubernetes and ArgoCD
- Package patching thanks to [patch-package](https://github.com/ds300/patch-package)
- Witty ESLint configuration to keep your code clean
- Stay in the loop thanks to smart template updates## Usage
```bash
pip install pipx && pipx ensurepath && . ~/.bashrc # pipx installation
pipx install copier # copier installationcopier gh:clouedoc/typescript-boilerplate-evolved your_new_project
cd your_new_project
yarn install && yarn build
yarn dev # all good, start programming now!
```### Fetching updates
To apply the latest version of this boilerplate to your project, run the following commands:
```bash
git status # should be clean
copier update # this will fetch the latest release
# If you want to stay on the edge:
# copier update --vcs-ref=HEAD
```**Do not manually edit the .copier-answers.yml file. This will confuse Copier's update algorithm.**
You may find `*.ref` files that you need to resolve manually.
## License
This code is released under the MIT License
## Contributing
Contributions are what make the open source community such an amazing place to be, learn, inspire, and create. Any contributions you make are greatly appreciated!
## References
- [Jinja templates reference](https://jinja.palletsprojects.com/en/3.1.x/templates/#list-of-control-structures)
- [Copier documentation](https://copier.readthedocs.io/en/stable/)