Skip to content

Commit

Permalink
fix Upgrade_20201123_Typescript41
Browse files Browse the repository at this point in the history
  • Loading branch information
olmobrutall committed Nov 24, 2020
1 parent 0ee7723 commit 9379e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Signum.Upgrade/Upgrades/Upgrade_20201123_Typescript41.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public override void Execute(UpgradeContext uctx)
uctx.ChangeCodeFile("Southwind.React/tsconfig.json", file =>
{
file.RemoveAllLines(a => a.Contains(@"""baseUrl"": ""."","));
file.Replace("*", "./*");
file.Replace("\"*\"", "\"./*\"");
});
}
}
Expand Down

2 comments on commit 9379e40

@olmobrutall
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update to Typescript 4.1

Typescript 4.1 has been released last week.

The only feature that I used for now is paths without baseUrl

The update should be relatively unproblematic, just run Upgrade_20201123_Typescript41.

Enjoy!

@MehdyKarimpour
Copy link
Contributor

@MehdyKarimpour MehdyKarimpour commented on 9379e40 Nov 24, 2020 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.