Template for NodeJS module development with Typescript inside a VSCode Docker Container.
-
VS Code Docker Extension (optional)
- Click Use this template
- Select Create a new repository
- Check the .devcontainer/docker-compose.yml file to disable unwanted services.
- Create the .devcontainer/.env file from .env-defaults (update the HOST_PREFIX value!).
- Update the package.json file. Set the package name and description.
- Run the Remote-Containers: Reopen in Container... command from the Command Palette (F1) or quick actions Status bar item.
- Install the dependencies.
- Run the Remote-Containers: Reopen Locally... command from the Command Palette (F1) or quick actions Status bar item.
The container includes NodeJS (check .env to change version), with pnpn and Yarn installed globally.
- Typescript
- Typedoc for generating documentation from the ts source files.
- Jest with ts-jest for testing.
- ESLint for static code analysis.
- MSSQL
- Postgres (with pgAdmin)
- MySQL (with phpMyAdmin)
- MariaDB (with phpMyAdmin)