+20
-2
lines changedFilter options
+20
-2
lines changed Original file line number Diff line number Diff line change
@@ -55,11 +55,11 @@ public override void Execute(UpgradeContext uctx)
55
55
56
56
file.InsertAfterFirstLine(
57
57
l => l.Contains("import NotFound from './NotFound'"),
58
-
"import Login from '@extensions/Authorization/Login/Login'");
58
+
"import LoginPage from '@extensions/Authorization/Login/LoginPage'");
59
59
60
60
file.InsertBeforeFirstLine(
61
61
l => l.Contains("Services.SessionSharing.setAppNameAndRequestSessionStorage"),
62
-
@"Login.customLoginButtons = ctx => <WebAuthnClient.WebAuthnLoginButton ctx={ctx} />;
62
+
@"LoginPage.customLoginButtons = ctx => <WebAuthnClient.WebAuthnLoginButton ctx={ctx} />;
63
63
");
64
64
65
65
file.InsertAfterFirstLine(
Original file line number Diff line number Diff line change
@@ -49,6 +49,7 @@ public override void Execute(UpgradeContext uctx)
49
49
50
50
uctx.ChangeCodeFile($@"Southwind.React/package.json", file =>
51
51
{
52
+
file.UpgradeNpmPackage("@types/react", "file:../Framework/Signum.React/node_modules/@types/react");
52
53
file.UpgradeNpmPackage("node-sass", "5.0.0");
53
54
file.UpgradeNpmPackage("sass-loader", "10.1.0");
54
55
});
@@ -67,6 +68,23 @@ public override void Execute(UpgradeContext uctx)
67
68
a => a.Contains("RUN apt-get -y install nodejs"),
68
69
@"RUN apt-get -y install curl
69
70
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash -
71
+
RUN apt-get install -y nodejs");
72
+
});
73
+
74
+
uctx.ChangeCodeFile($@"Southwind.React/App/MainPublic.tsx", file =>
75
+
{
76
+
file.ReplaceLine(
77
+
a => a.Contains("FROM mcr.microsoft.com/dotnet/core/aspnet"),
78
+
"FROM mcr.microsoft.com/dotnet/aspnet:5.0-buster-slim AS base");
79
+
file.ReplaceLine(
80
+
a => a.Contains("FROM mcr.microsoft.com/dotnet/core/sdk"),
81
+
"FROM mcr.microsoft.com/dotnet/sdk:5.0-buster-slim AS build");
82
+
83
+
file.ReplaceBetween(
84
+
a => a.Contains("RUN apt-get -y install curl"),
85
+
a => a.Contains("RUN apt-get -y install nodejs"),
86
+
@"RUN apt-get -y install curl
87
+
RUN curl -sL https://deb.nodesource.com/setup_15.x | bash -
70
88
RUN apt-get install -y nodejs");
71
89
});
72
90
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4