A set of simple Typescript examples.
NOTE: This repo has switched to conventional commits. It requires pre-commit
and commitizen
to help with controlling this.
# install pre-commmit (prerequisite for commitizen)
brew install pre-commit
brew install commitizen
# conventional commits extension
code --install-extension vivaxy.vscode-conventional-commits
# install hooks
pre-commit install --install-hooks --overwrite --config .pre-commit-config.yaml
- README
- Conventional Commits
- Contents
- Snippets
- Troubleshooting
- Github Actions
- NX
- Upgrading
- 00 - Project templates using hygen
- 01 - Basic cmdline
- 02 - Templating
- 03 - Testing
- 05 - Promises
- 06 - Dockerise Browser based Typescript
- 08 - Use pino logger in typescript
- 09 - Publish npm package for use as npx
- 11 - Simple swagger typescript
- 12 - Buildpack
- 13 - Echo Service using TSOA
- 15 - Demoscene Banner
- 16 - OpenTelemetry Honeycomb
- 17 - Redis
- 20 - Hygen Templates
- 21 - JSON Schema
- 23 - Faking json data
- 24 - Packages
- 26 - Job Server
- 27 - quokka
- 28 - container debugging
- 29 - container debugging for express
- 30 - dockerignore filter commit
- 32 - scripting AWS
- Resources
Useful snippets to help
If having trouble with nvm use
with xcode crashing with exceptions.
xcodebuild -runFirstLaunch
Actions help .github/ACTIONS.md
NX help 00_nx/README.md
If we're upgrading NPM packages there's some advice in UPGRADING.md
Example hygen
templates to speed up project creation.
README.md
Demonstrates a simple cmdline application (copy these steps)
README.md
Demonstrates how to use typescript to template a file
README.md
Demonstrates how to test typescript code (including debugging)
README.md
Demonstrates how to use promises
README.md
Demonstrate how to build a docker container containing typescript transpiled application
README.md
Demonstrates how to use pino logger in typescript
README.md
Demonstrates how to package a typescript tool to npm to be run as npx
README.md
Demonstrates a simple swagger interface
README.md
Demonstrates a simple cmdline application packaged in a buildpack
README.md
Demonstrates a simple echo service using TSOA
README.md
Demonstrate creating a ascii banner from an old demoscene font.
README.md
Demonstrate using opentelemetry with a simple cli tool
README.md
Demonstrate how to connect and use Redis
from typescript
README.md
Demonstrate how to use hygen
as a template.
README.md
Demonstrate how to work JSONSchema
to validate and generate types.
README.md
Demonstrates generating fake json data.
README.md
Demonstrate some examples of how to develop and use custom packages.
README.md
Demonstrates building a job monitor in an express server.
README.md
Demonstrate some quokka
examples
README.md
Demonstrate how to debug typescript applications in the container.
README.md
Demonstrate how to debug typescript express
applications in the container.
README.md
Demonstrate checking if a commit should trigger docker build
README.md
Demonstrate examples of using TS as a language for scripting against AWS.
README.md