@topwrite/cli 1.0.34 → 1.0.35-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ttx.js +2 -2
- package/package.json +4 -4
- package/templates/.bookignore +1 -0
- package/templates/pdf-footer.ejs +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topwrite/cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.35-alpha.0+4ff95b5",
|
|
4
4
|
"author": "yunwuxin <tzzhangyajun@qq.com> (https://github.com/yunwuxin)",
|
|
5
5
|
"files": [
|
|
6
6
|
"bin",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"prepack": "yarn run build"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@topwrite/reader": "^1.0.
|
|
16
|
+
"@topwrite/reader": "^1.0.33-alpha.0+4ff95b5",
|
|
17
17
|
"archiver": "^5.3.0",
|
|
18
18
|
"canvas": "^2.8.0",
|
|
19
19
|
"commander": "^8.1.0",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"lodash": "^4.17.21",
|
|
28
28
|
"lookpath": "^1.2.0",
|
|
29
29
|
"mime-types": "^2.1.34",
|
|
30
|
-
"pinyin-pro": "^3.
|
|
30
|
+
"pinyin-pro": "^3.10.1",
|
|
31
31
|
"react": "17",
|
|
32
32
|
"react-dom": "17",
|
|
33
33
|
"readdirp": "^3.5.0",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"bin": {
|
|
69
69
|
"ttx": "./bin/ttx.js"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "4ff95b5c5b8c7196b48398c29dee85200461efd6"
|
|
72
72
|
}
|
package/templates/.bookignore
CHANGED
package/templates/pdf-footer.ejs
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
<footer style="justify-content: space-between;padding-top: 15px;color: #727272;font-size: 13px;">
|
|
2
|
-
<div
|
|
2
|
+
<div>
|
|
3
|
+
<% if (poweredBy) { %>
|
|
4
|
+
本文档使用
|
|
5
|
+
<a style="color: #136ec2;text-decoration: none;" href="<%= poweredBy.link %>" target="_blank">
|
|
6
|
+
<%= poweredBy.name %>
|
|
7
|
+
</a>
|
|
8
|
+
构建
|
|
9
|
+
<% } %>
|
|
10
|
+
</div>
|
|
3
11
|
<div>- _PAGENUM_ -</div>
|
|
4
12
|
</footer>
|