diff options
| author | ST-DDT <[email protected]> | 2023-01-17 22:07:47 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-01-17 21:07:47 +0000 |
| commit | cc0b034bac165363c3e77977c7e01a5ef9d508b9 (patch) | |
| tree | 478a10bfc30053613bba66d753aff2a30e2fae0b /.devcontainer/devcontainer.json | |
| parent | d7c1718fbd147eb9da69153dc5c5177f82a54010 (diff) | |
| download | faker-cc0b034bac165363c3e77977c7e01a5ef9d508b9.tar.xz faker-cc0b034bac165363c3e77977c7e01a5ef9d508b9.zip | |
infra: setup dev-container (#1652)
Diffstat (limited to '.devcontainer/devcontainer.json')
| -rw-r--r-- | .devcontainer/devcontainer.json | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..b03aff9a --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,36 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node +{ + "name": "FakerJs", + "image": "mcr.microsoft.com/devcontainers/typescript-node:0-18", + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + "forwardPorts": [5173], + "portsAttributes": { + "5173": { + "label": "Docs" + } + }, + + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "npm install -g pnpm && pnpm install", + + // Configure tool-specific properties. + "customizations": { + "vscode": { + "extensions": [ + "dbaeumer.vscode-eslint", + "editorconfig.editorconfig", + "esbenp.prettier-vscode", + "redhat.vscode-yaml", + "github.vscode-pull-request-github" + ] + } + } + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} |
