Updated devcontainers

This commit is contained in:
Hugo Bernier 2024-01-06 12:36:27 -08:00 committed by GitHub
parent e98a59453a
commit df2bab6af3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 27 deletions

View File

@ -1,18 +1,19 @@
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer // For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
{ {
"name": "SPFx 1.18.1", "name": "SPFx 1.18.2",
"image": "docker.io/m365pnp/spfx:1.18.1", "image": "docker.io/m365pnp/spfx:1.18.2",
// Set *default* container specific settings.json values on container create. "customizations": {
"settings": {}, "vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [ "extensions": [
"editorconfig.editorconfig", "editorconfig.editorconfig",
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
], ]
// Use 'forwardPorts' to make a list of ports inside the container available locally. }
},
"forwardPorts": [ "forwardPorts": [
4321, 4321,
35729 35729,
5432
], ],
"portsAttributes": { "portsAttributes": {
"4321": { "4321": {
@ -21,12 +22,11 @@
"onAutoForward": "silent", "onAutoForward": "silent",
"requireLocalPort": true "requireLocalPort": true
}, },
// Not needed for SPFx>= 1.12.1 "5432": {
// "5432": { "protocol": "https",
// "protocol": "https", "label": "Workbench",
// "label": "Workbench", "onAutoForward": "silent"
// "onAutoForward": "silent" },
// },
"35729": { "35729": {
"protocol": "https", "protocol": "https",
"label": "LiveReload", "label": "LiveReload",

View File

@ -1,15 +1,15 @@
// For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer // For more information on how to run this SPFx project in a VS Code Remote Container, please visit https://aka.ms/spfx-devcontainer
{ {
"name": "SPFx 1.11.0", "name": "SPFx 1.18.2",
"image": "docker.io/m365pnp/spfx:1.11.0", "image": "docker.io/m365pnp/spfx:1.18.2",
// Set *default* container specific settings.json values on container create. "customizations": {
"settings": {}, "vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [ "extensions": [
"editorconfig.editorconfig", "editorconfig.editorconfig",
"dbaeumer.vscode-eslint" "dbaeumer.vscode-eslint"
], ]
// Use 'forwardPorts' to make a list of ports inside the container available locally. }
},
"forwardPorts": [ "forwardPorts": [
4321, 4321,
35729, 35729,