Dev Environment
Automate the developer environment: pin the Node.js version with .nvmrc, generate .env.example, configure VSCode and add a Dev Container.
.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_modules