@slidev/cli 0.48.0-beta.5 → 0.48.0-beta.6
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.
|
@@ -2496,7 +2496,7 @@ var require_semver2 = __commonJS({
|
|
|
2496
2496
|
});
|
|
2497
2497
|
|
|
2498
2498
|
// package.json
|
|
2499
|
-
var version = "0.48.0-beta.
|
|
2499
|
+
var version = "0.48.0-beta.6";
|
|
2500
2500
|
|
|
2501
2501
|
// node/common.ts
|
|
2502
2502
|
import { existsSync, promises as fs } from "node:fs";
|
|
@@ -2787,8 +2787,7 @@ function createSlidesLoader({ data, clientRoot, roots, remote, mode }, pluginOpt
|
|
|
2787
2787
|
if (type === "json" && req.method === "POST") {
|
|
2788
2788
|
const body = await getBodyJson(req);
|
|
2789
2789
|
const slide = data.slides[idx];
|
|
2790
|
-
|
|
2791
|
-
if (!onlyNoteChanged)
|
|
2790
|
+
if (body.content && body.content !== slide.source.content)
|
|
2792
2791
|
hmrPages.add(idx);
|
|
2793
2792
|
Object.assign(slide.source, body);
|
|
2794
2793
|
parser.prettifySlide(slide.source);
|
|
@@ -4244,7 +4243,7 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
4244
4243
|
"components",
|
|
4245
4244
|
join7(process3.cwd(), "components")
|
|
4246
4245
|
],
|
|
4247
|
-
include: [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/, /\.md
|
|
4246
|
+
include: [/\.vue$/, /\.vue\?vue/, /\.vue\?v=/, /\.md$/, /\.md\?vue/],
|
|
4248
4247
|
exclude: [],
|
|
4249
4248
|
resolvers: [
|
|
4250
4249
|
IconsResolver({
|
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-WV65JLWC.mjs";
|
|
9
9
|
import {
|
|
10
10
|
version
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MZGZ35RT.mjs";
|
|
12
12
|
import {
|
|
13
13
|
loadSetups
|
|
14
14
|
} from "./chunk-O6TYYGU6.mjs";
|
|
@@ -271,7 +271,7 @@ cli.command(
|
|
|
271
271
|
}).strict().help(),
|
|
272
272
|
async (args) => {
|
|
273
273
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
274
|
-
const { build } = await import("./build-
|
|
274
|
+
const { build } = await import("./build-JXQZ3YBD.mjs");
|
|
275
275
|
for (const entryFile of entry) {
|
|
276
276
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
277
277
|
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-WV65JLWC.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViteSlidevPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-MZGZ35RT.mjs";
|
|
9
9
|
import "./chunk-O6TYYGU6.mjs";
|
|
10
10
|
import "./chunk-7HOZGSL4.mjs";
|
|
11
11
|
import "./chunk-BXO7ZPPU.mjs";
|
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.6",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"vitefu": "^0.2.5",
|
|
105
105
|
"vue": "^3.4.19",
|
|
106
106
|
"yargs": "^17.7.2",
|
|
107
|
-
"@slidev/
|
|
108
|
-
"@slidev/
|
|
109
|
-
"@slidev/types": "0.48.0-beta.
|
|
107
|
+
"@slidev/parser": "0.48.0-beta.6",
|
|
108
|
+
"@slidev/client": "0.48.0-beta.6",
|
|
109
|
+
"@slidev/types": "0.48.0-beta.6"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|