mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
7da05febea
* Enhanced Astro codespace support Enhances the base devcontainer and Dockerfile to provide a smoother development experience out of the box for contributors. Adds a devcontainer per example so that we can add buttons on astro.new that will launch users straight into the appropriate example app. * Cleanup devcontainers and pin base image * Update .devcontainer/example-welcome-message.txt Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com> --------- Co-authored-by: Samruddhi Khandale <skhandale@microsoft.com>
27 lines
No EOL
547 B
JSON
27 lines
No EOL
547 B
JSON
{
|
|
"name": "Astro Examples",
|
|
"build": {
|
|
"dockerfile": "../examples.Dockerfile"
|
|
},
|
|
|
|
"workspaceFolder": "/workspaces/astro/examples/integration",
|
|
|
|
"postCreateCommand": "pnpm install && cd /workspaces/astro && pnpm run build",
|
|
|
|
"waitFor": "postCreateCommand",
|
|
|
|
"customizations": {
|
|
"codespaces": {
|
|
"openFiles": [
|
|
"index.ts"
|
|
]
|
|
},
|
|
"vscode": {
|
|
"extensions": [
|
|
"astro-build.astro-vscode",
|
|
"esbenp.prettier-vscode"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
|