Skip to content

Commit

Permalink
[skip ci] add dev container config
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Jul 28, 2023
1 parent cbcd175 commit b0593fc
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "blockscout dev",
"image": "mcr.microsoft.com/devcontainers/typescript-node:18",
"forwardPorts": [ 3000 ],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/bin/zsh"
}
}
},
"extensions": [
"streetsidesoftware.code-spell-checker",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"yatki.vscode-surround",
"simonsiefke.svg-preview"
]
}
},
"features": {
"ghcr.io/devcontainers-contrib/features/zsh-plugins:0": {
"plugins": "npm",
"omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions"
}
}
}
6 changes: 6 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"recommendations": [
"streetsidesoftware.code-spell-checker",
"formulahendry.auto-close-tag",
"formulahendry.auto-rename-tag",
"dbaeumer.vscode-eslint",
"eamodio.gitlens",
"ms-vscode-remote.remote-containers",
"ms-azuretools.vscode-docker",
"github.vscode-pull-request-github",
"yatki.vscode-surround",
"simonsiefke.svg-preview"
]
}
4 changes: 3 additions & 1 deletion docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,6 @@ We have 3 pre-configured projects. You can run your test with the desired projec

There are some predefined tasks for all commands described above. You can see its full list by pressing <kbd>cmd + shift + P</kbd> and using command `Task: Run task`

Also there is a Jest test launch configuration for debugging and running current test file in the watch mode.
Also there is a Jest test launch configuration for debugging and running current test file in the watch mode.

And you may find the Dev Container setup useful too.

0 comments on commit b0593fc

Please sign in to comment.