Skip to content

Commit

Permalink
update to Typescript 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
olmobrutall committed May 17, 2020
1 parent 1453912 commit a244722
Show file tree
Hide file tree
Showing 13 changed files with 281 additions and 207 deletions.
4 changes: 2 additions & 2 deletions Modules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

<Module Name="Chart" DependsOn="Files">
<RemoveLine Path="Southwind.Logic\Starter.cs" Line="sb.Schema.Settings.FieldAttributes((UserChartEntity uc) => uc.Owner).Replace(new ImplementedByAttribute(typeof(UserEntity), typeof(RoleEntity)));"/>
<RemoveLine Path="Southwind.Logic\Starter.cs" Line="ChartLogic.Start(sb);"/>
<RemoveLine Path="Southwind.Logic\Starter.cs" Line="ChartLogic.Start(sb, googleMapsChartScripts: false /*requires Google Maps API key in ChartClient */);"/>
<RemoveLine Path="Southwind.Logic\Starter.cs" Line="UserChartLogic.RegisterUserTypeCondition(sb, SouthwindGroup.UserEntities);"/>
<RemoveLine Path="Southwind.Logic\Starter.cs" Line="UserChartLogic.RegisterRoleTypeCondition(sb, SouthwindGroup.RoleEntities);"/>
<RemoveLine Path="Southwind.React\App\MainAdmin.tsx" Line="import * as ChartClient from &quot;@extensions/Chart/ChartClient&quot;"/>
Expand Down Expand Up @@ -279,7 +279,7 @@
<RemoveLine Path="Southwind.React\App\MainPublic.tsx" From="AuthClient.Options.onLogout = () => {" To="};"/>
<RemoveLine Path="Southwind.React\App\MainAdmin.tsx" Line="AuthAdminClient.start({ routes, types: true, properties: true, operations: true, queries: true, permissions: true });"/>
<RemoveLine Path="Southwind.Test.Environment\SouthwindEnvironment.cs" From="internal static void LoadUsers()" To="}//LoadUsers"/>
<RemoveLine Path="Southwind.Test.Environment\SouthwindEnvironment.cs" Line="user.SetMixin((UserEmployeeMixin e) => e.Employee, Database.Query&lt;EmployeeEntity>().Single(e => e.FirstName == userName).ToLite());" DependsOn="ExampleEntities"/>
<RemoveLine Path="Southwind.Test.Environment\SouthwindEnvironment.cs" Line="user.SetMixin((UserEmployeeMixin e) => e.Employee, Database.Query&lt;EmployeeEntity>().SingleOrDefaultEx(e => e.FirstName == userName)?.ToLite());" DependsOn="ExampleEntities"/>
<RemoveLine Path="Southwind.Test.Environment\EnvironmentTest.cs" Line="SouthwindEnvironment.LoadUsers();"/>
<RemoveLine Path="Southwind.Test.Environment\EnvironmentTest.cs" Line="var authRules = XDocument.Load(@&quot;..\..\..\..\Southwind.Terminal\AuthRules.xml&quot;);"/>
<RemoveLine Path="Southwind.Test.Environment\EnvironmentTest.cs" Line="AuthLogic.LoadRoles(authRules);"/>
Expand Down
2 changes: 1 addition & 1 deletion Southwind.Entities/Southwind.Entities.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Signum.Analyzer" Version="2.5.0" />
<PackageReference Include="Signum.Analyzer" Version="2.7.0" />
<PackageReference Include="Signum.MSBuildTask" Version="2.0.1" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Southwind.Logic/Southwind.Logic.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Signum.Analyzer" Version="2.5.0" />
<PackageReference Include="Signum.Analyzer" Version="2.7.0" />
<PackageReference Include="Signum.MSBuildTask" Version="2.0.1" />
<PackageReference Include="Microsoft.Exchange.WebServices.NETStandard" Version="1.1.3" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Southwind.Logic/Starter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public static void Start(string connectionString, bool isPostgres, bool includeD
UserQueryLogic.RegisterUserTypeCondition(sb, SouthwindGroup.UserEntities);
UserQueryLogic.RegisterRoleTypeCondition(sb, SouthwindGroup.RoleEntities);

ChartLogic.Start(sb);
ChartLogic.Start(sb, googleMapsChartScripts: false /*requires Google Maps API key in ChartClient */);
UserChartLogic.RegisterUserTypeCondition(sb, SouthwindGroup.UserEntities);
UserChartLogic.RegisterRoleTypeCondition(sb, SouthwindGroup.RoleEntities);

Expand Down
10 changes: 5 additions & 5 deletions Southwind.React/Southwind.React.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TypeScriptToolsVersion>3.8</TypeScriptToolsVersion>
<TypeScriptToolsVersion>3.9</TypeScriptToolsVersion>
<TypeScriptBuildMode>true</TypeScriptBuildMode>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
<Nullable>enable</Nullable>
Expand Down Expand Up @@ -55,14 +55,14 @@

<ItemGroup>
<PackageReference Include="CNTK.CPUOnly" Version="2.7.0" />
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.8.2">
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="3.9.2">
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.9.10" />
<PackageReference Include="Signum.Analyzer" Version="2.5.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
<PackageReference Include="Signum.Analyzer" Version="2.7.0" />
<PackageReference Include="Signum.TSGenerator" Version="3.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="5.4.1" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions Southwind.React/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
"node-sass": "4.13.1",
"rimraf": "3.0.2",
"style-loader": "1.1.3",
"ts-loader": "6.2.1",
"typescript": "3.8.2",
"ts-loader": "7.0.4",
"typescript": "3.9.2",
"url-loader": "3.0.0",
"webpack": "4.41.6",
"webpack": "4.43.0",
"webpack-cli": "3.3.11",
"webpack-notifier": "1.8.0"
},
Expand Down
Loading

0 comments on commit a244722

Please sign in to comment.