@vivliostyle/cli 9.0.0-next.6 → 9.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 +34 -48
- package/dist/{chunk-QC3BOE2G.js → chunk-4Y2QIRBA.js} +1 -1
- package/dist/{chunk-DMGAKSPH.js → chunk-5AUWIYEK.js} +8 -10
- package/dist/{chunk-Y3ETBU5J.js → chunk-FQMQ7BWY.js} +1 -1
- package/dist/{chunk-VBEHGS67.js → chunk-PY4J4NG6.js} +52 -42
- package/dist/{chunk-LASMQBPP.js → chunk-QZWMJ4L2.js} +2 -2
- package/dist/{chunk-E7QOXL6M.js → chunk-XRR6RKA6.js} +1 -1
- package/dist/commands/build.js +7 -4
- package/dist/commands/init.js +2 -2
- package/dist/commands/preview.js +7 -4
- package/dist/config/schema.d.ts +11030 -4957
- package/dist/index.js +6 -6
- package/dist/vite-adapter.js +2 -2
- package/package.json +87 -83
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createVitePlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FQMQ7BWY.js";
|
|
4
4
|
import {
|
|
5
5
|
build
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5AUWIYEK.js";
|
|
7
7
|
import {
|
|
8
8
|
init
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XRR6RKA6.js";
|
|
10
10
|
import {
|
|
11
11
|
preview
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QZWMJ4L2.js";
|
|
13
|
+
import "./chunk-4Y2QIRBA.js";
|
|
14
|
+
import "./chunk-PY4J4NG6.js";
|
|
15
15
|
import "./chunk-EX7EA34F.js";
|
|
16
16
|
import "./chunk-WX6JHPSL.js";
|
|
17
17
|
import {
|
package/dist/vite-adapter.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vivliostyle/cli",
|
|
3
3
|
"description": "Save the pdf file via headless browser and Vivliostyle.",
|
|
4
|
-
"version": "9.0.0
|
|
4
|
+
"version": "9.0.0",
|
|
5
5
|
"author": "spring_raining <harusamex.com@gmail.com>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"generate:schema": "json2ts -i schemas/pub-manifest/publication.schema.json -o src/schema/publication.schema.ts --cwd schemas/pub-manifest",
|
|
12
12
|
"clean": "shx rm -rf dist tmp",
|
|
13
13
|
"dev": "tsup --watch src",
|
|
14
|
-
"example": "yarn --cwd example build",
|
|
15
14
|
"pretest": "playwright-core install chromium --no-shell",
|
|
16
15
|
"release": "release-it",
|
|
17
16
|
"release:pre": "release-it --preRelease --npm.tag=next",
|
|
@@ -22,90 +21,94 @@
|
|
|
22
21
|
"vite": ">=6"
|
|
23
22
|
},
|
|
24
23
|
"dependencies": {
|
|
25
|
-
"@babel/code-frame": "
|
|
26
|
-
"@humanwhocodes/momoa": "
|
|
27
|
-
"@napi-rs/canvas": "0.1.
|
|
28
|
-
"@npmcli/arborist": "
|
|
24
|
+
"@babel/code-frame": "7.26.2",
|
|
25
|
+
"@humanwhocodes/momoa": "3.3.8",
|
|
26
|
+
"@napi-rs/canvas": "0.1.69",
|
|
27
|
+
"@npmcli/arborist": "8.0.0",
|
|
29
28
|
"@vivliostyle/jsdom": "25.0.1-vivliostyle-cli.1",
|
|
30
29
|
"@vivliostyle/vfm": "2.2.1",
|
|
31
|
-
"@vivliostyle/viewer": "2.
|
|
32
|
-
"ajv": "
|
|
33
|
-
"ajv-formats": "
|
|
34
|
-
"archiver": "
|
|
35
|
-
"bcp-47-match": "
|
|
30
|
+
"@vivliostyle/viewer": "2.31.2",
|
|
31
|
+
"ajv": "8.17.1",
|
|
32
|
+
"ajv-formats": "3.0.1",
|
|
33
|
+
"archiver": "7.0.1",
|
|
34
|
+
"bcp-47-match": "2.0.3",
|
|
36
35
|
"command-exists": "1.2.9",
|
|
37
|
-
"commander": "
|
|
38
|
-
"debug": "
|
|
39
|
-
"decamelize": "
|
|
40
|
-
"dompurify": "
|
|
41
|
-
"escape-string-regexp": "
|
|
42
|
-
"execa": "
|
|
43
|
-
"fast-xml-parser": "
|
|
44
|
-
"fs-extra": "
|
|
45
|
-
"github-slugger": "
|
|
46
|
-
"hast-util-to-html": "
|
|
47
|
-
"hastscript": "
|
|
48
|
-
"mime-types": "
|
|
49
|
-
"node-stream-zip": "
|
|
50
|
-
"npm-package-arg": "
|
|
51
|
-
"pdf-lib": "
|
|
52
|
-
"picomatch": "
|
|
53
|
-
"playwright-core": "1.
|
|
54
|
-
"press-ready": "
|
|
55
|
-
"prettier": "
|
|
56
|
-
"resolve-pkg": "
|
|
57
|
-
"sirv": "
|
|
58
|
-
"terminal-link": "
|
|
59
|
-
"tinyglobby": "
|
|
60
|
-
"tmp": "
|
|
61
|
-
"upath": "
|
|
62
|
-
"uuid": "
|
|
63
|
-
"valibot": "
|
|
64
|
-
"vfile": "
|
|
65
|
-
"w3c-xmlserializer": "
|
|
66
|
-
"whatwg-mimetype": "
|
|
67
|
-
"yocto-spinner": "
|
|
68
|
-
"yoctocolors": "
|
|
36
|
+
"commander": "13.1.0",
|
|
37
|
+
"debug": "4.4.0",
|
|
38
|
+
"decamelize": "6.0.0",
|
|
39
|
+
"dompurify": "3.2.5",
|
|
40
|
+
"escape-string-regexp": "5.0.0",
|
|
41
|
+
"execa": "9.5.2",
|
|
42
|
+
"fast-xml-parser": "5.2.1",
|
|
43
|
+
"fs-extra": "11.2.0",
|
|
44
|
+
"github-slugger": "2.0.0",
|
|
45
|
+
"hast-util-to-html": "9.0.5",
|
|
46
|
+
"hastscript": "9.0.1",
|
|
47
|
+
"mime-types": "3.0.1",
|
|
48
|
+
"node-stream-zip": "1.15.0",
|
|
49
|
+
"npm-package-arg": "12.0.2",
|
|
50
|
+
"pdf-lib": "1.17.1",
|
|
51
|
+
"picomatch": "4.0.2",
|
|
52
|
+
"playwright-core": "1.51.1",
|
|
53
|
+
"press-ready": "4.0.3",
|
|
54
|
+
"prettier": "3.5.3",
|
|
55
|
+
"resolve-pkg": "2.0.0",
|
|
56
|
+
"sirv": "3.0.1",
|
|
57
|
+
"terminal-link": "4.0.0",
|
|
58
|
+
"tinyglobby": "0.2.13",
|
|
59
|
+
"tmp": "0.2.3",
|
|
60
|
+
"upath": "2.0.1",
|
|
61
|
+
"uuid": "11.1.0",
|
|
62
|
+
"valibot": "1.0.0",
|
|
63
|
+
"vfile": "4.2.1",
|
|
64
|
+
"w3c-xmlserializer": "5.0.0",
|
|
65
|
+
"whatwg-mimetype": "4.0.0",
|
|
66
|
+
"yocto-spinner": "0.2.2",
|
|
67
|
+
"yoctocolors": "2.1.1"
|
|
69
68
|
},
|
|
70
69
|
"devDependencies": {
|
|
71
|
-
"@release-it/conventional-changelog": "
|
|
72
|
-
"@types/adm-zip": "
|
|
73
|
-
"@types/archiver": "
|
|
74
|
-
"@types/babel__code-frame": "
|
|
75
|
-
"@types/command-exists": "1.2.
|
|
76
|
-
"@types/connect": "
|
|
77
|
-
"@types/debug": "
|
|
78
|
-
"@types/dompurify": "
|
|
79
|
-
"@types/fs-extra": "
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/
|
|
87
|
-
"@types/
|
|
88
|
-
"@types/
|
|
89
|
-
"@types/
|
|
90
|
-
"@types/
|
|
91
|
-
"@
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
70
|
+
"@release-it/conventional-changelog": "9.0.4",
|
|
71
|
+
"@types/adm-zip": "0.5.7",
|
|
72
|
+
"@types/archiver": "6.0.3",
|
|
73
|
+
"@types/babel__code-frame": "7.0.6",
|
|
74
|
+
"@types/command-exists": "1.2.3",
|
|
75
|
+
"@types/connect": "3.4.38",
|
|
76
|
+
"@types/debug": "4.1.12",
|
|
77
|
+
"@types/dompurify": "3.2.0",
|
|
78
|
+
"@types/fs-extra": "11.0.4",
|
|
79
|
+
"@types/hast": "3.0.4",
|
|
80
|
+
"@types/jsdom": "21.1.7",
|
|
81
|
+
"@types/mime-types": "2.1.4",
|
|
82
|
+
"@types/node": "22.15.2",
|
|
83
|
+
"@types/npm-package-arg": "6.1.4",
|
|
84
|
+
"@types/npmcli__arborist": "6.3.0",
|
|
85
|
+
"@types/picomatch": "4.0.0",
|
|
86
|
+
"@types/supertest": "6.0.3",
|
|
87
|
+
"@types/tmp": "0.2.6",
|
|
88
|
+
"@types/uuid": "10.0.0",
|
|
89
|
+
"@types/w3c-xmlserializer": "2.0.4",
|
|
90
|
+
"@types/whatwg-mimetype": "3.0.2",
|
|
91
|
+
"@vitest/coverage-v8": "3.1.2",
|
|
92
|
+
"adm-zip": "0.5.16",
|
|
93
|
+
"file-type": "20.5.0",
|
|
94
|
+
"husky": "9.1.7",
|
|
95
|
+
"json-schema-to-typescript": "15.0.4",
|
|
96
|
+
"memfs": "4.17.0",
|
|
97
|
+
"npm-run-all": "4.1.5",
|
|
98
|
+
"pnpm": "10.9.0",
|
|
99
|
+
"prettier-plugin-astro": "0.14.1",
|
|
100
|
+
"pretty-quick": "4.1.1",
|
|
101
|
+
"release-it": "17.11.0",
|
|
102
|
+
"shx": "0.4.0",
|
|
103
|
+
"supertest": "7.1.0",
|
|
104
|
+
"tsup": "8.4.0",
|
|
105
|
+
"tsx": "4.19.3",
|
|
106
|
+
"typedoc": "^0.28.3",
|
|
107
|
+
"typedoc-plugin-markdown": "4.6.3",
|
|
108
|
+
"typescript": "5.8.3",
|
|
109
|
+
"unified": "9.2.2",
|
|
110
|
+
"vite": "6.3.3",
|
|
111
|
+
"vitest": "3.1.2"
|
|
109
112
|
},
|
|
110
113
|
"main": "dist/index.js",
|
|
111
114
|
"module": "dist/index.js",
|
|
@@ -152,6 +155,7 @@
|
|
|
152
155
|
],
|
|
153
156
|
"license": "AGPL-3.0",
|
|
154
157
|
"engines": {
|
|
155
|
-
"node": ">=
|
|
156
|
-
}
|
|
158
|
+
"node": ">=18"
|
|
159
|
+
},
|
|
160
|
+
"packageManager": "pnpm@10.9.0"
|
|
157
161
|
}
|