@slidev/cli 0.40.9 → 0.40.10
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-5W6DNCAQ.js → build-NDJOZSTK.js} +5 -5
- package/dist/{build-6ZRWH4B7.mjs → build-NX2PGO4O.mjs} +1 -1
- package/dist/{chunk-SWMLPUVG.js → chunk-4CEI2UPN.js} +4 -4
- package/dist/{chunk-R4N7XP7M.mjs → chunk-7DDFS6XM.mjs} +2 -2
- package/dist/{chunk-YZTX6FDH.js → chunk-AJJDLJSH.js} +9 -0
- package/dist/{chunk-YVAD7SJ5.mjs → chunk-ENFQSII4.mjs} +9 -0
- package/dist/cli.js +28 -28
- package/dist/cli.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/package.json +5 -4
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkAJJDLJSHjs = require('./chunk-AJJDLJSH.js');
|
|
6
6
|
require('./chunk-GE7W2DBE.js');
|
|
7
7
|
|
|
8
8
|
// node/build.ts
|
|
@@ -646,16 +646,16 @@ async function build(options, viteConfig = {}, args) {
|
|
|
646
646
|
let originalIndexHTML;
|
|
647
647
|
if (_fsextra2.default.existsSync(indexPath))
|
|
648
648
|
originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
|
|
649
|
-
await _fsextra2.default.writeFile(indexPath, await
|
|
649
|
+
await _fsextra2.default.writeFile(indexPath, await _chunkAJJDLJSHjs.getIndexHtml.call(void 0, options), "utf-8");
|
|
650
650
|
let config = void 0;
|
|
651
651
|
try {
|
|
652
|
-
const inlineConfig = await
|
|
652
|
+
const inlineConfig = await _chunkAJJDLJSHjs.mergeViteConfigs.call(void 0,
|
|
653
653
|
options,
|
|
654
654
|
viteConfig,
|
|
655
655
|
{
|
|
656
656
|
root: options.userRoot,
|
|
657
657
|
plugins: [
|
|
658
|
-
await
|
|
658
|
+
await _chunkAJJDLJSHjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
|
|
659
659
|
{
|
|
660
660
|
name: "resolve-config",
|
|
661
661
|
configResolved(_config) {
|
|
@@ -676,7 +676,7 @@ async function build(options, viteConfig = {}, args) {
|
|
|
676
676
|
} else {
|
|
677
677
|
console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
|
|
678
678
|
await _vite.build.call(void 0,
|
|
679
|
-
await
|
|
679
|
+
await _chunkAJJDLJSHjs.mergeViteConfigs.call(void 0,
|
|
680
680
|
options,
|
|
681
681
|
inlineConfig,
|
|
682
682
|
{
|
|
@@ -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 _chunkAJJDLJSHjs = require('./chunk-AJJDLJSH.js');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -2383,7 +2383,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2383
2383
|
const pluginOptions = rawConfig.slidev || {};
|
|
2384
2384
|
process.env.EDITOR = process.env.EDITOR || "code";
|
|
2385
2385
|
const server = await _vite.createServer.call(void 0,
|
|
2386
|
-
await
|
|
2386
|
+
await _chunkAJJDLJSHjs.mergeViteConfigs.call(void 0,
|
|
2387
2387
|
options,
|
|
2388
2388
|
viteConfig,
|
|
2389
2389
|
{
|
|
@@ -2393,7 +2393,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2393
2393
|
]
|
|
2394
2394
|
},
|
|
2395
2395
|
plugins: [
|
|
2396
|
-
await
|
|
2396
|
+
await _chunkAJJDLJSHjs.ViteSlidevPlugin.call(void 0, options, pluginOptions, serverOptions)
|
|
2397
2397
|
]
|
|
2398
2398
|
},
|
|
2399
2399
|
"serve"
|
|
@@ -2406,7 +2406,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2406
2406
|
var _fs = require('@slidev/parser/fs'); var parser = _interopRequireWildcard(_fs);
|
|
2407
2407
|
|
|
2408
2408
|
// package.json
|
|
2409
|
-
var version = "0.40.
|
|
2409
|
+
var version = "0.40.10";
|
|
2410
2410
|
|
|
2411
2411
|
// node/themes.ts
|
|
2412
2412
|
var _prompts = require('prompts'); var _prompts2 = _interopRequireDefault(_prompts);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ENFQSII4.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__privateAdd,
|
|
@@ -2406,7 +2406,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
2406
2406
|
import * as parser from "@slidev/parser/fs";
|
|
2407
2407
|
|
|
2408
2408
|
// package.json
|
|
2409
|
-
var version = "0.40.
|
|
2409
|
+
var version = "0.40.10";
|
|
2410
2410
|
|
|
2411
2411
|
// node/themes.ts
|
|
2412
2412
|
import prompts2 from "prompts";
|
|
@@ -206,6 +206,7 @@ var _vitepluginremoteassets = require('vite-plugin-remote-assets'); var _viteplu
|
|
|
206
206
|
var _vitepluginvueserverref = require('vite-plugin-vue-server-ref'); var _vitepluginvueserverref2 = _interopRequireDefault(_vitepluginvueserverref);
|
|
207
207
|
|
|
208
208
|
var _viteplugininspect = require('vite-plugin-inspect'); var _viteplugininspect2 = _interopRequireDefault(_viteplugininspect);
|
|
209
|
+
var _vitepluginstaticcopy = require('vite-plugin-static-copy');
|
|
209
210
|
|
|
210
211
|
// node/drawings.ts
|
|
211
212
|
|
|
@@ -1692,6 +1693,14 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1692
1693
|
writeDrawings(options, _nullishCoalesce(patch, () => ( data)));
|
|
1693
1694
|
}
|
|
1694
1695
|
}),
|
|
1696
|
+
_vitepluginstaticcopy.viteStaticCopy.call(void 0, {
|
|
1697
|
+
targets: themeRoots.map((i) => {
|
|
1698
|
+
return {
|
|
1699
|
+
src: `${i}/public/*`,
|
|
1700
|
+
dest: "theme"
|
|
1701
|
+
};
|
|
1702
|
+
})
|
|
1703
|
+
}),
|
|
1695
1704
|
createConfigPlugin(options),
|
|
1696
1705
|
createClientSetupPlugin(options),
|
|
1697
1706
|
createMonacoTypesLoader(),
|
|
@@ -206,6 +206,7 @@ import RemoteAssets, { DefaultRules } from "vite-plugin-remote-assets";
|
|
|
206
206
|
import ServerRef from "vite-plugin-vue-server-ref";
|
|
207
207
|
import { notNullish as notNullish2 } from "@antfu/utils";
|
|
208
208
|
import Inspect from "vite-plugin-inspect";
|
|
209
|
+
import { viteStaticCopy } from "vite-plugin-static-copy";
|
|
209
210
|
|
|
210
211
|
// node/drawings.ts
|
|
211
212
|
import { basename, dirname as dirname2, join as join2, resolve as resolve3 } from "path";
|
|
@@ -1692,6 +1693,14 @@ async function ViteSlidevPlugin(options, pluginOptions, serverOptions = {}) {
|
|
|
1692
1693
|
writeDrawings(options, patch ?? data);
|
|
1693
1694
|
}
|
|
1694
1695
|
}),
|
|
1696
|
+
viteStaticCopy({
|
|
1697
|
+
targets: themeRoots.map((i) => {
|
|
1698
|
+
return {
|
|
1699
|
+
src: `${i}/public/*`,
|
|
1700
|
+
dest: "theme"
|
|
1701
|
+
};
|
|
1702
|
+
})
|
|
1703
|
+
}),
|
|
1695
1704
|
createConfigPlugin(options),
|
|
1696
1705
|
createClientSetupPlugin(options),
|
|
1697
1706
|
createMonacoTypesLoader(),
|
package/dist/cli.js
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk4CEI2UPNjs = require('./chunk-4CEI2UPN.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkAJJDLJSHjs = require('./chunk-AJJDLJSH.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
var _chunkGE7W2DBEjs = require('./chunk-GE7W2DBE.js');
|
|
20
20
|
|
|
21
21
|
// node/cli.ts
|
|
22
|
-
var import_fast_deep_equal = _chunkGE7W2DBEjs.__toESM.call(void 0,
|
|
22
|
+
var import_fast_deep_equal = _chunkGE7W2DBEjs.__toESM.call(void 0, _chunkAJJDLJSHjs.require_fast_deep_equal.call(void 0, ));
|
|
23
23
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
24
24
|
var _os = require('os'); var _os2 = _interopRequireDefault(_os);
|
|
25
25
|
var _child_process = require('child_process');
|
|
@@ -45,15 +45,15 @@ _fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) =>
|
|
|
45
45
|
const roots = (
|
|
46
46
|
/* uniq */
|
|
47
47
|
[
|
|
48
|
-
|
|
49
|
-
...
|
|
50
|
-
|
|
48
|
+
_chunk4CEI2UPNjs.getUserRoot.call(void 0, {}).userRoot,
|
|
49
|
+
..._chunk4CEI2UPNjs.getAddonRoots.call(void 0, addons, ""),
|
|
50
|
+
_chunk4CEI2UPNjs.getClientRoot.call(void 0, )
|
|
51
51
|
]
|
|
52
52
|
);
|
|
53
53
|
const mergeArrays = (a, b) => a.concat(b);
|
|
54
|
-
return await
|
|
54
|
+
return await _chunkAJJDLJSHjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
55
55
|
});
|
|
56
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
56
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunk4CEI2UPNjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
57
57
|
cli.command(
|
|
58
58
|
"* [entry]",
|
|
59
59
|
"Start a local server for Slidev",
|
|
@@ -109,9 +109,9 @@ cli.command(
|
|
|
109
109
|
async function initServer() {
|
|
110
110
|
if (server)
|
|
111
111
|
await server.close();
|
|
112
|
-
const options = await
|
|
112
|
+
const options = await _chunk4CEI2UPNjs.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
|
|
113
113
|
port = userPort || await findFreePort(3030);
|
|
114
|
-
server = await
|
|
114
|
+
server = await _chunk4CEI2UPNjs.createServer.call(void 0,
|
|
115
115
|
options,
|
|
116
116
|
{
|
|
117
117
|
server: {
|
|
@@ -125,7 +125,7 @@ cli.command(
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
onDataReload(newData, data) {
|
|
128
|
-
if (!theme &&
|
|
128
|
+
if (!theme && _chunk4CEI2UPNjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunk4CEI2UPNjs.resolveThemeName.call(void 0, data.config.theme)) {
|
|
129
129
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
130
130
|
initServer();
|
|
131
131
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -243,9 +243,9 @@ cli.command(
|
|
|
243
243
|
}).strict().help(),
|
|
244
244
|
async (args) => {
|
|
245
245
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
246
|
-
const { build } = await Promise.resolve().then(() => require("./build-
|
|
246
|
+
const { build } = await Promise.resolve().then(() => require("./build-NDJOZSTK.js"));
|
|
247
247
|
for (const entryFile of entry) {
|
|
248
|
-
const options = await
|
|
248
|
+
const options = await _chunk4CEI2UPNjs.resolveOptions.call(void 0, { entry: entryFile, theme, inspect }, "build");
|
|
249
249
|
if (download && !options.data.config.download)
|
|
250
250
|
options.data.config.download = download;
|
|
251
251
|
printInfo(options);
|
|
@@ -265,9 +265,9 @@ cli.command(
|
|
|
265
265
|
(args) => commonOptions(args).strict().help(),
|
|
266
266
|
async ({ entry }) => {
|
|
267
267
|
for (const entryFile of entry) {
|
|
268
|
-
const data = await
|
|
269
|
-
|
|
270
|
-
await
|
|
268
|
+
const data = await _chunk4CEI2UPNjs.parser.load(entryFile);
|
|
269
|
+
_chunk4CEI2UPNjs.parser.prettify(data);
|
|
270
|
+
await _chunk4CEI2UPNjs.parser.save(data);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
);
|
|
@@ -283,17 +283,17 @@ cli.command(
|
|
|
283
283
|
default: "theme"
|
|
284
284
|
}),
|
|
285
285
|
async ({ entry, dir, theme: themeInput }) => {
|
|
286
|
-
const data = await
|
|
287
|
-
const theme =
|
|
286
|
+
const data = await _chunk4CEI2UPNjs.parser.load(entry);
|
|
287
|
+
const theme = _chunk4CEI2UPNjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
288
288
|
if (theme === "none") {
|
|
289
289
|
console.error('Cannot eject theme "none"');
|
|
290
290
|
process.exit(1);
|
|
291
291
|
}
|
|
292
|
-
if (
|
|
292
|
+
if (_chunk4CEI2UPNjs.isPath.call(void 0, theme)) {
|
|
293
293
|
console.error("Theme is already ejected");
|
|
294
294
|
process.exit(1);
|
|
295
295
|
}
|
|
296
|
-
const roots =
|
|
296
|
+
const roots = _chunk4CEI2UPNjs.getThemeRoots.call(void 0, theme, entry);
|
|
297
297
|
if (!roots.length) {
|
|
298
298
|
console.error(`Could not find theme "${theme}"`);
|
|
299
299
|
process.exit(1);
|
|
@@ -305,7 +305,7 @@ cli.command(
|
|
|
305
305
|
const dirPath = `./${dir}`;
|
|
306
306
|
data.slides[0].frontmatter.theme = dirPath;
|
|
307
307
|
data.slides[0].raw = null;
|
|
308
|
-
await
|
|
308
|
+
await _chunk4CEI2UPNjs.parser.save(data);
|
|
309
309
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
310
310
|
}
|
|
311
311
|
);
|
|
@@ -325,8 +325,8 @@ cli.command(
|
|
|
325
325
|
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-GTPZJWVE.js"));
|
|
326
326
|
const port = await findFreePort(12445);
|
|
327
327
|
for (const entryFile of entry) {
|
|
328
|
-
const options = await
|
|
329
|
-
const server = await
|
|
328
|
+
const options = await _chunk4CEI2UPNjs.resolveOptions.call(void 0, { entry: entryFile, theme }, "export");
|
|
329
|
+
const server = await _chunk4CEI2UPNjs.createServer.call(void 0,
|
|
330
330
|
options,
|
|
331
331
|
{
|
|
332
332
|
server: { port },
|
|
@@ -335,7 +335,7 @@ cli.command(
|
|
|
335
335
|
);
|
|
336
336
|
await server.listen(port);
|
|
337
337
|
printInfo(options);
|
|
338
|
-
|
|
338
|
+
_chunk4CEI2UPNjs.parser.filterDisabled(options.data);
|
|
339
339
|
const result = await exportSlides({
|
|
340
340
|
port,
|
|
341
341
|
...getExportOptions({ ...args, entry: entryFile }, options)
|
|
@@ -371,8 +371,8 @@ cli.command(
|
|
|
371
371
|
const { exportNotes } = await Promise.resolve().then(() => require("./export-GTPZJWVE.js"));
|
|
372
372
|
const port = await findFreePort(12445);
|
|
373
373
|
for (const entryFile of entry) {
|
|
374
|
-
const options = await
|
|
375
|
-
const server = await
|
|
374
|
+
const options = await _chunk4CEI2UPNjs.resolveOptions.call(void 0, { entry: entryFile }, "export");
|
|
375
|
+
const server = await _chunk4CEI2UPNjs.createServer.call(void 0,
|
|
376
376
|
options,
|
|
377
377
|
{
|
|
378
378
|
server: { port },
|
|
@@ -381,7 +381,7 @@ cli.command(
|
|
|
381
381
|
);
|
|
382
382
|
await server.listen(port);
|
|
383
383
|
printInfo(options);
|
|
384
|
-
|
|
384
|
+
_chunk4CEI2UPNjs.parser.filterDisabled(options.data);
|
|
385
385
|
const result = await exportNotes({
|
|
386
386
|
port,
|
|
387
387
|
output: output || (options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entryFile, ".md")}-export-notes`),
|
|
@@ -442,7 +442,7 @@ function printInfo(options, port, remote, tunnelUrl) {
|
|
|
442
442
|
console.log();
|
|
443
443
|
console.log();
|
|
444
444
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
445
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
445
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunk4CEI2UPNjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
446
446
|
console.log();
|
|
447
447
|
console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
|
|
448
448
|
console.log(_kolorist.dim.call(void 0, " entry ") + _kolorist.dim.call(void 0, _path2.default.dirname(options.entry) + _path2.default.sep) + _path2.default.basename(options.entry));
|
package/dist/cli.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveThemeName,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7DDFS6XM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
loadSetups,
|
|
15
15
|
require_fast_deep_equal
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ENFQSII4.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
19
|
} from "./chunk-CTG3GV2W.mjs";
|
|
@@ -243,7 +243,7 @@ cli.command(
|
|
|
243
243
|
}).strict().help(),
|
|
244
244
|
async (args) => {
|
|
245
245
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
246
|
-
const { build } = await import("./build-
|
|
246
|
+
const { build } = await import("./build-NX2PGO4O.mjs");
|
|
247
247
|
for (const entryFile of entry) {
|
|
248
248
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
249
249
|
if (download && !options.data.config.download)
|
package/dist/index.js
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk4CEI2UPNjs = require('./chunk-4CEI2UPN.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkAJJDLJSHjs = require('./chunk-AJJDLJSH.js');
|
|
17
17
|
require('./chunk-GE7W2DBE.js');
|
|
18
18
|
|
|
19
19
|
|
|
@@ -28,4 +28,4 @@ require('./chunk-GE7W2DBE.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.ViteSlidevPlugin =
|
|
31
|
+
exports.ViteSlidevPlugin = _chunkAJJDLJSHjs.ViteSlidevPlugin; exports.createServer = _chunk4CEI2UPNjs.createServer; exports.createWindiCSSPlugin = _chunkAJJDLJSHjs.createWindiCSSPlugin; exports.getAddonRoots = _chunk4CEI2UPNjs.getAddonRoots; exports.getCLIRoot = _chunk4CEI2UPNjs.getCLIRoot; exports.getClientRoot = _chunk4CEI2UPNjs.getClientRoot; exports.getRoot = _chunk4CEI2UPNjs.getRoot; exports.getThemeRoots = _chunk4CEI2UPNjs.getThemeRoots; exports.getUserRoot = _chunk4CEI2UPNjs.getUserRoot; exports.isPath = _chunk4CEI2UPNjs.isPath; exports.parser = _chunk4CEI2UPNjs.parser; exports.resolveOptions = _chunk4CEI2UPNjs.resolveOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7DDFS6XM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ViteSlidevPlugin,
|
|
15
15
|
createWindiCSSPlugin
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ENFQSII4.mjs";
|
|
17
17
|
import "./chunk-CTG3GV2W.mjs";
|
|
18
18
|
export {
|
|
19
19
|
ViteSlidevPlugin,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.10",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -87,15 +87,16 @@
|
|
|
87
87
|
"vite": "^4.2.1",
|
|
88
88
|
"vite-plugin-inspect": "^0.7.19",
|
|
89
89
|
"vite-plugin-remote-assets": "^0.3.2",
|
|
90
|
+
"vite-plugin-static-copy": "^0.13.1",
|
|
90
91
|
"vite-plugin-vue-markdown": "^0.22.4",
|
|
91
92
|
"vite-plugin-vue-server-ref": "^0.3.1",
|
|
92
93
|
"vite-plugin-windicss": "^1.8.10",
|
|
93
94
|
"vue": "^3.2.47",
|
|
94
95
|
"windicss": "^3.5.6",
|
|
95
96
|
"yargs": "^17.7.1",
|
|
96
|
-
"@slidev/client": "0.40.
|
|
97
|
-
"@slidev/parser": "0.40.
|
|
98
|
-
"@slidev/types": "0.40.
|
|
97
|
+
"@slidev/client": "0.40.10",
|
|
98
|
+
"@slidev/parser": "0.40.10",
|
|
99
|
+
"@slidev/types": "0.40.10"
|
|
99
100
|
},
|
|
100
101
|
"devDependencies": {
|
|
101
102
|
"@types/plantuml-encoder": "^1.4.0",
|