From 609ea3a44351ce6df510b9cc611dfe85a088be24 Mon Sep 17 00:00:00 2001 From: ChiaraBm Date: Thu, 12 Mar 2026 13:53:30 +0000 Subject: [PATCH] Added nuget package settings. Fixed style building --- .../Styles/extract-classes.mjs | 4 ++-- MoonlightServers.Api/MoonlightServers.Api.csproj | 11 +++++++++++ .../MoonlightServers.DaemonShared.csproj | 12 ++++++++++++ .../MoonlightServers.Frontend.csproj | 15 +++++++++++++-- .../MoonlightServers.Frontend.targets | 15 +++++++++++++++ .../Servers.Frontend.targets | 15 --------------- .../Styles/MoonlightServers.Frontend.map | 1 + .../MoonlightServers.Shared.csproj | 12 ++++++++++++ 8 files changed, 66 insertions(+), 19 deletions(-) create mode 100644 MoonlightServers.Frontend/MoonlightServers.Frontend.targets delete mode 100644 MoonlightServers.Frontend/Servers.Frontend.targets create mode 100644 MoonlightServers.Frontend/Styles/MoonlightServers.Frontend.map diff --git a/Hosts/MoonlightServers.Frontend.Host/Styles/extract-classes.mjs b/Hosts/MoonlightServers.Frontend.Host/Styles/extract-classes.mjs index 7350766..52e1dd3 100644 --- a/Hosts/MoonlightServers.Frontend.Host/Styles/extract-classes.mjs +++ b/Hosts/MoonlightServers.Frontend.Host/Styles/extract-classes.mjs @@ -15,8 +15,8 @@ export default function extractTailwindClasses(opts = {}) { }, OnceExit() { const classArray = Array.from(classSet).sort(); - fs.mkdirSync('../../../Servers.Frontend/Styles', { recursive: true }); - fs.writeFileSync('../../../Servers.Frontend/Styles/Servers.Frontend.map', classArray.join('\n')); + fs.mkdirSync('../../../MoonlightServers.Frontend/Styles', { recursive: true }); + fs.writeFileSync('../../../MoonlightServers.Frontend/Styles/MoonlightServers.Frontend.map', classArray.join('\n')); console.log(`Extracted classes ${classArray.length}`); } }; diff --git a/MoonlightServers.Api/MoonlightServers.Api.csproj b/MoonlightServers.Api/MoonlightServers.Api.csproj index 60d0908..68327c1 100644 --- a/MoonlightServers.Api/MoonlightServers.Api.csproj +++ b/MoonlightServers.Api/MoonlightServers.Api.csproj @@ -6,6 +6,17 @@ enable + + 2.1.0 + MoonlightServers.Api + Moonlight Panel + Development package of MoonlightServers.Api + Moonlight Panel + https://git.battlestati.one/Moonlight-Panel/Servers + https://git.battlestati.one/Moonlight-Panel/Servers/src/branch/v2.1/LICENSE + https://git.battlestati.one/Moonlight-Panel/Servers + git + diff --git a/MoonlightServers.DaemonShared/MoonlightServers.DaemonShared.csproj b/MoonlightServers.DaemonShared/MoonlightServers.DaemonShared.csproj index ff5b973..60d7d36 100644 --- a/MoonlightServers.DaemonShared/MoonlightServers.DaemonShared.csproj +++ b/MoonlightServers.DaemonShared/MoonlightServers.DaemonShared.csproj @@ -6,6 +6,18 @@ enable + + 2.1.0 + MoonlightServers.DaemonShared + Moonlight Panel + Development package of MoonlightServers.DaemonShared + Moonlight Panel + https://git.battlestati.one/Moonlight-Panel/Servers + https://git.battlestati.one/Moonlight-Panel/Servers/src/branch/v2.1/LICENSE + https://git.battlestati.one/Moonlight-Panel/Servers + git + + diff --git a/MoonlightServers.Frontend/MoonlightServers.Frontend.csproj b/MoonlightServers.Frontend/MoonlightServers.Frontend.csproj index b651e69..8e7d2b9 100644 --- a/MoonlightServers.Frontend/MoonlightServers.Frontend.csproj +++ b/MoonlightServers.Frontend/MoonlightServers.Frontend.csproj @@ -6,6 +6,17 @@ enable + + 2.1.0 + MoonlightServers.Frontend + Moonlight Panel + Development package of MoonlightServers.Frontend + Moonlight Panel + https://git.battlestati.one/Moonlight-Panel/Servers + https://git.battlestati.one/Moonlight-Panel/Servers/src/branch/v2.1/LICENSE + https://git.battlestati.one/Moonlight-Panel/Servers + git + @@ -27,8 +38,8 @@ - - + + diff --git a/MoonlightServers.Frontend/MoonlightServers.Frontend.targets b/MoonlightServers.Frontend/MoonlightServers.Frontend.targets new file mode 100644 index 0000000..71c4b75 --- /dev/null +++ b/MoonlightServers.Frontend/MoonlightServers.Frontend.targets @@ -0,0 +1,15 @@ + + + + $(MSBuildProjectDirectory)\bin\MoonlightServers + + + + + + + + + + + \ No newline at end of file diff --git a/MoonlightServers.Frontend/Servers.Frontend.targets b/MoonlightServers.Frontend/Servers.Frontend.targets deleted file mode 100644 index 4505797..0000000 --- a/MoonlightServers.Frontend/Servers.Frontend.targets +++ /dev/null @@ -1,15 +0,0 @@ - - - - $(MSBuildProjectDirectory)\bin\Servers - - - - - - - - - - - \ No newline at end of file diff --git a/MoonlightServers.Frontend/Styles/MoonlightServers.Frontend.map b/MoonlightServers.Frontend/Styles/MoonlightServers.Frontend.map new file mode 100644 index 0000000..04cf93e --- /dev/null +++ b/MoonlightServers.Frontend/Styles/MoonlightServers.Frontend.map @@ -0,0 +1 @@ +THIS WILL BE AUTOGENERATED DURING PACKAGE BUILD \ No newline at end of file diff --git a/MoonlightServers.Shared/MoonlightServers.Shared.csproj b/MoonlightServers.Shared/MoonlightServers.Shared.csproj index bb60916..6900bb8 100644 --- a/MoonlightServers.Shared/MoonlightServers.Shared.csproj +++ b/MoonlightServers.Shared/MoonlightServers.Shared.csproj @@ -6,6 +6,18 @@ enable + + 2.1.0 + MoonlightServers.Shared + Moonlight Panel + Development package of MoonlightServers.Shared + Moonlight Panel + https://git.battlestati.one/Moonlight-Panel/Servers + https://git.battlestati.one/Moonlight-Panel/Servers/src/branch/v2.1/LICENSE + https://git.battlestati.one/Moonlight-Panel/Servers + git + +