Skip to content

Commit 7684767

Browse files
committed
chore: add GitHub CLI to devcontainer
1 parent 622c725 commit 7684767

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
66
"image": "mcr.microsoft.com/devcontainers/javascript-node:4-24-trixie",
77
"features": {
8+
"ghcr.io/devcontainers/features/github-cli:1": {},
89
"ghcr.io/devcontainers-extra/features/npm-package:1": {}
910
},
1011

MEMORY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ This file stores durable project context so future conversations can resume work
2323
- Dev container config: `.devcontainer/devcontainer.json`
2424
- Devcontainer bootstrap script: `.devcontainer/post-create.sh`
2525
- Devcontainer automation runs `.devcontainer/post-create.sh` from `postCreateCommand` to install project dependencies after container creation/rebuild
26+
- The devcontainer installs GitHub CLI through the `ghcr.io/devcontainers/features/github-cli:1` feature; `gh` still requires `gh auth login` or `GH_TOKEN` for GitHub API/Actions commands
2627
- The build toolchain runs on Node 24 with Astro 6
2728
- `npm audit` is currently clean after adding a targeted `yaml` override for the Astro check toolchain
2829

@@ -58,7 +59,7 @@ This file stores durable project context so future conversations can resume work
5859
- Client behavior for catalog search/filter/sort is implemented in `src/scripts/hub.ts`
5960
- Styles are authored in `src/styles/global.css`
6061
- Public static assets live under `public/`
61-
- Local containerized development is configured to install Node, npm, and `jq`; Nushell is no longer required for catalog refresh
62+
- Local containerized development is configured to install Node, npm, `gh`, and `jq`; Nushell is no longer required for catalog refresh
6263
- The devcontainer also runs `npm ci` automatically, so rebuilds recreate `node_modules` without manual setup
6364
- Optimized legacy screenshots were moved into `public/assets/img/themes/`
6465
- Project-facing text should be written in English by default; chat replies should mirror the user's language

0 commit comments

Comments
 (0)