diff --git a/.github/workflows/publish-dev-packages.yml b/.github/workflows/publish-dev-packages.yml index 46fe2681..75e5a41d 100644 --- a/.github/workflows/publish-dev-packages.yml +++ b/.github/workflows/publish-dev-packages.yml @@ -6,51 +6,31 @@ on: workflow_dispatch: jobs: - build-scripts: + publish: runs-on: debian-12 - + strategy: + matrix: + project: + - Moonlight.Client + - Moonlight.ApiServer + - Moonlight.Shared + steps: + # Step 1: Clean environment - name: Clean up Environment run: | rm -rf ./* rm -rf ./.??* - - - uses: actions/checkout@v3 - - - name: Pack cli Scrips - run: dotnet pack Resources/Scripts/Scripts.csproj -c Debug -o ./packs - - - name: Publish to github Pkg - run: dotnet nuget push "./packs/*.nupkg" --skip-duplicate --api-key ${{secrets.GH_PACKAGES_READWRITE}} --source https://nuget.pkg.github.com/Moonlight-Panel/index.json - - build-moonlight: - runs-on: debian-12 - needs: build-scripts - - steps: - - name: Clean up Environment - run: | - rm -rf ./* - rm -rf ./.??* - - - name: Remove nuget source - continue-on-error: true - run: dotnet nuget remove source moonlight-github - - - uses: actions/checkout@v3 - - - name: Build and Pack Moonlight - run: | - mkdir ./packs - dotnet restore - dotnet build - dotnet pack -o ./packs -c Debug Moonlight.ApiServer - dotnet pack -o ./packs -c Debug Moonlight.Client - dotnet pack -o ./packs -c Debug Moonlight.Shared - - - name: Publish to Github - run: dotnet nuget push "./packs/*.nupkg" --skip-duplicate --api-key ${{secrets.GH_PACKAGES_READWRITE}} --source https://nuget.pkg.github.com/Moonlight-Panel/index.json - - - name: Remove nuget source - continue-on-error: true - run: dotnet nuget remove source moonlight-github \ No newline at end of file + + # Step 2: Checkout the code + - name: Checkout code + uses: actions/checkout@v3 + + # Step 3: Run the publishing action + - name: Publish on version change + uses: alirezanet/publish-nuget@v3.1.0 + with: + PROJECT_FILE_PATH: ${{ matrix.project }}/${{ matrix.project }}.csproj + TAG_COMMIT: false + NUGET_KEY: ${{secrets.GH_PACKAGES_READWRITE}} + NUGET_SOURCE: https://nuget.pkg.github.com/Moonlight-Panel/index.json \ No newline at end of file diff --git a/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj b/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj index 4a92b3c9..82f63230 100644 --- a/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj +++ b/Moonlight.ApiServer.Runtime/Moonlight.ApiServer.Runtime.csproj @@ -17,5 +17,7 @@ + + diff --git a/Moonlight.ApiServer.Runtime/Plugins.props b/Moonlight.ApiServer.Runtime/Plugins.props new file mode 100644 index 00000000..3e0a6663 --- /dev/null +++ b/Moonlight.ApiServer.Runtime/Plugins.props @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Moonlight.ApiServer/Moonlight.ApiServer.csproj b/Moonlight.ApiServer/Moonlight.ApiServer.csproj index 505b6b6f..e5fee3df 100644 --- a/Moonlight.ApiServer/Moonlight.ApiServer.csproj +++ b/Moonlight.ApiServer/Moonlight.ApiServer.csproj @@ -14,7 +14,7 @@ Moonlight.ApiServer - 2.1.6 + 2.1.7 Moonlight Panel A build of the api server for moonlight development https://github.com/Moonlight-Panel/Moonlight diff --git a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj index 1c083df3..76094f98 100644 --- a/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj +++ b/Moonlight.Client.Runtime/Moonlight.Client.Runtime.csproj @@ -19,4 +19,6 @@ + + diff --git a/Moonlight.Client.Runtime/Plugins.props b/Moonlight.Client.Runtime/Plugins.props new file mode 100644 index 00000000..3e0a6663 --- /dev/null +++ b/Moonlight.Client.Runtime/Plugins.props @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Moonlight.Client.Runtime/Styles/styles.css b/Moonlight.Client.Runtime/Styles/styles.css index 11dde382..2d30b0c7 100644 --- a/Moonlight.Client.Runtime/Styles/styles.css +++ b/Moonlight.Client.Runtime/Styles/styles.css @@ -24,7 +24,7 @@ @source "../**/*.razor"; @source "../**/*.cs"; @source "../**/*.html"; -@source "./mappings/*.map"; +@source "**/*.map"; @source "../../Moonlight.Client/**/*.cs"; @source "../../Moonlight.Client/**/*.html"; diff --git a/Moonlight.Client/Moonlight.Client.csproj b/Moonlight.Client/Moonlight.Client.csproj index 1ce114c2..bb62fbee 100644 --- a/Moonlight.Client/Moonlight.Client.csproj +++ b/Moonlight.Client/Moonlight.Client.csproj @@ -12,7 +12,7 @@ frontend Moonlight.Client - 2.1.6 + 2.1.7 Moonlight Panel A build of the client for moonlight development https://github.com/Moonlight-Panel/Moonlight diff --git a/Moonlight.Client/Styles/mappings/classes.map b/Moonlight.Client/Styles/mappings/classes.map index 7b8083ed..a6584dd3 100644 --- a/Moonlight.Client/Styles/mappings/classes.map +++ b/Moonlight.Client/Styles/mappings/classes.map @@ -90,14 +90,18 @@ border-accent border-b border-base-content border-base-content/20 +border-base-content/25 border-base-content/40 border-base-content/5 +border-base-content/60 border-base-content/70 border-dashed +border-e-2 border-l-4 border-primary border-success border-t +border-t-2 border-transparent bottom-0 bottom-full @@ -105,11 +109,13 @@ break-words btn btn-accent btn-active +btn-block btn-circle btn-disabled btn-error btn-gradient btn-info +btn-lg btn-outline btn-primary btn-secondary @@ -153,6 +159,7 @@ contents cursor-default cursor-not-allowed cursor-pointer +custom-option diff disabled divide-base-150/60 @@ -217,6 +224,7 @@ gap-x-2 gap-x-3 gap-x-6 gap-y-1 +gap-y-1.5 gap-y-2 gap-y-3 gap-y-8 @@ -234,6 +242,7 @@ h-14 h-2 h-3 h-32 +h-6 h-64 h-8 h-auto @@ -295,6 +304,7 @@ lg:justify-end lg:justify-start lg:min-w-0 lg:p-10 +lg:p-8 lg:pb-5 lg:pl-64 lg:pr-3.5 @@ -304,6 +314,10 @@ lg:ring-1 lg:ring-base-content/10 lg:rounded-lg lg:shadow-xs +link +link-animated +link-hover +link-primary list-disc list-inside loading @@ -327,7 +341,9 @@ max-w-sm max-w-xl mb-0.5 mb-1 +mb-1.5 mb-2 +mb-2.5 mb-3 mb-4 mb-5 @@ -341,6 +357,7 @@ md:text-3xl me-1 me-1.5 me-2 +me-2.5 me-5 menu menu-active @@ -352,6 +369,7 @@ menu-horizontal menu-title min-h-0 min-h-full +min-h-screen min-h-svh min-w-0 min-w-28 @@ -371,6 +389,7 @@ mr-2 mr-4 ms-1 ms-2 +ms-2.5 ms-3 mt-1 mt-1.5 @@ -385,6 +404,7 @@ mt-6 mt-8 mx-1 mx-auto +my-2.5 my-3 my-5 my-auto @@ -396,6 +416,7 @@ outline outline-0 overflow-hidden overflow-x-auto +overflow-x-hidden overflow-y-auto overlay-open:duration-50 overlay-open:opacity-100 @@ -409,6 +430,7 @@ p-4 p-5 p-6 p-8 +pe-1.5 pin-input pin-input-underline placeholder-base-content/60 @@ -421,6 +443,7 @@ progress-indeterminate progress-primary pt-0 pt-0.5 +pt-1.5 pt-3 px-1.5 px-2 @@ -431,6 +454,7 @@ px-5 px-6 py-0.5 py-1.5 +py-10 py-12 py-2 py-2.5 @@ -450,6 +474,7 @@ rounded-full rounded-lg rounded-md rounded-t-lg +rounded-xl row-active row-hover rtl:!mr-0 @@ -468,10 +493,12 @@ selected:select-active shadow shadow-base-300/20 shadow-lg +shadow-md shadow-sm shadow-xs shrink-0 size-10 +size-12 size-4 size-5 size-7 @@ -481,6 +508,7 @@ skeleton-animated sm:auto-cols-max sm:col-span-2 sm:flex +sm:flex-nowrap sm:gap-y-0 sm:grid-cols-3 sm:grid-cols-6 @@ -500,6 +528,7 @@ sm:max-w-lg sm:max-w-md sm:max-w-xl sm:mb-0 +sm:min-w-md sm:mr-3 sm:mt-5 sm:mt-6 @@ -511,6 +540,7 @@ sm:py-2 sm:rounded-lg sm:text-sm sm:text-sm/5 +sm:w-1/2 sm:w-full space-x-1 space-y-1 @@ -619,12 +649,14 @@ w-32 w-4 w-56 w-64 +w-8 w-auto w-fit w-full whitespace-nowrap xl:grid-cols-3 xl:grid-cols-4 +z-1 z-10 z-40 z-50 \ No newline at end of file diff --git a/Moonlight.Shared/Moonlight.Shared.csproj b/Moonlight.Shared/Moonlight.Shared.csproj index b9f474b2..34534fcf 100644 --- a/Moonlight.Shared/Moonlight.Shared.csproj +++ b/Moonlight.Shared/Moonlight.Shared.csproj @@ -9,7 +9,7 @@ Moonlight.Shared shared Moonlight.Shared - 2.1.6 + 2.1.7 Moonlight Panel A build of the shared classes for moonlight development https://github.com/Moonlight-Panel/Moonlight