mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
build: update dev container configuration
build: update dev container configuration
Update dev container configuration files to support latest environment.
- Use customizations.vscode structure instead of deprecated extensions property.
- Update bazel extension to BazelBuild.vscode-bazel.
- Ignore .pnpm-store directory.
- Update ports list
- Use forwardPorts instead appPort
Document the usage of Dev Containers in building-and-testing-angular.md.
(cherry picked from commit 27276374ab)
12 lines
394 B
JSON
12 lines
394 B
JSON
// Reference: https://code.visualstudio.com/docs/remote/containers#_devcontainerjson-reference
|
|
{
|
|
"name": "Angular dev container",
|
|
"dockerFile": "Dockerfile",
|
|
"forwardPorts": [4200, 4201, 4205, 4206, 9876],
|
|
"postCreateCommand": "pnpm install",
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": ["BazelBuild.vscode-bazel", "ms-vscode.vscode-typescript-tslint-plugin"]
|
|
}
|
|
}
|
|
}
|