chore: Devcontainer upgrade to Ubuntu Noble & Node 22 (#10770)

This commit is contained in:
Zed Spencer-Milnes 2024-12-30 10:13:01 +00:00 committed by GitHub
parent 43795fcabb
commit 56ccf19063
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,7 @@
{ {
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04", "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"customizations": {
"vscode": {
"settings": { "settings": {
"[typescript]": { "[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.defaultFormatter": "esbenp.prettier-vscode",
@ -19,14 +21,16 @@
"orta.vscode-jest", "orta.vscode-jest",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker" "streetsidesoftware.code-spell-checker"
], ]
}
},
"forwardPorts": [3000], "forwardPorts": [3000],
"containerUser": "vscode", "containerUser": "vscode",
"postCreateCommand": "yarn install", "postCreateCommand": "yarn install",
"waitFor": "postCreateCommand", // otherwise automated jest tests fail "waitFor": "postCreateCommand", // otherwise automated jest tests fail
"features": { "features": {
"node": { "node": {
"version": "18" "version": "22"
}, },
"github-cli": "latest" "github-cli": "latest"
} }