@slidev/cli 0.48.0-beta.23 → 0.48.0-beta.24
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.
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-CV7OWJOF.mjs";
|
|
8
8
|
|
|
9
9
|
// package.json
|
|
10
|
-
var version = "0.48.0-beta.
|
|
10
|
+
var version = "0.48.0-beta.24";
|
|
11
11
|
|
|
12
12
|
// node/common.ts
|
|
13
13
|
import { existsSync, promises as fs } from "node:fs";
|
|
@@ -1713,12 +1713,12 @@ ${Object.entries(layouts).map(([k, v]) => `"${k}": ${v}`).join(",\n")}
|
|
|
1713
1713
|
`const data = [
|
|
1714
1714
|
${slides.join(",\n")}
|
|
1715
1715
|
]`,
|
|
1716
|
-
`import.meta.hot.data.slides ??= shallowRef()`,
|
|
1717
|
-
`import.meta.hot.data.slides.value = data`,
|
|
1718
|
-
`export const slides = import.meta.hot.data.slides`,
|
|
1719
1716
|
`if (import.meta.hot) {`,
|
|
1717
|
+
` import.meta.hot.data.slides ??= shallowRef()`,
|
|
1718
|
+
` import.meta.hot.data.slides.value = data`,
|
|
1720
1719
|
` import.meta.hot.accept()`,
|
|
1721
|
-
`}
|
|
1720
|
+
`}`,
|
|
1721
|
+
`export const slides = import.meta.hot ? import.meta.hot.data.slides : shallowRef(data)`
|
|
1722
1722
|
].join("\n");
|
|
1723
1723
|
}
|
|
1724
1724
|
function generateDummyRoutes() {
|
package/dist/cli.mjs
CHANGED
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
resolveAddons,
|
|
6
6
|
resolveOptions,
|
|
7
7
|
resolveTheme
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C5FCGW35.mjs";
|
|
9
9
|
import {
|
|
10
10
|
version
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-4HUKWYZE.mjs";
|
|
12
12
|
import {
|
|
13
13
|
loadSetups
|
|
14
14
|
} from "./chunk-O6TYYGU6.mjs";
|
|
@@ -326,7 +326,7 @@ cli.command(
|
|
|
326
326
|
}).strict().help(),
|
|
327
327
|
async (args) => {
|
|
328
328
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
329
|
-
const { build } = await import("./build-
|
|
329
|
+
const { build } = await import("./build-DPVTCX6R.mjs");
|
|
330
330
|
for (const entryFile of entry) {
|
|
331
331
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
332
332
|
if (download && !options.data.config.download)
|
package/dist/index.mjs
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
createServer,
|
|
3
3
|
parser,
|
|
4
4
|
resolveOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-C5FCGW35.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViteSlidevPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4HUKWYZE.mjs";
|
|
9
9
|
import "./chunk-O6TYYGU6.mjs";
|
|
10
10
|
import "./chunk-CV7OWJOF.mjs";
|
|
11
11
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.48.0-beta.
|
|
3
|
+
"version": "0.48.0-beta.24",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -106,9 +106,9 @@
|
|
|
106
106
|
"vitefu": "^0.2.5",
|
|
107
107
|
"vue": "^3.4.21",
|
|
108
108
|
"yargs": "^17.7.2",
|
|
109
|
-
"@slidev/
|
|
110
|
-
"@slidev/
|
|
111
|
-
"@slidev/types": "0.48.0-beta.
|
|
109
|
+
"@slidev/client": "0.48.0-beta.24",
|
|
110
|
+
"@slidev/parser": "0.48.0-beta.24",
|
|
111
|
+
"@slidev/types": "0.48.0-beta.24"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|