feat(.devcontainer): basic codespaces config (#48484)

Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Shaun Hamilton
2023-03-06 20:49:35 +05:30
committed by GitHub
co-authored by Mrugesh Mohapatra
parent 0a7b769b40
commit 1ba31f0833
4 changed files with 84 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{
"context": "../..",
"customizations": {
"codespaces": {
"openFiles": ["docs/how-to-work-on-the-docs-theme.md"]
},
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"freeCodeCamp.freecodecamp-dark-vscode-theme"
]
}
},
"dockerFile": "Dockerfile",
"forwardPorts": [3400],
"portsAttributes": {
"3400": {
"label": "Docs",
"onAutoForward": "openPreview"
}
},
"postAttachCommand": "npm run docs:serve"
}