Dev Environment
Automate dev environment setup: pin Node.js version with .nvmrc/Volta, create .env.example with documented variables, configure shared VSCode settings and recommended extensions, and add Dev Container support.
.nvmrc / Volta
Pin Node.js version — ensures all developers use the same Node.js version.
- ID:
nvmrc - Category: DX
What it does
- Creates
.nvmrcwith the current Node.js major version - Works with nvm, fnm, Volta, and other version managers
.env.example
Document environment variables — provides a template for required env vars.
- ID:
dotenv - Category: DX
What it does
- Creates
.env.examplewith common variables - Adds
.envand.env.localto.gitignore
VSCode Settings
Shared editor configuration — configures VSCode extensions and settings for the team.
- ID:
vscode - Category: DX
What it does
- Creates
.vscode/settings.jsonwith format-on-save, ESLint/Prettier integration - Creates
.vscode/extensions.jsonwith recommended extensions for the stack
Dev Container
VS Code Dev Container — containerized development environment.
- ID:
devcontainer - Category: DX
What it does
- Creates
.devcontainer/devcontainer.json - Configures Node.js version, extensions, and port forwarding
Makefile
Developer shortcuts — common tasks as make targets.
- ID:
makefile - Category: DX
What it does
Creates a Makefile with targets:
.PHONY: dev build test lint format clean
dev:
npm run dev
build:
npm run build
test:
npm test
lint:
npm run lint
format:
npm run format
clean:
rm -rf dist node_modulesSecurity
Automatically add npm audit, Gitleaks secret scanning, Trivy vulnerability scanner, and OSV-Scanner to your Node.js project and CI pipeline. Prevent committing secrets and vulnerable dependencies.
Docker
Add a production-ready multi-stage Dockerfile, docker-compose.yml, and .dockerignore to any Node.js project automatically. Configs adapt to your package manager (npm, pnpm, yarn, bun).