Skip to content

Commit

Permalink
switch to port 7000, update scriban because it was causing issues, up…
Browse files Browse the repository at this point in the history
…date npm packages
  • Loading branch information
belav committed Sep 18, 2021
1 parent d0dbcb6 commit 0c694e1
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 62 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dotnet watch run
cd ClientApp
npm run start
```
- This should open the playground website at http://localhost:5000
- This should open the playground website at http://localhost:7000
- Paste the code you want to format there and click format.
- The playground includes options to view the AST and generated doc tree, which help troubleshooting issues.

Expand Down
2 changes: 1 addition & 1 deletion Src/CSharpier.Generators/CSharpier.Generators.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.8.0" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="3.8.0" />
<PackageReference Include="Scriban" Version="3.9.0" IncludeAssets="Build" />
<PackageReference Include="Scriban" Version="4.0.1" IncludeAssets="Build" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Src/CSharpier.Playground/ClientApp/configs/webpack/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module.exports = merge(commonConfig, {
hot: true,
disableHostCheck: true,
host: "0.0.0.0",
port: 5010,
port: 7010,
injectClient: false,
},
devtool: "cheap-module-eval-source-map",
Expand Down
89 changes: 34 additions & 55 deletions Src/CSharpier.Playground/ClientApp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Src/CSharpier.Playground/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"Playground": {
"commandName": "Project",
"launchBrowser": true,
"applicationUrl": "https://localhost:5001;http://localhost:5000",
"applicationUrl": "http://localhost:7000",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
Expand Down
3 changes: 1 addition & 2 deletions Src/CSharpier.Playground/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ ILoggerFactory loggerFactory
else
{
app.UseExceptionHandler("/Error");
// The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
app.UseHsts();
app.UseHttpsRedirection();
}
Expand All @@ -70,7 +69,7 @@ ILoggerFactory loggerFactory
if (env.IsDevelopment())
{
spa.UseProxyToSpaDevelopmentServer("http://localhost:5010");
spa.UseProxyToSpaDevelopmentServer("http://localhost:7010");
}
}
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Common" Version="3.8.0" />
<PackageReference Include="Scriban" Version="3.9.0" IncludeAssets="Build" />
<PackageReference Include="Scriban" Version="4.0.1" IncludeAssets="Build" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 0c694e1

Please sign in to comment.