@slidev/cli 0.42.10 → 0.42.11
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/{build-E5AQPKXP.js → build-I34EOBVM.js} +5 -5
- package/dist/{build-4XPJ27UV.mjs → build-ITLUPWNS.mjs} +1 -1
- package/dist/{chunk-C6JRFTBY.js → chunk-4O6GOAOC.js} +3 -20
- package/dist/{chunk-B54ZYWFO.mjs → chunk-QVVA2G2Y.mjs} +2 -2
- package/dist/{chunk-BFOSXE34.js → chunk-TH7JXF42.js} +4 -4
- package/dist/{chunk-XNFJHVPK.mjs → chunk-UAV6RPFT.mjs} +3 -20
- package/dist/cli.js +27 -27
- package/dist/cli.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/package.json +5 -5
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunk4O6GOAOCjs = require('./chunk-4O6GOAOC.js');
|
|
6
6
|
require('./chunk-KKGXM3XL.js');
|
|
7
7
|
require('./chunk-34SGGZ4P.js');
|
|
8
8
|
require('./chunk-QDKRARRU.js');
|
|
@@ -651,16 +651,16 @@ async function build(options, viteConfig = {}, args) {
|
|
|
651
651
|
let originalIndexHTML;
|
|
652
652
|
if (_fsextra2.default.existsSync(indexPath))
|
|
653
653
|
originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
|
|
654
|
-
await _fsextra2.default.writeFile(indexPath, await
|
|
654
|
+
await _fsextra2.default.writeFile(indexPath, await _chunk4O6GOAOCjs.getIndexHtml.call(void 0, options), "utf-8");
|
|
655
655
|
let config = void 0;
|
|
656
656
|
try {
|
|
657
|
-
const inlineConfig = await
|
|
657
|
+
const inlineConfig = await _chunk4O6GOAOCjs.mergeViteConfigs.call(void 0,
|
|
658
658
|
options,
|
|
659
659
|
viteConfig,
|
|
660
660
|
{
|
|
661
661
|
root: options.userRoot,
|
|
662
662
|
plugins: [
|
|
663
|
-
await
|
|
663
|
+
await _chunk4O6GOAOCjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
|
|
664
664
|
{
|
|
665
665
|
name: "resolve-config",
|
|
666
666
|
configResolved(_config) {
|
|
@@ -681,7 +681,7 @@ async function build(options, viteConfig = {}, args) {
|
|
|
681
681
|
} else {
|
|
682
682
|
console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
|
|
683
683
|
await _vite.build.call(void 0,
|
|
684
|
-
await
|
|
684
|
+
await _chunk4O6GOAOCjs.mergeViteConfigs.call(void 0,
|
|
685
685
|
options,
|
|
686
686
|
inlineConfig,
|
|
687
687
|
{
|
|
@@ -485,26 +485,9 @@ function createSlidesLoader({ data, entry, clientRoot, themeRoots, addonRoots, u
|
|
|
485
485
|
Object.assign(data, newData);
|
|
486
486
|
if (hmrPages.size > 0)
|
|
487
487
|
moduleIds.add("/@slidev/titles.md");
|
|
488
|
-
const vueModules = (
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
const file = `${slidePrefix}${i + 1}.md`;
|
|
492
|
-
try {
|
|
493
|
-
const md2 = await transformMarkdown((await MarkdownPlugin.transform((_a2 = newData.slides[i]) == null ? void 0 : _a2.content, file)).code, i, newData);
|
|
494
|
-
const handleHotUpdate = "handler" in VuePlugin.handleHotUpdate ? VuePlugin.handleHotUpdate.handler : VuePlugin.handleHotUpdate;
|
|
495
|
-
return await handleHotUpdate({
|
|
496
|
-
...ctx,
|
|
497
|
-
modules: Array.from(ctx.server.moduleGraph.getModulesByFile(file) || []),
|
|
498
|
-
file,
|
|
499
|
-
read() {
|
|
500
|
-
return md2;
|
|
501
|
-
}
|
|
502
|
-
});
|
|
503
|
-
} catch (e) {
|
|
504
|
-
console.error("[Slidev] failed to send HMR", e);
|
|
505
|
-
}
|
|
506
|
-
})
|
|
507
|
-
)).flatMap((i) => i || []);
|
|
488
|
+
const vueModules = Array.from(hmrPages).map(
|
|
489
|
+
(i) => ctx.server.moduleGraph.getModuleById(`${slidePrefix}${i + 1}.md`)
|
|
490
|
+
);
|
|
508
491
|
hmrPages.clear();
|
|
509
492
|
const moduleEntries = [
|
|
510
493
|
...vueModules,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UAV6RPFT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
packageExists,
|
|
7
7
|
resolveImportPath
|
|
@@ -2523,7 +2523,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2523
2523
|
import * as parser from "@slidev/parser/fs";
|
|
2524
2524
|
|
|
2525
2525
|
// package.json
|
|
2526
|
-
var version = "0.42.
|
|
2526
|
+
var version = "0.42.11";
|
|
2527
2527
|
|
|
2528
2528
|
// node/themes.ts
|
|
2529
2529
|
import prompts2 from "prompts";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk4O6GOAOCjs = require('./chunk-4O6GOAOC.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2500,7 +2500,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2500
2500
|
const pluginOptions = rawConfig.slidev || {};
|
|
2501
2501
|
_process2.default.env.EDITOR = _process2.default.env.EDITOR || "code";
|
|
2502
2502
|
const server = await _vite.createServer.call(void 0,
|
|
2503
|
-
await
|
|
2503
|
+
await _chunk4O6GOAOCjs.mergeViteConfigs.call(void 0,
|
|
2504
2504
|
options,
|
|
2505
2505
|
viteConfig,
|
|
2506
2506
|
{
|
|
@@ -2510,7 +2510,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2510
2510
|
]
|
|
2511
2511
|
},
|
|
2512
2512
|
plugins: [
|
|
2513
|
-
await
|
|
2513
|
+
await _chunk4O6GOAOCjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
2514
2514
|
]
|
|
2515
2515
|
},
|
|
2516
2516
|
"serve"
|
|
@@ -2523,7 +2523,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2523
2523
|
var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
|
|
2524
2524
|
|
|
2525
2525
|
// package.json
|
|
2526
|
-
var version = "0.42.
|
|
2526
|
+
var version = "0.42.11";
|
|
2527
2527
|
|
|
2528
2528
|
// node/themes.ts
|
|
2529
2529
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
@@ -485,26 +485,9 @@ function createSlidesLoader({ data, entry, clientRoot, themeRoots, addonRoots, u
|
|
|
485
485
|
Object.assign(data, newData);
|
|
486
486
|
if (hmrPages.size > 0)
|
|
487
487
|
moduleIds.add("/@slidev/titles.md");
|
|
488
|
-
const vueModules = (
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
const file = `${slidePrefix}${i + 1}.md`;
|
|
492
|
-
try {
|
|
493
|
-
const md2 = await transformMarkdown((await MarkdownPlugin.transform((_a2 = newData.slides[i]) == null ? void 0 : _a2.content, file)).code, i, newData);
|
|
494
|
-
const handleHotUpdate = "handler" in VuePlugin.handleHotUpdate ? VuePlugin.handleHotUpdate.handler : VuePlugin.handleHotUpdate;
|
|
495
|
-
return await handleHotUpdate({
|
|
496
|
-
...ctx,
|
|
497
|
-
modules: Array.from(ctx.server.moduleGraph.getModulesByFile(file) || []),
|
|
498
|
-
file,
|
|
499
|
-
read() {
|
|
500
|
-
return md2;
|
|
501
|
-
}
|
|
502
|
-
});
|
|
503
|
-
} catch (e) {
|
|
504
|
-
console.error("[Slidev] failed to send HMR", e);
|
|
505
|
-
}
|
|
506
|
-
})
|
|
507
|
-
)).flatMap((i) => i || []);
|
|
488
|
+
const vueModules = Array.from(hmrPages).map(
|
|
489
|
+
(i) => ctx.server.moduleGraph.getModuleById(`${slidePrefix}${i + 1}.md`)
|
|
490
|
+
);
|
|
508
491
|
hmrPages.clear();
|
|
509
492
|
const moduleEntries = [
|
|
510
493
|
...vueModules,
|
package/dist/cli.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkTH7JXF42js = require('./chunk-TH7JXF42.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk4O6GOAOCjs = require('./chunk-4O6GOAOC.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkKKGXM3XLjs = require('./chunk-KKGXM3XL.js');
|
|
@@ -22,7 +22,7 @@ require('./chunk-34SGGZ4P.js');
|
|
|
22
22
|
var _chunkQDKRARRUjs = require('./chunk-QDKRARRU.js');
|
|
23
23
|
|
|
24
24
|
// node/cli.ts
|
|
25
|
-
var import_fast_deep_equal = _chunkQDKRARRUjs.__toESM.call(void 0,
|
|
25
|
+
var import_fast_deep_equal = _chunkQDKRARRUjs.__toESM.call(void 0, _chunk4O6GOAOCjs.require_fast_deep_equal.call(void 0, ));
|
|
26
26
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
27
27
|
var _os = require('os'); var _os2 = _interopRequireDefault(_os);
|
|
28
28
|
var _child_process = require('child_process');
|
|
@@ -49,15 +49,15 @@ _fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) =>
|
|
|
49
49
|
const roots = (
|
|
50
50
|
/* uniq */
|
|
51
51
|
[
|
|
52
|
-
|
|
53
|
-
...
|
|
54
|
-
|
|
52
|
+
_chunkTH7JXF42js.getUserRoot.call(void 0, {}).userRoot,
|
|
53
|
+
..._chunkTH7JXF42js.getAddonRoots.call(void 0, addons, ""),
|
|
54
|
+
_chunkTH7JXF42js.getClientRoot.call(void 0, )
|
|
55
55
|
]
|
|
56
56
|
);
|
|
57
57
|
const mergeArrays = (a, b) => a.concat(b);
|
|
58
58
|
return await _chunkKKGXM3XLjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
59
59
|
});
|
|
60
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
60
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkTH7JXF42js.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
61
61
|
cli.command(
|
|
62
62
|
"* [entry]",
|
|
63
63
|
"Start a local server for Slidev",
|
|
@@ -113,9 +113,9 @@ cli.command(
|
|
|
113
113
|
async function initServer() {
|
|
114
114
|
if (server)
|
|
115
115
|
await server.close();
|
|
116
|
-
const options = await
|
|
116
|
+
const options = await _chunkTH7JXF42js.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
|
|
117
117
|
port = userPort || await findFreePort(3030);
|
|
118
|
-
server = await
|
|
118
|
+
server = await _chunkTH7JXF42js.createServer.call(void 0,
|
|
119
119
|
options,
|
|
120
120
|
{
|
|
121
121
|
server: {
|
|
@@ -129,7 +129,7 @@ cli.command(
|
|
|
129
129
|
},
|
|
130
130
|
{
|
|
131
131
|
onDataReload(newData, data) {
|
|
132
|
-
if (!theme &&
|
|
132
|
+
if (!theme && _chunkTH7JXF42js.resolveThemeName.call(void 0, newData.config.theme) !== _chunkTH7JXF42js.resolveThemeName.call(void 0, data.config.theme)) {
|
|
133
133
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
134
134
|
initServer();
|
|
135
135
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -258,9 +258,9 @@ cli.command(
|
|
|
258
258
|
}).strict().help(),
|
|
259
259
|
async (args) => {
|
|
260
260
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
261
|
-
const { build } = await Promise.resolve().then(() => require("./build-
|
|
261
|
+
const { build } = await Promise.resolve().then(() => require("./build-I34EOBVM.js"));
|
|
262
262
|
for (const entryFile of entry) {
|
|
263
|
-
const options = await
|
|
263
|
+
const options = await _chunkTH7JXF42js.resolveOptions.call(void 0, { entry: entryFile, theme, inspect }, "build");
|
|
264
264
|
if (download && !options.data.config.download)
|
|
265
265
|
options.data.config.download = download;
|
|
266
266
|
printInfo(options);
|
|
@@ -280,9 +280,9 @@ cli.command(
|
|
|
280
280
|
(args) => commonOptions(args).strict().help(),
|
|
281
281
|
async ({ entry }) => {
|
|
282
282
|
for (const entryFile of entry) {
|
|
283
|
-
const data = await
|
|
284
|
-
|
|
285
|
-
await
|
|
283
|
+
const data = await _chunkTH7JXF42js.parser.load(entryFile);
|
|
284
|
+
_chunkTH7JXF42js.parser.prettify(data);
|
|
285
|
+
await _chunkTH7JXF42js.parser.save(data);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
);
|
|
@@ -298,17 +298,17 @@ cli.command(
|
|
|
298
298
|
default: "theme"
|
|
299
299
|
}),
|
|
300
300
|
async ({ entry, dir, theme: themeInput }) => {
|
|
301
|
-
const data = await
|
|
302
|
-
const theme =
|
|
301
|
+
const data = await _chunkTH7JXF42js.parser.load(entry);
|
|
302
|
+
const theme = _chunkTH7JXF42js.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
303
303
|
if (theme === "none") {
|
|
304
304
|
console.error('Cannot eject theme "none"');
|
|
305
305
|
_process2.default.exit(1);
|
|
306
306
|
}
|
|
307
|
-
if (
|
|
307
|
+
if (_chunkTH7JXF42js.isPath.call(void 0, theme)) {
|
|
308
308
|
console.error("Theme is already ejected");
|
|
309
309
|
_process2.default.exit(1);
|
|
310
310
|
}
|
|
311
|
-
const roots =
|
|
311
|
+
const roots = _chunkTH7JXF42js.getThemeRoots.call(void 0, theme, entry);
|
|
312
312
|
if (!roots.length) {
|
|
313
313
|
console.error(`Could not find theme "${theme}"`);
|
|
314
314
|
_process2.default.exit(1);
|
|
@@ -320,7 +320,7 @@ cli.command(
|
|
|
320
320
|
const dirPath = `./${dir}`;
|
|
321
321
|
data.slides[0].frontmatter.theme = dirPath;
|
|
322
322
|
data.slides[0].raw = null;
|
|
323
|
-
await
|
|
323
|
+
await _chunkTH7JXF42js.parser.save(data);
|
|
324
324
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
325
325
|
}
|
|
326
326
|
);
|
|
@@ -340,8 +340,8 @@ cli.command(
|
|
|
340
340
|
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-BGMCS4F2.js"));
|
|
341
341
|
const port = await findFreePort(12445);
|
|
342
342
|
for (const entryFile of entry) {
|
|
343
|
-
const options = await
|
|
344
|
-
const server = await
|
|
343
|
+
const options = await _chunkTH7JXF42js.resolveOptions.call(void 0, { entry: entryFile, theme }, "export");
|
|
344
|
+
const server = await _chunkTH7JXF42js.createServer.call(void 0,
|
|
345
345
|
options,
|
|
346
346
|
{
|
|
347
347
|
server: { port },
|
|
@@ -350,7 +350,7 @@ cli.command(
|
|
|
350
350
|
);
|
|
351
351
|
await server.listen(port);
|
|
352
352
|
printInfo(options);
|
|
353
|
-
|
|
353
|
+
_chunkTH7JXF42js.parser.filterDisabled(options.data);
|
|
354
354
|
const result = await exportSlides({
|
|
355
355
|
port,
|
|
356
356
|
...getExportOptions({ ...args, entry: entryFile }, options)
|
|
@@ -386,8 +386,8 @@ cli.command(
|
|
|
386
386
|
const { exportNotes } = await Promise.resolve().then(() => require("./export-BGMCS4F2.js"));
|
|
387
387
|
const port = await findFreePort(12445);
|
|
388
388
|
for (const entryFile of entry) {
|
|
389
|
-
const options = await
|
|
390
|
-
const server = await
|
|
389
|
+
const options = await _chunkTH7JXF42js.resolveOptions.call(void 0, { entry: entryFile }, "export");
|
|
390
|
+
const server = await _chunkTH7JXF42js.createServer.call(void 0,
|
|
391
391
|
options,
|
|
392
392
|
{
|
|
393
393
|
server: { port },
|
|
@@ -396,7 +396,7 @@ cli.command(
|
|
|
396
396
|
);
|
|
397
397
|
await server.listen(port);
|
|
398
398
|
printInfo(options);
|
|
399
|
-
|
|
399
|
+
_chunkTH7JXF42js.parser.filterDisabled(options.data);
|
|
400
400
|
const result = await exportNotes({
|
|
401
401
|
port,
|
|
402
402
|
output: output || (options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entryFile, ".md")}-export-notes`),
|
|
@@ -457,7 +457,7 @@ function printInfo(options, port, remote, tunnelUrl) {
|
|
|
457
457
|
console.log();
|
|
458
458
|
console.log();
|
|
459
459
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
460
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
460
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkTH7JXF42js.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
461
461
|
console.log();
|
|
462
462
|
_parser.verifyConfig.call(void 0, options.data.config, options.data.themeMeta, (v) => console.warn(_kolorist.yellow.call(void 0, ` ! ${v}`)));
|
|
463
463
|
console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
|
package/dist/cli.mjs
CHANGED
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveThemeName,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QVVA2G2Y.mjs";
|
|
13
13
|
import {
|
|
14
14
|
require_fast_deep_equal
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UAV6RPFT.mjs";
|
|
16
16
|
import {
|
|
17
17
|
loadSetups
|
|
18
18
|
} from "./chunk-6XVZLT3I.mjs";
|
|
@@ -258,7 +258,7 @@ cli.command(
|
|
|
258
258
|
}).strict().help(),
|
|
259
259
|
async (args) => {
|
|
260
260
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
261
|
-
const { build } = await import("./build-
|
|
261
|
+
const { build } = await import("./build-ITLUPWNS.mjs");
|
|
262
262
|
for (const entryFile of entry) {
|
|
263
263
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
264
264
|
if (download && !options.data.config.download)
|
package/dist/index.js
CHANGED
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkTH7JXF42js = require('./chunk-TH7JXF42.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkRSZHGGR3js = require('./chunk-RSZHGGR3.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunk4O6GOAOCjs = require('./chunk-4O6GOAOC.js');
|
|
19
19
|
require('./chunk-KKGXM3XL.js');
|
|
20
20
|
require('./chunk-34SGGZ4P.js');
|
|
21
21
|
require('./chunk-QDKRARRU.js');
|
|
@@ -32,4 +32,4 @@ require('./chunk-QDKRARRU.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.ViteSlidevPlugin =
|
|
35
|
+
exports.ViteSlidevPlugin = _chunk4O6GOAOCjs.ViteSlidevPlugin; exports.createServer = _chunkTH7JXF42js.createServer; exports.createWindiCSSPlugin = _chunkRSZHGGR3js.createWindiCSSPlugin; exports.getAddonRoots = _chunkTH7JXF42js.getAddonRoots; exports.getCLIRoot = _chunkTH7JXF42js.getCLIRoot; exports.getClientRoot = _chunkTH7JXF42js.getClientRoot; exports.getRoot = _chunkTH7JXF42js.getRoot; exports.getThemeRoots = _chunkTH7JXF42js.getThemeRoots; exports.getUserRoot = _chunkTH7JXF42js.getUserRoot; exports.isPath = _chunkTH7JXF42js.isPath; exports.parser = _chunkTH7JXF42js.parser; exports.resolveOptions = _chunkTH7JXF42js.resolveOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QVVA2G2Y.mjs";
|
|
13
13
|
import {
|
|
14
14
|
createWindiCSSPlugin
|
|
15
15
|
} from "./chunk-VPD6PH2L.mjs";
|
|
16
16
|
import {
|
|
17
17
|
ViteSlidevPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UAV6RPFT.mjs";
|
|
19
19
|
import "./chunk-6XVZLT3I.mjs";
|
|
20
20
|
import "./chunk-MZBIET7Y.mjs";
|
|
21
21
|
import "./chunk-KB3DQ2OE.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.11",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@iconify-json/ph": "^1.1.6",
|
|
49
49
|
"@lillallol/outline-pdf": "^4.0.0",
|
|
50
50
|
"@mrdrogdrog/optional": "^1.2.1",
|
|
51
|
-
"@vitejs/plugin-vue": "4.3.
|
|
51
|
+
"@vitejs/plugin-vue": "^4.3.3",
|
|
52
52
|
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
|
53
53
|
"@windicss/config": "^1.9.1",
|
|
54
54
|
"cli-progress": "^3.12.0",
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"vue": "^3.3.4",
|
|
97
97
|
"windicss": "^3.5.6",
|
|
98
98
|
"yargs": "^17.7.2",
|
|
99
|
-
"@slidev/client": "0.42.
|
|
100
|
-
"@slidev/parser": "0.42.
|
|
101
|
-
"@slidev/types": "0.42.
|
|
99
|
+
"@slidev/client": "0.42.11",
|
|
100
|
+
"@slidev/parser": "0.42.11",
|
|
101
|
+
"@slidev/types": "0.42.11"
|
|
102
102
|
},
|
|
103
103
|
"devDependencies": {
|
|
104
104
|
"@types/plantuml-encoder": "^1.4.0",
|