@flatjs/evolve 2.0.0-next.2 → 2.0.0-next.4
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +12 -11
- package/templates/html-plugin/README.md +5 -0
- package/templates/html-plugin/index-dev.html +61 -0
- package/templates/html-plugin/index-inte.html +61 -0
- package/templates/html-plugin/index-inte2.html +61 -0
- package/templates/html-plugin/index-inte3.html +61 -0
- package/templates/html-plugin/index-inte4.html +61 -0
- package/templates/html-plugin/index-me.html +61 -0
- package/templates/html-plugin/index-prod.html +61 -0
- package/templates/html-plugin/index-rc.html +61 -0
- package/templates/html-plugin/index-uat.html +61 -0
- package/templates/main.html +112 -0
- package/templates/module-404.html +43 -0
- package/templates/module.html +81 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@flatjs/evolve",
|
3
|
-
"version": "2.0.0-next.
|
3
|
+
"version": "2.0.0-next.4",
|
4
4
|
"license": "MIT",
|
5
5
|
"type": "module",
|
6
6
|
"exports": {
|
@@ -14,7 +14,8 @@
|
|
14
14
|
"files": [
|
15
15
|
"./bin/",
|
16
16
|
"./dist/",
|
17
|
-
"./index.js"
|
17
|
+
"./index.js",
|
18
|
+
"./templates"
|
18
19
|
],
|
19
20
|
"scripts": {
|
20
21
|
"serve": "yarn ts-node-esm ./tests/dev-server/dev-server.ts",
|
@@ -33,17 +34,17 @@
|
|
33
34
|
"typecheck": "tsc --project ./tsconfig.json --noEmit"
|
34
35
|
},
|
35
36
|
"dependencies": {
|
36
|
-
"@armit/config-loader": "^0.0.
|
37
|
+
"@armit/config-loader": "^0.0.57",
|
37
38
|
"@armit/file-utility": "^0.0.33",
|
38
39
|
"@armit/git": "^0.0.41",
|
39
40
|
"@armit/package": "^0.0.50",
|
40
41
|
"@armit/worker-threads": "^0.0.10",
|
41
42
|
"@babel/core": "7.23.2",
|
42
|
-
"@flatjs/common": "2.0.0-next.
|
43
|
-
"@flatjs/evolve-preset-babel": "2.0.0-next.
|
44
|
-
"@flatjs/forge-postcss-plugin-pixel": "2.0.0-next.
|
45
|
-
"@flatjs/graph": "2.0.0-next.
|
46
|
-
"@flatjs/mock": "2.0.0-next.
|
43
|
+
"@flatjs/common": "2.0.0-next.3",
|
44
|
+
"@flatjs/evolve-preset-babel": "2.0.0-next.3",
|
45
|
+
"@flatjs/forge-postcss-plugin-pixel": "2.0.0-next.3",
|
46
|
+
"@flatjs/graph": "2.0.0-next.3",
|
47
|
+
"@flatjs/mock": "2.0.0-next.3",
|
47
48
|
"@pmmmwh/react-refresh-webpack-plugin": "0.5.11",
|
48
49
|
"@types/babel__core": "7.20.3",
|
49
50
|
"babel-loader": "9.1.3",
|
@@ -78,15 +79,15 @@
|
|
78
79
|
"webpack-sources": "3.2.3"
|
79
80
|
},
|
80
81
|
"devDependencies": {
|
81
|
-
"@armit/eslint-config-bases": "^0.0.
|
82
|
-
"@flatjs/testing": "2.0.0-next.
|
82
|
+
"@armit/eslint-config-bases": "^0.0.29",
|
83
|
+
"@flatjs/testing": "2.0.0-next.3",
|
83
84
|
"@swc/core": "1.3.93",
|
84
85
|
"@types/express": "4.17.20",
|
85
86
|
"@types/listr": "0.14.7",
|
86
87
|
"@types/node": "20.8.7",
|
87
88
|
"@vitest/coverage-istanbul": "0.34.6",
|
88
89
|
"@vitest/ui": "0.34.6",
|
89
|
-
"eslint": "8.
|
90
|
+
"eslint": "8.52.0",
|
90
91
|
"imagemin-gifsicle": "7.0.0",
|
91
92
|
"imagemin-jpegtran": "7.0.0",
|
92
93
|
"imagemin-pngquant": "9.0.2",
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,61 @@
|
|
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 (headBeforeScripts) { %>
|
47
|
+
<% for (let index = 0; index < headBeforeScripts.length; index++) { %>
|
48
|
+
<script crossorigin="anonymous" src="<%= headBeforeScripts[index]%>"></script>
|
49
|
+
<% } %>
|
50
|
+
<% } %>
|
51
|
+
</head>
|
52
|
+
|
53
|
+
<body>
|
54
|
+
<div id="app"></div>
|
55
|
+
<% if (bodyAfterScripts) { %>
|
56
|
+
<% for (let index = 0; index < bodyAfterScripts.length; index++) { %>
|
57
|
+
<script crossorigin="anonymous" src="<%= bodyAfterScripts[index]%>"></script>
|
58
|
+
<% } %>
|
59
|
+
<% } %>
|
60
|
+
</body>
|
61
|
+
</html>
|
@@ -0,0 +1,112 @@
|
|
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>
|
@@ -0,0 +1,43 @@
|
|
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>
|
@@ -0,0 +1,81 @@
|
|
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>
|