File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ static void Main(string[] args)
5959 new Upgrade_20210816_RemoveWebAuth ( ) ,
6060 new Upgrade_20210824_UpdateNugets ( ) ,
6161 new Upgrade_20210828_ExtensionsLoveFramework ( ) ,
62+ new Upgrade_20210829_TypeScript44 ( ) ,
6263 } . Run ( uctx ) ;
6364 }
6465 }
Original file line number Diff line number Diff line change 1+ using Signum . Utilities ;
2+ using System ;
3+ using System . Collections . Generic ;
4+ using System . IO ;
5+ using System . Linq ;
6+ using System . Security . Cryptography . X509Certificates ;
7+ using System . Text ;
8+ using System . Threading . Tasks ;
9+
10+ namespace Signum . Upgrade . Upgrades
11+ {
12+ class Upgrade_20210829_TypeScript44 : CodeUpgradeBase
13+ {
14+ public override string Description => "Update to TS 4.4" ;
15+
16+ public override void Execute ( UpgradeContext uctx )
17+ {
18+
19+ uctx . ChangeCodeFile ( @"Southwind.React/package.json" , file =>
20+ {
21+ file . UpdateNpmPackage ( "ts-loader" , "9.2.5" ) ;
22+ file . UpdateNpmPackage ( "typescript" , "4.4.2" ) ;
23+ } ) ;
24+
25+ uctx . ChangeCodeFile ( @"Southwind.React.csproj" , file =>
26+ {
27+ file . UpdateNugetReference ( "Microsoft.TypeScript.MSBuild" , "4.4.2" ) ;
28+ } ) ;
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments