@slidev/cli 0.42.3 → 0.42.4
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-FNP2QTPG.js → build-3TQML4LL.js} +5 -5
- package/dist/{build-KRDVURNJ.mjs → build-KVCLJMZB.mjs} +1 -1
- package/dist/{chunk-EQTZCSMP.mjs → chunk-3JYF6GOD.mjs} +5 -5
- package/dist/{chunk-EXW5R6GH.mjs → chunk-HO4HKNKG.mjs} +2 -2
- package/dist/{chunk-6OBJFY72.js → chunk-LNT2WGUR.js} +4 -4
- package/dist/{chunk-QL6EDWJQ.js → chunk-X2K32WHH.js} +5 -5
- 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 +9 -9
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkX2K32WHHjs = require('./chunk-X2K32WHH.js');
|
|
6
6
|
require('./chunk-KKGXM3XL.js');
|
|
7
7
|
require('./chunk-6ZL4B4HQ.js');
|
|
8
8
|
require('./chunk-MJQETB73.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 _chunkX2K32WHHjs.getIndexHtml.call(void 0, options), "utf-8");
|
|
655
655
|
let config = void 0;
|
|
656
656
|
try {
|
|
657
|
-
const inlineConfig = await
|
|
657
|
+
const inlineConfig = await _chunkX2K32WHHjs.mergeViteConfigs.call(void 0,
|
|
658
658
|
options,
|
|
659
659
|
viteConfig,
|
|
660
660
|
{
|
|
661
661
|
root: options.userRoot,
|
|
662
662
|
plugins: [
|
|
663
|
-
await
|
|
663
|
+
await _chunkX2K32WHHjs.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 _chunkX2K32WHHjs.mergeViteConfigs.call(void 0,
|
|
685
685
|
options,
|
|
686
686
|
inlineConfig,
|
|
687
687
|
{
|
|
@@ -183,10 +183,10 @@ import { uniq as uniq2 } from "@antfu/utils";
|
|
|
183
183
|
|
|
184
184
|
// ../client/package.json
|
|
185
185
|
var dependencies = {
|
|
186
|
-
"@antfu/utils": "^0.7.
|
|
186
|
+
"@antfu/utils": "^0.7.4",
|
|
187
187
|
"@slidev/parser": "workspace:*",
|
|
188
188
|
"@slidev/types": "workspace:*",
|
|
189
|
-
"@unocss/reset": "^0.
|
|
189
|
+
"@unocss/reset": "^0.53.0",
|
|
190
190
|
"@vueuse/core": "^10.1.2",
|
|
191
191
|
"@vueuse/head": "^1.1.26",
|
|
192
192
|
"@vueuse/math": "^10.1.2",
|
|
@@ -199,13 +199,13 @@ var dependencies = {
|
|
|
199
199
|
"js-base64": "^3.7.5",
|
|
200
200
|
"js-yaml": "^4.1.0",
|
|
201
201
|
katex: "^0.16.7",
|
|
202
|
-
mermaid: "^10.2.
|
|
202
|
+
mermaid: "^10.2.2",
|
|
203
203
|
"monaco-editor": "^0.37.1",
|
|
204
204
|
nanoid: "^4.0.2",
|
|
205
205
|
prettier: "^2.8.8",
|
|
206
206
|
recordrtc: "^5.6.2",
|
|
207
207
|
resolve: "^1.22.2",
|
|
208
|
-
unocss: "^0.
|
|
208
|
+
unocss: "^0.53.0",
|
|
209
209
|
"vite-plugin-windicss": "^1.9.0",
|
|
210
210
|
vue: "^3.3.4",
|
|
211
211
|
"vue-router": "^4.2.2",
|
|
@@ -538,7 +538,7 @@ function createSlidesLoader({ data, entry, clientRoot, themeRoots, addonRoots, u
|
|
|
538
538
|
return generateCustomNavControls();
|
|
539
539
|
if (id === "/@slidev/titles.md") {
|
|
540
540
|
return {
|
|
541
|
-
code: data.slides.map(({ title }, i) => {
|
|
541
|
+
code: data.slides.filter(({ frontmatter }) => !(frontmatter == null ? void 0 : frontmatter.disabled)).map(({ title }, i) => {
|
|
542
542
|
return `<template ${i === 0 ? "v-if" : "v-else-if"}="+no === ${i + 1}">
|
|
543
543
|
|
|
544
544
|
${title}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3JYF6GOD.mjs";
|
|
5
5
|
import {
|
|
6
6
|
packageExists,
|
|
7
7
|
resolveImportPath
|
|
@@ -2454,7 +2454,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2454
2454
|
import * as parser from "@slidev/parser/fs";
|
|
2455
2455
|
|
|
2456
2456
|
// package.json
|
|
2457
|
-
var version = "0.42.
|
|
2457
|
+
var version = "0.42.4";
|
|
2458
2458
|
|
|
2459
2459
|
// node/themes.ts
|
|
2460
2460
|
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 _chunkX2K32WHHjs = require('./chunk-X2K32WHH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2431,7 +2431,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2431
2431
|
const pluginOptions = rawConfig.slidev || {};
|
|
2432
2432
|
process.env.EDITOR = process.env.EDITOR || "code";
|
|
2433
2433
|
const server = await _vite.createServer.call(void 0,
|
|
2434
|
-
await
|
|
2434
|
+
await _chunkX2K32WHHjs.mergeViteConfigs.call(void 0,
|
|
2435
2435
|
options,
|
|
2436
2436
|
viteConfig,
|
|
2437
2437
|
{
|
|
@@ -2441,7 +2441,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2441
2441
|
]
|
|
2442
2442
|
},
|
|
2443
2443
|
plugins: [
|
|
2444
|
-
await
|
|
2444
|
+
await _chunkX2K32WHHjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
2445
2445
|
]
|
|
2446
2446
|
},
|
|
2447
2447
|
"serve"
|
|
@@ -2454,7 +2454,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2454
2454
|
var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
|
|
2455
2455
|
|
|
2456
2456
|
// package.json
|
|
2457
|
-
var version = "0.42.
|
|
2457
|
+
var version = "0.42.4";
|
|
2458
2458
|
|
|
2459
2459
|
// node/themes.ts
|
|
2460
2460
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
@@ -183,10 +183,10 @@ var _isinstalledglobally = require('is-installed-globally'); var _isinstalledglo
|
|
|
183
183
|
|
|
184
184
|
// ../client/package.json
|
|
185
185
|
var dependencies = {
|
|
186
|
-
"@antfu/utils": "^0.7.
|
|
186
|
+
"@antfu/utils": "^0.7.4",
|
|
187
187
|
"@slidev/parser": "workspace:*",
|
|
188
188
|
"@slidev/types": "workspace:*",
|
|
189
|
-
"@unocss/reset": "^0.
|
|
189
|
+
"@unocss/reset": "^0.53.0",
|
|
190
190
|
"@vueuse/core": "^10.1.2",
|
|
191
191
|
"@vueuse/head": "^1.1.26",
|
|
192
192
|
"@vueuse/math": "^10.1.2",
|
|
@@ -199,13 +199,13 @@ var dependencies = {
|
|
|
199
199
|
"js-base64": "^3.7.5",
|
|
200
200
|
"js-yaml": "^4.1.0",
|
|
201
201
|
katex: "^0.16.7",
|
|
202
|
-
mermaid: "^10.2.
|
|
202
|
+
mermaid: "^10.2.2",
|
|
203
203
|
"monaco-editor": "^0.37.1",
|
|
204
204
|
nanoid: "^4.0.2",
|
|
205
205
|
prettier: "^2.8.8",
|
|
206
206
|
recordrtc: "^5.6.2",
|
|
207
207
|
resolve: "^1.22.2",
|
|
208
|
-
unocss: "^0.
|
|
208
|
+
unocss: "^0.53.0",
|
|
209
209
|
"vite-plugin-windicss": "^1.9.0",
|
|
210
210
|
vue: "^3.3.4",
|
|
211
211
|
"vue-router": "^4.2.2",
|
|
@@ -538,7 +538,7 @@ function createSlidesLoader({ data, entry, clientRoot, themeRoots, addonRoots, u
|
|
|
538
538
|
return generateCustomNavControls();
|
|
539
539
|
if (id === "/@slidev/titles.md") {
|
|
540
540
|
return {
|
|
541
|
-
code: data.slides.map(({ title }, i) => {
|
|
541
|
+
code: data.slides.filter(({ frontmatter }) => !(frontmatter == null ? void 0 : frontmatter.disabled)).map(({ title }, i) => {
|
|
542
542
|
return `<template ${i === 0 ? "v-if" : "v-else-if"}="+no === ${i + 1}">
|
|
543
543
|
|
|
544
544
|
${title}
|
package/dist/cli.js
CHANGED
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkLNT2WGURjs = require('./chunk-LNT2WGUR.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunkX2K32WHHjs = require('./chunk-X2K32WHH.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkKKGXM3XLjs = require('./chunk-KKGXM3XL.js');
|
|
@@ -22,7 +22,7 @@ require('./chunk-6ZL4B4HQ.js');
|
|
|
22
22
|
var _chunkMJQETB73js = require('./chunk-MJQETB73.js');
|
|
23
23
|
|
|
24
24
|
// node/cli.ts
|
|
25
|
-
var import_fast_deep_equal = _chunkMJQETB73js.__toESM.call(void 0,
|
|
25
|
+
var import_fast_deep_equal = _chunkMJQETB73js.__toESM.call(void 0, _chunkX2K32WHHjs.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');
|
|
@@ -48,15 +48,15 @@ _fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) =>
|
|
|
48
48
|
const roots = (
|
|
49
49
|
/* uniq */
|
|
50
50
|
[
|
|
51
|
-
|
|
52
|
-
...
|
|
53
|
-
|
|
51
|
+
_chunkLNT2WGURjs.getUserRoot.call(void 0, {}).userRoot,
|
|
52
|
+
..._chunkLNT2WGURjs.getAddonRoots.call(void 0, addons, ""),
|
|
53
|
+
_chunkLNT2WGURjs.getClientRoot.call(void 0, )
|
|
54
54
|
]
|
|
55
55
|
);
|
|
56
56
|
const mergeArrays = (a, b) => a.concat(b);
|
|
57
57
|
return await _chunkKKGXM3XLjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
58
58
|
});
|
|
59
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
59
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkLNT2WGURjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
60
60
|
cli.command(
|
|
61
61
|
"* [entry]",
|
|
62
62
|
"Start a local server for Slidev",
|
|
@@ -112,9 +112,9 @@ cli.command(
|
|
|
112
112
|
async function initServer() {
|
|
113
113
|
if (server)
|
|
114
114
|
await server.close();
|
|
115
|
-
const options = await
|
|
115
|
+
const options = await _chunkLNT2WGURjs.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
|
|
116
116
|
port = userPort || await findFreePort(3030);
|
|
117
|
-
server = await
|
|
117
|
+
server = await _chunkLNT2WGURjs.createServer.call(void 0,
|
|
118
118
|
options,
|
|
119
119
|
{
|
|
120
120
|
server: {
|
|
@@ -128,7 +128,7 @@ cli.command(
|
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
onDataReload(newData, data) {
|
|
131
|
-
if (!theme &&
|
|
131
|
+
if (!theme && _chunkLNT2WGURjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkLNT2WGURjs.resolveThemeName.call(void 0, data.config.theme)) {
|
|
132
132
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
133
133
|
initServer();
|
|
134
134
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -246,9 +246,9 @@ cli.command(
|
|
|
246
246
|
}).strict().help(),
|
|
247
247
|
async (args) => {
|
|
248
248
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
249
|
-
const { build } = await Promise.resolve().then(() => require("./build-
|
|
249
|
+
const { build } = await Promise.resolve().then(() => require("./build-3TQML4LL.js"));
|
|
250
250
|
for (const entryFile of entry) {
|
|
251
|
-
const options = await
|
|
251
|
+
const options = await _chunkLNT2WGURjs.resolveOptions.call(void 0, { entry: entryFile, theme, inspect }, "build");
|
|
252
252
|
if (download && !options.data.config.download)
|
|
253
253
|
options.data.config.download = download;
|
|
254
254
|
printInfo(options);
|
|
@@ -268,9 +268,9 @@ cli.command(
|
|
|
268
268
|
(args) => commonOptions(args).strict().help(),
|
|
269
269
|
async ({ entry }) => {
|
|
270
270
|
for (const entryFile of entry) {
|
|
271
|
-
const data = await
|
|
272
|
-
|
|
273
|
-
await
|
|
271
|
+
const data = await _chunkLNT2WGURjs.parser.load(entryFile);
|
|
272
|
+
_chunkLNT2WGURjs.parser.prettify(data);
|
|
273
|
+
await _chunkLNT2WGURjs.parser.save(data);
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
);
|
|
@@ -286,17 +286,17 @@ cli.command(
|
|
|
286
286
|
default: "theme"
|
|
287
287
|
}),
|
|
288
288
|
async ({ entry, dir, theme: themeInput }) => {
|
|
289
|
-
const data = await
|
|
290
|
-
const theme =
|
|
289
|
+
const data = await _chunkLNT2WGURjs.parser.load(entry);
|
|
290
|
+
const theme = _chunkLNT2WGURjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
291
291
|
if (theme === "none") {
|
|
292
292
|
console.error('Cannot eject theme "none"');
|
|
293
293
|
process.exit(1);
|
|
294
294
|
}
|
|
295
|
-
if (
|
|
295
|
+
if (_chunkLNT2WGURjs.isPath.call(void 0, theme)) {
|
|
296
296
|
console.error("Theme is already ejected");
|
|
297
297
|
process.exit(1);
|
|
298
298
|
}
|
|
299
|
-
const roots =
|
|
299
|
+
const roots = _chunkLNT2WGURjs.getThemeRoots.call(void 0, theme, entry);
|
|
300
300
|
if (!roots.length) {
|
|
301
301
|
console.error(`Could not find theme "${theme}"`);
|
|
302
302
|
process.exit(1);
|
|
@@ -308,7 +308,7 @@ cli.command(
|
|
|
308
308
|
const dirPath = `./${dir}`;
|
|
309
309
|
data.slides[0].frontmatter.theme = dirPath;
|
|
310
310
|
data.slides[0].raw = null;
|
|
311
|
-
await
|
|
311
|
+
await _chunkLNT2WGURjs.parser.save(data);
|
|
312
312
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
313
313
|
}
|
|
314
314
|
);
|
|
@@ -328,8 +328,8 @@ cli.command(
|
|
|
328
328
|
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-PN4EOI4Z.js"));
|
|
329
329
|
const port = await findFreePort(12445);
|
|
330
330
|
for (const entryFile of entry) {
|
|
331
|
-
const options = await
|
|
332
|
-
const server = await
|
|
331
|
+
const options = await _chunkLNT2WGURjs.resolveOptions.call(void 0, { entry: entryFile, theme }, "export");
|
|
332
|
+
const server = await _chunkLNT2WGURjs.createServer.call(void 0,
|
|
333
333
|
options,
|
|
334
334
|
{
|
|
335
335
|
server: { port },
|
|
@@ -338,7 +338,7 @@ cli.command(
|
|
|
338
338
|
);
|
|
339
339
|
await server.listen(port);
|
|
340
340
|
printInfo(options);
|
|
341
|
-
|
|
341
|
+
_chunkLNT2WGURjs.parser.filterDisabled(options.data);
|
|
342
342
|
const result = await exportSlides({
|
|
343
343
|
port,
|
|
344
344
|
...getExportOptions({ ...args, entry: entryFile }, options)
|
|
@@ -374,8 +374,8 @@ cli.command(
|
|
|
374
374
|
const { exportNotes } = await Promise.resolve().then(() => require("./export-PN4EOI4Z.js"));
|
|
375
375
|
const port = await findFreePort(12445);
|
|
376
376
|
for (const entryFile of entry) {
|
|
377
|
-
const options = await
|
|
378
|
-
const server = await
|
|
377
|
+
const options = await _chunkLNT2WGURjs.resolveOptions.call(void 0, { entry: entryFile }, "export");
|
|
378
|
+
const server = await _chunkLNT2WGURjs.createServer.call(void 0,
|
|
379
379
|
options,
|
|
380
380
|
{
|
|
381
381
|
server: { port },
|
|
@@ -384,7 +384,7 @@ cli.command(
|
|
|
384
384
|
);
|
|
385
385
|
await server.listen(port);
|
|
386
386
|
printInfo(options);
|
|
387
|
-
|
|
387
|
+
_chunkLNT2WGURjs.parser.filterDisabled(options.data);
|
|
388
388
|
const result = await exportNotes({
|
|
389
389
|
port,
|
|
390
390
|
output: output || (options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entryFile, ".md")}-export-notes`),
|
|
@@ -445,7 +445,7 @@ function printInfo(options, port, remote, tunnelUrl) {
|
|
|
445
445
|
console.log();
|
|
446
446
|
console.log();
|
|
447
447
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
448
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
448
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkLNT2WGURjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
449
449
|
console.log();
|
|
450
450
|
_parser.verifyConfig.call(void 0, options.data.config, options.data.themeMeta, (v) => console.warn(_kolorist.yellow.call(void 0, ` ! ${v}`)));
|
|
451
451
|
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-HO4HKNKG.mjs";
|
|
13
13
|
import {
|
|
14
14
|
require_fast_deep_equal
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3JYF6GOD.mjs";
|
|
16
16
|
import {
|
|
17
17
|
loadSetups
|
|
18
18
|
} from "./chunk-6XVZLT3I.mjs";
|
|
@@ -246,7 +246,7 @@ cli.command(
|
|
|
246
246
|
}).strict().help(),
|
|
247
247
|
async (args) => {
|
|
248
248
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
249
|
-
const { build } = await import("./build-
|
|
249
|
+
const { build } = await import("./build-KVCLJMZB.mjs");
|
|
250
250
|
for (const entryFile of entry) {
|
|
251
251
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
252
252
|
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 _chunkLNT2WGURjs = require('./chunk-LNT2WGUR.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
var _chunkYI4ZV27Kjs = require('./chunk-YI4ZV27K.js');
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var _chunkX2K32WHHjs = require('./chunk-X2K32WHH.js');
|
|
19
19
|
require('./chunk-KKGXM3XL.js');
|
|
20
20
|
require('./chunk-6ZL4B4HQ.js');
|
|
21
21
|
require('./chunk-MJQETB73.js');
|
|
@@ -32,4 +32,4 @@ require('./chunk-MJQETB73.js');
|
|
|
32
32
|
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
exports.ViteSlidevPlugin =
|
|
35
|
+
exports.ViteSlidevPlugin = _chunkX2K32WHHjs.ViteSlidevPlugin; exports.createServer = _chunkLNT2WGURjs.createServer; exports.createWindiCSSPlugin = _chunkYI4ZV27Kjs.createWindiCSSPlugin; exports.getAddonRoots = _chunkLNT2WGURjs.getAddonRoots; exports.getCLIRoot = _chunkLNT2WGURjs.getCLIRoot; exports.getClientRoot = _chunkLNT2WGURjs.getClientRoot; exports.getRoot = _chunkLNT2WGURjs.getRoot; exports.getThemeRoots = _chunkLNT2WGURjs.getThemeRoots; exports.getUserRoot = _chunkLNT2WGURjs.getUserRoot; exports.isPath = _chunkLNT2WGURjs.isPath; exports.parser = _chunkLNT2WGURjs.parser; exports.resolveOptions = _chunkLNT2WGURjs.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-HO4HKNKG.mjs";
|
|
13
13
|
import {
|
|
14
14
|
createWindiCSSPlugin
|
|
15
15
|
} from "./chunk-X7P5WRYP.mjs";
|
|
16
16
|
import {
|
|
17
17
|
ViteSlidevPlugin
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3JYF6GOD.mjs";
|
|
19
19
|
import "./chunk-6XVZLT3I.mjs";
|
|
20
20
|
import "./chunk-CIUEQ4TI.mjs";
|
|
21
21
|
import "./chunk-L5QH2WZE.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.4",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@antfu/utils": "^0.7.
|
|
45
|
+
"@antfu/utils": "^0.7.4",
|
|
46
46
|
"@hedgedoc/markdown-it-plugins": "^2.0.0",
|
|
47
47
|
"@iconify-json/carbon": "^1.1.17",
|
|
48
48
|
"@iconify-json/ph": "^1.1.5",
|
|
@@ -81,22 +81,22 @@
|
|
|
81
81
|
"resolve-from": "^5.0.0",
|
|
82
82
|
"resolve-global": "^1.0.0",
|
|
83
83
|
"shiki": "^0.14.2",
|
|
84
|
-
"unocss": "^0.
|
|
85
|
-
"unplugin-icons": "^0.16.
|
|
86
|
-
"unplugin-vue-components": "^0.
|
|
84
|
+
"unocss": "^0.53.0",
|
|
85
|
+
"unplugin-icons": "^0.16.2",
|
|
86
|
+
"unplugin-vue-components": "^0.25.0",
|
|
87
87
|
"vite": "^4.3.9",
|
|
88
88
|
"vite-plugin-inspect": "^0.7.28",
|
|
89
89
|
"vite-plugin-remote-assets": "^0.3.2",
|
|
90
|
-
"vite-plugin-static-copy": "^0.
|
|
90
|
+
"vite-plugin-static-copy": "^0.16.0",
|
|
91
91
|
"vite-plugin-vue-markdown": "^0.23.5",
|
|
92
92
|
"vite-plugin-vue-server-ref": "^0.3.3",
|
|
93
93
|
"vite-plugin-windicss": "^1.9.0",
|
|
94
94
|
"vue": "^3.3.4",
|
|
95
95
|
"windicss": "^3.5.6",
|
|
96
96
|
"yargs": "^17.7.2",
|
|
97
|
-
"@slidev/client": "0.42.
|
|
98
|
-
"@slidev/parser": "0.42.
|
|
99
|
-
"@slidev/types": "0.42.
|
|
97
|
+
"@slidev/client": "0.42.4",
|
|
98
|
+
"@slidev/parser": "0.42.4",
|
|
99
|
+
"@slidev/types": "0.42.4"
|
|
100
100
|
},
|
|
101
101
|
"devDependencies": {
|
|
102
102
|
"@types/plantuml-encoder": "^1.4.0",
|