-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd0d494
commit f6412af
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using Signum.Utilities; | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Security.Cryptography.X509Certificates; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace Signum.Upgrade.Upgrades | ||
{ | ||
class Upgrade_20210829_TypeScript44 : CodeUpgradeBase | ||
{ | ||
public override string Description => "Update to TS 4.4"; | ||
|
||
public override void Execute(UpgradeContext uctx) | ||
{ | ||
|
||
uctx.ChangeCodeFile(@"Southwind.React/package.json", file => | ||
{ | ||
file.UpdateNpmPackage("ts-loader", "9.2.5"); | ||
file.UpdateNpmPackage("typescript", "4.4.2"); | ||
}); | ||
|
||
uctx.ChangeCodeFile(@"Southwind.React.csproj", file => | ||
{ | ||
file.UpdateNugetReference("Microsoft.TypeScript.MSBuild", "4.4.2"); | ||
}); | ||
} | ||
} | ||
} |
f6412af
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade to TS 4.4
Just run
Upgrade_20210829_TypeScript44
If you want to know why we skip "Microsoft.TypeScript.MSBuild" "4.3.2" check this issue: microsoft/TypeScript#44283
f6412af
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍