mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 22:50:12 -08:00
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"name": "Finance App Development",
|
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/git:1": {},
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
|
|
"ghcr.io/devcontainers/features/github-cli:1": {}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"astro-build.astro-vscode",
|
|
"GitHub.copilot",
|
|
"GitHub.copilot-chat",
|
|
"ms-vscode.vscode-typescript-next",
|
|
"bradlc.vscode-tailwindcss"
|
|
],
|
|
"settings": {
|
|
"editor.formatOnSave": true,
|
|
"[typescript]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": null,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": true
|
|
}
|
|
},
|
|
"[javascript]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": null,
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": true
|
|
}
|
|
},
|
|
"[astro]": {
|
|
"editor.defaultFormatter": "astro-build.astro-vscode"
|
|
},
|
|
"typescript.updateImportsOnFileMove.enabled": "always",
|
|
"editor.bracketPairColorization.enabled": true,
|
|
"files.exclude": {
|
|
"**/.git": true,
|
|
"**/.DS_Store": true,
|
|
"**/node_modules": true,
|
|
"**/.idea": true
|
|
},
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
|
"mcp.servers.github": {
|
|
"command": "docker",
|
|
"args": ["run", "-i", "--rm", "--env-file", "${containerWorkspaceFolder}/.devcontainer/.env", "ghcr.io/github/github-mcp-server"],
|
|
"env": {}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"forwardPorts": [3000],
|
|
"postCreateCommand": "npm install && npm run check",
|
|
"remoteUser": "node",
|
|
"mounts": [
|
|
"type=bind,source=${localEnv:HOME}/.ssh,target=/home/node/.ssh,readonly"
|
|
],
|
|
"remoteEnv": {
|
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "${localEnv:GITHUB_PERSONAL_ACCESS_TOKEN}"
|
|
},
|
|
"postStartCommand": "gh auth status || gh auth login"
|
|
}
|