@slidev/cli 0.32.3 → 0.33.1
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/bin/slidev.js +1 -1
- package/dist/{build-YVXTTUTD.mjs → build-JAORN7ES.mjs} +13 -11
- package/dist/{build-M2QTEV63.js → build-OWDFSW6Q.js} +19 -17
- package/dist/{chunk-WZ6OPJJF.mjs → chunk-DGFMEJWT.mjs} +43 -27
- package/dist/{chunk-JWGORJY6.js → chunk-IP7ZGKHI.js} +2 -2
- package/dist/{chunk-NOFZO6W4.mjs → chunk-IWKTUAXD.mjs} +2 -2
- package/dist/{chunk-N7XL66RP.js → chunk-LIMOCTLS.js} +164 -158
- package/dist/{chunk-M2TT7ZMD.mjs → chunk-MVE4F2AE.mjs} +17 -11
- package/dist/{chunk-IW3TSLZF.js → chunk-WGEHDK3K.js} +102 -86
- package/dist/cli.js +25 -25
- package/dist/cli.mjs +6 -6
- package/dist/{export-M6HJUIFY.js → export-JHIU6OQI.js} +4 -4
- package/dist/{export-GIPHUNUX.mjs → export-Z44PM4CT.mjs} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- package/dist/index.mjs +3 -3
- package/package.json +28 -28
package/dist/cli.js
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkLIMOCTLSjs = require('./chunk-LIMOCTLS.js');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkWGEHDK3Kjs = require('./chunk-WGEHDK3K.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
|
|
18
18
|
|
|
19
19
|
// node/cli.ts
|
|
20
|
-
|
|
21
|
-
var import_fast_deep_equal =
|
|
20
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
21
|
+
var import_fast_deep_equal = _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkWGEHDK3Kjs.require_fast_deep_equal.call(void 0, ));
|
|
22
22
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
23
23
|
var _net = require('net'); var _net2 = _interopRequireDefault(_net);
|
|
24
24
|
var _os = require('os'); var _os2 = _interopRequireDefault(_os);
|
|
@@ -36,7 +36,7 @@ var CONFIG_RESTART_FIELDS = [
|
|
|
36
36
|
"routerMode",
|
|
37
37
|
"fonts"
|
|
38
38
|
];
|
|
39
|
-
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(
|
|
39
|
+
var cli = _yargs2.default.scriptName("slidev").usage("$0 [args]").version(_chunkLIMOCTLSjs.version).strict().showHelpOnFail(false).alias("h", "help").alias("v", "version");
|
|
40
40
|
cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOptions(args).option("port", {
|
|
41
41
|
alias: "p",
|
|
42
42
|
type: "number",
|
|
@@ -79,9 +79,9 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
|
|
|
79
79
|
async function initServer() {
|
|
80
80
|
if (server)
|
|
81
81
|
await server.close();
|
|
82
|
-
const options = await
|
|
82
|
+
const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, remote, theme }, "dev");
|
|
83
83
|
port = userPort || await findFreePort(3030);
|
|
84
|
-
server = await
|
|
84
|
+
server = await _chunkLIMOCTLSjs.createServer.call(void 0, options, {
|
|
85
85
|
server: {
|
|
86
86
|
port,
|
|
87
87
|
strictPort: true,
|
|
@@ -92,7 +92,7 @@ cli.command("* [entry]", "Start a local server for Slidev", (args) => commonOpti
|
|
|
92
92
|
logLevel: log
|
|
93
93
|
}, {
|
|
94
94
|
onDataReload(newData, data) {
|
|
95
|
-
if (!theme &&
|
|
95
|
+
if (!theme && _chunkLIMOCTLSjs.resolveThemeName.call(void 0, newData.config.theme) !== _chunkLIMOCTLSjs.resolveThemeName.call(void 0, data.config.theme)) {
|
|
96
96
|
console.log(_kolorist.yellow.call(void 0, "\n restarting on theme change\n"));
|
|
97
97
|
initServer();
|
|
98
98
|
} else if (CONFIG_RESTART_FIELDS.some((i) => !(0, import_fast_deep_equal.default)(newData.config[i], data.config[i]))) {
|
|
@@ -168,8 +168,8 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
|
|
|
168
168
|
type: "boolean",
|
|
169
169
|
describe: "allow download as PDF"
|
|
170
170
|
}).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
|
|
171
|
-
const { build } = await Promise.resolve().then(() =>
|
|
172
|
-
const options = await
|
|
171
|
+
const { build } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "./build-OWDFSW6Q.js")));
|
|
172
|
+
const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, theme }, "build");
|
|
173
173
|
if (download && !options.data.config.download)
|
|
174
174
|
options.data.config.download = download;
|
|
175
175
|
printInfo(options);
|
|
@@ -182,26 +182,26 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
|
|
|
182
182
|
});
|
|
183
183
|
});
|
|
184
184
|
cli.command("format [entry]", "Format the markdown file", (args) => commonOptions(args).strict().help(), async ({ entry }) => {
|
|
185
|
-
const data = await
|
|
186
|
-
|
|
187
|
-
await
|
|
185
|
+
const data = await _chunkLIMOCTLSjs.parser.load(entry);
|
|
186
|
+
_chunkLIMOCTLSjs.parser.prettify(data);
|
|
187
|
+
await _chunkLIMOCTLSjs.parser.save(data);
|
|
188
188
|
});
|
|
189
189
|
cli.command("theme [subcommand]", "Theme related operations", (command) => {
|
|
190
190
|
return command.command("eject", "Eject current theme into local file system", (args) => commonOptions(args).option("dir", {
|
|
191
191
|
type: "string",
|
|
192
192
|
default: "theme"
|
|
193
193
|
}), async ({ entry, dir, theme: themeInput }) => {
|
|
194
|
-
const data = await
|
|
195
|
-
const theme =
|
|
194
|
+
const data = await _chunkLIMOCTLSjs.parser.load(entry);
|
|
195
|
+
const theme = _chunkLIMOCTLSjs.resolveThemeName.call(void 0, themeInput || data.config.theme);
|
|
196
196
|
if (theme === "none") {
|
|
197
197
|
console.error('Can not eject theme "none"');
|
|
198
198
|
process.exit(1);
|
|
199
199
|
}
|
|
200
|
-
if (
|
|
200
|
+
if (_chunkLIMOCTLSjs.isPath.call(void 0, theme)) {
|
|
201
201
|
console.error("Theme is already ejected");
|
|
202
202
|
process.exit(1);
|
|
203
203
|
}
|
|
204
|
-
const roots =
|
|
204
|
+
const roots = _chunkLIMOCTLSjs.getThemeRoots.call(void 0, theme, entry);
|
|
205
205
|
if (!roots.length) {
|
|
206
206
|
console.error(`Does not found theme "${theme}"`);
|
|
207
207
|
process.exit(1);
|
|
@@ -213,7 +213,7 @@ cli.command("theme [subcommand]", "Theme related operations", (command) => {
|
|
|
213
213
|
const dirPath = `./${dir}`;
|
|
214
214
|
data.slides[0].frontmatter.theme = dirPath;
|
|
215
215
|
data.slides[0].raw = null;
|
|
216
|
-
await
|
|
216
|
+
await _chunkLIMOCTLSjs.parser.save(data);
|
|
217
217
|
console.log(`Theme "${theme}" ejected successfully to "${dirPath}"`);
|
|
218
218
|
});
|
|
219
219
|
}, () => {
|
|
@@ -255,17 +255,17 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
|
|
|
255
255
|
"with-clicks": withClicks
|
|
256
256
|
}) => {
|
|
257
257
|
process.env.NODE_ENV = "production";
|
|
258
|
-
const { exportSlides } = await Promise.resolve().then(() =>
|
|
258
|
+
const { exportSlides } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "./export-JHIU6OQI.js")));
|
|
259
259
|
const port = await findFreePort(12445);
|
|
260
|
-
const options = await
|
|
260
|
+
const options = await _chunkLIMOCTLSjs.resolveOptions.call(void 0, { entry, theme }, "build");
|
|
261
261
|
output = output || options.data.config.exportFilename || `${_path2.default.basename(entry, ".md")}-export`;
|
|
262
|
-
const server = await
|
|
262
|
+
const server = await _chunkLIMOCTLSjs.createServer.call(void 0, options, {
|
|
263
263
|
server: { port },
|
|
264
264
|
clearScreen: false
|
|
265
265
|
});
|
|
266
266
|
await server.listen(port);
|
|
267
267
|
printInfo(options);
|
|
268
|
-
|
|
268
|
+
_chunkLIMOCTLSjs.parser.filterDisabled(options.data);
|
|
269
269
|
const width = options.data.config.canvasWidth;
|
|
270
270
|
const height = Math.round(width / options.data.config.aspectRatio);
|
|
271
271
|
output = await exportSlides({
|
|
@@ -303,7 +303,7 @@ function printInfo(options, port, remote) {
|
|
|
303
303
|
console.log();
|
|
304
304
|
console.log();
|
|
305
305
|
console.log(` ${_kolorist.cyan.call(void 0, "\u25CF") + _kolorist.blue.call(void 0, "\u25A0") + _kolorist.yellow.call(void 0, "\u25B2")}`);
|
|
306
|
-
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${
|
|
306
|
+
console.log(`${_kolorist.bold.call(void 0, " Slidev")} ${_kolorist.blue.call(void 0, `v${_chunkLIMOCTLSjs.version}`)} ${_isinstalledglobally2.default ? _kolorist.yellow.call(void 0, "(global)") : ""}`);
|
|
307
307
|
console.log();
|
|
308
308
|
console.log(_kolorist.dim.call(void 0, " theme ") + (options.theme ? _kolorist.green.call(void 0, options.theme) : _kolorist.gray.call(void 0, "none")));
|
|
309
309
|
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));
|
|
@@ -316,7 +316,7 @@ function printInfo(options, port, remote) {
|
|
|
316
316
|
console.log(`${_kolorist.dim.call(void 0, " private slide show ")} > ${_kolorist.cyan.call(void 0, `http://localhost:${_kolorist.bold.call(void 0, port)}/${query}`)}`);
|
|
317
317
|
console.log(`${_kolorist.dim.call(void 0, " presenter mode ")} > ${_kolorist.blue.call(void 0, `http://localhost:${_kolorist.bold.call(void 0, port)}${presenterPath}`)}`);
|
|
318
318
|
if (remote !== void 0) {
|
|
319
|
-
Object.values(_os2.default.networkInterfaces()).forEach((v) => (v || []).filter((details) => details.family === "
|
|
319
|
+
Object.values(_os2.default.networkInterfaces()).forEach((v) => (v || []).filter((details) => String(details.family).slice(-1) === "4" && !details.address.includes("127.0.0.1")).forEach(({ address }) => {
|
|
320
320
|
console.log(`${_kolorist.dim.call(void 0, " remote control ")} > ${_kolorist.blue.call(void 0, `http://${address}:${port}${presenterPath}`)}`);
|
|
321
321
|
}));
|
|
322
322
|
} else {
|
package/dist/cli.mjs
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
resolveOptions,
|
|
7
7
|
resolveThemeName,
|
|
8
8
|
version
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MVE4F2AE.mjs";
|
|
10
10
|
import {
|
|
11
11
|
require_fast_deep_equal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DGFMEJWT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
__dirname,
|
|
15
15
|
__require,
|
|
16
16
|
__toESM,
|
|
17
17
|
init_esm_shims
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IWKTUAXD.mjs";
|
|
19
19
|
|
|
20
20
|
// node/cli.ts
|
|
21
21
|
init_esm_shims();
|
|
@@ -169,7 +169,7 @@ cli.command("build [entry]", "Build hostable SPA", (args) => commonOptions(args)
|
|
|
169
169
|
type: "boolean",
|
|
170
170
|
describe: "allow download as PDF"
|
|
171
171
|
}).strict().help(), async ({ entry, theme, watch, base, download, out }) => {
|
|
172
|
-
const { build } = await Promise.resolve().then(() => __toESM(__require("./build-
|
|
172
|
+
const { build } = await Promise.resolve().then(() => __toESM(__require("./build-JAORN7ES.mjs")));
|
|
173
173
|
const options = await resolveOptions({ entry, theme }, "build");
|
|
174
174
|
if (download && !options.data.config.download)
|
|
175
175
|
options.data.config.download = download;
|
|
@@ -256,7 +256,7 @@ cli.command("export [entry]", "Export slides to PDF", (args) => commonOptions(ar
|
|
|
256
256
|
"with-clicks": withClicks
|
|
257
257
|
}) => {
|
|
258
258
|
process.env.NODE_ENV = "production";
|
|
259
|
-
const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-
|
|
259
|
+
const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-Z44PM4CT.mjs")));
|
|
260
260
|
const port = await findFreePort(12445);
|
|
261
261
|
const options = await resolveOptions({ entry, theme }, "build");
|
|
262
262
|
output = output || options.data.config.exportFilename || `${path.basename(entry, ".md")}-export`;
|
|
@@ -317,7 +317,7 @@ function printInfo(options, port, remote) {
|
|
|
317
317
|
console.log(`${dim(" private slide show ")} > ${cyan(`http://localhost:${bold(port)}/${query}`)}`);
|
|
318
318
|
console.log(`${dim(" presenter mode ")} > ${blue(`http://localhost:${bold(port)}${presenterPath}`)}`);
|
|
319
319
|
if (remote !== void 0) {
|
|
320
|
-
Object.values(os.networkInterfaces()).forEach((v) => (v || []).filter((details) => details.family === "
|
|
320
|
+
Object.values(os.networkInterfaces()).forEach((v) => (v || []).filter((details) => String(details.family).slice(-1) === "4" && !details.address.includes("127.0.0.1")).forEach(({ address }) => {
|
|
321
321
|
console.log(`${dim(" remote control ")} > ${blue(`http://${address}:${port}${presenterPath}`)}`);
|
|
322
322
|
}));
|
|
323
323
|
} else {
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
|
|
7
7
|
|
|
8
8
|
// node/export.ts
|
|
9
|
-
|
|
9
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
10
10
|
var _path = require('path'); var _path2 = _interopRequireDefault(_path);
|
|
11
11
|
var _fsextra = require('fs-extra'); var _fsextra2 = _interopRequireDefault(_fsextra);
|
|
12
12
|
var _kolorist = require('kolorist');
|
|
@@ -60,10 +60,10 @@ async function exportSlides({
|
|
|
60
60
|
height = 1080,
|
|
61
61
|
withClicks = false
|
|
62
62
|
}) {
|
|
63
|
-
if (!
|
|
63
|
+
if (!_chunkIP7ZGKHIjs.packageExists.call(void 0, "playwright-chromium"))
|
|
64
64
|
throw new Error("The exporting for Slidev is powered by Playwright, please installed it via `npm i -D playwright-chromium`");
|
|
65
65
|
const pages = _core.parseRangeString.call(void 0, total, range);
|
|
66
|
-
const { chromium } = await Promise.resolve().then(() =>
|
|
66
|
+
const { chromium } = await Promise.resolve().then(() => _chunkIP7ZGKHIjs.__toESM.call(void 0, _chunkIP7ZGKHIjs.__require.call(void 0, "playwright-chromium")));
|
|
67
67
|
const browser = await chromium.launch();
|
|
68
68
|
const context = await browser.newContext({
|
|
69
69
|
viewport: {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Vue from '@vitejs/plugin-vue';
|
|
2
2
|
import Icons from 'unplugin-icons/vite';
|
|
3
3
|
import Components from 'unplugin-vue-components/vite';
|
|
4
|
-
import Markdown from 'vite-plugin-
|
|
4
|
+
import Markdown from 'vite-plugin-vue-markdown';
|
|
5
5
|
import WindiCSS from 'vite-plugin-windicss';
|
|
6
6
|
import RemoteAssets from 'vite-plugin-remote-assets';
|
|
7
7
|
import ServerRef from 'vite-plugin-vue-server-ref';
|
package/dist/index.js
CHANGED
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkLIMOCTLSjs = require('./chunk-LIMOCTLS.js');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkWGEHDK3Kjs = require('./chunk-WGEHDK3K.js');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunkIP7ZGKHIjs = require('./chunk-IP7ZGKHI.js');
|
|
20
20
|
|
|
21
21
|
// node/index.ts
|
|
22
|
-
|
|
22
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
23
23
|
|
|
24
24
|
// node/declare.ts
|
|
25
|
-
|
|
25
|
+
_chunkIP7ZGKHIjs.init_cjs_shims.call(void 0, );
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
@@ -36,4 +36,4 @@ _chunkJWGORJY6js.init_cjs_shims.call(void 0, );
|
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
exports.ViteSlidevPlugin =
|
|
39
|
+
exports.ViteSlidevPlugin = _chunkWGEHDK3Kjs.ViteSlidevPlugin; exports.createServer = _chunkLIMOCTLSjs.createServer; exports.createWindiCSSPlugin = _chunkWGEHDK3Kjs.createWindiCSSPlugin; exports.getAddonRoots = _chunkLIMOCTLSjs.getAddonRoots; exports.getCLIRoot = _chunkLIMOCTLSjs.getCLIRoot; exports.getClientRoot = _chunkLIMOCTLSjs.getClientRoot; exports.getRoot = _chunkLIMOCTLSjs.getRoot; exports.getThemeRoots = _chunkLIMOCTLSjs.getThemeRoots; exports.getUserRoot = _chunkLIMOCTLSjs.getUserRoot; exports.isPath = _chunkLIMOCTLSjs.isPath; exports.parser = _chunkLIMOCTLSjs.parser; exports.resolveOptions = _chunkLIMOCTLSjs.resolveOptions;
|
package/dist/index.mjs
CHANGED
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
isPath,
|
|
10
10
|
parser,
|
|
11
11
|
resolveOptions
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MVE4F2AE.mjs";
|
|
13
13
|
import {
|
|
14
14
|
ViteSlidevPlugin,
|
|
15
15
|
createWindiCSSPlugin
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DGFMEJWT.mjs";
|
|
17
17
|
import {
|
|
18
18
|
init_esm_shims
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IWKTUAXD.mjs";
|
|
20
20
|
|
|
21
21
|
// node/index.ts
|
|
22
22
|
init_esm_shims();
|
package/package.json
CHANGED
|
@@ -1,34 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
|
-
"homepage": "https://sli.dev",
|
|
6
|
-
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
7
|
-
"license": "MIT",
|
|
8
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"funding": "https://github.com/sponsors/antfu",
|
|
8
|
+
"homepage": "https://sli.dev",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
11
|
"url": "https://github.com/slidevjs/slidev"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
14
|
-
"main": "dist/index.js",
|
|
15
|
-
"module": "dist/index.mjs",
|
|
16
|
-
"types": "dist/index.d.ts",
|
|
13
|
+
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
17
14
|
"exports": {
|
|
18
15
|
".": {
|
|
19
|
-
"
|
|
20
|
-
"
|
|
16
|
+
"require": "./dist/index.js",
|
|
17
|
+
"import": "./dist/index.mjs"
|
|
21
18
|
},
|
|
22
19
|
"./*": "./*"
|
|
23
20
|
},
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"module": "dist/index.mjs",
|
|
23
|
+
"types": "dist/index.d.ts",
|
|
24
|
+
"bin": {
|
|
25
|
+
"slidev": "./bin/slidev.js"
|
|
26
|
+
},
|
|
24
27
|
"files": [
|
|
25
28
|
"bin",
|
|
26
29
|
"client",
|
|
27
30
|
"dist",
|
|
28
31
|
"template.md"
|
|
29
32
|
],
|
|
30
|
-
"
|
|
31
|
-
"
|
|
33
|
+
"engines": {
|
|
34
|
+
"node": ">=14.0.0"
|
|
32
35
|
},
|
|
33
36
|
"peerDependencies": {
|
|
34
37
|
"playwright-chromium": "^1.10.0"
|
|
@@ -42,13 +45,13 @@
|
|
|
42
45
|
"@antfu/utils": "^0.5.2",
|
|
43
46
|
"@iconify-json/carbon": "^1.1.5",
|
|
44
47
|
"@iconify-json/ph": "^1.1.1",
|
|
45
|
-
"@slidev/client": "0.
|
|
46
|
-
"@slidev/parser": "0.
|
|
47
|
-
"@slidev/types": "0.
|
|
48
|
+
"@slidev/client": "0.33.1",
|
|
49
|
+
"@slidev/parser": "0.33.1",
|
|
50
|
+
"@slidev/types": "0.33.1",
|
|
48
51
|
"@vitejs/plugin-vue": "^2.3.3",
|
|
49
|
-
"@vue/compiler-sfc": "^3.2.
|
|
52
|
+
"@vue/compiler-sfc": "^3.2.37",
|
|
50
53
|
"cli-progress": "^3.11.1",
|
|
51
|
-
"codemirror": "^5.65.
|
|
54
|
+
"codemirror": "^5.65.5",
|
|
52
55
|
"connect": "^3.7.0",
|
|
53
56
|
"debug": "^4.3.4",
|
|
54
57
|
"fast-glob": "^3.2.11",
|
|
@@ -58,29 +61,29 @@
|
|
|
58
61
|
"is-installed-globally": "^0.4.0",
|
|
59
62
|
"jiti": "^1.13.0",
|
|
60
63
|
"js-base64": "^3.7.2",
|
|
61
|
-
"katex": "^0.
|
|
64
|
+
"katex": "^0.16.0",
|
|
62
65
|
"kolorist": "^1.5.1",
|
|
63
66
|
"markdown-it": "^13.0.1",
|
|
64
67
|
"markdown-it-footnote": "^3.0.3",
|
|
65
68
|
"markdown-it-link-attributes": "^4.0.0",
|
|
66
69
|
"monaco-editor": "^0.33.0",
|
|
67
|
-
"nanoid": "^
|
|
70
|
+
"nanoid": "^4.0.0",
|
|
68
71
|
"open": "^8.4.0",
|
|
69
72
|
"plantuml-encoder": "^1.4.0",
|
|
70
73
|
"prismjs": "^1.28.0",
|
|
71
74
|
"prompts": "^2.4.2",
|
|
72
|
-
"resolve": "^1.22.
|
|
75
|
+
"resolve": "^1.22.1",
|
|
73
76
|
"resolve-from": "^5.0.0",
|
|
74
77
|
"resolve-global": "^1.0.0",
|
|
75
78
|
"shiki": "^0.10.1",
|
|
76
|
-
"unplugin-icons": "^0.14.
|
|
77
|
-
"unplugin-vue-components": "^0.19.
|
|
78
|
-
"vite": "^2.9.
|
|
79
|
-
"vite-plugin-md": "^0.13.1",
|
|
79
|
+
"unplugin-icons": "^0.14.5",
|
|
80
|
+
"unplugin-vue-components": "^0.19.6",
|
|
81
|
+
"vite": "^2.9.12",
|
|
80
82
|
"vite-plugin-remote-assets": "^0.2.2",
|
|
83
|
+
"vite-plugin-vue-markdown": "^0.1.0",
|
|
81
84
|
"vite-plugin-vue-server-ref": "^0.2.4",
|
|
82
85
|
"vite-plugin-windicss": "^1.8.4",
|
|
83
|
-
"vue": "^3.2.
|
|
86
|
+
"vue": "^3.2.37",
|
|
84
87
|
"windicss": "^3.5.4",
|
|
85
88
|
"yargs": "^17.5.1"
|
|
86
89
|
},
|
|
@@ -90,9 +93,6 @@
|
|
|
90
93
|
"semver": "^7.3.7",
|
|
91
94
|
"sirv": "^2.0.2"
|
|
92
95
|
},
|
|
93
|
-
"engines": {
|
|
94
|
-
"node": ">=14.0.0"
|
|
95
|
-
},
|
|
96
96
|
"scripts": {
|
|
97
97
|
"build": "rimraf dist && tsup node/index.ts node/cli.ts --dts --format cjs,esm --splitting --external @slidev/client/package.json",
|
|
98
98
|
"dev": "nr build --watch",
|