@flatjs/evolve 2.0.0-next.1 → 2.0.0-next.2
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +10 -14
- package/CHANGELOG.md +0 -913
- package/templates/html-plugin/README.md +0 -5
- package/templates/html-plugin/index-dev.html +0 -61
- package/templates/html-plugin/index-inte.html +0 -61
- package/templates/html-plugin/index-inte2.html +0 -61
- package/templates/html-plugin/index-inte3.html +0 -61
- package/templates/html-plugin/index-inte4.html +0 -61
- package/templates/html-plugin/index-me.html +0 -61
- package/templates/html-plugin/index-prod.html +0 -61
- package/templates/html-plugin/index-rc.html +0 -61
- package/templates/html-plugin/index-uat.html +0 -61
- package/templates/main.html +0 -112
- package/templates/module-404.html +0 -43
- package/templates/module.html +0 -81
package/templates/main.html
DELETED
@@ -1,112 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
5
|
-
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
6
|
-
<meta http-equiv="Expires" content="0" />
|
7
|
-
<meta http-equiv="Pragma" content="no-cache" />
|
8
|
-
<meta http-equiv="Cache-control" content="no-cache" />
|
9
|
-
<meta http-equiv="Cache" content="no-cache" />
|
10
|
-
<meta name="format-detection" content="telephone=no,email=no" />
|
11
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
12
|
-
<meta name="apple-touch-fullscreen" content="yes" />
|
13
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
14
|
-
<meta
|
15
|
-
name="viewport"
|
16
|
-
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
|
-
/>
|
18
|
-
<title><%= title %></title>
|
19
|
-
<style>
|
20
|
-
body {
|
21
|
-
padding: 0;
|
22
|
-
margin: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
.header {
|
26
|
-
background-color: rgb(75, 94, 64);
|
27
|
-
height: 40px;
|
28
|
-
line-height: 40px;
|
29
|
-
color: #fff;
|
30
|
-
display: block;
|
31
|
-
text-align: center;
|
32
|
-
position: relative;
|
33
|
-
font-weight: 600;
|
34
|
-
}
|
35
|
-
|
36
|
-
.logo {
|
37
|
-
left: 10px;
|
38
|
-
top: 5px;
|
39
|
-
width: 30px;
|
40
|
-
height: 30px;
|
41
|
-
position: absolute;
|
42
|
-
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAMAAAANf8AYAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAARFQTFRFAAAAOTFBOTVBOTlBFRUVQTpKaS/GaTDGaTHHajLHajPIajXJajbJazjKbDrLbDzMbD7MbD7NbEHNbEPObETPbUbPbUfQbUnQbUvRbU3SbU/SbVDTblLTblTUblbVbljVblrWblzWbl3Xb2DYb2LYb2TZb2XZb2fab2rbcGzbcG7ccW/ccXLdcnPdcnXecnffc3rfc3zgc37gc4Dhc4Pic4TiTE9cs5vl////7uz6k3jcf2PXf2TYgGbYgGjZgGragGzagG3agG/agHDbgXPcgXTcgXbdgXfdgXnegXzfgn3fgH3fhGbY5eL3f3reEBAQUERhUEdhUEdjU0ljU0xjU05jU05mU1BmU1NmU1VmDQ0aKaYoegAAAFt0Uk5TCkNDQwxP////////////////////////////////////////////////////////////////Yf///////////////////////////////xBsbGxsbGxsbGxsFKjHmBsAAAChSURBVHicY2BgZMIPmNEBCwMrGzsHJxc3Dy8vH7+AoJCwiKiYuISklLSMrJy8gqKSsoqqmrqGppa2jq6evoGhkbGJqdmw12NugQ1YDm09VtY2tnb2Do5Ozi6ubu4enl7ehPX4kBFuo3pG9Qx2PejAd4jrQc/bfoMorEf1jOoZZnoGc9uFGD3+AYFAEAQEwQgQEhISCgZhQBAOAhEQEAkEUQBE8F/uPJrcJQAAAABJRU5ErkJggg==');
|
43
|
-
background-size: 100% auto;
|
44
|
-
border: 1px solid #a1a1a1;
|
45
|
-
}
|
46
|
-
|
47
|
-
ul {
|
48
|
-
padding: 0;
|
49
|
-
text-align: left;
|
50
|
-
margin: 0;
|
51
|
-
overflow: hidden;
|
52
|
-
}
|
53
|
-
|
54
|
-
ul li {
|
55
|
-
font-weight: 600;
|
56
|
-
list-style: none;
|
57
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.12);
|
58
|
-
position: relative;
|
59
|
-
}
|
60
|
-
|
61
|
-
ul li a {
|
62
|
-
display: block;
|
63
|
-
width: 100%;
|
64
|
-
height: 40px;
|
65
|
-
font-size: 14px;
|
66
|
-
padding-left: 15px;
|
67
|
-
line-height: 40px;
|
68
|
-
color: rgb(60, 60, 60);
|
69
|
-
text-decoration: none;
|
70
|
-
}
|
71
|
-
|
72
|
-
ul li span {
|
73
|
-
border-radius: 12px;
|
74
|
-
background: rgba(75, 94, 64, 0.8);
|
75
|
-
position: absolute;
|
76
|
-
color: #fff;
|
77
|
-
right: 10px;
|
78
|
-
top: 50%;
|
79
|
-
padding: 2px 5px;
|
80
|
-
font-size: 12px;
|
81
|
-
width: 30px;
|
82
|
-
text-align: center;
|
83
|
-
transform: translateY(-50%);
|
84
|
-
}
|
85
|
-
|
86
|
-
ul li .static {
|
87
|
-
border-radius: 12px;
|
88
|
-
background: #ccc;
|
89
|
-
color: #868686;
|
90
|
-
}
|
91
|
-
</style>
|
92
|
-
</head>
|
93
|
-
|
94
|
-
<body>
|
95
|
-
<div class="header">
|
96
|
-
<div class="logo"></div>
|
97
|
-
<span>@Flatjs/Evolve</span>
|
98
|
-
</div>
|
99
|
-
<div class="container">
|
100
|
-
<% if (modules.length) { %>
|
101
|
-
<ul>
|
102
|
-
<% _.forEach(modules, function (module, index) { %>
|
103
|
-
<li>
|
104
|
-
<a href="<%= module.link %>"> <%= index+1%>. <%= module.name %> </a>
|
105
|
-
<span class="<%= module.flagText %>"> <%= module.flagText %> </span>
|
106
|
-
</li>
|
107
|
-
<% }) %>
|
108
|
-
</ul>
|
109
|
-
<% } %>
|
110
|
-
</div>
|
111
|
-
</body>
|
112
|
-
</html>
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
5
|
-
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
6
|
-
<meta http-equiv="Expires" content="0" />
|
7
|
-
<meta http-equiv="Pragma" content="no-cache" />
|
8
|
-
<meta http-equiv="Cache-control" content="no-cache" />
|
9
|
-
<meta http-equiv="Cache" content="no-cache" />
|
10
|
-
<meta name="format-detection" content="telephone=no,email=no" />
|
11
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
12
|
-
<meta name="apple-touch-fullscreen" content="yes" />
|
13
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
14
|
-
<meta
|
15
|
-
name="viewport"
|
16
|
-
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
|
-
/>
|
18
|
-
<title><%= title %></title>
|
19
|
-
<style>
|
20
|
-
ul {
|
21
|
-
padding: 0;
|
22
|
-
margin: 0;
|
23
|
-
}
|
24
|
-
|
25
|
-
.name {
|
26
|
-
font-weight: bold;
|
27
|
-
}
|
28
|
-
</style>
|
29
|
-
</head>
|
30
|
-
|
31
|
-
<body>
|
32
|
-
<div class="container">
|
33
|
-
<ul>
|
34
|
-
<% _.forEach(errorMeta, function (error) { %>
|
35
|
-
<li>
|
36
|
-
<span class="name"> <%= error.name %>: </span>
|
37
|
-
<span class="value"> <%= error.value %> </span>
|
38
|
-
</li>
|
39
|
-
<% }) %>
|
40
|
-
</ul>
|
41
|
-
</div>
|
42
|
-
</body>
|
43
|
-
</html>
|
package/templates/module.html
DELETED
@@ -1,81 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
6
|
-
<meta http-equiv="Expires" content="0" />
|
7
|
-
<meta http-equiv="Pragma" content="no-cache" />
|
8
|
-
<meta http-equiv="Cache-control" content="no-cache" />
|
9
|
-
<meta http-equiv="Cache" content="no-cache" />
|
10
|
-
<meta name="format-detection" content="telephone=no,email=no" />
|
11
|
-
<meta name="apple-mobile-web-app-capable" content="yes" />
|
12
|
-
<meta name="apple-touch-fullscreen" content="yes" />
|
13
|
-
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
14
|
-
<meta
|
15
|
-
name="viewport"
|
16
|
-
content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, viewport-fit=cover"
|
17
|
-
/>
|
18
|
-
<title><%= title %></title>
|
19
|
-
|
20
|
-
<% if (headBeforeHtmlTags) { %>
|
21
|
-
<% for (let index = 0; index < headBeforeHtmlTags.length; index++) { %>
|
22
|
-
<%= headBeforeHtmlTags[index] %> <%
|
23
|
-
} %>
|
24
|
-
<% } %>
|
25
|
-
<% if (inlineScripts) { %>
|
26
|
-
<script>
|
27
|
-
<% for (let index = 0; index < inlineScripts.length; index++) { %>
|
28
|
-
<%= inlineScripts[index] %>
|
29
|
-
<% } %>
|
30
|
-
</script>
|
31
|
-
<% } %>
|
32
|
-
<% if (viewport) { %>
|
33
|
-
<script>
|
34
|
-
<%= viewport %>
|
35
|
-
</script>
|
36
|
-
<% } %>
|
37
|
-
<% if (favicon) { %>
|
38
|
-
<link rel="shortcut icon" href="<%= favicon %>" type="image/x-icon" />
|
39
|
-
<link rel="icon" href="<%= favicon %>" type="image/x-icon" />
|
40
|
-
<% } %>
|
41
|
-
<% if (headBeforeStyles) { %>
|
42
|
-
<% for (let index = 0; index < headBeforeStyles.length; index++) { %>
|
43
|
-
<link href="<%= headBeforeStyles[index] %>" rel="stylesheet" />
|
44
|
-
<% } %>
|
45
|
-
<% } %>
|
46
|
-
<% if (styles.length) { %>
|
47
|
-
<% _.forEach(styles, (css)=> { %>
|
48
|
-
<link href="<%= css %>" rel="stylesheet" />
|
49
|
-
<% }) %>
|
50
|
-
<% } %>
|
51
|
-
|
52
|
-
<script>
|
53
|
-
window.GLOBAL = <%= JSON.stringify(Object.assign(global, {})) %>;
|
54
|
-
</script>
|
55
|
-
|
56
|
-
<% if (headBeforeScripts) { %>
|
57
|
-
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
58
|
-
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
59
|
-
<% } %>
|
60
|
-
<% } %>
|
61
|
-
</head>
|
62
|
-
|
63
|
-
<body>
|
64
|
-
<div id="app"></div>
|
65
|
-
<% if (moduleFederationScripts.length) { %>
|
66
|
-
<script>
|
67
|
-
<%= moduleFederationScripts %>
|
68
|
-
</script>
|
69
|
-
<% } %>
|
70
|
-
<% if (scripts.length) { %>
|
71
|
-
<% _.forEach(scripts, (js)=> { %>
|
72
|
-
<script src="<%= js %>"></script>
|
73
|
-
<% }) %>
|
74
|
-
<% } %>
|
75
|
-
<% if (bodyAfterScripts) { %>
|
76
|
-
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
77
|
-
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
78
|
-
<% } %>
|
79
|
-
<% } %>
|
80
|
-
</body>
|
81
|
-
</html>
|