diff options
| author | seth <[email protected]> | 2023-05-20 03:49:48 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-05-20 03:49:48 -0400 |
| commit | e7172eda90c9dd2032bfd362c7b38ae80d70da39 (patch) | |
| tree | cb7fee870d063bacdc986eb27acb44b0a961e816 | |
| parent | ba62feafbad98eb00c6af0a9b44c79c8c0af4712 (diff) | |
add devcontainer
| -rw-r--r-- | .devcontainer/devcontainer.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..7ec99b2 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,39 @@ +{ + "image": "ghcr.io/cachix/devenv:latest", + "waitFor": "onCreateCommand", + + "updateContentCommand": "pnpm install", + "postCreateCommand": "", + "postAttachCommand": { + "serve": "pnpm dev" + }, + + "customizations": { + "vscode": { + "extensions": [ + "astro-build.astro-vscode", + "mkhl.direnv", + "editorconfig.editorconfig", + "dbaeumer.vscode-eslint", + "github.vscode-github-actions", + "me-dutour-mathieu.vscode-github-actions", + "ecmel.vscode-html-css", + "ms-vscode.vscode-typescript-next", + "bierner.lit-html", + "esbenp.prettier-vscode", + "rvest.vs-code-prettier-eslint", + "syler.sass-indented", + "bradlc.vscode-tailwindcss" + ] + } + }, + + "portsAttributes": { + "3000": { + "label": "website", + "onAutoForward": "openPreview" + } + }, + + "forwardPorts": [3000] +} |
