diff --git a/.gitignore b/.gitignore index 9233517..47762a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /packages/ /bin/ /obj/ +appsettings.Testing.json diff --git a/.vscode/launch.json b/.vscode/launch.json index 6f22741..1d1011d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -9,7 +9,7 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build", - "program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/nuget-host.dll", + "program": "${workspaceFolder}/src/nuget-host/bin/Debug/netcoreapp2.1/nuget-host.dll", "args": [], "cwd": "${workspaceFolder}", "stopAtEntry": false, @@ -22,7 +22,7 @@ "ASPNETCORE_ENVIRONMENT": "Development" }, "sourceFileMap": { - "/Views": "${workspaceFolder}/Views" + "/Views": "${workspaceFolder}/src/nuget-host/Views" } }, { @@ -30,9 +30,9 @@ "type": "coreclr", "request": "launch", "preLaunchTask": "build", - "program": "${workspaceFolder}/bin/Debug/netcoreapp2.1/nuget-host.dll", + "program": "${workspaceFolder}/src/nuget-host/bin/Debug/netcoreapp2.1/nuget-host.dll", "args": [], - "cwd": "${workspaceFolder}", + "cwd": "${workspaceFolder}/src/nuget-host/", "stopAtEntry": false, "requireExactSource": false, "serverReadyAction": { @@ -43,7 +43,7 @@ "ASPNETCORE_ENVIRONMENT": "Production" }, "sourceFileMap": { - "/Views": "${workspaceFolder}/Views" + "/Views": "${workspaceFolder}/src/nuget-host/Views" } } ] diff --git a/omnisharp.json b/omnisharp.json index e2247f9..c499d78 100644 --- a/omnisharp.json +++ b/omnisharp.json @@ -1,6 +1,5 @@ { "msbuild": { - "useBundledOnly": false, "Configuration": "Debug", "CscToolPath": "/usr/bin", "CscToolExe": "csc" diff --git a/Controllers/AccountController.cs b/src/nuget-host/Controllers/AccountController.cs similarity index 100% rename from Controllers/AccountController.cs rename to src/nuget-host/Controllers/AccountController.cs diff --git a/Controllers/ApiKeysController.cs b/src/nuget-host/Controllers/ApiKeysController.cs similarity index 100% rename from Controllers/ApiKeysController.cs rename to src/nuget-host/Controllers/ApiKeysController.cs diff --git a/Controllers/HomeController.cs b/src/nuget-host/Controllers/HomeController.cs similarity index 100% rename from Controllers/HomeController.cs rename to src/nuget-host/Controllers/HomeController.cs diff --git a/Controllers/PackagesController.cs b/src/nuget-host/Controllers/PackagesController.cs similarity index 100% rename from Controllers/PackagesController.cs rename to src/nuget-host/Controllers/PackagesController.cs diff --git a/Data/ApplicationDbContext.cs b/src/nuget-host/Data/ApplicationDbContext.cs similarity index 100% rename from Data/ApplicationDbContext.cs rename to src/nuget-host/Data/ApplicationDbContext.cs diff --git a/Entities/NugetSettings.cs b/src/nuget-host/Entities/NugetSettings.cs similarity index 100% rename from Entities/NugetSettings.cs rename to src/nuget-host/Entities/NugetSettings.cs diff --git a/Entities/SmtpSettings.cs b/src/nuget-host/Entities/SmtpSettings.cs similarity index 100% rename from Entities/SmtpSettings.cs rename to src/nuget-host/Entities/SmtpSettings.cs diff --git a/Extensions/Extensions.cs b/src/nuget-host/Extensions/Extensions.cs similarity index 100% rename from Extensions/Extensions.cs rename to src/nuget-host/Extensions/Extensions.cs diff --git a/Helpers/NuspecCoreReaderHelpers.cs b/src/nuget-host/Helpers/NuspecCoreReaderHelpers.cs similarity index 100% rename from Helpers/NuspecCoreReaderHelpers.cs rename to src/nuget-host/Helpers/NuspecCoreReaderHelpers.cs diff --git a/Interfaces/IMailer.cs b/src/nuget-host/Interfaces/IMailer.cs similarity index 100% rename from Interfaces/IMailer.cs rename to src/nuget-host/Interfaces/IMailer.cs diff --git a/Migrations/20210424155323_init.Designer.cs b/src/nuget-host/Migrations/20210424155323_init.Designer.cs similarity index 100% rename from Migrations/20210424155323_init.Designer.cs rename to src/nuget-host/Migrations/20210424155323_init.Designer.cs diff --git a/Migrations/20210424155323_init.cs b/src/nuget-host/Migrations/20210424155323_init.cs similarity index 100% rename from Migrations/20210424155323_init.cs rename to src/nuget-host/Migrations/20210424155323_init.cs diff --git a/Migrations/20210502153508_api-keys.Designer.cs b/src/nuget-host/Migrations/20210502153508_api-keys.Designer.cs similarity index 100% rename from Migrations/20210502153508_api-keys.Designer.cs rename to src/nuget-host/Migrations/20210502153508_api-keys.Designer.cs diff --git a/Migrations/20210502153508_api-keys.cs b/src/nuget-host/Migrations/20210502153508_api-keys.cs similarity index 100% rename from Migrations/20210502153508_api-keys.cs rename to src/nuget-host/Migrations/20210502153508_api-keys.cs diff --git a/Migrations/20210508012908_ApkiKey.CreationDate.Designer.cs b/src/nuget-host/Migrations/20210508012908_ApkiKey.CreationDate.Designer.cs similarity index 100% rename from Migrations/20210508012908_ApkiKey.CreationDate.Designer.cs rename to src/nuget-host/Migrations/20210508012908_ApkiKey.CreationDate.Designer.cs diff --git a/Migrations/20210508012908_ApkiKey.CreationDate.cs b/src/nuget-host/Migrations/20210508012908_ApkiKey.CreationDate.cs similarity index 100% rename from Migrations/20210508012908_ApkiKey.CreationDate.cs rename to src/nuget-host/Migrations/20210508012908_ApkiKey.CreationDate.cs diff --git a/Migrations/ApplicationDbContextModelSnapshot.cs b/src/nuget-host/Migrations/ApplicationDbContextModelSnapshot.cs similarity index 100% rename from Migrations/ApplicationDbContextModelSnapshot.cs rename to src/nuget-host/Migrations/ApplicationDbContextModelSnapshot.cs diff --git a/Models/Account/AccountOptions.cs b/src/nuget-host/Models/Account/AccountOptions.cs similarity index 100% rename from Models/Account/AccountOptions.cs rename to src/nuget-host/Models/Account/AccountOptions.cs diff --git a/Models/Account/ExternalProvider.cs b/src/nuget-host/Models/Account/ExternalProvider.cs similarity index 100% rename from Models/Account/ExternalProvider.cs rename to src/nuget-host/Models/Account/ExternalProvider.cs diff --git a/Models/Account/LoggedOutViewModel.cs b/src/nuget-host/Models/Account/LoggedOutViewModel.cs similarity index 100% rename from Models/Account/LoggedOutViewModel.cs rename to src/nuget-host/Models/Account/LoggedOutViewModel.cs diff --git a/Models/Account/LoginInputModel.cs b/src/nuget-host/Models/Account/LoginInputModel.cs similarity index 100% rename from Models/Account/LoginInputModel.cs rename to src/nuget-host/Models/Account/LoginInputModel.cs diff --git a/Models/Account/LoginViewModel.cs b/src/nuget-host/Models/Account/LoginViewModel.cs similarity index 100% rename from Models/Account/LoginViewModel.cs rename to src/nuget-host/Models/Account/LoginViewModel.cs diff --git a/Models/Account/LogoutInputModel.cs b/src/nuget-host/Models/Account/LogoutInputModel.cs similarity index 100% rename from Models/Account/LogoutInputModel.cs rename to src/nuget-host/Models/Account/LogoutInputModel.cs diff --git a/Models/Account/LogoutViewModel.cs b/src/nuget-host/Models/Account/LogoutViewModel.cs similarity index 100% rename from Models/Account/LogoutViewModel.cs rename to src/nuget-host/Models/Account/LogoutViewModel.cs diff --git a/Models/Account/RedirectViewModel.cs b/src/nuget-host/Models/Account/RedirectViewModel.cs similarity index 100% rename from Models/Account/RedirectViewModel.cs rename to src/nuget-host/Models/Account/RedirectViewModel.cs diff --git a/Models/Account/RegisterViewModel.cs b/src/nuget-host/Models/Account/RegisterViewModel.cs similarity index 100% rename from Models/Account/RegisterViewModel.cs rename to src/nuget-host/Models/Account/RegisterViewModel.cs diff --git a/Models/ApiKeys/ApiKey.cs b/src/nuget-host/Models/ApiKeys/ApiKey.cs similarity index 100% rename from Models/ApiKeys/ApiKey.cs rename to src/nuget-host/Models/ApiKeys/ApiKey.cs diff --git a/Models/ApiKeys/ApiKeyViewModel.cs b/src/nuget-host/Models/ApiKeys/ApiKeyViewModel.cs similarity index 100% rename from Models/ApiKeys/ApiKeyViewModel.cs rename to src/nuget-host/Models/ApiKeys/ApiKeyViewModel.cs diff --git a/Models/ApiKeys/CreateModel.cs b/src/nuget-host/Models/ApiKeys/CreateModel.cs similarity index 100% rename from Models/ApiKeys/CreateModel.cs rename to src/nuget-host/Models/ApiKeys/CreateModel.cs diff --git a/Models/ApiKeys/DeleteModel.cs b/src/nuget-host/Models/ApiKeys/DeleteModel.cs similarity index 100% rename from Models/ApiKeys/DeleteModel.cs rename to src/nuget-host/Models/ApiKeys/DeleteModel.cs diff --git a/Models/ApiKeys/DetailModel.cs b/src/nuget-host/Models/ApiKeys/DetailModel.cs similarity index 100% rename from Models/ApiKeys/DetailModel.cs rename to src/nuget-host/Models/ApiKeys/DetailModel.cs diff --git a/Models/ApiKeys/EditModel.cs b/src/nuget-host/Models/ApiKeys/EditModel.cs similarity index 100% rename from Models/ApiKeys/EditModel.cs rename to src/nuget-host/Models/ApiKeys/EditModel.cs diff --git a/Models/ApiKeys/IndexModel.cs b/src/nuget-host/Models/ApiKeys/IndexModel.cs similarity index 100% rename from Models/ApiKeys/IndexModel.cs rename to src/nuget-host/Models/ApiKeys/IndexModel.cs diff --git a/Models/ApplicationUser.cs b/src/nuget-host/Models/ApplicationUser.cs similarity index 100% rename from Models/ApplicationUser.cs rename to src/nuget-host/Models/ApplicationUser.cs diff --git a/Program.cs b/src/nuget-host/Program.cs similarity index 100% rename from Program.cs rename to src/nuget-host/Program.cs diff --git a/Services/EmailSender.cs b/src/nuget-host/Services/EmailSender.cs similarity index 100% rename from Services/EmailSender.cs rename to src/nuget-host/Services/EmailSender.cs diff --git a/Startup.cs b/src/nuget-host/Startup.cs similarity index 100% rename from Startup.cs rename to src/nuget-host/Startup.cs diff --git a/Views/Account/AccessDenied.cshtml b/src/nuget-host/Views/Account/AccessDenied.cshtml similarity index 100% rename from Views/Account/AccessDenied.cshtml rename to src/nuget-host/Views/Account/AccessDenied.cshtml diff --git a/Views/Account/LoggedOut.cshtml b/src/nuget-host/Views/Account/LoggedOut.cshtml similarity index 100% rename from Views/Account/LoggedOut.cshtml rename to src/nuget-host/Views/Account/LoggedOut.cshtml diff --git a/Views/Account/Login.cshtml b/src/nuget-host/Views/Account/Login.cshtml similarity index 100% rename from Views/Account/Login.cshtml rename to src/nuget-host/Views/Account/Login.cshtml diff --git a/Views/Account/Logout.cshtml b/src/nuget-host/Views/Account/Logout.cshtml similarity index 100% rename from Views/Account/Logout.cshtml rename to src/nuget-host/Views/Account/Logout.cshtml diff --git a/Views/Account/Register.cshtml b/src/nuget-host/Views/Account/Register.cshtml similarity index 100% rename from Views/Account/Register.cshtml rename to src/nuget-host/Views/Account/Register.cshtml diff --git a/Views/ApiKeys/Create.cshtml b/src/nuget-host/Views/ApiKeys/Create.cshtml similarity index 100% rename from Views/ApiKeys/Create.cshtml rename to src/nuget-host/Views/ApiKeys/Create.cshtml diff --git a/Views/ApiKeys/Delete.cshtml b/src/nuget-host/Views/ApiKeys/Delete.cshtml similarity index 100% rename from Views/ApiKeys/Delete.cshtml rename to src/nuget-host/Views/ApiKeys/Delete.cshtml diff --git a/Views/ApiKeys/Details.cshtml b/src/nuget-host/Views/ApiKeys/Details.cshtml similarity index 100% rename from Views/ApiKeys/Details.cshtml rename to src/nuget-host/Views/ApiKeys/Details.cshtml diff --git a/Views/ApiKeys/Edit.cshtml b/src/nuget-host/Views/ApiKeys/Edit.cshtml similarity index 100% rename from Views/ApiKeys/Edit.cshtml rename to src/nuget-host/Views/ApiKeys/Edit.cshtml diff --git a/Views/ApiKeys/Index.cshtml b/src/nuget-host/Views/ApiKeys/Index.cshtml similarity index 100% rename from Views/ApiKeys/Index.cshtml rename to src/nuget-host/Views/ApiKeys/Index.cshtml diff --git a/Views/Home/About.cshtml b/src/nuget-host/Views/Home/About.cshtml similarity index 100% rename from Views/Home/About.cshtml rename to src/nuget-host/Views/Home/About.cshtml diff --git a/Views/Home/Contact.cshtml b/src/nuget-host/Views/Home/Contact.cshtml similarity index 100% rename from Views/Home/Contact.cshtml rename to src/nuget-host/Views/Home/Contact.cshtml diff --git a/Views/Home/Index.cshtml b/src/nuget-host/Views/Home/Index.cshtml similarity index 100% rename from Views/Home/Index.cshtml rename to src/nuget-host/Views/Home/Index.cshtml diff --git a/Views/Home/Privacy.cshtml b/src/nuget-host/Views/Home/Privacy.cshtml similarity index 100% rename from Views/Home/Privacy.cshtml rename to src/nuget-host/Views/Home/Privacy.cshtml diff --git a/Views/Shared/Redirect.cshtml b/src/nuget-host/Views/Shared/Redirect.cshtml similarity index 100% rename from Views/Shared/Redirect.cshtml rename to src/nuget-host/Views/Shared/Redirect.cshtml diff --git a/Views/Shared/_Layout.cshtml b/src/nuget-host/Views/Shared/_Layout.cshtml similarity index 100% rename from Views/Shared/_Layout.cshtml rename to src/nuget-host/Views/Shared/_Layout.cshtml diff --git a/Views/Shared/_LoginPartial.cshtml b/src/nuget-host/Views/Shared/_LoginPartial.cshtml similarity index 100% rename from Views/Shared/_LoginPartial.cshtml rename to src/nuget-host/Views/Shared/_LoginPartial.cshtml diff --git a/Views/Shared/_Nav.cshtml b/src/nuget-host/Views/Shared/_Nav.cshtml similarity index 100% rename from Views/Shared/_Nav.cshtml rename to src/nuget-host/Views/Shared/_Nav.cshtml diff --git a/Views/Shared/_ValidationScriptsPartial.cshtml b/src/nuget-host/Views/Shared/_ValidationScriptsPartial.cshtml similarity index 100% rename from Views/Shared/_ValidationScriptsPartial.cshtml rename to src/nuget-host/Views/Shared/_ValidationScriptsPartial.cshtml diff --git a/Views/Shared/_ValidationSummary.cshtml b/src/nuget-host/Views/Shared/_ValidationSummary.cshtml similarity index 100% rename from Views/Shared/_ValidationSummary.cshtml rename to src/nuget-host/Views/Shared/_ValidationSummary.cshtml diff --git a/Views/_ViewImports.cshtml b/src/nuget-host/Views/_ViewImports.cshtml similarity index 100% rename from Views/_ViewImports.cshtml rename to src/nuget-host/Views/_ViewImports.cshtml diff --git a/Views/_ViewStart.cshtml b/src/nuget-host/Views/_ViewStart.cshtml similarity index 100% rename from Views/_ViewStart.cshtml rename to src/nuget-host/Views/_ViewStart.cshtml diff --git a/appsettings.Development.json b/src/nuget-host/appsettings.Development.json similarity index 76% rename from appsettings.Development.json rename to src/nuget-host/appsettings.Development.json index 0ff6031..a607b25 100644 --- a/appsettings.Development.json +++ b/src/nuget-host/appsettings.Development.json @@ -1,6 +1,5 @@ { "Nuget": { - "ExternalUrl" : "", "Nuget": { - "ExternalUrl" : "", "ProtectionTitle": "protected-data-v1", "MaxUserKeyCount": 1 diff --git a/nuget-host.csproj b/src/nuget-host/nuget-host.csproj similarity index 100% rename from nuget-host.csproj rename to src/nuget-host/nuget-host.csproj diff --git a/src/nuget-host/packages/Yavsc.Abstract/1.0.6-rc17/Yavsc.Abstract-1.0.6-rc17.nupkg b/src/nuget-host/packages/Yavsc.Abstract/1.0.6-rc17/Yavsc.Abstract-1.0.6-rc17.nupkg new file mode 100644 index 0000000..57939af Binary files /dev/null and b/src/nuget-host/packages/Yavsc.Abstract/1.0.6-rc17/Yavsc.Abstract-1.0.6-rc17.nupkg differ diff --git a/tempkey.rsa b/src/nuget-host/tempkey.rsa similarity index 100% rename from tempkey.rsa rename to src/nuget-host/tempkey.rsa diff --git a/wwwroot/css/site.css b/src/nuget-host/wwwroot/css/site.css similarity index 100% rename from wwwroot/css/site.css rename to src/nuget-host/wwwroot/css/site.css diff --git a/wwwroot/css/site.min.css b/src/nuget-host/wwwroot/css/site.min.css similarity index 100% rename from wwwroot/css/site.min.css rename to src/nuget-host/wwwroot/css/site.min.css diff --git a/wwwroot/css/site.scss b/src/nuget-host/wwwroot/css/site.scss similarity index 100% rename from wwwroot/css/site.scss rename to src/nuget-host/wwwroot/css/site.scss diff --git a/wwwroot/favicon.ico b/src/nuget-host/wwwroot/favicon.ico similarity index 100% rename from wwwroot/favicon.ico rename to src/nuget-host/wwwroot/favicon.ico diff --git a/wwwroot/icon.jpg b/src/nuget-host/wwwroot/icon.jpg similarity index 100% rename from wwwroot/icon.jpg rename to src/nuget-host/wwwroot/icon.jpg diff --git a/wwwroot/icon.png b/src/nuget-host/wwwroot/icon.png similarity index 100% rename from wwwroot/icon.png rename to src/nuget-host/wwwroot/icon.png diff --git a/wwwroot/images/banner1.svg b/src/nuget-host/wwwroot/images/banner1.svg similarity index 100% rename from wwwroot/images/banner1.svg rename to src/nuget-host/wwwroot/images/banner1.svg diff --git a/wwwroot/images/banner2.svg b/src/nuget-host/wwwroot/images/banner2.svg similarity index 100% rename from wwwroot/images/banner2.svg rename to src/nuget-host/wwwroot/images/banner2.svg diff --git a/wwwroot/images/banner3.svg b/src/nuget-host/wwwroot/images/banner3.svg similarity index 100% rename from wwwroot/images/banner3.svg rename to src/nuget-host/wwwroot/images/banner3.svg diff --git a/wwwroot/images/banner4.svg b/src/nuget-host/wwwroot/images/banner4.svg similarity index 100% rename from wwwroot/images/banner4.svg rename to src/nuget-host/wwwroot/images/banner4.svg diff --git a/wwwroot/js/signin-redirect.js b/src/nuget-host/wwwroot/js/signin-redirect.js similarity index 100% rename from wwwroot/js/signin-redirect.js rename to src/nuget-host/wwwroot/js/signin-redirect.js diff --git a/wwwroot/js/signout-redirect.js b/src/nuget-host/wwwroot/js/signout-redirect.js similarity index 100% rename from wwwroot/js/signout-redirect.js rename to src/nuget-host/wwwroot/js/signout-redirect.js diff --git a/wwwroot/js/site.js b/src/nuget-host/wwwroot/js/site.js similarity index 100% rename from wwwroot/js/site.js rename to src/nuget-host/wwwroot/js/site.js diff --git a/wwwroot/js/site.min.js b/src/nuget-host/wwwroot/js/site.min.js similarity index 100% rename from wwwroot/js/site.min.js rename to src/nuget-host/wwwroot/js/site.min.js diff --git a/wwwroot/lib/bootstrap/.bower.json b/src/nuget-host/wwwroot/lib/bootstrap/.bower.json similarity index 100% rename from wwwroot/lib/bootstrap/.bower.json rename to src/nuget-host/wwwroot/lib/bootstrap/.bower.json diff --git a/wwwroot/lib/bootstrap/LICENSE b/src/nuget-host/wwwroot/lib/bootstrap/LICENSE similarity index 100% rename from wwwroot/lib/bootstrap/LICENSE rename to src/nuget-host/wwwroot/lib/bootstrap/LICENSE diff --git a/wwwroot/lib/bootstrap/README.md b/src/nuget-host/wwwroot/lib/bootstrap/README.md similarity index 100% rename from wwwroot/lib/bootstrap/README.md rename to src/nuget-host/wwwroot/lib/bootstrap/README.md diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap-theme.min.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap.min.css rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css diff --git a/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map diff --git a/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot b/src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot rename to src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot diff --git a/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg b/src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg rename to src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg diff --git a/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf b/src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf rename to src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf diff --git a/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff b/src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff rename to src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff diff --git a/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 b/src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 similarity index 100% rename from wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 rename to src/nuget-host/wwwroot/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.js b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.js similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.js rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.js diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.js.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.min.js rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js diff --git a/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map diff --git a/wwwroot/lib/bootstrap/dist/js/npm.js b/src/nuget-host/wwwroot/lib/bootstrap/dist/js/npm.js similarity index 100% rename from wwwroot/lib/bootstrap/dist/js/npm.js rename to src/nuget-host/wwwroot/lib/bootstrap/dist/js/npm.js diff --git a/wwwroot/lib/bootstrap/scss/_alert.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_alert.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_alert.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_alert.scss diff --git a/wwwroot/lib/bootstrap/scss/_badge.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_badge.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_badge.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_badge.scss diff --git a/wwwroot/lib/bootstrap/scss/_breadcrumb.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_breadcrumb.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_breadcrumb.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_breadcrumb.scss diff --git a/wwwroot/lib/bootstrap/scss/_button-group.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_button-group.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_button-group.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_button-group.scss diff --git a/wwwroot/lib/bootstrap/scss/_buttons.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_buttons.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_buttons.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_buttons.scss diff --git a/wwwroot/lib/bootstrap/scss/_card.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_card.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_card.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_card.scss diff --git a/wwwroot/lib/bootstrap/scss/_carousel.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_carousel.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_carousel.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_carousel.scss diff --git a/wwwroot/lib/bootstrap/scss/_close.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_close.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_close.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_close.scss diff --git a/wwwroot/lib/bootstrap/scss/_code.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_code.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_code.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_code.scss diff --git a/wwwroot/lib/bootstrap/scss/_custom-forms.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_custom-forms.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_custom-forms.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_custom-forms.scss diff --git a/wwwroot/lib/bootstrap/scss/_dropdown.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_dropdown.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_dropdown.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_dropdown.scss diff --git a/wwwroot/lib/bootstrap/scss/_forms.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_forms.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_forms.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_forms.scss diff --git a/wwwroot/lib/bootstrap/scss/_functions.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_functions.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_functions.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_functions.scss diff --git a/wwwroot/lib/bootstrap/scss/_grid.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_grid.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_grid.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_grid.scss diff --git a/wwwroot/lib/bootstrap/scss/_images.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_images.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_images.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_images.scss diff --git a/wwwroot/lib/bootstrap/scss/_input-group.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_input-group.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_input-group.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_input-group.scss diff --git a/wwwroot/lib/bootstrap/scss/_jumbotron.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_jumbotron.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_jumbotron.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_jumbotron.scss diff --git a/wwwroot/lib/bootstrap/scss/_list-group.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_list-group.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_list-group.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_list-group.scss diff --git a/wwwroot/lib/bootstrap/scss/_media.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_media.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_media.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_media.scss diff --git a/wwwroot/lib/bootstrap/scss/_mixins.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_mixins.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_mixins.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_mixins.scss diff --git a/wwwroot/lib/bootstrap/scss/_modal.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_modal.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_modal.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_modal.scss diff --git a/wwwroot/lib/bootstrap/scss/_nav.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_nav.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_nav.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_nav.scss diff --git a/wwwroot/lib/bootstrap/scss/_navbar.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_navbar.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_navbar.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_navbar.scss diff --git a/wwwroot/lib/bootstrap/scss/_pagination.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_pagination.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_pagination.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_pagination.scss diff --git a/wwwroot/lib/bootstrap/scss/_popover.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_popover.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_popover.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_popover.scss diff --git a/wwwroot/lib/bootstrap/scss/_print.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_print.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_print.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_print.scss diff --git a/wwwroot/lib/bootstrap/scss/_progress.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_progress.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_progress.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_progress.scss diff --git a/wwwroot/lib/bootstrap/scss/_reboot.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_reboot.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_reboot.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_reboot.scss diff --git a/wwwroot/lib/bootstrap/scss/_root.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_root.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_root.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_root.scss diff --git a/wwwroot/lib/bootstrap/scss/_spinners.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_spinners.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_spinners.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_spinners.scss diff --git a/wwwroot/lib/bootstrap/scss/_tables.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_tables.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_tables.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_tables.scss diff --git a/wwwroot/lib/bootstrap/scss/_toasts.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_toasts.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_toasts.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_toasts.scss diff --git a/wwwroot/lib/bootstrap/scss/_tooltip.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_tooltip.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_tooltip.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_tooltip.scss diff --git a/wwwroot/lib/bootstrap/scss/_transitions.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_transitions.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_transitions.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_transitions.scss diff --git a/wwwroot/lib/bootstrap/scss/_type.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_type.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_type.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_type.scss diff --git a/wwwroot/lib/bootstrap/scss/_utilities.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_utilities.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_utilities.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_utilities.scss diff --git a/wwwroot/lib/bootstrap/scss/_variables.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/_variables.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/_variables.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/_variables.scss diff --git a/wwwroot/lib/bootstrap/scss/bootstrap-grid.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap-grid.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/bootstrap-grid.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap-grid.scss diff --git a/wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap-reboot.scss diff --git a/wwwroot/lib/bootstrap/scss/bootstrap.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/bootstrap.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/bootstrap.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_alert.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_alert.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_alert.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_alert.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_background-variant.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_badge.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_badge.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_badge.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_badge.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_border-radius.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_border-radius.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_border-radius.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_border-radius.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_box-shadow.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_breakpoints.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_breakpoints.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_breakpoints.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_breakpoints.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_buttons.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_buttons.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_buttons.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_buttons.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_caret.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_caret.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_caret.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_caret.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_clearfix.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_deprecate.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_float.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_float.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_float.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_float.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_forms.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_forms.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_forms.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_forms.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_gradients.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_gradients.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_gradients.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_gradients.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_grid-framework.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_grid-framework.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_grid-framework.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_grid-framework.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_grid.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_grid.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_grid.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_grid.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_hover.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_hover.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_hover.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_hover.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_image.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_image.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_image.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_image.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_list-group.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_list-group.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_list-group.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_list-group.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_lists.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_lists.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_lists.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_lists.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_nav-divider.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_pagination.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_pagination.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_pagination.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_pagination.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_reset-text.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_resize.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_resize.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_resize.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_resize.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_screen-reader.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_screen-reader.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_screen-reader.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_screen-reader.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_size.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_size.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_size.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_size.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_table-row.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_table-row.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_table-row.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_table-row.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-emphasis.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-hide.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_text-truncate.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_transition.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_transition.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_transition.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_transition.scss diff --git a/wwwroot/lib/bootstrap/scss/mixins/_visibility.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_visibility.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/mixins/_visibility.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/mixins/_visibility.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_align.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_align.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_align.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_align.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_background.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_background.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_background.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_background.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_borders.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_borders.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_borders.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_borders.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_clearfix.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_display.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_display.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_display.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_display.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_embed.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_embed.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_embed.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_embed.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_flex.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_flex.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_flex.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_flex.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_float.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_float.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_float.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_float.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_overflow.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_overflow.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_overflow.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_overflow.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_position.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_position.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_position.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_position.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_screenreaders.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_shadows.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_shadows.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_shadows.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_shadows.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_sizing.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_sizing.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_sizing.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_sizing.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_spacing.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_spacing.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_spacing.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_spacing.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_stretched-link.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_text.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_text.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_text.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_text.scss diff --git a/wwwroot/lib/bootstrap/scss/utilities/_visibility.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_visibility.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/utilities/_visibility.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/utilities/_visibility.scss diff --git a/wwwroot/lib/bootstrap/scss/vendor/_rfs.scss b/src/nuget-host/wwwroot/lib/bootstrap/scss/vendor/_rfs.scss similarity index 100% rename from wwwroot/lib/bootstrap/scss/vendor/_rfs.scss rename to src/nuget-host/wwwroot/lib/bootstrap/scss/vendor/_rfs.scss diff --git a/wwwroot/lib/jquery-validation-unobtrusive/.bower.json b/src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/.bower.json similarity index 100% rename from wwwroot/lib/jquery-validation-unobtrusive/.bower.json rename to src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/.bower.json diff --git a/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js b/src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js similarity index 100% rename from wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js rename to src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js diff --git a/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js b/src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js similarity index 100% rename from wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js rename to src/nuget-host/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js diff --git a/wwwroot/lib/jquery-validation/.bower.json b/src/nuget-host/wwwroot/lib/jquery-validation/.bower.json similarity index 100% rename from wwwroot/lib/jquery-validation/.bower.json rename to src/nuget-host/wwwroot/lib/jquery-validation/.bower.json diff --git a/wwwroot/lib/jquery-validation/LICENSE.md b/src/nuget-host/wwwroot/lib/jquery-validation/LICENSE.md similarity index 100% rename from wwwroot/lib/jquery-validation/LICENSE.md rename to src/nuget-host/wwwroot/lib/jquery-validation/LICENSE.md diff --git a/wwwroot/lib/jquery-validation/dist/additional-methods.js b/src/nuget-host/wwwroot/lib/jquery-validation/dist/additional-methods.js similarity index 100% rename from wwwroot/lib/jquery-validation/dist/additional-methods.js rename to src/nuget-host/wwwroot/lib/jquery-validation/dist/additional-methods.js diff --git a/wwwroot/lib/jquery-validation/dist/additional-methods.min.js b/src/nuget-host/wwwroot/lib/jquery-validation/dist/additional-methods.min.js similarity index 100% rename from wwwroot/lib/jquery-validation/dist/additional-methods.min.js rename to src/nuget-host/wwwroot/lib/jquery-validation/dist/additional-methods.min.js diff --git a/wwwroot/lib/jquery-validation/dist/jquery.validate.js b/src/nuget-host/wwwroot/lib/jquery-validation/dist/jquery.validate.js similarity index 100% rename from wwwroot/lib/jquery-validation/dist/jquery.validate.js rename to src/nuget-host/wwwroot/lib/jquery-validation/dist/jquery.validate.js diff --git a/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js b/src/nuget-host/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js similarity index 100% rename from wwwroot/lib/jquery-validation/dist/jquery.validate.min.js rename to src/nuget-host/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js diff --git a/wwwroot/lib/jquery/.bower.json b/src/nuget-host/wwwroot/lib/jquery/.bower.json similarity index 100% rename from wwwroot/lib/jquery/.bower.json rename to src/nuget-host/wwwroot/lib/jquery/.bower.json diff --git a/wwwroot/lib/jquery/LICENSE.txt b/src/nuget-host/wwwroot/lib/jquery/LICENSE.txt similarity index 100% rename from wwwroot/lib/jquery/LICENSE.txt rename to src/nuget-host/wwwroot/lib/jquery/LICENSE.txt diff --git a/wwwroot/lib/jquery/README.md b/src/nuget-host/wwwroot/lib/jquery/README.md similarity index 100% rename from wwwroot/lib/jquery/README.md rename to src/nuget-host/wwwroot/lib/jquery/README.md diff --git a/wwwroot/lib/jquery/dist/jquery.js b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.js similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.js rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.js diff --git a/wwwroot/lib/jquery/dist/jquery.min.js b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.min.js similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.min.js rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.min.js diff --git a/wwwroot/lib/jquery/dist/jquery.min.map b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.min.map similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.min.map rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.min.map diff --git a/wwwroot/lib/jquery/dist/jquery.slim.js b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.js similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.slim.js rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.js diff --git a/wwwroot/lib/jquery/dist/jquery.slim.min.js b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.min.js similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.slim.min.js rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.min.js diff --git a/wwwroot/lib/jquery/dist/jquery.slim.min.map b/src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.min.map similarity index 100% rename from wwwroot/lib/jquery/dist/jquery.slim.min.map rename to src/nuget-host/wwwroot/lib/jquery/dist/jquery.slim.min.map diff --git a/test/nuget.host.tests/UnitTestWebHost.cs b/test/nuget.host.tests/UnitTestWebHost.cs new file mode 100644 index 0000000..7d94702 --- /dev/null +++ b/test/nuget.host.tests/UnitTestWebHost.cs @@ -0,0 +1,47 @@ +using System; +using Microsoft.AspNetCore.Hosting; +using Microsoft.AspNetCore; +using nuget_host; +using Xunit; +using nuget_host.Data; +using Microsoft.Extensions.Options; +using nuget_host.Entities; + +namespace nuget.host.tests +{ + public class UnitTestWebHost + { + + [Fact] + public void TestHaveTestDbContext() + { + IWebHost webhost = BuildWebHost( new string[] { "--urls", "localhost:5003" }); + Assert.NotNull(webhost); + ApplicationDbContext dbcontext = (ApplicationDbContext) webhost.Services.GetService(typeof(ApplicationDbContext)); + Assert.NotNull(dbcontext); + dbcontext.Database.EnsureCreated(); + } + + [Fact] + public void TestHaveConfig() + { + string envVar = Environment.GetEnvironmentVariable("ASPNETCORE_ENVIRONMENT"); + Assert.Equal("Testing", envVar); + IWebHost webhost = BuildWebHost( new string[] { "--urls", "localhost:5003" }); + Assert.NotNull(webhost); + IOptions configOptions = (IOptions) webhost.Services.GetService(typeof(IOptions)); + NugetSettings nugetConfig = configOptions.Value; + + Assert.NotNull(nugetConfig.ProtectionTitle); + Assert.NotNull(nugetConfig.PackagesRootDir); + Assert.True(nugetConfig.MaxUserKeyCount>0); + } + + + public static IWebHost BuildWebHost(string[] args) => + WebHost.CreateDefaultBuilder(args) + .UseStartup() + .Build(); + + } +} diff --git a/test/nuget.host.tests/nuget.host.tests.csproj b/test/nuget.host.tests/nuget.host.tests.csproj new file mode 100644 index 0000000..50ccc2f --- /dev/null +++ b/test/nuget.host.tests/nuget.host.tests.csproj @@ -0,0 +1,22 @@ + + + + netcoreapp2.1 + + false + d7144e46-4e63-4391-ba86-64b61f6e7be4 + + + + + + + + + + + + + + +