Added plugins.props files for plugin references. Fixed small tailwind mapping issue. Adjusted actions file to publish packages correctly again. Updated versions
This commit is contained in:
58
.github/workflows/publish-dev-packages.yml
vendored
58
.github/workflows/publish-dev-packages.yml
vendored
@@ -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
|
||||
# Step 2: Checkout the code
|
||||
- name: Checkout code
|
||||
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
|
||||
# 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
|
||||
@@ -18,4 +18,6 @@
|
||||
<PackageReference Include="MoonCore.PluginFramework" Version="1.0.8" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Plugins.props" />
|
||||
|
||||
</Project>
|
||||
|
||||
4
Moonlight.ApiServer.Runtime/Plugins.props
Normal file
4
Moonlight.ApiServer.Runtime/Plugins.props
Normal file
@@ -0,0 +1,4 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -14,7 +14,7 @@
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<PackageId>Moonlight.ApiServer</PackageId>
|
||||
<Version>2.1.6</Version>
|
||||
<Version>2.1.7</Version>
|
||||
<Authors>Moonlight Panel</Authors>
|
||||
<Description>A build of the api server for moonlight development</Description>
|
||||
<PackageProjectUrl>https://github.com/Moonlight-Panel/Moonlight</PackageProjectUrl>
|
||||
|
||||
@@ -19,4 +19,6 @@
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.5" PrivateAssets="all"/>
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="Plugins.props" />
|
||||
|
||||
</Project>
|
||||
|
||||
4
Moonlight.Client.Runtime/Plugins.props
Normal file
4
Moonlight.Client.Runtime/Plugins.props
Normal file
@@ -0,0 +1,4 @@
|
||||
<Project>
|
||||
<ItemGroup>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@@ -24,7 +24,7 @@
|
||||
@source "../**/*.razor";
|
||||
@source "../**/*.cs";
|
||||
@source "../**/*.html";
|
||||
@source "./mappings/*.map";
|
||||
@source "**/*.map";
|
||||
|
||||
@source "../../Moonlight.Client/**/*.cs";
|
||||
@source "../../Moonlight.Client/**/*.html";
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<PropertyGroup>
|
||||
<PackageTags>frontend</PackageTags>
|
||||
<PackageId>Moonlight.Client</PackageId>
|
||||
<Version>2.1.6</Version>
|
||||
<Version>2.1.7</Version>
|
||||
<Authors>Moonlight Panel</Authors>
|
||||
<Description>A build of the client for moonlight development</Description>
|
||||
<PackageProjectUrl>https://github.com/Moonlight-Panel/Moonlight</PackageProjectUrl>
|
||||
|
||||
@@ -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
|
||||
@@ -9,7 +9,7 @@
|
||||
<Title>Moonlight.Shared</Title>
|
||||
<PackageTags>shared</PackageTags>
|
||||
<PackageId>Moonlight.Shared</PackageId>
|
||||
<Version>2.1.6</Version>
|
||||
<Version>2.1.7</Version>
|
||||
<Authors>Moonlight Panel</Authors>
|
||||
<Description>A build of the shared classes for moonlight development</Description>
|
||||
<PackageProjectUrl>https://github.com/Moonlight-Panel/Moonlight</PackageProjectUrl>
|
||||
|
||||
Reference in New Issue
Block a user