Skip to content

Commit

Permalink
Add Next.js configuration
Browse files Browse the repository at this point in the history
Update the Next.js configuration in the code workspace to include the following changes:
- Set "WillLuke.nextjs.addTypesOnSave" to true
- Set "WillLuke.nextjs.hasPrompted" to true

These changes enable automatic type generation on save and indicate that the user has been prompted.
Add Next.js configuration

Update the Next.js configuration in the code workspace to include automatic type generation on save and indicate that the user has been prompted.

Add Next.js configuration

Update the Next.js configuration in the code workspace to include automatic type generation on save and indicate that the user has been prompted. Also, set the Vercel access token, project ID, and team ID using environment variables.
  • Loading branch information
XOwlPost committed Feb 13, 2024
1 parent cab0a53 commit 6ba080f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 3 deletions.
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "21XO-MVP",
"build": {
"dockerfile": "Dockerfile",
"context": "..",
"args": {
"VARIANT": "11",
"INSTALL_NODE": "true"
}
},
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
"postCreateCommand": "npm install",
"remoteUser": "vscode",
"extensions": [
"dbaeumer.vscode-eslint",
"ms-vscode-remote.remote-wsl",
"ms-python.python",
"ms-python.vscode-pylance"
]
"forwardPorts": [3000]
}

8 changes: 5 additions & 3 deletions 21XO-MVP.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
}
],
"settings": {
"vercelVSCode.accessToken": "lheVa80KIFXoq6pZx78Qo05Q",
"vercelVSCode.projectId": "prj_C10RMoroFLUhacQMcHsTq5o1agD0",
"vercelVSCode.teamId": "team_vH5MMrAeIgwOXuVAqrBAUD9e"
"vercelVSCode.accessToken": "process.env.VERCEL_TOKEN",
"vercelVSCode.projectId": "process.env.PROJECT_ID_VERCEL",
"vercelVSCode.teamId": "process.env.TEAM_ID_VERCEL",
"WillLuke.nextjs.addTypesOnSave": true,
"WillLuke.nextjs.hasPrompted": true
}
}

0 comments on commit 6ba080f

Please sign in to comment.