honkit 3.7.5 → 4.0.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/README.md +5 -0
- package/lib/output/__tests__/website.js +1 -0
- package/package.json +8 -19
package/README.md
CHANGED
|
@@ -8,6 +8,7 @@ const generateMock_1 = __importDefault(require("../testing/generateMock"));
|
|
|
8
8
|
const website_1 = __importDefault(require("../website"));
|
|
9
9
|
const longTest = (name, fn) => test(name, fn, 1000 * 30);
|
|
10
10
|
describe("WebsiteGenerator", () => {
|
|
11
|
+
jest.setTimeout(60 * 1000);
|
|
11
12
|
test("should generate an index.html", async () => {
|
|
12
13
|
const folder = await (0, generateMock_1.default)(website_1.default, {
|
|
13
14
|
"README.md": "Hello World"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "honkit",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "HonKit is building beautiful books using Markdown.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"git",
|
|
@@ -19,16 +19,6 @@
|
|
|
19
19
|
},
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"author": "azu <azuciao@gmail.com>",
|
|
22
|
-
"contributors": [
|
|
23
|
-
{
|
|
24
|
-
"name": "Aaron O'Mullan",
|
|
25
|
-
"email": "aaron@gitbook.com"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"name": "Samy Pessé",
|
|
29
|
-
"email": "samy@gitbook.com"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
22
|
"main": "lib/index.js",
|
|
33
23
|
"browser": "./lib/browser.js",
|
|
34
24
|
"bin": {
|
|
@@ -47,10 +37,10 @@
|
|
|
47
37
|
"updateSnapshot": "jest src -u"
|
|
48
38
|
},
|
|
49
39
|
"dependencies": {
|
|
50
|
-
"@honkit/asciidoc": "^
|
|
51
|
-
"@honkit/honkit-plugin-highlight": "^
|
|
52
|
-
"@honkit/honkit-plugin-theme-default": "^
|
|
53
|
-
"@honkit/markdown-legacy": "^
|
|
40
|
+
"@honkit/asciidoc": "^4.0.0",
|
|
41
|
+
"@honkit/honkit-plugin-highlight": "^4.0.0",
|
|
42
|
+
"@honkit/honkit-plugin-theme-default": "^4.0.0",
|
|
43
|
+
"@honkit/markdown-legacy": "^4.0.0",
|
|
54
44
|
"bash-color": "^0.0.4",
|
|
55
45
|
"cheerio": "^0.20.0",
|
|
56
46
|
"chokidar": "^3.3.0",
|
|
@@ -72,7 +62,6 @@
|
|
|
72
62
|
"gitbook-plugin-lunr": "^1.2.0",
|
|
73
63
|
"gitbook-plugin-search": "^2.2.1",
|
|
74
64
|
"github-slugid": "^1.0.1",
|
|
75
|
-
"global-npm": "^0.4.0",
|
|
76
65
|
"i18n-t": "^1.0.1",
|
|
77
66
|
"ignore": "^5.1.8",
|
|
78
67
|
"immutable": "^3.8.1",
|
|
@@ -80,7 +69,7 @@
|
|
|
80
69
|
"js-yaml": "^3.6.1",
|
|
81
70
|
"json-schema-defaults": "^0.1.1",
|
|
82
71
|
"jsonschema": "1.1.0",
|
|
83
|
-
"juice": "^
|
|
72
|
+
"juice": "^8.0.0",
|
|
84
73
|
"lru_map": "^0.4.1",
|
|
85
74
|
"memoize-one": "^5.1.1",
|
|
86
75
|
"mkdirp": "^1.0.4",
|
|
@@ -102,7 +91,7 @@
|
|
|
102
91
|
"urijs": "^1.19.6"
|
|
103
92
|
},
|
|
104
93
|
"devDependencies": {
|
|
105
|
-
"@honkit/internal-test-utils": "^
|
|
94
|
+
"@honkit/internal-test-utils": "^4.0.0",
|
|
106
95
|
"@relmify/jest-serializer-strip-ansi": "^1.0.2",
|
|
107
96
|
"@types/nunjucks": "^3.1.3",
|
|
108
97
|
"cross-env": "^7.0.3",
|
|
@@ -111,5 +100,5 @@
|
|
|
111
100
|
"rimraf": "^3.0.2",
|
|
112
101
|
"typescript": "^4.1.3"
|
|
113
102
|
},
|
|
114
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "32e906fc392accc23940e99e284efea005398544"
|
|
115
104
|
}
|