Template
.devcontainer/devcontainer.json aktualisiert
This commit is contained in:
1 parent
91a60b3251
commit
3fa0e2f046
1 file changed
+8
-3
@@ -2,7 +2,9 @@
|
|||||||
"name": "webapp",
|
"name": "webapp",
|
||||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {}
|
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {
|
||||||
|
"version": "2.1.312"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mounts": [
|
"mounts": [
|
||||||
"source=claude-config-${devcontainerId},target=/home/node/.claude,type=volume",
|
"source=claude-config-${devcontainerId},target=/home/node/.claude,type=volume",
|
||||||
@@ -13,7 +15,8 @@
|
|||||||
"forwardPorts": [3000],
|
"forwardPorts": [3000],
|
||||||
"containerEnv": {
|
"containerEnv": {
|
||||||
"NEXT_TELEMETRY_DISABLED": "1",
|
"NEXT_TELEMETRY_DISABLED": "1",
|
||||||
"NPM_CONFIG_UPDATE_NOTIFIER": "false"
|
"NPM_CONFIG_UPDATE_NOTIFIER": "false",
|
||||||
|
"DISABLE_AUTOUPDATER": "1"
|
||||||
},
|
},
|
||||||
"portsAttributes": {
|
"portsAttributes": {
|
||||||
"3000": { "label": "App", "onAutoForward": "openBrowser" }
|
"3000": { "label": "App", "onAutoForward": "openBrowser" }
|
||||||
@@ -24,6 +27,8 @@
|
|||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
|
"extensions.autoUpdate": false,
|
||||||
|
"extensions.autoCheckUpdates": false,
|
||||||
"git.branchProtection": ["main"],
|
"git.branchProtection": ["main"],
|
||||||
"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
|
"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
|
||||||
"git.branchPrefix": "feat/",
|
"git.branchPrefix": "feat/",
|
||||||
@@ -32,7 +37,7 @@
|
|||||||
"git.autofetch": true
|
"git.autofetch": true
|
||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"anthropic.claude-code",
|
"anthropic.claude-code@2.1.314",
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"esbenp.prettier-vscode",
|
"esbenp.prettier-vscode",
|
||||||
"bradlc.vscode-tailwindcss"
|
"bradlc.vscode-tailwindcss"
|
||||||
|
|||||||
Reference in new issue
Block a user