Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Development Container

This folder contains the [Dev Container](https://containers.dev/) configuration for
contributing to **AI Engineering Coach**. It provides a one-click, reproducible
development environment for the VS Code extension.

## What you get

- Node.js 22 (LTS) on Debian Bookworm
- `npm install` runs automatically after the container is created
- GitHub CLI (`gh`) preinstalled
- Recommended VS Code extensions preinstalled:
- ESLint (`dbaeumer.vscode-eslint`)
- TypeScript Next (`ms-vscode.vscode-typescript-next`)
- Vitest Explorer (`vitest.explorer`)
- Code Spell Checker (`streetsidesoftware.code-spell-checker`)
- Playwright Test (`ms-playwright.playwright`)

## How to use it

### GitHub Codespaces
Open this repository on GitHub and choose **Code → Codespaces → Create codespace
on main**. The container will build and dependencies will install automatically.

### VS Code (Dev Containers extension)
1. Install the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
extension.
2. Open the cloned repository in VS Code.
3. Run **Dev Containers: Reopen in Container** from the Command Palette.

Once the container is ready, run `npm run check` to verify your setup (typecheck,
lint, spellcheck, knip, and tests).
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "AI Engineering Coach",
"image": "mcr.microsoft.com/devcontainers/typescript-node:22-bookworm",
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
"postCreateCommand": "npm install",
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-next",
"vitest.explorer",
"streetsidesoftware.code-spell-checker",
"ms-playwright.playwright"
],
"settings": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"typescript.tsdk": "node_modules/typescript/lib"
}
}
},
"remoteUser": "node"
}
Loading