GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — t3code/.devcontainer/devcontainer.json at main · SunkenInTime/t3code Expand file tree/ Copy pathdevcontainer.jsonMore file actions 73 lines (73 loc) · 2.76 KB / Copy pathdevcontainer.jsonFile metadata and controls73 lines (73 loc) · 2.76 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 // Dev container for T3 Code. Mirrors CI (ubuntu-24.04, Node 26, Rust stable) // and the canonical setup in docs/operations/development.md: global `vp`, `vp i`. // Contributor doc: docs/internals/devcontainer.md { "name": "T3 Code", "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", "features": { // nodeGypDependencies (default true) brings python3/make/g++, which Linux // needs for node-pty's node-gyp fallback (its prebuilds are mac/win only). "ghcr.io/devcontainers/features/node:2": { "version": "26" }, // native/resource-monitor (edition 2024, needs stable >= 1.85). The server // degrades gracefully without the binary, but CI checks cargo fmt + test. "ghcr.io/devcontainers/features/rust:1": {}, "ghcr.io/devcontainers/features/github-cli:1": {} }, "hostRequirements": { "cpus": 4, "memory": "8gb", "storage": "32gb" }, "containerEnv": { // Keep all runtime state inside the (gitignored) workspace .t3, matching // the worktree default. An explicit --home-dir still wins. "T3CODE_HOME": "${containerWorkspaceFolder}/.t3" }, "mounts": [ // vp keeps the pnpm content-addressable store and metadata cache under // ~/.cache/pnpm (verified: the v11 store dir lives there); mounting a // volume there lets installs survive container rebuilds. "source=t3code-pnpm-store,target=/home/vscode/.cache/pnpm,type=volume", // Root node_modules holds the whole pnpm virtual store (.pnpm), so one // volume keeps the heavy tree off the slow macOS/Windows bind mount. // Scoped by devcontainerId so parallel checkouts do not share it. // Codespaces note: prebuild snapshots exclude volumes; drop these mounts // if prebuilt codespaces become the primary workflow. "source=t3code-node-modules-${devcontainerId},target=${containerWorkspaceFolder}/node_modules,type=volume" ], "onCreateCommand": "bash .devcontainer/on-create.sh", "updateContentCommand": "bash .devcontainer/update-content.sh", "forwardPorts": [5733, 13773], "portsAttributes": { "5733": { "label": "t3 web (open via the pairing URL, not the bare origin)", "onAutoForward": "notify" }, "13773": { "label": "t3 server", "onAutoForward": "silent" } }, "customizations": { "codespaces": { "openFiles": ["docs/internals/devcontainer.md"] }, "vscode": { "extensions": ["oxc.oxc-vscode", "rust-lang.rust-analyzer"], "settings": { // .repos is a large vendored read-only reference tree; watching it // burns CPU and file handles. "files.watcherExclude": { "**/.repos/**": true, "**/.t3/**": true }, "search.exclude": { "**/.repos": true } } } }, "remoteUser": "vscode" } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |