Skip to content

Commit

Permalink
Merge pull request #1604 from PriyansuMaurya/codespaces-auto-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
CBID2 authored Aug 21, 2023
2 parents dbcbb9b + fc7f5d1 commit af88fb3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"hostRequirements": {
"cpus": 4
},
"waitFor": "onCreateCommand",
"updateContentCommand": "pnpm install",
"postCreateCommand": [
"pnpm install -D tailwindcss@latest postcss@latest autoprefixer@latest",
"pnpm install -D typescript @types/react @types/node",
"pnpm install next react react-dom"
],
"postAttachCommand": {
"server": "pnpm run dev"
},
"customizations": {
"codespaces": {
"openFiles": ["src/App.tsx"]
}
},
"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "openPreview"
}
},
"forwardPorts": [3000],
"extensions": [
"octref.vetur",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}

1 comment on commit af88fb3

@vercel
Copy link

@vercel vercel bot commented on af88fb3 Aug 21, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.