From ab1c3f707b0e4bd758b50adc72fceeeb3a39223e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Apr 2025 07:13:43 +0000 Subject: [PATCH 1/4] chore(deps): update dependency csharpier to v1 --- docs/guides/csharp/.config/dotnet-tools.json | 2 +- docs/snippets/csharp/.config/dotnet-tools.json | 2 +- tests/output/csharp/.config/dotnet-tools.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/csharp/.config/dotnet-tools.json b/docs/guides/csharp/.config/dotnet-tools.json index 78ec158586c..f98c4166ffd 100644 --- a/docs/guides/csharp/.config/dotnet-tools.json +++ b/docs/guides/csharp/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ "dotnet-csharpier" ] diff --git a/docs/snippets/csharp/.config/dotnet-tools.json b/docs/snippets/csharp/.config/dotnet-tools.json index 78ec158586c..f98c4166ffd 100644 --- a/docs/snippets/csharp/.config/dotnet-tools.json +++ b/docs/snippets/csharp/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ "dotnet-csharpier" ] diff --git a/tests/output/csharp/.config/dotnet-tools.json b/tests/output/csharp/.config/dotnet-tools.json index 3c40b6da394..e9643d4c5a7 100644 --- a/tests/output/csharp/.config/dotnet-tools.json +++ b/tests/output/csharp/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ "dotnet-csharpier" ] From 8e100703f8833a3141eab86c7d76a362cf69cfd0 Mon Sep 17 00:00:00 2001 From: shortcuts Date: Mon, 28 Apr 2025 09:15:48 +0200 Subject: [PATCH 2/4] commands --- scripts/formatter.ts | 2 +- templates/csharp/snippets/dotnet-tools.mustache | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/formatter.ts b/scripts/formatter.ts index 42ba67b3c9f..3b6900545ec 100644 --- a/scripts/formatter.ts +++ b/scripts/formatter.ts @@ -6,7 +6,7 @@ export async function formatter(language: string, cwd: string): Promise { switch (language) { case 'csharp': if (cwd.includes('tests') || cwd.includes('snippets') || cwd.includes('guides')) { - await run('dotnet format --no-restore && dotnet tool restore && dotnet dotnet-csharpier .', { + await run('dotnet format --no-restore && dotnet tool restore && dotnet csharpier .', { cwd, language, }); diff --git a/templates/csharp/snippets/dotnet-tools.mustache b/templates/csharp/snippets/dotnet-tools.mustache index 78ec158586c..2dd929afc62 100644 --- a/templates/csharp/snippets/dotnet-tools.mustache +++ b/templates/csharp/snippets/dotnet-tools.mustache @@ -3,9 +3,9 @@ "isRoot": true, "tools": { "csharpier": { - "version": "0.30.6", + "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } From e2db91a4c123a04956e095393873bbfd6ef8e2c7 Mon Sep 17 00:00:00 2001 From: shortcuts Date: Mon, 28 Apr 2025 09:28:42 +0200 Subject: [PATCH 3/4] commands --- docs/guides/csharp/.config/dotnet-tools.json | 4 ++-- docs/snippets/csharp/.config/dotnet-tools.json | 4 ++-- tests/output/csharp/.config/dotnet-tools.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/csharp/.config/dotnet-tools.json b/docs/guides/csharp/.config/dotnet-tools.json index f98c4166ffd..96b59afa83f 100644 --- a/docs/guides/csharp/.config/dotnet-tools.json +++ b/docs/guides/csharp/.config/dotnet-tools.json @@ -5,8 +5,8 @@ "csharpier": { "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } -} \ No newline at end of file +} diff --git a/docs/snippets/csharp/.config/dotnet-tools.json b/docs/snippets/csharp/.config/dotnet-tools.json index f98c4166ffd..96b59afa83f 100644 --- a/docs/snippets/csharp/.config/dotnet-tools.json +++ b/docs/snippets/csharp/.config/dotnet-tools.json @@ -5,8 +5,8 @@ "csharpier": { "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } -} \ No newline at end of file +} diff --git a/tests/output/csharp/.config/dotnet-tools.json b/tests/output/csharp/.config/dotnet-tools.json index e9643d4c5a7..96b59afa83f 100644 --- a/tests/output/csharp/.config/dotnet-tools.json +++ b/tests/output/csharp/.config/dotnet-tools.json @@ -5,7 +5,7 @@ "csharpier": { "version": "1.0.1", "commands": [ - "dotnet-csharpier" + "csharpier" ] } } From 1eea1a860cf33ad8720ea02f35b46f4529fbaecf Mon Sep 17 00:00:00 2001 From: shortcuts Date: Mon, 28 Apr 2025 09:30:05 +0200 Subject: [PATCH 4/4] trigger