Updated to latest moonlight and mooncore version. Done refactoring to async scheme and other changes. Recreated database migrations and cleaned models
This commit is contained in:
@@ -7,8 +7,8 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.5"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.5" PrivateAssets="all"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly" Version="9.0.9"/>
|
||||
<PackageReference Include="Microsoft.AspNetCore.Components.WebAssembly.DevServer" Version="9.0.9" PrivateAssets="all"/>
|
||||
<PackageReference Include="MoonCore.PluginFramework" Version="1.0.8" />
|
||||
<PackageReference Include="MoonCore.PluginFramework.Generator" Version="1.0.2" />
|
||||
</ItemGroup>
|
||||
|
||||
@@ -7,14 +7,14 @@ pluginLoader.Initialize();
|
||||
|
||||
var startup = new Startup();
|
||||
|
||||
await startup.Initialize(pluginLoader.Instances);
|
||||
await startup.InitializeAsync(pluginLoader.Instances);
|
||||
|
||||
var wasmHostBuilder = WebAssemblyHostBuilder.CreateDefault(args);
|
||||
|
||||
await startup.AddMoonlight(wasmHostBuilder);
|
||||
await startup.AddMoonlightAsync(wasmHostBuilder);
|
||||
|
||||
var wasmApp = wasmHostBuilder.Build();
|
||||
|
||||
await startup.AddMoonlight(wasmApp);
|
||||
await startup.AddMoonlightAsync(wasmApp);
|
||||
|
||||
await wasmApp.RunAsync();
|
||||
@@ -21,8 +21,8 @@ module.exports = (opts = {}) => {
|
||||
fs.mkdirSync("../../MoonlightServers.Frontend/Styles/mappings");
|
||||
}
|
||||
|
||||
fs.writeFileSync('../../MoonlightServers.Frontend/mappings/classes.map', classArray.join('\n'));
|
||||
console.log(`✅ Extracted ${classArray.length} Tailwind classes to tailwind-classes.txt`);
|
||||
fs.writeFileSync('../../MoonlightServers.Frontend/Styles/mappings/classes.map', classArray.join('\n'));
|
||||
console.log(`Extracted ${classArray.length} Tailwind classes`);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
@@ -100,18 +100,38 @@
|
||||
.select {
|
||||
@apply !border-base-content/20 border-2 ring-0! outline-0! focus:border-primary! focus-within:border-primary! bg-base-200/50;
|
||||
}
|
||||
|
||||
|
||||
.table {
|
||||
:where(th, td) {
|
||||
@apply py-1.5;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.dropdown-item {
|
||||
@apply px-2.5 py-1.5 text-sm;
|
||||
}
|
||||
|
||||
|
||||
.dropdown-menu {
|
||||
@apply bg-base-150;
|
||||
}
|
||||
|
||||
.advance-select-menu {
|
||||
@apply !border-base-content/20 border-2 ring-0! outline-0! bg-base-200/50 !px-0;
|
||||
}
|
||||
|
||||
.advance-select-option {
|
||||
@apply !rounded-none hover:!bg-primary;
|
||||
}
|
||||
|
||||
.advance-select-option.selected {
|
||||
@apply !bg-primary !text-primary-content;
|
||||
}
|
||||
|
||||
.advance-select-toggle {
|
||||
@apply !border-base-content/20 border-2 ring-0! outline-0! focus:border-primary! focus-within:border-primary! bg-base-200/50;
|
||||
}
|
||||
|
||||
.table thead {
|
||||
@apply !normal-case;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user