@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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Logger,
|
|
3
3
|
useTmpDirectory
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HCZKJQUX.js";
|
|
5
5
|
|
|
6
6
|
// src/config/vite.ts
|
|
7
7
|
import upath from "upath";
|
|
@@ -74,4 +74,4 @@ async function resolveViteConfig({
|
|
|
74
74
|
export {
|
|
75
75
|
resolveViteConfig
|
|
76
76
|
};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-4V7POPZ3.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveViteConfig
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4V7POPZ3.js";
|
|
4
4
|
import {
|
|
5
5
|
createViteServer,
|
|
6
6
|
getViewerFullUrl,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
mergeInlineConfig,
|
|
10
10
|
resolveTaskConfig,
|
|
11
11
|
warnDeprecatedConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5YYKJN5S.js";
|
|
13
13
|
import {
|
|
14
14
|
Logger,
|
|
15
15
|
isUnicodeSupported,
|
|
16
16
|
randomBookSymbol,
|
|
17
17
|
setupConfigFromFlags
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HCZKJQUX.js";
|
|
19
19
|
import {
|
|
20
20
|
cliVersion
|
|
21
21
|
} from "./chunk-4IIM6RSG.js";
|
|
@@ -85,4 +85,4 @@ ${blueBright("\u2559\u2500")} ${dim(`Preview URL: ${terminalLink(url, url, { fal
|
|
|
85
85
|
export {
|
|
86
86
|
preview
|
|
87
87
|
};
|
|
88
|
-
//# sourceMappingURL=chunk-
|
|
88
|
+
//# sourceMappingURL=chunk-5A3MDEJ4.js.map
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
touchTmpFile,
|
|
26
26
|
useTmpDirectory,
|
|
27
27
|
writeFileIfChanged
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-HCZKJQUX.js";
|
|
29
29
|
import {
|
|
30
30
|
VivliostyleConfigSchema
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YUYXQJDY.js";
|
|
32
32
|
import {
|
|
33
33
|
CONTAINER_LOCAL_HOSTNAME,
|
|
34
34
|
CONTAINER_URL,
|
|
@@ -1567,12 +1567,20 @@ var getTocHtmlStyle = ({
|
|
|
1567
1567
|
return (
|
|
1568
1568
|
/* css */
|
|
1569
1569
|
`
|
|
1570
|
-
${pageBreakBefore ?
|
|
1570
|
+
${pageBreakBefore ? (
|
|
1571
|
+
/* css */
|
|
1572
|
+
`:root {
|
|
1571
1573
|
break-before: ${pageBreakBefore};
|
|
1572
|
-
}`
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1574
|
+
}`
|
|
1575
|
+
) : ""}
|
|
1576
|
+
${// Note: `--vs-document-first-page-counter-reset` is reserved variable name in Vivliostyle base themes
|
|
1577
|
+
typeof pageCounterReset === "number" ? (
|
|
1578
|
+
/* css */
|
|
1579
|
+
`@page :nth(1) {
|
|
1580
|
+
--vs-document-first-page-counter-reset: page ${Math.floor(pageCounterReset - 1)};
|
|
1581
|
+
counter-reset: var(--vs-document-first-page-counter-reset);
|
|
1582
|
+
}`
|
|
1583
|
+
) : ""}
|
|
1576
1584
|
`
|
|
1577
1585
|
);
|
|
1578
1586
|
};
|
|
@@ -2773,7 +2781,6 @@ async function copyWebPublicationAssets({
|
|
|
2773
2781
|
outputDir,
|
|
2774
2782
|
entries
|
|
2775
2783
|
}) {
|
|
2776
|
-
debugger;
|
|
2777
2784
|
const relExportAliases = exportAliases.map(({ source, target }) => ({
|
|
2778
2785
|
source: upath6.relative(input, source),
|
|
2779
2786
|
target: upath6.relative(input, target)
|
|
@@ -3957,4 +3964,4 @@ export {
|
|
|
3957
3964
|
getViewerFullUrl,
|
|
3958
3965
|
createViteServer
|
|
3959
3966
|
};
|
|
3960
|
-
//# sourceMappingURL=chunk-
|
|
3967
|
+
//# sourceMappingURL=chunk-5YYKJN5S.js.map
|