@vivliostyle/cli 9.3.3 → 9.5.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/dist/{chunk-4WLI325X.js → chunk-4V7POPZ3.js} +2 -2
- package/dist/{chunk-TMMV5JVS.js → chunk-5A3MDEJ4.js} +4 -4
- package/dist/{chunk-2E4GDR4I.js → chunk-5YYKJN5S.js} +16 -9
- package/dist/chunk-5YYKJN5S.js.map +1 -0
- package/dist/{chunk-A7YURMH3.js → chunk-HCZKJQUX.js} +2 -2
- package/dist/{chunk-CTJL7TP7.js → chunk-SU52IU2V.js} +2 -2
- package/dist/{chunk-TQOIKDCI.js → chunk-VQCECPOL.js} +4 -4
- package/dist/{chunk-LXPJRT5C.js → chunk-XDT2MS4O.js} +12 -10
- package/dist/chunk-XDT2MS4O.js.map +1 -0
- package/dist/{chunk-GKPT4TWW.js → chunk-YUYXQJDY.js} +7 -1
- package/dist/{chunk-GKPT4TWW.js.map → chunk-YUYXQJDY.js.map} +1 -1
- package/dist/commands/build.js +5 -5
- package/dist/commands/init.js +3 -3
- package/dist/commands/preview.js +5 -5
- package/dist/config/schema.d.ts +11 -1
- package/dist/config/schema.js +1 -1
- package/dist/index.js +8 -8
- package/dist/vite-adapter.js +4 -4
- package/package.json +3 -3
- package/dist/chunk-2E4GDR4I.js.map +0 -1
- package/dist/chunk-LXPJRT5C.js.map +0 -1
- /package/dist/{chunk-4WLI325X.js.map → chunk-4V7POPZ3.js.map} +0 -0
- /package/dist/{chunk-TMMV5JVS.js.map → chunk-5A3MDEJ4.js.map} +0 -0
- /package/dist/{chunk-A7YURMH3.js.map → chunk-HCZKJQUX.js.map} +0 -0
- /package/dist/{chunk-CTJL7TP7.js.map → chunk-SU52IU2V.js.map} +0 -0
- /package/dist/{chunk-TQOIKDCI.js.map → chunk-VQCECPOL.js.map} +0 -0
package/dist/config/schema.d.ts
CHANGED
|
@@ -18872,6 +18872,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
18872
18872
|
readonly logger: v.SchemaWithPipe<readonly [v.CustomSchema<LoggerInterface, undefined>, v.MetadataAction<LoggerInterface, {
|
|
18873
18873
|
readonly typeString: "LoggerInterface";
|
|
18874
18874
|
}>, v.DescriptionAction<LoggerInterface, string>]>;
|
|
18875
|
+
readonly disableServerStartup: v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, string>]>;
|
|
18875
18876
|
}, undefined>, "~types" | "~run" | "~standard" | "entries"> & {
|
|
18876
18877
|
readonly entries: {
|
|
18877
18878
|
readonly cwd: v.OptionalSchema<v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, "At least one character is required">]>, v.DescriptionAction<string, string>]>, undefined>;
|
|
@@ -20576,6 +20577,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
20576
20577
|
readonly logger: v.OptionalSchema<v.SchemaWithPipe<readonly [v.CustomSchema<LoggerInterface, undefined>, v.MetadataAction<LoggerInterface, {
|
|
20577
20578
|
readonly typeString: "LoggerInterface";
|
|
20578
20579
|
}>, v.DescriptionAction<LoggerInterface, string>]>, undefined>;
|
|
20580
|
+
readonly disableServerStartup: v.OptionalSchema<v.SchemaWithPipe<readonly [v.BooleanSchema<undefined>, v.DescriptionAction<boolean, string>]>, undefined>;
|
|
20579
20581
|
};
|
|
20580
20582
|
readonly '~standard': v.StandardProps<{
|
|
20581
20583
|
cwd?: string | undefined;
|
|
@@ -21094,6 +21096,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
21094
21096
|
host?: string | boolean | undefined;
|
|
21095
21097
|
port?: number | undefined;
|
|
21096
21098
|
logger?: LoggerInterface | undefined;
|
|
21099
|
+
disableServerStartup?: boolean | undefined;
|
|
21097
21100
|
}, {
|
|
21098
21101
|
cwd?: string | undefined;
|
|
21099
21102
|
config?: string | undefined;
|
|
@@ -21605,6 +21608,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
21605
21608
|
host?: string | boolean | undefined;
|
|
21606
21609
|
port?: number | undefined;
|
|
21607
21610
|
logger?: LoggerInterface | undefined;
|
|
21611
|
+
disableServerStartup?: boolean | undefined;
|
|
21608
21612
|
}>;
|
|
21609
21613
|
readonly '~run': (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
|
|
21610
21614
|
cwd?: string | undefined;
|
|
@@ -22117,6 +22121,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
22117
22121
|
host?: string | boolean | undefined;
|
|
22118
22122
|
port?: number | undefined;
|
|
22119
22123
|
logger?: LoggerInterface | undefined;
|
|
22124
|
+
disableServerStartup?: boolean | undefined;
|
|
22120
22125
|
}, v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue>> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue>>> | v.UnionIssue<v.LiteralIssue> | v.NumberIssue | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue>> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue>>> | v.BooleanIssue | v.MinValueIssue<number, 0> | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.BooleanIssue> | v.MaxValueIssue<number, 65535> | v.CustomIssue>;
|
|
22121
22126
|
readonly '~types'?: {
|
|
22122
22127
|
readonly input: {
|
|
@@ -22636,6 +22641,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
22636
22641
|
host?: string | boolean | undefined;
|
|
22637
22642
|
port?: number | undefined;
|
|
22638
22643
|
logger?: LoggerInterface | undefined;
|
|
22644
|
+
disableServerStartup?: boolean | undefined;
|
|
22639
22645
|
};
|
|
22640
22646
|
readonly output: {
|
|
22641
22647
|
cwd?: string | undefined;
|
|
@@ -23148,6 +23154,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
23148
23154
|
host?: string | boolean | undefined;
|
|
23149
23155
|
port?: number | undefined;
|
|
23150
23156
|
logger?: LoggerInterface | undefined;
|
|
23157
|
+
disableServerStartup?: boolean | undefined;
|
|
23151
23158
|
};
|
|
23152
23159
|
readonly issue: v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue>> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue>>> | v.UnionIssue<v.LiteralIssue> | v.NumberIssue | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue>> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue> | v.UnionIssue<v.ObjectIssue | v.StringIssue | v.MinLengthIssue<string, 1> | v.ArrayIssue | v.IntersectIssue | v.NonOptionalIssue | v.LiteralIssue | v.UnionIssue<v.LiteralIssue>>> | v.BooleanIssue | v.MinValueIssue<number, 0> | v.UnionIssue<v.StringIssue | v.MinLengthIssue<string, 1> | v.BooleanIssue> | v.MaxValueIssue<number, 65535> | v.CustomIssue;
|
|
23153
23160
|
} | undefined;
|
|
@@ -23662,6 +23669,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
23662
23669
|
host?: string | boolean | undefined;
|
|
23663
23670
|
port?: number | undefined;
|
|
23664
23671
|
logger?: LoggerInterface | undefined;
|
|
23672
|
+
disableServerStartup?: boolean | undefined;
|
|
23665
23673
|
}, "Exporting webpub format from EPUB or OPF file is not supported.">, v.CheckAction<{
|
|
23666
23674
|
cwd?: string | undefined;
|
|
23667
23675
|
config?: string | undefined;
|
|
@@ -24173,6 +24181,7 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
24173
24181
|
host?: string | boolean | undefined;
|
|
24174
24182
|
port?: number | undefined;
|
|
24175
24183
|
logger?: LoggerInterface | undefined;
|
|
24184
|
+
disableServerStartup?: boolean | undefined;
|
|
24176
24185
|
}, "Exporting EPUB format from EPUB or OPF file is not supported.">, v.TitleAction<{
|
|
24177
24186
|
cwd?: string | undefined;
|
|
24178
24187
|
config?: string | undefined;
|
|
@@ -24684,9 +24693,10 @@ declare const VivliostyleInlineConfig: v.SchemaWithPipe<readonly [Omit<v.ObjectS
|
|
|
24684
24693
|
host?: string | boolean | undefined;
|
|
24685
24694
|
port?: number | undefined;
|
|
24686
24695
|
logger?: LoggerInterface | undefined;
|
|
24696
|
+
disableServerStartup?: boolean | undefined;
|
|
24687
24697
|
}, "VivliostyleInlineConfig">]>;
|
|
24688
24698
|
type VivliostyleInlineConfig = v.InferInput<typeof VivliostyleInlineConfig>;
|
|
24689
24699
|
type ParsedVivliostyleInlineConfig = v.InferOutput<typeof VivliostyleInlineConfig>;
|
|
24690
|
-
type InlineOptions = Pick<ParsedVivliostyleInlineConfig, 'cwd' | 'config' | 'configData' | 'input' | 'cropMarks' | 'bleed' | 'cropOffset' | 'css' | 'style' | 'userStyle' | 'singleDoc' | 'quick' | 'sandbox' | 'executableBrowser' | 'proxyServer' | 'proxyBypass' | 'proxyUser' | 'proxyPass' | 'logLevel' | 'ignoreHttpsErrors' | 'openViewer' | 'enableStaticServe' | 'enableViewerStartPage' | 'logger' | 'renderMode' | 'preflight' | 'preflightOption'>;
|
|
24700
|
+
type InlineOptions = Pick<ParsedVivliostyleInlineConfig, 'cwd' | 'config' | 'configData' | 'input' | 'cropMarks' | 'bleed' | 'cropOffset' | 'css' | 'style' | 'userStyle' | 'singleDoc' | 'quick' | 'sandbox' | 'executableBrowser' | 'proxyServer' | 'proxyBypass' | 'proxyUser' | 'proxyPass' | 'logLevel' | 'ignoreHttpsErrors' | 'openViewer' | 'enableStaticServe' | 'enableViewerStartPage' | 'logger' | 'renderMode' | 'preflight' | 'preflightOption' | 'disableServerStartup'>;
|
|
24691
24701
|
|
|
24692
24702
|
export { ArticleEntryConfig, BrowserType, BuildTask, ContentsEntryConfig, CopyAssetConfig, CoverConfig, CoverEntryConfig, EntryConfig, type InlineOptions, type InputFormat, LogLevel, OutputConfig, OutputFormat, type ParsedBuildTask, type ParsedVivliostyleConfigSchema, type ParsedVivliostyleInlineConfig, ReadingProgression, RenderMode, ServerConfig, StructuredDocument, StructuredDocumentSection, ThemeConfig, ThemeSpecifier, TocConfig, ValidString, VfmConfig, VfmReplaceRule, VivliostyleConfigSchema, VivliostyleInlineConfig };
|
package/dist/config/schema.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createVitePlugin
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VQCECPOL.js";
|
|
4
4
|
import {
|
|
5
5
|
build
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XDT2MS4O.js";
|
|
7
7
|
import {
|
|
8
8
|
init
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SU52IU2V.js";
|
|
10
10
|
import {
|
|
11
11
|
preview
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-5A3MDEJ4.js";
|
|
13
|
+
import "./chunk-4V7POPZ3.js";
|
|
14
|
+
import "./chunk-5YYKJN5S.js";
|
|
15
15
|
import "./chunk-FXUEYQRY.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HCZKJQUX.js";
|
|
17
17
|
import {
|
|
18
18
|
VivliostyleInlineConfig
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YUYXQJDY.js";
|
|
20
20
|
import "./chunk-4IIM6RSG.js";
|
|
21
21
|
import "./chunk-I7BWSAN6.js";
|
|
22
22
|
|
package/dist/vite-adapter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createVitePlugin
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-VQCECPOL.js";
|
|
4
|
+
import "./chunk-5YYKJN5S.js";
|
|
5
5
|
import "./chunk-FXUEYQRY.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-HCZKJQUX.js";
|
|
7
|
+
import "./chunk-YUYXQJDY.js";
|
|
8
8
|
import "./chunk-4IIM6RSG.js";
|
|
9
9
|
import "./chunk-I7BWSAN6.js";
|
|
10
10
|
export {
|
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.
|
|
4
|
+
"version": "9.5.0",
|
|
5
5
|
"author": "spring_raining <harusamex.com@gmail.com>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@npmcli/arborist": "8.0.0",
|
|
29
29
|
"@vivliostyle/jsdom": "25.0.1-vivliostyle-cli.1",
|
|
30
30
|
"@vivliostyle/vfm": "2.2.1",
|
|
31
|
-
"@vivliostyle/viewer": "2.
|
|
31
|
+
"@vivliostyle/viewer": "2.34.0",
|
|
32
32
|
"ajv": "8.17.1",
|
|
33
33
|
"ajv-formats": "3.0.1",
|
|
34
34
|
"archiver": "7.0.1",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"npm-package-arg": "12.0.2",
|
|
51
51
|
"pdf-lib": "1.17.1",
|
|
52
52
|
"picomatch": "4.0.2",
|
|
53
|
-
"playwright-core": "1.
|
|
53
|
+
"playwright-core": "1.54.2",
|
|
54
54
|
"press-ready": "4.0.3",
|
|
55
55
|
"resolve-pkg": "2.0.0",
|
|
56
56
|
"semver": "7.7.1",
|