From 66c35605744afdcaaf0d8431dfc53e7c43b8582d Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 09:47:20 -0300 Subject: [PATCH 1/9] feat: nuget-impressao-nfce --- .github/workflows/ZeusFiscal_build.yml | 5 +++++ NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj | 6 +++--- ...ercules.NET.Impressao.NFCe.QuestPdf.csproj | 12 +++++++++++ ...ercules.NET.Impressao.NFCe.QuestPdf.nuspec | 20 +++++++++++++++++++ 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj create mode 100644 NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec diff --git a/.github/workflows/ZeusFiscal_build.yml b/.github/workflows/ZeusFiscal_build.yml index 25f7e782..8305221d 100644 --- a/.github/workflows/ZeusFiscal_build.yml +++ b/.github/workflows/ZeusFiscal_build.yml @@ -69,6 +69,10 @@ jobs: dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Servicos\CTe.Servicos.csproj" -c "Release" dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Utils\CTe.Utils.csproj" -c "Release" dotnet build -p:Version=${{ steps.date.outputs.date }} ".\CTe.Wsdl\CTe.Wsdl.csproj" -c "Release" + + - name: Build/Restore Impressao QuestPdf + run: | + dotnet build -p:Version=${{ steps.date.outputs.date }} ".\NFe.Danfe.QuestPdf\NFe.Danfe.QuestPdf.csproj" -c "Release" #- name: Test # run: dotnet test --no-build --verbosity normal @@ -78,6 +82,7 @@ jobs: dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.NFe.NFCe\Hercules.NET.NFe.NFCe.csproj dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.MDFe\Hercules.NET.MDFe.csproj dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.CTe\Hercules.NET.CTe.csproj + dotnet pack -o ${{ github.workspace }} -v minimal -c Release -p:NuspecProperties=version=${{ steps.date.outputs.date }} -p:PackageVersion=${{ steps.date.outputs.date }} NuGet\Hercules.NET.Impressao.NFCe.QuestPdf\Hercules.NET.Impressao.NFCe.QuestPdf.csproj - name: Upload Artifacts uses: actions/upload-artifact@v3 diff --git a/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj b/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj index 26a09d3f..6a7f5d15 100644 --- a/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj +++ b/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj @@ -17,10 +17,10 @@ - + - - + + diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj new file mode 100644 index 00000000..3254b932 --- /dev/null +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj @@ -0,0 +1,12 @@ + + + + net462;netstandard2.0;net6.0;net8.0 + AnyCpu + Release + true + false + Hercules.NET.CTe.nuspec + + + diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec new file mode 100644 index 00000000..05d1f9b4 --- /dev/null +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec @@ -0,0 +1,20 @@ + + + + Hercules.NET.Impressao.NFCe.QuestPdf + $version$ + Hercules.NET Impressao NFCe QuestPdf + Hercules.NET + Hercules.NET + false + https://github.com/Hercules-NET/ZeusFiscal + https://avatars.githubusercontent.com/u/165974473 + Biblioteca para geração de Impressão de NFC-e utilizando QuestPdf + Hercules.NET + pt-BR + danfe nfce + + + + + \ No newline at end of file From 74ea17f3b8fc39ca078fa8da35bc5b599e89f584 Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 09:49:32 -0300 Subject: [PATCH 2/9] fix: .net 6 apenas --- .../Hercules.NET.Impressao.NFCe.QuestPdf.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj index 3254b932..e4382089 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj @@ -1,7 +1,7 @@ - net462;netstandard2.0;net6.0;net8.0 + net462;netstandard2.0;net6.0 AnyCpu Release true From 78d67d3d05e7017501f32e45d6e4dcb5ec40d33a Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 09:57:13 -0300 Subject: [PATCH 3/9] =?UTF-8?q?chore:=20vers=C3=A3o=20.net=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj b/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj index 6a7f5d15..62333071 100644 --- a/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj +++ b/NFe.Danfe.QuestPdf/NFe.Danfe.QuestPdf.csproj @@ -1,7 +1,7 @@  - net8.0 + net6.0 enable enable From 93e9199664e51a9f663c92ceac9f12ecf8f5813c Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 09:58:04 -0300 Subject: [PATCH 4/9] fix: pasta .net6.0 --- .../Hercules.NET.Impressao.NFCe.QuestPdf.nuspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec index 05d1f9b4..119fb382 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec @@ -15,6 +15,6 @@ danfe nfce - + \ No newline at end of file From 99841f49408c154fc93399bfc0dc2b9d1b69480e Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 10:04:56 -0300 Subject: [PATCH 5/9] chore: ajuste de arquivo nuspec file --- .../Hercules.NET.Impressao.NFCe.QuestPdf.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj index e4382089..5dcfe7d7 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj @@ -6,7 +6,7 @@ Release true false - Hercules.NET.CTe.nuspec + Hercules.NET.Impressao.NFCe.QuestPdf From a306e8010b78e654c14126cd883169ad023b45c4 Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 10:10:33 -0300 Subject: [PATCH 6/9] chore: ajuste --- .../Hercules.NET.Impressao.NFCe.QuestPdf.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj index 5dcfe7d7..6ee49797 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj @@ -1,7 +1,7 @@ - net462;netstandard2.0;net6.0 + net6.0 AnyCpu Release true From d978f5785c525973fd5a672adcca0c8cc4e7d9cf Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 10:24:35 -0300 Subject: [PATCH 7/9] fix: ajuste --- .../Hercules.NET.Impressao.NFCe.QuestPdf.nuspec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec index 119fb382..70a0dbe3 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec @@ -6,13 +6,14 @@ Hercules.NET Impressao NFCe QuestPdf Hercules.NET Hercules.NET - false https://github.com/Hercules-NET/ZeusFiscal https://avatars.githubusercontent.com/u/165974473 - Biblioteca para geração de Impressão de NFC-e utilizando QuestPdf + false + Biblioteca para geração de CT-e. + Hercules.NET pt-BR - danfe nfce + df-e dfe cte ct-e From 6dce6937489b5725357bc2289922f7cc2ba9f116 Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 10:34:43 -0300 Subject: [PATCH 8/9] chore: add libs --- .../Hercules.NET.Impressao.NFCe.QuestPdf.nuspec | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec index 70a0dbe3..1b8b441a 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.nuspec @@ -15,6 +15,19 @@ pt-BR df-e dfe cte ct-e + + + + + + + + + + + + + From a9e1303788eb25f742a78370eb04e6fb0626d8b5 Mon Sep 17 00:00:00 2001 From: Roberto Alves Pereira Date: Sat, 21 Sep 2024 10:41:42 -0300 Subject: [PATCH 9/9] =?UTF-8?q?chore:=20exten=C3=A7=C3=A3o=20arquivo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Hercules.NET.Impressao.NFCe.QuestPdf.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj index 6ee49797..1c504ee7 100644 --- a/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj +++ b/NuGet/Hercules.NET.Impressao.NFCe.QuestPdf/Hercules.NET.Impressao.NFCe.QuestPdf.csproj @@ -6,7 +6,7 @@ Release true false - Hercules.NET.Impressao.NFCe.QuestPdf + Hercules.NET.Impressao.NFCe.QuestPdf.nuspec