mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
chore: Devcontainer upgrade to Ubuntu Noble & Node 22 (#10770)
This commit is contained in:
parent
43795fcabb
commit
56ccf19063
1 changed files with 24 additions and 20 deletions
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue