Repository navigation
Expand file tree
/
Copy pathdevcontainer.json
More file actions
49 lines (44 loc) · 1.66 KB
/
Copy pathdevcontainer.json
File metadata and controls
49 lines (44 loc) · 1.66 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
{
"name": "Solid Memo",
// The image's own version, then Node's: Node 24, as CI runs (.nvmrc) and
// engines asks for. The digest fixes the image; Renovate keeps it up to
// date on Node 24 (renovate.json5). Turbo is the root devDependency, run
// through npm's scripts or npx.
"image": "mcr.microsoft.com/devcontainers/typescript-node:5.2.3-24-bookworm@sha256:970eebf5b82d3800bdd9f46680e1c4c664d365d18603148540788356700ce301",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
// Docker for the end-to-end tests' servers (`npm run test:pod`, `npm
// run journeys`), which ask for Docker Engine 28.3.3 or later
// (docs/testing.md).
"ghcr.io/devcontainers/features/docker-in-docker:4": {},
// Python for pySHACL's cross-check (`npm run crosscheck`), the version
// CI runs it on.
"ghcr.io/devcontainers/features/python:1": {
"version": "3.15"
}
},
"customizations": {
"vscode": {
// As .vscode/extensions.json recommends.
"extensions": [
"anthropic.claude-code",
"biomejs.biome",
"vitest.explorer",
"typescriptteam.native-preview",
"stardog-union.stardog-rdf-grammars"
],
"settings": {
"editor.formatOnSave": false
}
}
},
"forwardPorts": [
4173,
5173
],
// Chromium for the user journeys (`npm run journeys`), and for the docs'
// diagrams that `npm run check` and `npm run build` draw: the full browser
// it installs includes the headless shell `npm run browsers` would.
"postCreateCommand": "npm ci && pip install -r scripts/requirements-ci.txt && npm run browsers -w @solid-memo/e2e-journeys",
"remoteUser": "node"
}