@slidev/cli 0.49.25 → 0.49.26
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.
|
@@ -8109,7 +8109,7 @@ import fs from "fs-extra";
|
|
|
8109
8109
|
import { satisfies } from "semver";
|
|
8110
8110
|
|
|
8111
8111
|
// package.json
|
|
8112
|
-
var version = "0.49.
|
|
8112
|
+
var version = "0.49.26";
|
|
8113
8113
|
|
|
8114
8114
|
// node/integrations/themes.ts
|
|
8115
8115
|
var officialThemes = {
|
|
@@ -8373,7 +8373,7 @@ function createSlidesLoader(options, serverOptions) {
|
|
|
8373
8373
|
const hmrSlidesIndexes = /* @__PURE__ */ new Set();
|
|
8374
8374
|
let server;
|
|
8375
8375
|
let skipHmr = null;
|
|
8376
|
-
const { data,
|
|
8376
|
+
const { data, mode, utils } = options;
|
|
8377
8377
|
function getSourceId(index, type) {
|
|
8378
8378
|
return `${data.slides[index].source.filepath}__slidev_${index + 1}.${type}`;
|
|
8379
8379
|
}
|
|
@@ -8496,7 +8496,7 @@ function createSlidesLoader(options, serverOptions) {
|
|
|
8496
8496
|
hmrSlidesIndexes.add(i);
|
|
8497
8497
|
}
|
|
8498
8498
|
Object.assign(data, newData);
|
|
8499
|
-
Object.assign(utils, createDataUtils(
|
|
8499
|
+
Object.assign(utils, createDataUtils(options));
|
|
8500
8500
|
if (hmrSlidesIndexes.size > 0)
|
|
8501
8501
|
moduleIds.add(templateTitleRendererMd.id);
|
|
8502
8502
|
const vueModules = Array.from(hmrSlidesIndexes).flatMap((idx) => {
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A3NMWZEB.js";
|
|
4
4
|
import {
|
|
5
5
|
getThemeMeta,
|
|
6
6
|
loadSetups,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveTheme,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WAY7R2LN.js";
|
|
13
13
|
import "./chunk-6DS3IPOB.js";
|
|
14
14
|
import {
|
|
15
15
|
getRoots,
|
|
@@ -335,7 +335,7 @@ cli.command(
|
|
|
335
335
|
}).strict().help(),
|
|
336
336
|
async (args) => {
|
|
337
337
|
const { entry, theme, base, download, out, inspect } = args;
|
|
338
|
-
const { build } = await import("./build-
|
|
338
|
+
const { build } = await import("./build-V66PFASE.js");
|
|
339
339
|
for (const entryFile of entry) {
|
|
340
340
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
341
341
|
if (download && !options.data.config.download)
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A3NMWZEB.js";
|
|
4
4
|
import {
|
|
5
5
|
ViteSlidevPlugin,
|
|
6
6
|
createDataUtils,
|
|
7
7
|
parser,
|
|
8
8
|
resolveOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WAY7R2LN.js";
|
|
10
10
|
import "./chunk-6DS3IPOB.js";
|
|
11
11
|
import "./chunk-HOVIRHCR.js";
|
|
12
12
|
import "./chunk-JSBRDJBE.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.49.
|
|
4
|
+
"version": "0.49.26",
|
|
5
5
|
"description": "Presentation slides for developers",
|
|
6
6
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -109,9 +109,9 @@
|
|
|
109
109
|
"vitefu": "^0.2.5",
|
|
110
110
|
"vue": "^3.4.38",
|
|
111
111
|
"yargs": "^17.7.2",
|
|
112
|
-
"@slidev/
|
|
113
|
-
"@slidev/parser": "0.49.
|
|
114
|
-
"@slidev/
|
|
112
|
+
"@slidev/client": "0.49.26",
|
|
113
|
+
"@slidev/parser": "0.49.26",
|
|
114
|
+
"@slidev/types": "0.49.26"
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|