File size: 1,220 Bytes
3a888be
 
 
 
 
 
 
 
3baea50
0c1bfbb
 
3baea50
 
1c5dd60
faf07a1
3a888be
 
 
 
 
 
 
 
 
1c5dd60
 
 
3a888be
 
3baea50
3a888be
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  "name": "PulseFabric Monitor",
  "image": "mcr.microsoft.com/devcontainers/javascript-node:20",
  "forwardPorts": [4200, 3000],
  "portsAttributes": {
    "4200": { "label": "Angular Frontend", "onAutoForward": "notify" },
    "3000": { "label": "JSON Server API", "onAutoForward": "notify" }
  },
  "hostRequirements": {
    "cpus": 8,
    "memory": "16gb"
  },
  "updateContentCommand": "npm install -g @angular/cli && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true",
  "postCreateCommand": "git checkout -b feat/$(echo $GITHUB_USER)-$(date +%Y%m%d-%H%M%S)",
  "postStartCommand": "cd /workspaces/Zero-friction && git pull origin main && cd frontend && npm ci --prefer-offline --no-audit && cd ../backend && npm ci --prefer-offline --no-audit || true",
  "customizations": {
    "vscode": {
      "extensions": [
        "Angular.ng-template",
        "GitHub.copilot",
        "GitHub.copilot-chat",
        "dbaeumer.vscode-eslint"
      ],
      "settings": {
        "terminal.integrated.defaultProfile.linux": "zsh",
        "git.branchProtection": ["main"],
        "git.branchProtectionPrompt": "alwaysCommitToNewBranch"
      }
    }
  }
}