@slidev/cli 0.40.2 → 0.40.3
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-BGUF7J7N.mjs → build-5AAIMY5U.mjs} +5 -3
- package/dist/{build-L4S5TZG4.js → build-XITW5QXZ.js} +9 -7
- package/dist/{chunk-QU6XIJOB.js → chunk-6NWTPU4J.js} +46 -38
- package/dist/{chunk-VLEV37KF.mjs → chunk-CTG3GV2W.mjs} +4 -0
- package/dist/{chunk-UJ5GHVII.js → chunk-GE7W2DBE.js} +4 -0
- package/dist/{chunk-ZAT6O5HR.mjs → chunk-JA6SMOG4.mjs} +22 -14
- package/dist/{chunk-EZ2J7PMK.mjs → chunk-N5CUSDFJ.mjs} +63 -15
- package/dist/{chunk-RRNUXVEA.js → chunk-Z62L2OLL.js} +141 -93
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +36 -33
- package/dist/cli.mjs +14 -11
- package/dist/{export-BRPXINGP.js → export-DLPDCYMZ.js} +4 -3
- package/dist/{export-BAZ4BSV6.mjs → export-J6WWCAPJ.mjs} +2 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +3 -3
- package/package.json +12 -12
package/dist/cli.d.ts
CHANGED
package/dist/cli.js
CHANGED
|
@@ -9,17 +9,17 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZ62L2OLLjs = require('./chunk-Z62L2OLL.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunk6NWTPU4Jjs = require('./chunk-6NWTPU4J.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkGE7W2DBEjs = require('./chunk-GE7W2DBE.js');
|
|
20
20
|
|
|
21
21
|
// node/cli.ts
|
|
22
|
-
var import_fast_deep_equal =
|
|
22
|
+
var import_fast_deep_equal = _chunkGE7W2DBEjs.__toESM.call(void 0, _chunk6NWTPU4Jjs.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');
|
|
@@ -42,15 +42,18 @@ var CONFIG_RESTART_FIELDS = [
|
|
|
42
42
|
];
|
|
43
43
|
_fs.injectPreparserExtensionLoader.call(void 0, async (headmatter, filepath) => {
|
|
44
44
|
const addons = _nullishCoalesce((headmatter == null ? void 0 : headmatter.addons), () => ( []));
|
|
45
|
-
const roots =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
const roots = (
|
|
46
|
+
/* uniq */
|
|
47
|
+
[
|
|
48
|
+
_chunkZ62L2OLLjs.getUserRoot.call(void 0, {}).userRoot,
|
|
49
|
+
..._chunkZ62L2OLLjs.getAddonRoots.call(void 0, addons, ""),
|
|
50
|
+
_chunkZ62L2OLLjs.getClientRoot.call(void 0, )
|
|
51
|
+
]
|
|
52
|
+
);
|
|
50
53
|
const mergeArrays = (a, b) => a.concat(b);
|
|
51
|
-
return await
|
|
54
|
+
return await _chunk6NWTPU4Jjs.loadSetups.call(void 0, roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
52
55
|
});
|
|
53
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
56
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkZ62L2OLLjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
54
57
|
cli.command(
|
|
55
58
|
"* [entry]",
|
|
56
59
|
"Start a local server for Slidev",
|
|
@@ -106,9 +109,9 @@ cli.command(
|
|
|
106
109
|
async function initServer() {
|
|
107
110
|
if (server)
|
|
108
111
|
await server.close();
|
|
109
|
-
const options = await
|
|
112
|
+
const options = await _chunkZ62L2OLLjs.resolveOptions.call(void 0, { entry, remote, theme, inspect }, "dev");
|
|
110
113
|
port = userPort || await findFreePort(3030);
|
|
111
|
-
server = await
|
|
114
|
+
server = await _chunkZ62L2OLLjs.createServer.call(void 0,
|
|
112
115
|
options,
|
|
113
116
|
{
|
|
114
117
|
server: {
|
|
@@ -122,7 +125,7 @@ cli.command(
|
|
|
122
125
|
},
|
|
123
126
|
{
|
|
124
127
|
onDataReload(newData, data) {
|
|
125
|
-
if (!theme &&
|
|
128
|
+
if (!theme && _chunkZ62L2OLLjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkZ62L2OLLjs.resolveThemeName.call(void 0, data.config.theme)) {
|
|
126
129
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
127
130
|
initServer();
|
|
128
131
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -240,8 +243,8 @@ cli.command(
|
|
|
240
243
|
}).strict().help(),
|
|
241
244
|
async (args) => {
|
|
242
245
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
243
|
-
const { build } = await Promise.resolve().then(() => require("./build-
|
|
244
|
-
const options = await
|
|
246
|
+
const { build } = await Promise.resolve().then(() => require("./build-XITW5QXZ.js"));
|
|
247
|
+
const options = await _chunkZ62L2OLLjs.resolveOptions.call(void 0, { entry, theme, inspect }, "build");
|
|
245
248
|
if (download && !options.data.config.download)
|
|
246
249
|
options.data.config.download = download;
|
|
247
250
|
printInfo(options);
|
|
@@ -259,9 +262,9 @@ cli.command(
|
|
|
259
262
|
"Format the markdown file",
|
|
260
263
|
(args) => commonOptions(args).strict().help(),
|
|
261
264
|
async ({ entry }) => {
|
|
262
|
-
const data = await
|
|
263
|
-
|
|
264
|
-
await
|
|
265
|
+
const data = await _chunkZ62L2OLLjs.parser.load(entry);
|
|
266
|
+
_chunkZ62L2OLLjs.parser.prettify(data);
|
|
267
|
+
await _chunkZ62L2OLLjs.parser.save(data);
|
|
265
268
|
}
|
|
266
269
|
);
|
|
267
270
|
cli.command(
|
|
@@ -276,17 +279,17 @@ cli.command(
|
|
|
276
279
|
default: "theme"
|
|
277
280
|
}),
|
|
278
281
|
async ({ entry, dir, theme: themeInput }) => {
|
|
279
|
-
const data = await
|
|
280
|
-
const theme =
|
|
282
|
+
const data = await _chunkZ62L2OLLjs.parser.load(entry);
|
|
283
|
+
const theme = _chunkZ62L2OLLjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
281
284
|
if (theme === "none") {
|
|
282
285
|
console.error('Cannot eject theme "none"');
|
|
283
286
|
process.exit(1);
|
|
284
287
|
}
|
|
285
|
-
if (
|
|
288
|
+
if (_chunkZ62L2OLLjs.isPath.call(void 0, theme)) {
|
|
286
289
|
console.error("Theme is already ejected");
|
|
287
290
|
process.exit(1);
|
|
288
291
|
}
|
|
289
|
-
const roots =
|
|
292
|
+
const roots = _chunkZ62L2OLLjs.getThemeRoots.call(void 0, theme, entry);
|
|
290
293
|
if (!roots.length) {
|
|
291
294
|
console.error(`Could not find theme "${theme}"`);
|
|
292
295
|
process.exit(1);
|
|
@@ -298,7 +301,7 @@ cli.command(
|
|
|
298
301
|
const dirPath = `./${dir}`;
|
|
299
302
|
data.slides[0].frontmatter.theme = dirPath;
|
|
300
303
|
data.slides[0].raw = null;
|
|
301
|
-
await
|
|
304
|
+
await _chunkZ62L2OLLjs.parser.save(data);
|
|
302
305
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
303
306
|
}
|
|
304
307
|
);
|
|
@@ -315,10 +318,10 @@ cli.command(
|
|
|
315
318
|
async (args) => {
|
|
316
319
|
const { entry, theme } = args;
|
|
317
320
|
process.env.NODE_ENV = "production";
|
|
318
|
-
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-
|
|
321
|
+
const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-DLPDCYMZ.js"));
|
|
319
322
|
const port = await findFreePort(12445);
|
|
320
|
-
const options = await
|
|
321
|
-
const server = await
|
|
323
|
+
const options = await _chunkZ62L2OLLjs.resolveOptions.call(void 0, { entry, theme }, "export");
|
|
324
|
+
const server = await _chunkZ62L2OLLjs.createServer.call(void 0,
|
|
322
325
|
options,
|
|
323
326
|
{
|
|
324
327
|
server: { port },
|
|
@@ -327,7 +330,7 @@ cli.command(
|
|
|
327
330
|
);
|
|
328
331
|
await server.listen(port);
|
|
329
332
|
printInfo(options);
|
|
330
|
-
|
|
333
|
+
_chunkZ62L2OLLjs.parser.filterDisabled(options.data);
|
|
331
334
|
const output = await exportSlides({
|
|
332
335
|
port,
|
|
333
336
|
...getExportOptions(args, options)
|
|
@@ -359,12 +362,12 @@ cli.command(
|
|
|
359
362
|
timeout
|
|
360
363
|
}) => {
|
|
361
364
|
process.env.NODE_ENV = "production";
|
|
362
|
-
const { exportNotes } = await Promise.resolve().then(() => require("./export-
|
|
365
|
+
const { exportNotes } = await Promise.resolve().then(() => require("./export-DLPDCYMZ.js"));
|
|
363
366
|
const port = await findFreePort(12445);
|
|
364
|
-
const options = await
|
|
367
|
+
const options = await _chunkZ62L2OLLjs.resolveOptions.call(void 0, { entry }, "export");
|
|
365
368
|
if (!output)
|
|
366
369
|
output = options.data.config.exportFilename ? `${options.data.config.exportFilename}-notes` : `${_path2.default.basename(entry, ".md")}-export-notes`;
|
|
367
|
-
const server = await
|
|
370
|
+
const server = await _chunkZ62L2OLLjs.createServer.call(void 0,
|
|
368
371
|
options,
|
|
369
372
|
{
|
|
370
373
|
server: { port },
|
|
@@ -373,7 +376,7 @@ cli.command(
|
|
|
373
376
|
);
|
|
374
377
|
await server.listen(port);
|
|
375
378
|
printInfo(options);
|
|
376
|
-
|
|
379
|
+
_chunkZ62L2OLLjs.parser.filterDisabled(options.data);
|
|
377
380
|
output = await exportNotes({
|
|
378
381
|
port,
|
|
379
382
|
output,
|
|
@@ -433,7 +436,7 @@ function printInfo(options, port, remote, tunnelUrl) {
|
|
|
433
436
|
console.log();
|
|
434
437
|
console.log();
|
|
435
438
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
436
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
439
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkZ62L2OLLjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
437
440
|
console.log();
|
|
438
441
|
console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
|
|
439
442
|
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,14 +9,14 @@ import {
|
|
|
9
9
|
resolveOptions,
|
|
10
10
|
resolveThemeName,
|
|
11
11
|
version
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N5CUSDFJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
loadSetups,
|
|
15
15
|
require_fast_deep_equal
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JA6SMOG4.mjs";
|
|
17
17
|
import {
|
|
18
18
|
__toESM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CTG3GV2W.mjs";
|
|
20
20
|
|
|
21
21
|
// node/cli.ts
|
|
22
22
|
var import_fast_deep_equal = __toESM(require_fast_deep_equal());
|
|
@@ -42,11 +42,14 @@ var CONFIG_RESTART_FIELDS = [
|
|
|
42
42
|
];
|
|
43
43
|
injectPreparserExtensionLoader(async (headmatter, filepath) => {
|
|
44
44
|
const addons = (headmatter == null ? void 0 : headmatter.addons) ?? [];
|
|
45
|
-
const roots =
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
const roots = (
|
|
46
|
+
/* uniq */
|
|
47
|
+
[
|
|
48
|
+
getUserRoot({}).userRoot,
|
|
49
|
+
...getAddonRoots(addons, ""),
|
|
50
|
+
getClientRoot()
|
|
51
|
+
]
|
|
52
|
+
);
|
|
50
53
|
const mergeArrays = (a, b) => a.concat(b);
|
|
51
54
|
return await loadSetups(roots, "preparser.ts", { filepath, headmatter }, [], false, mergeArrays);
|
|
52
55
|
});
|
|
@@ -240,7 +243,7 @@ cli.command(
|
|
|
240
243
|
}).strict().help(),
|
|
241
244
|
async (args) => {
|
|
242
245
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
243
|
-
const { build } = await import("./build-
|
|
246
|
+
const { build } = await import("./build-5AAIMY5U.mjs");
|
|
244
247
|
const options = await resolveOptions({ entry, theme, inspect }, "build");
|
|
245
248
|
if (download && !options.data.config.download)
|
|
246
249
|
options.data.config.download = download;
|
|
@@ -315,7 +318,7 @@ cli.command(
|
|
|
315
318
|
async (args) => {
|
|
316
319
|
const { entry, theme } = args;
|
|
317
320
|
process.env.NODE_ENV = "production";
|
|
318
|
-
const { exportSlides, getExportOptions } = await import("./export-
|
|
321
|
+
const { exportSlides, getExportOptions } = await import("./export-J6WWCAPJ.mjs");
|
|
319
322
|
const port = await findFreePort(12445);
|
|
320
323
|
const options = await resolveOptions({ entry, theme }, "export");
|
|
321
324
|
const server = await createServer(
|
|
@@ -359,7 +362,7 @@ cli.command(
|
|
|
359
362
|
timeout
|
|
360
363
|
}) => {
|
|
361
364
|
process.env.NODE_ENV = "production";
|
|
362
|
-
const { exportNotes } = await import("./export-
|
|
365
|
+
const { exportNotes } = await import("./export-J6WWCAPJ.mjs");
|
|
363
366
|
const port = await findFreePort(12445);
|
|
364
367
|
const options = await resolveOptions({ entry }, "export");
|
|
365
368
|
if (!output)
|
|
@@ -1,6 +1,6 @@
|
|
|
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
|
-
var
|
|
3
|
+
var _chunkGE7W2DBEjs = require('./chunk-GE7W2DBE.js');
|
|
4
4
|
|
|
5
5
|
// node/export.ts
|
|
6
6
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
@@ -75,7 +75,7 @@ async function exportNotes({
|
|
|
75
75
|
output = "notes",
|
|
76
76
|
timeout = 3e4
|
|
77
77
|
}) {
|
|
78
|
-
if (!
|
|
78
|
+
if (!_chunkGE7W2DBEjs.packageExists.call(void 0, "playwright-chromium"))
|
|
79
79
|
throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i -D playwright-chromium`");
|
|
80
80
|
const { chromium } = await Promise.resolve().then(() => require("playwright-chromium"));
|
|
81
81
|
const browser = await chromium.launch();
|
|
@@ -121,7 +121,7 @@ async function exportSlides({
|
|
|
121
121
|
withToc = false,
|
|
122
122
|
perSlide = false
|
|
123
123
|
}) {
|
|
124
|
-
if (!
|
|
124
|
+
if (!_chunkGE7W2DBEjs.packageExists.call(void 0, "playwright-chromium"))
|
|
125
125
|
throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i -D playwright-chromium`");
|
|
126
126
|
const pages = _core.parseRangeString.call(void 0, total, range);
|
|
127
127
|
const { chromium } = await Promise.resolve().then(() => require("playwright-chromium"));
|
|
@@ -131,6 +131,7 @@ async function exportSlides({
|
|
|
131
131
|
const context = await browser.newContext({
|
|
132
132
|
viewport: {
|
|
133
133
|
width,
|
|
134
|
+
// Calculate height for every slides to be in the viewport to trigger the rendering of iframes (twitter, youtube...)
|
|
134
135
|
height: perSlide ? height : height * pages.length
|
|
135
136
|
},
|
|
136
137
|
deviceScaleFactor: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
packageExists
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CTG3GV2W.mjs";
|
|
4
4
|
|
|
5
5
|
// node/export.ts
|
|
6
6
|
import path from "path";
|
|
@@ -131,6 +131,7 @@ async function exportSlides({
|
|
|
131
131
|
const context = await browser.newContext({
|
|
132
132
|
viewport: {
|
|
133
133
|
width,
|
|
134
|
+
// Calculate height for every slides to be in the viewport to trigger the rendering of iframes (twitter, youtube...)
|
|
134
135
|
height: perSlide ? height : height * pages.length
|
|
135
136
|
},
|
|
136
137
|
deviceScaleFactor: 1
|
package/dist/index.js
CHANGED
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkZ62L2OLLjs = require('./chunk-Z62L2OLL.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
17
|
-
require('./chunk-
|
|
16
|
+
var _chunk6NWTPU4Jjs = require('./chunk-6NWTPU4J.js');
|
|
17
|
+
require('./chunk-GE7W2DBE.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -28,4 +28,4 @@ require('./chunk-UJ5GHVII.js');
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
exports.ViteSlidevPlugin =
|
|
31
|
+
exports.ViteSlidevPlugin = _chunk6NWTPU4Jjs.ViteSlidevPlugin; exports.createServer = _chunkZ62L2OLLjs.createServer; exports.createWindiCSSPlugin = _chunk6NWTPU4Jjs.createWindiCSSPlugin; exports.getAddonRoots = _chunkZ62L2OLLjs.getAddonRoots; exports.getCLIRoot = _chunkZ62L2OLLjs.getCLIRoot; exports.getClientRoot = _chunkZ62L2OLLjs.getClientRoot; exports.getRoot = _chunkZ62L2OLLjs.getRoot; exports.getThemeRoots = _chunkZ62L2OLLjs.getThemeRoots; exports.getUserRoot = _chunkZ62L2OLLjs.getUserRoot; exports.isPath = _chunkZ62L2OLLjs.isPath; exports.parser = _chunkZ62L2OLLjs.parser; exports.resolveOptions = _chunkZ62L2OLLjs.resolveOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N5CUSDFJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ViteSlidevPlugin,
|
|
15
15
|
createWindiCSSPlugin
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-JA6SMOG4.mjs";
|
|
17
|
+
import "./chunk-CTG3GV2W.mjs";
|
|
18
18
|
export {
|
|
19
19
|
ViteSlidevPlugin,
|
|
20
20
|
createServer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.3",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@antfu/utils": "^0.7.2",
|
|
46
46
|
"@hedgedoc/markdown-it-plugins": "^2.0.0",
|
|
47
|
-
"@iconify-json/carbon": "^1.1.
|
|
48
|
-
"@iconify-json/ph": "^1.1.
|
|
47
|
+
"@iconify-json/carbon": "^1.1.15",
|
|
48
|
+
"@iconify-json/ph": "^1.1.4",
|
|
49
49
|
"@lillallol/outline-pdf": "^4.0.0",
|
|
50
50
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
51
51
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"global-dirs": "^3.0.1",
|
|
61
61
|
"import-from": "^4.0.0",
|
|
62
62
|
"is-installed-globally": "^0.4.0",
|
|
63
|
-
"jiti": "^1.
|
|
64
|
-
"js-base64": "^3.7.
|
|
63
|
+
"jiti": "^1.17.0",
|
|
64
|
+
"js-base64": "^3.7.5",
|
|
65
65
|
"katex": "^0.16.4",
|
|
66
66
|
"kolorist": "^1.7.0",
|
|
67
67
|
"localtunnel": "^2.0.2",
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
"markdown-it-footnote": "^3.0.3",
|
|
70
70
|
"markdown-it-link-attributes": "^4.0.1",
|
|
71
71
|
"monaco-editor": "^0.33.0",
|
|
72
|
-
"nanoid": "^4.0.
|
|
73
|
-
"open": "^8.4.
|
|
72
|
+
"nanoid": "^4.0.1",
|
|
73
|
+
"open": "^8.4.1",
|
|
74
74
|
"pdf-lib": "^1.17.1",
|
|
75
75
|
"plantuml-encoder": "^1.4.0",
|
|
76
76
|
"postcss-nested": "^6.0.0",
|
|
@@ -80,22 +80,22 @@
|
|
|
80
80
|
"resolve": "^1.22.1",
|
|
81
81
|
"resolve-from": "^5.0.0",
|
|
82
82
|
"resolve-global": "^1.0.0",
|
|
83
|
-
"shiki": "^0.14.
|
|
83
|
+
"shiki": "^0.14.1",
|
|
84
84
|
"unocss": "^0.49.4",
|
|
85
85
|
"unplugin-icons": "^0.15.2",
|
|
86
86
|
"unplugin-vue-components": "^0.23.0",
|
|
87
87
|
"vite": "^4.1.1",
|
|
88
88
|
"vite-plugin-inspect": "^0.7.15",
|
|
89
89
|
"vite-plugin-remote-assets": "^0.3.0",
|
|
90
|
-
"vite-plugin-vue-markdown": "^0.22.
|
|
90
|
+
"vite-plugin-vue-markdown": "^0.22.4",
|
|
91
91
|
"vite-plugin-vue-server-ref": "^0.3.0",
|
|
92
92
|
"vite-plugin-windicss": "^1.8.10",
|
|
93
93
|
"vue": "^3.2.47",
|
|
94
94
|
"windicss": "^3.5.6",
|
|
95
95
|
"yargs": "^17.6.2",
|
|
96
|
-
"@slidev/client": "0.40.
|
|
97
|
-
"@slidev/parser": "0.40.
|
|
98
|
-
"@slidev/types": "0.40.
|
|
96
|
+
"@slidev/client": "0.40.3",
|
|
97
|
+
"@slidev/parser": "0.40.3",
|
|
98
|
+
"@slidev/types": "0.40.3"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
101
|
"@types/plantuml-encoder": "^1.4.0",
|