From 5fd718e6c05598af700c29cc74d640f50c31e03f Mon Sep 17 00:00:00 2001 From: Carl Sixsmith Date: Fri, 31 May 2024 12:43:28 +0100 Subject: [PATCH 1/2] Adding Tasks/Launch settings for vscode support. (#8) --- .vscode/launch.json | 36 ++++++++++++++++++++++++++++++++++++ .vscode/tasks.json | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..26dcb317 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,36 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Launch Blazor Server App", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "Build (UI)", + "program": "${workspaceFolder}/src/Server.UI/bin/Debug/net8.0/Cfo.Cats.Server.UI.dll", + "args": [], + "cwd": "${workspaceFolder}/src/Server.UI/", + "stopAtEntry": false, + "serverReadyAction": { + "action": "openExternally", + "pattern": "\\bNow listening on:\\s+(https?://\\S+)" + }, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/src/Server.UI/Views" + } + }, + { + "name": "Launch Build Console App", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "Build (Build Project)", + "program": "${workspaceFolder}/build/bin/Debug/net8.0/Build.dll", + "args": [], + "cwd": "${workspaceFolder}/build", + "stopAtEntry": false, + "console": "internalConsole" + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..22399d9d --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build (UI)", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/src/Server.UI/Server.UI.csproj" + ], + "problemMatcher": "$msCompile", + "group":{ + "kind": "build", + "isDefault": true + } + }, + { + "label": "Build (Build Project)", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/build/Build.csproj" + ], + "problemMatcher": "$msCompile", + "group":{ + "kind": "build", + "isDefault": true + } + } + ] +} \ No newline at end of file From a38572878be7b78348635774932f0bbbbf5935f0 Mon Sep 17 00:00:00 2001 From: Carl Sixsmith Date: Fri, 31 May 2024 12:20:04 +0100 Subject: [PATCH 2/2] Update dependabot to create only one pull request for all dependencies --- .github/dependabot.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3d724b35..91426aab 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,14 +1,13 @@ version: 2 updates: - - package-ecosystem: "nuget" - directory: "/" + - package-ecosystem: "nuget" + directory: "/" schedule: - interval: "weekly" - open-pull-requests-limit: 5 + interval: "weekly" commit-message: - prefix: "deps" - target-branch: "main" - labels: - - "dependencies" - reviewers: - - "ministryofjustice/hmpps-co-financing-organisation" # Request review from a team or user + prefix: "deps" + open-pull-requests-limit: 1 + groups: + all-dependencies: + patterns: + - "*" \ No newline at end of file