Skip to content

Commit

Permalink
Builds TS from RCL project #285
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffputz committed Aug 29, 2022
1 parent 2e6da97 commit dac35d7
Show file tree
Hide file tree
Showing 47 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ src/PopForums.Web/wwwroot/lib/PopForums/dist/*
node_modules
src/PopForums.AzureKit.Functions/Properties/ServiceDependencies
src/PopForums.Web/package-lock.json
src/PopForums.Web/wwwroot/lib/PopForums/src/PopForums.js
src/PopForums.Mvc/wwwroot/PopForums.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
@section HeaderContent {
<environment include="Development">
<script src="~/lib/signalr/dist/signalr.js" asp-append-version="true"></script>
<script src="~/lib/PopForums/src/PopForums.js" asp-append-version="true"></script>
<script src="~/_content/PopForums.Mvc/PopForums.js" asp-append-version="true"></script>
<link href="~/lib/PopForums/src/PopForums.css" rel="stylesheet" asp-append-version="true" />
</environment>
<environment exclude="Development">
<script src="~/lib/signalr/dist/signalr.min.js" asp-append-version="true"></script>
<script src="~/lib/PopForums/dist/PopForums.min.js" asp-append-version="true"></script>
<script src="~/_content/PopForums.Mvc/PopForums.js" asp-append-version="true"></script>
<link href="~/lib/PopForums/dist/PopForums.min.css" rel="stylesheet" asp-append-version="true" />
</environment>
@RenderSection("HeaderContent", required: false)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "es2018",
"inlineSources": true,
"inlineSourceMap": true,
"outFile": "../PopForums.js",
"outFile": "../wwwroot/PopForums.js",
"experimentalDecorators": true,
"noImplicitAny": true,
"suppressImplicitAnyIndexErrors": true,
Expand Down
11 changes: 11 additions & 0 deletions src/PopForums.Mvc/PopForums.Mvc.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,26 @@
<RepositoryUrl>https://github.com/POPWorldMedia/POPForums</RepositoryUrl>
<Copyright>2022, POP World Media, LLC</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<!--This is an important line to trigger the hot reload:-->
<AssignTargetPathsDependsOn>CompileTypeScript;$(AssignTargetPathsDependsOn)</AssignTargetPathsDependsOn>
</PropertyGroup>

<ItemGroup>
<FrameworkReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="4.8.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="PopIdentity" Version="3.0.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\PopForums\PopForums.csproj" />
</ItemGroup>

<ItemGroup>
<Folder Include="Client\" />
<Folder Include="wwwroot\" />
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion src/PopForums.Web/wwwroot/lib/PopForums/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@popworldmedia/popforums",
"version": "19.0.0-prerelease.355",
"version": "19.0.0-prerelease.357",
"description": "POP Forums client side",
"scripts": {},
"repository": {
Expand Down

0 comments on commit dac35d7

Please sign in to comment.