Skip to content

Commit

Permalink
Add devcontainer configuration (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
spenserblack authored Nov 13, 2022
1 parent 77ebedd commit a48acfa
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ARG VARIANT=16-buster
FROM mcr.microsoft.com/devcontainers/javascript-node:${VARIANT}
20 changes: 20 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "Node.js",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "16-buster" }
},
"customizations": {
"vscode": {
"extensions": ["EditorConfig.EditorConfig", "esbenp.prettier-vscode"]
}
},
"portsAttributes": {
"5173": {
"label": "Site (dev)",
"onAutoForward": "notify"
}
},
"postCreateCommand": "yarn install",
"remoteUser": "node"
}
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ indent_style = none
indent_size = none
trim_trailing_whitespace = false
insert_final_newline = false

[Dockerfile]
indent_size = 4
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"prettier.requireConfig": true
}

1 comment on commit a48acfa

@vercel
Copy link

@vercel vercel bot commented on a48acfa Nov 13, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

steamdown – ./

steamdown-spenserblack.vercel.app
steamdown.vercel.app
steamdown-git-main-spenserblack.vercel.app

Please sign in to comment.