Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
refactor: relocate fe path
Browse files Browse the repository at this point in the history
  • Loading branch information
foxminchan committed Jun 8, 2024
1 parent a8b08c8 commit 4ae8a31
Show file tree
Hide file tree
Showing 396 changed files with 12 additions and 14 deletions.
16 changes: 8 additions & 8 deletions RookieShop.sln
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
Directory.Packages.props = Directory.Packages.props
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RookieShop.Storefront", "ui\storefront\RookieShop.Storefront.csproj", "{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RookieShop.AppHost", "src\RookieShop.AppHost\RookieShop.AppHost.csproj", "{10628648-06E4-423A-ADEE-546E78B93C54}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RookieShop.ServiceDefaults", "src\RookieShop.ServiceDefaults\RookieShop.ServiceDefaults.csproj", "{F7FFD881-B07E-43FD-B5FD-AC99C9BD4DA4}"
Expand All @@ -50,7 +48,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Ci", "Ci", "{E25F3FAA-D99A-
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Apps", "Apps", "{8E2BC52F-E818-4120-B4C9-B76DB37F5814}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RookieShop.Bff", "src\RookieShop.Bff\RookieShop.Bff.csproj", "{494D964E-4C5A-451D-952D-ADF70609958D}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RookieShop.Bff", "src\RookieShop.Bff\RookieShop.Bff.csproj", "{494D964E-4C5A-451D-952D-ADF70609958D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "RookieShop.Storefront", "src\RookieShop.StoreFront\RookieShop.Storefront.csproj", "{9F74053E-F443-4DBF-87AE-9FC86DFC63E3}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -90,10 +90,6 @@ Global
{A54EB848-5D0A-43F9-B2D0-B5294812B40B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A54EB848-5D0A-43F9-B2D0-B5294812B40B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A54EB848-5D0A-43F9-B2D0-B5294812B40B}.Release|Any CPU.Build.0 = Release|Any CPU
{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32}.Release|Any CPU.Build.0 = Release|Any CPU
{10628648-06E4-423A-ADEE-546E78B93C54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{10628648-06E4-423A-ADEE-546E78B93C54}.Debug|Any CPU.Build.0 = Debug|Any CPU
{10628648-06E4-423A-ADEE-546E78B93C54}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -112,6 +108,10 @@ Global
{494D964E-4C5A-451D-952D-ADF70609958D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{494D964E-4C5A-451D-952D-ADF70609958D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{494D964E-4C5A-451D-952D-ADF70609958D}.Release|Any CPU.Build.0 = Release|Any CPU
{9F74053E-F443-4DBF-87AE-9FC86DFC63E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9F74053E-F443-4DBF-87AE-9FC86DFC63E3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9F74053E-F443-4DBF-87AE-9FC86DFC63E3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9F74053E-F443-4DBF-87AE-9FC86DFC63E3}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -128,13 +128,13 @@ Global
{650E65F6-4A1D-4E0A-8A4F-20A7C4FA7FEF} = {380DFF7B-1954-4E01-9492-81C1D2F6A81B}
{57D66B05-206D-4084-A97E-503E9B095D6C} = {380DFF7B-1954-4E01-9492-81C1D2F6A81B}
{A54EB848-5D0A-43F9-B2D0-B5294812B40B} = {24EA753A-992E-446B-85FD-9FED19F11D07}
{7B4F1C8B-6387-42DD-B821-CAA4BFBC7A32} = {24EA753A-992E-446B-85FD-9FED19F11D07}
{10628648-06E4-423A-ADEE-546E78B93C54} = {24EA753A-992E-446B-85FD-9FED19F11D07}
{F7FFD881-B07E-43FD-B5FD-AC99C9BD4DA4} = {DB1757F4-A4F5-4875-86CE-36F5CD224FE7}
{DB1757F4-A4F5-4875-86CE-36F5CD224FE7} = {8E2BC52F-E818-4120-B4C9-B76DB37F5814}
{1DAF71FC-208E-4F24-9938-96D37BE25122} = {380DFF7B-1954-4E01-9492-81C1D2F6A81B}
{DDCD1FF6-A9F4-4098-8B81-12DF975476E6} = {E25F3FAA-D99A-4142-8455-5C4E74F370CB}
{494D964E-4C5A-451D-952D-ADF70609958D} = {24EA753A-992E-446B-85FD-9FED19F11D07}
{9F74053E-F443-4DBF-87AE-9FC86DFC63E3} = {24EA753A-992E-446B-85FD-9FED19F11D07}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {72C306FE-AEB3-4169-B515-760DEB0E3994}
Expand Down
2 changes: 1 addition & 1 deletion src/RookieShop.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
.WithEnvironment("OpenIdSettings__Authority", identityService.GetEndpoint(protocol));

var backoffice = builder
.AddNpmApp("backoffice", "../../ui/backoffice", "dev:ssl")
.AddNpmApp("backoffice", "../RookieShop.Backoffice", "dev:ssl")
.WithHttpEndpoint(3000, env: "PORT")
.WithEnvironment("BROWSER", "none")
.WithEnvironment("NEXT_PUBLIC_REMOTE_BFF", bff.GetEndpoint(protocol))
Expand Down
8 changes: 3 additions & 5 deletions src/RookieShop.AppHost/RookieShop.AppHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\ui\storefront\RookieShop.Storefront.csproj" />
<ProjectReference Include="..\RookieShop.ApiService\RookieShop.ApiService.csproj" />
<ProjectReference Include="..\RookieShop.Bff\RookieShop.Bff.csproj" />
<ProjectReference Include="..\RookieShop.IdentityService\RookieShop.IdentityService.csproj" />
<ProjectReference Include="..\RookieShop.StoreFront\RookieShop.Storefront.csproj" />
</ItemGroup>

<ItemGroup>
Expand All @@ -32,10 +32,8 @@
<ItemGroup>
<PackageJsons Include="..\..\ui\*\package.json" />
</ItemGroup>
<Message Importance="Normal" Text="Installing node packages for %(PackageJsons.RelativeDir)"
Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
<Exec Command="bun install" WorkingDirectory="%(PackageJsons.RootDir)%(PackageJsons.Directory)"
Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
<Message Importance="Normal" Text="Installing node packages for %(PackageJsons.RelativeDir)" Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
<Exec Command="bun install" WorkingDirectory="%(PackageJsons.RootDir)%(PackageJsons.Directory)" Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
</Target>

</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 4ae8a31

Please sign in to comment.