Skip to content

Commit 27de477

Browse files
authored
Merge pull request #844 from Azure/v7
1 parent 5718f52 commit 27de477

360 files changed

Lines changed: 23977 additions & 39257 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.devcontainer/devcontainer.json

Lines changed: 5 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,10 @@
22
"name": "Dev container",
33
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
44
"features": {
5-
"ghcr.io/devcontainers/features/dotnet:2": {
6-
"version": "8.0",
7-
"additionalVersions": "9.0"
8-
},
9-
"ghcr.io/devcontainers/features/azure-cli:1": {
10-
"version": "latest",
11-
"installBicep": true
12-
},
13-
"ghcr.io/devcontainers/features/powershell:1": {
14-
"version": "latest"
15-
},
16-
"ghcr.io/devcontainers/features/git:1": {},
17-
"ghcr.io/devcontainers/features/github-cli:1": {}
18-
},
19-
"postCreateCommand": "sh .devcontainer/install.sh",
20-
"customizations": {
21-
"vscode": {
22-
"extensions": [
23-
"ms-azuretools.vscode-bicep",
24-
"ms-dotnettools.csdevkit",
25-
"ms-azure-devops.azure-pipelines",
26-
"GitHub.vscode-github-actions",
27-
"GitHub.copilot",
28-
"timonwong.shellcheck",
29-
"foxundermoon.shell-format",
30-
"redhat.vscode-yaml"
31-
]
32-
}
5+
"./features/aspire": {},
6+
"./features/azure": {},
7+
"./features/dotnet": {},
8+
"./features/github": {},
9+
"./features/playwright": {}
3310
}
3411
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"id": "aspire",
3+
"version": "1.0.0",
4+
"name": "aspire",
5+
"dependsOn": {
6+
"./features/dotnet": {},
7+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
8+
"version": "latest",
9+
"enableNonRootDocker": true,
10+
"moby": true
11+
}
12+
},
13+
"onCreateCommand": "curl -sSL https://aspire.dev/install.sh | bash",
14+
// "postStartCommand": "dotnet dev-certs https --trust",
15+
"customizations": {
16+
"vscode": {
17+
"extensions": [
18+
"ms-azuretools.vscode-docker",
19+
"microsoft-aspire.aspire-vscode"
20+
]
21+
}
22+
}
23+
}

.devcontainer/features/aspire/install.sh

Whitespace-only changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"id": "azure",
3+
"version": "1.0.0",
4+
"name": "azure",
5+
"dependsOn": {
6+
"ghcr.io/devcontainers/features/azure-cli:1": {}
7+
}
8+
}

.devcontainer/features/azure/install.sh

Whitespace-only changes.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"id": "dotnet",
3+
"version": "1.0.0",
4+
"name": "dotnet",
5+
"dependsOn": {
6+
"ghcr.io/devcontainers/features/dotnet:2": {
7+
"version": "11.0",
8+
"additionalVersions": "lts"
9+
}
10+
},
11+
"postStartCommand": "dotnet tool update --global dotnet-outdated-tool || dotnet tool install --global dotnet-outdated-tool",
12+
"customizations": {
13+
"vscode": {
14+
"extensions": [
15+
"ms-dotnettools.csdevkit@prerelease",
16+
"ms-dotnettools.csharp@prerelease"
17+
],
18+
"mcp": {
19+
"servers": {
20+
"microsoft.docs.mcp": {
21+
"type": "http",
22+
"url": "https://learn.microsoft.com/api/mcp"
23+
}
24+
}
25+
}
26+
}
27+
}
28+
}

.devcontainer/features/dotnet/install.sh

Whitespace-only changes.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{
2+
"id": "github",
3+
"version": "1.0.0",
4+
"name": "github",
5+
"dependsOn": {
6+
"ghcr.io/devcontainers/features/github-cli:1": {},
7+
"ghcr.io/devcontainers/features/copilot-cli:1": {}
8+
},
9+
"customizations": {
10+
"vscode": {
11+
"extensions": [
12+
"GitHub.vscode-github-actions",
13+
"GitHub.vscode-pull-request-github",
14+
"redhat.vscode-yaml"
15+
],
16+
"mcp": {
17+
"servers": {
18+
"github": {
19+
"type": "http",
20+
"url": "https://api.githubcopilot.com/mcp/"
21+
}
22+
}
23+
}
24+
}
25+
},
26+
"mounts": [
27+
{
28+
"source": "${localEnv:HOME}${localEnv:USERPROFILE}/.copilot",
29+
"target": "/home/vscode/.copilot",
30+
"type": "bind"
31+
}
32+
]
33+
}

.devcontainer/features/github/install.sh

Whitespace-only changes.
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"id": "playwright",
3+
"version": "1.0.0",
4+
"name": "playwright",
5+
"dependsOn": {
6+
"ghcr.io/devcontainers/features/node:1": {}
7+
},
8+
"onCreateCommand": "npm install -g -y @playwright/cli@latest @playwright/mcp@0.0.70 && sudo env PATH=$PATH DEBIAN_FRONTEND=noninteractive npx --yes playwright@latest install-deps chromium && playwright-cli install-browser chromium && mkdir -p /home/vscode/.playwright && printf '%s\\n' '{\"browser\":{\"browserName\":\"chromium\",\"contextOptions\":{\"ignoreHTTPSErrors\":true}}}' > /home/vscode/.playwright/cli.config.json",
9+
"customizations": {
10+
"vscode": {
11+
"extensions": [
12+
"ms-playwright.playwright"
13+
]
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)